---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/multicastConsumerAssociations"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/multicastConsumerAssociations"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/multicastConsumerAssociations

`GET /v1/projects/{projectsId}/locations/{locationsId}/multicastConsumerAssociations`

## Request

- Base URL: `https://networkservices.googleapis.com`
- URL: `https://networkservices.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/multicastConsumerAssociations`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Lists multicast consumer associations in a given project and location.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `filter` string
- `orderBy` string
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- ListMulticastConsumerAssociationsResponse: Response message for ListMulticastConsumerAssociations.
  - `multicastConsumerAssociations` MulticastConsumerAssociation[]: The list of multicast consumer associations.
    - `createTime` string, google-datetime: Output only. [Output only] The timestamp when the multicast consumer association was created.
    - `description` string: Optional. An optional text description of the multicast consumer association.
    - `labels` object: Optional. Labels as key-value pairs.
    - `multicastDomainActivation` string: 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/*`.
    - `name` string: Identifier. The resource name of the multicast consumer association. Use the following format: `projects/*/locations/*/multicastConsumerAssociations/*`.
    - `network` string: Required. The resource name of the multicast consumer VPC network. Use following format: `projects/{project}/locations/global/networks/{network}`.
    - `placementPolicy` string: 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.
    - `resourceState` 'CONSUMER_RESOURCE_STATE_UNSPECIFIED' | 'ACTIVE' | 'OBSOLETE': Output only. [Deprecated] The resource state of the multicast consumer association. Use the state field instead.
    - `state` MulticastResourceState: The multicast resource's state.
      - `state` 'STATE_ENUM_UNSPECIFIED' | 'CREATING' | 'ACTIVE' | 'DELETING' | 'DELETE_FAILED' | 'UPDATING' | 'UPDATE_FAILED' | 'INACTIVE' | 'OBSOLETE': Optional. The state of the multicast resource.
    - `uniqueId` string: Output only. [Output only] The Google-generated UUID for the resource. This value is unique across all multicast consumer association resources. If a multicast consumer association is deleted and another with the same name is created, the new multicast consumer association is assigned a different unique_id.
    - `updateTime` string, google-datetime: Output only. [Output only] The timestamp when the Multicast Consumer Association was most recently updated.
  - `nextPageToken` string: A page token from an earlier query, as returned in `next_page_token`.
  - `unreachable` string[]: Locations that could not be reached.

---

[API](https://skmtc.dev/google/apis/networkservices.md) - [All operations](https://skmtc.dev/google/apis/networkservices/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/networkservices/revisions/f0e603cd2d5d?raw)
