Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Compute Cloud
  • Yandex Container Solution
  • Access management
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Update
        • Delete
        • ListOperations
        • ListInstances
        • ListAccessBindings
        • SetAccessBindings
        • UpdateAccessBindings
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • gRPC request
  • access.ListAccessBindingsRequest
  • access.ListAccessBindingsResponse
  • AccessBinding
  • Subject
  1. API reference
  2. gRPC
  3. GpuCluster
  4. ListAccessBindings

Compute Cloud API, gRPC: GpuClusterService.ListAccessBindings

Written by
Yandex Cloud
Updated at November 26, 2024
  • gRPC request
  • access.ListAccessBindingsRequest
  • access.ListAccessBindingsResponse
  • AccessBinding
  • Subject

Lists access bindings for the GPU cluster.

gRPC requestgRPC request

rpc ListAccessBindings (access.ListAccessBindingsRequest) returns (access.ListAccessBindingsResponse)

access.ListAccessBindingsRequestaccess.ListAccessBindingsRequest

{
  "resource_id": "string",
  "page_size": "int64",
  "page_token": "string"
}

Field

Description

resource_id

string

Required field. ID of the resource to list access bindings for.

To get the resource ID, use a corresponding List request.
For example, use the yandex.cloud.resourcemanager.v1.CloudService.List request to get the Cloud resource ID.

page_size

int64

The maximum number of results per page that should be returned. If the number of available
results is larger than page_size,
the service returns a ListAccessBindingsResponse.next_page_token
that can be used to get the next page of results in subsequent list requests.
Default value: 100.

page_token

string

Page token. Set page_token
to the ListAccessBindingsResponse.next_page_token
returned by a previous list request to get the next page of results.

access.ListAccessBindingsResponseaccess.ListAccessBindingsResponse

{
  "access_bindings": [
    {
      "role_id": "string",
      "subject": {
        "id": "string",
        "type": "string"
      }
    }
  ],
  "next_page_token": "string"
}

Field

Description

access_bindings[]

AccessBinding

List of access bindings for the specified resource.

next_page_token

string

This token allows you to get the next page of results for list requests. If the number of results
is larger than ListAccessBindingsRequest.page_size, use
the next_page_token as the value
for the ListAccessBindingsRequest.page_token query parameter
in the next list request. Each subsequent list request will have its own
next_page_token to continue paging through the results.

AccessBindingAccessBinding

Field

Description

role_id

string

Required field. ID of the yandex.cloud.iam.v1.Role that is assigned to the subject.

subject

Subject

Required field. Identity for which access binding is being created.
It can represent an account with a unique ID or several accounts with a system identifier.

SubjectSubject

Field

Description

id

string

Required field. ID of the subject.

It can contain one of the following values:

  • allAuthenticatedUsers: A special public group that represents anyone
    who is authenticated. It can be used only if the type is system.
  • allUsers: A special public group that represents anyone. No authentication is required.
    For example, you don't need to specify the IAM token in an API query.
    It can be used only if the type is system.
  • group:organization:<id>:users: A special system group that represents all members of organization
    with given . It can be used only if the type is system.
  • group:federation:<id>:users: A special system group that represents all users of federation
    with given . It can be used only if the type is system.
  • <cloud generated id>: An identifier that represents a user account.
    It can be used only if the type is userAccount, federatedUser or serviceAccount.

type

string

Required field. Type of the subject.

It can contain one of the following values:

  • userAccount: An account on Yandex or Yandex Connect, added to Yandex Cloud.
  • serviceAccount: A service account. This type represents the yandex.cloud.iam.v1.ServiceAccount resource.
  • federatedUser: A federated account. This type represents a user from an identity federation, like Active Directory.
  • system: System group. This type represents several accounts with a common system identifier.

For more information, see Subject to which the role is assigned.

Was the article helpful?

Previous
ListInstances
Next
SetAccessBindings
Yandex project
© 2025 Yandex.Cloud LLC