Method: organizations.resourceValueConfigs.batchCreate

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

HTTP request


The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Request body

The request body contains data with the following structure:

JSON representation
{
  "requests": [
    {
      object (CreateResourceValueConfigRequest)
    }
  ]
}
Fields
requests[]

object (CreateResourceValueConfigRequest)

Required. The resource value configs to be created.

Response body

Response message for resourceValueConfigs.batchCreate

If successful, the response body contains data with the following structure:

JSON representation
{
  "resourceValueConfigs": [
    {
      object (ResourceValueConfig)
    }
  ]
}
Fields
resourceValueConfigs[]

object (ResourceValueConfig)

The resource value configs created

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

CreateResourceValueConfigRequest

Request message to create single resource value config

JSON representation
{
  "parent": string,
  "resourceValueConfig": {
    object (ResourceValueConfig)
  }
}
Fields
parent

string

Required. Resource name of the new ResourceValueConfig's parent.

resourceValueConfig

object (ResourceValueConfig)

Required. The resource value config being created.