Skip to main content

types

AccessBinding

roleId : string

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

subject : Subject

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

AccessBindingDelta

action : AccessBindingAction

The action that is being performed on an access binding.

accessBinding : AccessBinding

Access binding. For more information, see Access Bindings.

AccessBindingsOperationResult

effectiveDeltas : AccessBindingDelta

Result access binding deltas.

ListAccessBindingsRequest

resourceId : string

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.

pageSize : 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.

pageToken : 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.

ListAccessBindingsResponse

accessBindings : AccessBinding

List of access bindings for the specified resource.

nextPageToken : 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.

SetAccessBindingsMetadata

resourceId : string

ID of the resource for which access bindings are being set.

SetAccessBindingsRequest

resourceId : string

ID of the resource for which access bindings are being set.

To get the resource ID, use a corresponding List request.

accessBindings : AccessBinding

Access bindings to be set. For more information, see Access Bindings.

Subject

id : string

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 <id>. 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 <id>. 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

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.

UpdateAccessBindingsMetadata

resourceId : string

ID of the resource for which access bindings are being updated.

UpdateAccessBindingsRequest

resourceId : string

ID of the resource for which access bindings are being updated.

accessBindingDeltas : AccessBindingDelta

Updates to access bindings.