v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1346116213.0 KB
projects

Creates a new multicast consumer association in a given project and location.

post/v1/{+parent}/multicastConsumerAssociations

Path parameters

parentstring required

Required. The parent resource of the multicast consumer association. Use the following format: projects/*/locations/*.

Query parameters

multicastConsumerAssociationIdstring

Required. A unique name for the multicast consumer association. The name is restricted to lower-case letters, numbers, and hyphen, with the first character a lower-case letter, and the last a letter or a number. The name must not exceed 48 characters.

requestIdstring

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Request body

namestring

Identifier. The resource name of the multicast consumer association. Use the following format: projects/*/locations/*/multicastConsumerAssociations/*.

createTimestring google-datetime

Output only. [Output only] The timestamp when the multicast consumer association was created.

updateTimestring google-datetime

Output only. [Output only] The timestamp when the Multicast Consumer Association was most recently updated.

labelsobject

Optional. Labels as key-value pairs

multicastDomainActivationstring

Optional. The resource name of the multicast domain activation that is in the same zone as this multicast consumer association. Use the following format: projects/*/locations/*/multicastDomainActivations/*.

networkstring

Required. The resource name of the multicast consumer VPC network. Use following format: projects/{project}/locations/global/networks/{network}.

descriptionstring

Optional. An optional text description of the multicast consumer association.

resourceState'CONSUMER_RESOURCE_STATE_UNSPECIFIED' | 'ACTIVE' | 'OBSOLETE'

Output only. [Deprecated] The resource state of the multicast consumer association. Use the state field instead.

uniqueIdstring

Output only. [Output only] The Google-generated UUID for the resource. This value is unique across all multicast consumer association resources. If a consumer association is deleted and another with the same name is created, the new consumer association is assigned a different unique_id.

placementPolicystring

Output only. [Output only] A Compute Engine (placement policy)[https://cloud.google.com/compute/docs/instances/placement-policies-overview] that can be used to place virtual machine (VM) instances as multicast consumers close to the multicast infrastructure created for this domain, on a best effort basis.

Response

Successful response