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
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex DataSphere
  • Getting started
  • Terraform reference
    • Overview
    • Authentication with the API
      • Overview
        • Overview
        • Create
        • Get
        • Update
        • Delete
        • List
        • ListAccessBindings
        • SetAccessBindings
        • UpdateAccessBindings
        • AddResource
        • RemoveResource
        • GetRestrictionsMeta
        • GetRestrictions
        • SetRestrictions
  • Audit Trails events
  • Access management
  • Pricing policy
  • Public materials
  • Release notes

In this article:

  • gRPC request
  • GetCommunityRestrictionsRequest
  • RestrictionsResponse
  • Restriction
  1. API reference
  2. gRPC
  3. Community
  4. GetRestrictions

DataSphere API v2, gRPC: CommunityService.GetRestrictions

Written by
Yandex Cloud
Updated at November 26, 2024
  • gRPC request
  • GetCommunityRestrictionsRequest
  • RestrictionsResponse
  • Restriction

Get current community restrictions.

gRPC request

rpc GetRestrictions (GetCommunityRestrictionsRequest) returns (RestrictionsResponse)

GetCommunityRestrictionsRequest

{
  "community_id": "string"
}

Field

Description

community_id

string

Required field. ID of the community.

RestrictionsResponse

{
  "restrictions": [
    {
      "name": "string",
      "bool_value": [
        "bool"
      ],
      "long_value": [
        "int64"
      ],
      "string_value": [
        "string"
      ]
    }
  ]
}

Field

Description

restrictions[]

Restriction

List of restrictions.

Restriction

Field

Description

name

string

Name of restriction.

bool_value[]

bool

List of boolean restriction values. Empty if value type is not boolean.

long_value[]

int64

List of long restriction values. Empty if value type is not long.

string_value[]

string

List of string restriction values. Empty if value type is not string.

Was the article helpful?

Previous
GetRestrictionsMeta
Next
SetRestrictions
© 2025 Direct Cursus Technology L.L.C.