class OrganizationsLocationsSecurityProfileGroups extends Resource (View source)

The "securityProfileGroups" collection of methods.

Typical usage is:

 $networksecurityService = new Google\Service\NetworkSecurity(...);
 $securityProfileGroups = $networksecurityService->organizations_locations_securityProfileGroups;

Methods

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

Creates a new SecurityProfileGroup in a given organization and location.

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

Deletes a single SecurityProfileGroup. (securityProfileGroups.delete)

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

Gets details of a single SecurityProfileGroup. (securityProfileGroups.get)

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

Lists SecurityProfileGroups in a given organization and location.

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

Updates the parameters of a single SecurityProfileGroup.

Details

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

Creates a new SecurityProfileGroup in a given organization and location.

(securityProfileGroups.create)

Parameters

string $parent

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

SecurityProfileGroup $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a single SecurityProfileGroup. (securityProfileGroups.delete)

Parameters

string $name

Required. A name of the SecurityProfileGroup to delete. Must be in the format projects|organizations/locations/{location}/securityPr ofileGroups/{security_profile_group}.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets details of a single SecurityProfileGroup. (securityProfileGroups.get)

Parameters

string $name

Required. A name of the SecurityProfileGroup to get. Must be in the format projects|organizations/locations/{location}/securityProfile Groups/{security_profile_group}.

array $optParams

Optional parameters.

Return Value

SecurityProfileGroup

Exceptions

Exception

ListSecurityProfileGroupsResponse listOrganizationsLocationsSecurityProfileGroups(string $parent, array $optParams = [])

Lists SecurityProfileGroups in a given organization and location.

(securityProfileGroups.listOrganizationsLocationsSecurityProfileGroups)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

ListSecurityProfileGroupsResponse

Exceptions

Exception

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

Updates the parameters of a single SecurityProfileGroup.

(securityProfileGroups.patch)

Parameters

string $name

Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern projects|organizations/locations/{location}/sec urityProfileGroups/{security_profile_group}.

SecurityProfileGroup $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception