class OrganizationsResourceValueConfigs extends Resource (View source)

The "resourceValueConfigs" collection of methods.

Typical usage is:

 $securitycenterService = new Google\Service\SecurityCommandCenter(...);
 $resourceValueConfigs = $securitycenterService->organizations_resourceValueConfigs;

Methods

batchCreate(string $parent, BatchCreateResourceValueConfigsRequest $postBody, array $optParams = [])

Creates a ResourceValueConfig for an organization. Maps user's tags to difference resource values for use by the attack path simulation.

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

Deletes a ResourceValueConfig. (resourceValueConfigs.delete)

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

Gets a ResourceValueConfig. (resourceValueConfigs.get)

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

Lists all ResourceValueConfigs.

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

Updates an existing ResourceValueConfigs with new rules.

Details

BatchCreateResourceValueConfigsResponse batchCreate(string $parent, BatchCreateResourceValueConfigsRequest $postBody, array $optParams = [])

Creates a ResourceValueConfig for an organization. Maps user's tags to difference resource values for use by the attack path simulation.

(resourceValueConfigs.batchCreate)

Parameters

string $parent

Required. Resource name of the new ResourceValueConfig's parent. The parent field in the CreateResourceValueConfigRequest messages must either be empty or match this field.

BatchCreateResourceValueConfigsRequest $postBody
array $optParams

Optional parameters.

Return Value

BatchCreateResourceValueConfigsResponse

Exceptions

Exception

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

Deletes a ResourceValueConfig. (resourceValueConfigs.delete)

Parameters

string $name

Required. Name of the ResourceValueConfig to delete

array $optParams

Optional parameters.

Return Value

SecuritycenterEmpty

Exceptions

Exception

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

Gets a ResourceValueConfig. (resourceValueConfigs.get)

Parameters

string $name

Required. Name of the resource value config to retrieve. Its format is organizations/{organization}/resourceValueConfigs/{config_id}.

array $optParams

Optional parameters.

Return Value

GoogleCloudSecuritycenterV1ResourceValueConfig

Exceptions

Exception

ListResourceValueConfigsResponse listOrganizationsResourceValueConfigs(string $parent, array $optParams = [])

Lists all ResourceValueConfigs.

(resourceValueConfigs.listOrganizationsResourceValueConfigs)

Parameters

string $parent

Required. The parent, which owns the collection of resource value configs. Its format is organizations/[organization_id]

array $optParams

Optional parameters.

Return Value

ListResourceValueConfigsResponse

Exceptions

Exception

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

Updates an existing ResourceValueConfigs with new rules.

(resourceValueConfigs.patch)

Parameters

string $name

Name for the resource value configuration

GoogleCloudSecuritycenterV1ResourceValueConfig $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudSecuritycenterV1ResourceValueConfig

Exceptions

Exception