class OrganizationsLocationsSecurityProfiles extends Resource (View source)

The "securityProfiles" collection of methods.

Typical usage is:

 $networksecurityService = new Google\Service\NetworkSecurity(...);
 $securityProfiles = $networksecurityService->organizations_locations_securityProfiles;

Methods

create(string $parent, SecurityProfile $postBody, array $optParams = [])

Creates a new SecurityProfile in a given organization and location.

delete(string $name, array $optParams = [])

Deletes a single SecurityProfile. (securityProfiles.delete)

get(string $name, array $optParams = [])

Gets details of a single SecurityProfile. (securityProfiles.get)

listOrganizationsLocationsSecurityProfiles(string $parent, array $optParams = [])

Lists SecurityProfiles in a given organization and location.

patch(string $name, SecurityProfile $postBody, array $optParams = [])

Updates the parameters of a single SecurityProfile. (securityProfiles.patch)

Details

Operation create(string $parent, SecurityProfile $postBody, array $optParams = [])

Creates a new SecurityProfile in a given organization and location.

(securityProfiles.create)

Parameters

string $parent

Required. The parent resource of the SecurityProfile. Must be in the format projects|organizations/locations/{location}.

SecurityProfile $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $name, array $optParams = [])

Deletes a single SecurityProfile. (securityProfiles.delete)

Parameters

string $name

Required. A name of the SecurityProfile to delete. Must be in the format projects|organizations/locations/{location}/securityProfile s/{security_profile_id}.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

SecurityProfile get(string $name, array $optParams = [])

Gets details of a single SecurityProfile. (securityProfiles.get)

Parameters

string $name

Required. A name of the SecurityProfile to get. Must be in the format projects|organizations/locations/{location}/securityProfiles/{ security_profile_id}.

array $optParams

Optional parameters.

Return Value

SecurityProfile

Exceptions

Exception

ListSecurityProfilesResponse listOrganizationsLocationsSecurityProfiles(string $parent, array $optParams = [])

Lists SecurityProfiles in a given organization and location.

(securityProfiles.listOrganizationsLocationsSecurityProfiles)

Parameters

string $parent

Required. The project or organization and location from which the SecurityProfiles should be listed, specified in the format projects|organizations/locations/{location}.

array $optParams

Optional parameters.

Return Value

ListSecurityProfilesResponse

Exceptions

Exception

Operation patch(string $name, SecurityProfile $postBody, array $optParams = [])

Updates the parameters of a single SecurityProfile. (securityProfiles.patch)

Parameters

string $name

Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern projects|organizations/locations/{location}/sec urityProfiles/{security_profile}.

SecurityProfile $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception