* $apigeeService = new Google\Service\Apigee(...); * $securityProfiles = $apigeeService->organizations_securityProfiles; * */ class OrganizationsSecurityProfiles extends \Google\Service\Resource { /** * GetSecurityProfile gets the specified security profile. Returns NOT_FOUND if * security profile is not present for the specified organization. * (securityProfiles.get) * * @param string $name Required. Security profile in the following format: * `organizations/{org}/securityProfiles/{profile}'. Profile may optionally * contain revision ID. If revision ID is not provided, the response will * contain latest revision by default. Example: * organizations/testOrg/securityProfiles/testProfile@5 * @param array $optParams Optional parameters. * @return GoogleCloudApigeeV1SecurityProfile */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('get', [$params], GoogleCloudApigeeV1SecurityProfile::class); } /** * ListSecurityProfiles lists all the security profiles associated with the org * including attached and unattached profiles. * (securityProfiles.listOrganizationsSecurityProfiles) * * @param string $parent Required. For a specific organization, list of all the * security profiles. Format: `organizations/{org}` * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of profiles to return. The service * may return fewer than this value. If unspecified, at most 50 profiles will be * returned. * @opt_param string pageToken A page token, received from a previous * `ListSecurityProfiles` call. Provide this to retrieve the subsequent page. * @return GoogleCloudApigeeV1ListSecurityProfilesResponse */ public function listOrganizationsSecurityProfiles($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('list', [$params], GoogleCloudApigeeV1ListSecurityProfilesResponse::class); } /** * ListSecurityProfileRevisions lists all the revisions of the security profile. * (securityProfiles.listRevisions) * * @param string $name Required. For a specific profile, list all the revisions. * Format: `organizations/{org}/securityProfiles/{profile}` * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of profile revisions to return. * The service may return fewer than this value. If unspecified, at most 50 * revisions will be returned. * @opt_param string pageToken A page token, received from a previous * `ListSecurityProfileRevisions` call. Provide this to retrieve the subsequent * page. * @return GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse */ public function listRevisions($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('listRevisions', [$params], GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OrganizationsSecurityProfiles::class, 'Google_Service_Apigee_Resource_OrganizationsSecurityProfiles');