Method: projects.rules.metadata.values.batchCreate

Stay organized with collections Save and categorize content based on your preferences.

Create (add) multiple values to the list of values under the specified rule metadata resource.

HTTP request

POST https://issuerswitch.googleapis.com/v1/{parent}/values:batchCreate

Path parameters

Parameters
parent

string

The parent resource shared by all ruleMetadataValue being created. The format is projects/{project}/rules/{rule}/metadata/{metadata}. The CreateRuleMetadataValueRequest.parent field in the CreateRuleMetadataValueRequest messages contained in this request must match this field.

Request body

The request body contains data with the following structure:

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

object (CreateRuleMetadataValueRequest)

Required. The request message specifying the resources to create. A maximum of 1000 RuleMetadataValues can be created in a batch.

Response body

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

Response body for the values.batchCreate method.

JSON representation
{
  "ruleMetadataValue": [
    {
      object (RuleMetadataValue)
    }
  ]
}
Fields
ruleMetadataValue[]

object (RuleMetadataValue)

List of RuleMetadataValue created.

Authorization Scopes

Requires the following OAuth scope:

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

IAM Permissions

Requires the following IAM permission on the parent resource:

  • issuerswitch.ruleMetadataValues.create

For more information, see the IAM documentation.

CreateRuleMetadataValueRequest

Request for creating a single RuleMetadataValue.

JSON representation
{
  "parent": string,
  "ruleMetadataValue": {
    object (RuleMetadataValue)
  }
}
Fields
parent

string

Required. The parent resource where this RuleMetadataValue will be created. The format is projects/{project}/rules/{rule}/metadata/{metadata}.

ruleMetadataValue

object (RuleMetadataValue)

Required. The rule metadata value to create or add to a list.