RuleMetadataValue

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

Represent a single value in a rule's metadata.

JSON representation
{
  "name": string,

  // Union field value can be only one of the following:
  "id": string,
  "accountReference": {
    object (AccountReference)
  }
  // End of list of possible types for union field value.
}
Fields
name

string

Output only. The unique identifier for this resource. Format: projects/{project}/rules/{rule}/metadata/{metadata}/values/{value}

Union field value. The value of the resource which could be of type string or AccountReference. The metadata values for rules BlockedPayeeAccountReqPayDebitRule, BlockedPayerAccountReqPayDebitRule, BlockedPayeeAccountReqPayCreditRule and BlockedPayerAccountReqPayCreditRule should be of type AccountReference. For all other rules, metadata values should be of type string.

The length of the value field depends on the type of the value being used for the rule metadata. The following are the minimum and maximum lengths for the different types of values.

Value Type Minimum Length Maximum Length
Bank account IFSC 11 11
Bank account number 1 255
Device identifier 1 255
Mobile number 12 12
Virtual private address (VPA) 3 255

value can be only one of the following:

id

string

The value for string metadata.

accountReference

object (AccountReference)

The value for account reference metadata.