Skip to main content

multicast_group_consumer_activations

Creates, updates, deletes, gets or lists a multicast_group_consumer_activations resource.

Overview

Namemulticast_group_consumer_activations
TypeResource
Idgoogle.networkservices.multicast_group_consumer_activations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. The resource name of the multicast group consumer activation. Use the following format: projects/*/locations/*/multicastGroupConsumerActivations/*.
createTimestring (google-datetime)Output only. [Output only] The timestamp when the multicast group consumer activation was created.
descriptionstringOptional. An optional text description of the multicast group consumer activation.
labelsobjectOptional. Labels as key-value pairs
logConfigobjectOptional. Specifies the logging options for the activities performed related to the multicast group consumer activation. Defaults to false. If logging is enabled, logs are exported to Cloud Logging. (id: MulticastLogConfig)
multicastConsumerAssociationstringRequired. The resource name of the multicast consumer association that is in the same zone as this multicast group consumer activation. Use the following format: projects/*/locations/*/multicastConsumerAssociations/*.
multicastGroupstringOptional. The resource name of the multicast group created by the admin in the same zone as this multicast group consumer activation. Use the following format: // projects/*/locations/*/multicastGroups/*. This field is deprecated. Use multicast_group_range_activation instead.
multicastGroupRangeActivationstringRequired. The resource name of the multicast group range activation created by the admin in the same zone as this multicast group consumer activation. Use the following format: // projects/*/locations/*/multicastGroupRangeActivations/*.
resourceStatestringOutput only. [Deprecated] The resource state of the multicast group consumer activation. Use the state field instead. (CONSUMER_RESOURCE_STATE_UNSPECIFIED, ACTIVE, OBSOLETE)
stateobjectOutput only. [Output only] The state of the resource. (id: MulticastResourceState)
uniqueIdstringOutput only. [Output only] The Google-generated UUID for the resource. This value is unique across all multicast group consumer activation resources. If a group consumer activation is deleted and another with the same name is created, the new group consumer activation is assigned a different unique_id.
updateTimestring (google-datetime)Output only. [Output only] The timestamp when the multicast group consumer activation was most recently updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, multicastGroupConsumerActivationsIdGets details of a single multicast group consumer activation.
listselectprojectsId, locationsIdpageSize, pageToken, filter, orderByLists multicast group consumer activations in a given project and location.
createinsertprojectsId, locationsIdmulticastGroupConsumerActivationId, requestIdCreates a new multicast group consumer activation in a given project and location.
patchupdateprojectsId, locationsId, multicastGroupConsumerActivationsIdupdateMask, requestIdUpdates the parameters of a single multicast group consumer activation.
deletedeleteprojectsId, locationsId, multicastGroupConsumerActivationsIdrequestIdDeletes a single multicast group consumer activation.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
multicastGroupConsumerActivationsIdstring
projectsIdstring
filterstring
multicastGroupConsumerActivationIdstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring
updateMaskstring (google-fieldmask)

SELECT examples

Gets details of a single multicast group consumer activation.

SELECT
name,
createTime,
description,
labels,
logConfig,
multicastConsumerAssociation,
multicastGroup,
multicastGroupRangeActivation,
resourceState,
state,
uniqueId,
updateTime
FROM google.networkservices.multicast_group_consumer_activations
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND multicastGroupConsumerActivationsId = '{{ multicastGroupConsumerActivationsId }}' -- required
;

INSERT examples

Creates a new multicast group consumer activation in a given project and location.

INSERT INTO google.networkservices.multicast_group_consumer_activations (
data__name,
data__labels,
data__multicastConsumerAssociation,
data__multicastGroup,
data__description,
data__multicastGroupRangeActivation,
data__logConfig,
projectsId,
locationsId,
multicastGroupConsumerActivationId,
requestId
)
SELECT
'{{ name }}',
'{{ labels }}',
'{{ multicastConsumerAssociation }}',
'{{ multicastGroup }}',
'{{ description }}',
'{{ multicastGroupRangeActivation }}',
'{{ logConfig }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ multicastGroupConsumerActivationId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples

Updates the parameters of a single multicast group consumer activation.

UPDATE google.networkservices.multicast_group_consumer_activations
SET
data__name = '{{ name }}',
data__labels = '{{ labels }}',
data__multicastConsumerAssociation = '{{ multicastConsumerAssociation }}',
data__multicastGroup = '{{ multicastGroup }}',
data__description = '{{ description }}',
data__multicastGroupRangeActivation = '{{ multicastGroupRangeActivation }}',
data__logConfig = '{{ logConfig }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND multicastGroupConsumerActivationsId = '{{ multicastGroupConsumerActivationsId }}' --required
AND updateMask = '{{ updateMask}}'
AND requestId = '{{ requestId}}'
RETURNING
name,
done,
error,
metadata,
response;

DELETE examples

Deletes a single multicast group consumer activation.

DELETE FROM google.networkservices.multicast_group_consumer_activations
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND multicastGroupConsumerActivationsId = '{{ multicastGroupConsumerActivationsId }}' --required
AND requestId = '{{ requestId }}'
;