iam

package
v0.0.0-...-5fa7aab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: MIT Imports: 15 Imported by: 20

Documentation

Index

Constants

View Source
const (
	ApiKeyService_List_FullMethodName           = "/yandex.cloud.iam.v1.ApiKeyService/List"
	ApiKeyService_Get_FullMethodName            = "/yandex.cloud.iam.v1.ApiKeyService/Get"
	ApiKeyService_Create_FullMethodName         = "/yandex.cloud.iam.v1.ApiKeyService/Create"
	ApiKeyService_Update_FullMethodName         = "/yandex.cloud.iam.v1.ApiKeyService/Update"
	ApiKeyService_Delete_FullMethodName         = "/yandex.cloud.iam.v1.ApiKeyService/Delete"
	ApiKeyService_ListOperations_FullMethodName = "/yandex.cloud.iam.v1.ApiKeyService/ListOperations"
)
View Source
const (
	IamTokenService_Create_FullMethodName                  = "/yandex.cloud.iam.v1.IamTokenService/Create"
	IamTokenService_CreateForServiceAccount_FullMethodName = "/yandex.cloud.iam.v1.IamTokenService/CreateForServiceAccount"
)
View Source
const (
	KeyService_Get_FullMethodName            = "/yandex.cloud.iam.v1.KeyService/Get"
	KeyService_List_FullMethodName           = "/yandex.cloud.iam.v1.KeyService/List"
	KeyService_Create_FullMethodName         = "/yandex.cloud.iam.v1.KeyService/Create"
	KeyService_Update_FullMethodName         = "/yandex.cloud.iam.v1.KeyService/Update"
	KeyService_Delete_FullMethodName         = "/yandex.cloud.iam.v1.KeyService/Delete"
	KeyService_ListOperations_FullMethodName = "/yandex.cloud.iam.v1.KeyService/ListOperations"
)
View Source
const (
	RoleService_Get_FullMethodName  = "/yandex.cloud.iam.v1.RoleService/Get"
	RoleService_List_FullMethodName = "/yandex.cloud.iam.v1.RoleService/List"
)
View Source
const (
	ServiceAccountService_Get_FullMethodName                  = "/yandex.cloud.iam.v1.ServiceAccountService/Get"
	ServiceAccountService_List_FullMethodName                 = "/yandex.cloud.iam.v1.ServiceAccountService/List"
	ServiceAccountService_Create_FullMethodName               = "/yandex.cloud.iam.v1.ServiceAccountService/Create"
	ServiceAccountService_Update_FullMethodName               = "/yandex.cloud.iam.v1.ServiceAccountService/Update"
	ServiceAccountService_Delete_FullMethodName               = "/yandex.cloud.iam.v1.ServiceAccountService/Delete"
	ServiceAccountService_ListAccessBindings_FullMethodName   = "/yandex.cloud.iam.v1.ServiceAccountService/ListAccessBindings"
	ServiceAccountService_SetAccessBindings_FullMethodName    = "/yandex.cloud.iam.v1.ServiceAccountService/SetAccessBindings"
	ServiceAccountService_UpdateAccessBindings_FullMethodName = "/yandex.cloud.iam.v1.ServiceAccountService/UpdateAccessBindings"
	ServiceAccountService_ListOperations_FullMethodName       = "/yandex.cloud.iam.v1.ServiceAccountService/ListOperations"
)
View Source
const (
	ServiceControlService_Get_FullMethodName     = "/yandex.cloud.iam.v1.ServiceControlService/Get"
	ServiceControlService_List_FullMethodName    = "/yandex.cloud.iam.v1.ServiceControlService/List"
	ServiceControlService_Enable_FullMethodName  = "/yandex.cloud.iam.v1.ServiceControlService/Enable"
	ServiceControlService_Resume_FullMethodName  = "/yandex.cloud.iam.v1.ServiceControlService/Resume"
	ServiceControlService_Pause_FullMethodName   = "/yandex.cloud.iam.v1.ServiceControlService/Pause"
	ServiceControlService_Disable_FullMethodName = "/yandex.cloud.iam.v1.ServiceControlService/Disable"
)
View Source
const (
	UserAccountService_Get_FullMethodName = "/yandex.cloud.iam.v1.UserAccountService/Get"
)
View Source
const (
	YandexPassportUserAccountService_GetByLogin_FullMethodName = "/yandex.cloud.iam.v1.YandexPassportUserAccountService/GetByLogin"
)

Variables

View Source
var (
	Key_Algorithm_name = map[int32]string{
		0: "ALGORITHM_UNSPECIFIED",
		1: "RSA_2048",
		2: "RSA_4096",
	}
	Key_Algorithm_value = map[string]int32{
		"ALGORITHM_UNSPECIFIED": 0,
		"RSA_2048":              1,
		"RSA_4096":              2,
	}
)

Enum value maps for Key_Algorithm.

View Source
var (
	KeyFormat_name = map[int32]string{
		0: "PEM_FILE",
	}
	KeyFormat_value = map[string]int32{
		"PEM_FILE": 0,
	}
)

Enum value maps for KeyFormat.

View Source
var (
	Service_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "ENABLED",
		2: "PAUSED",
		3: "DISABLED",
		4: "ENABLING",
		5: "RESUMING",
		6: "PAUSING",
		7: "DISABLING",
		8: "ERROR",
	}
	Service_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"ENABLED":            1,
		"PAUSED":             2,
		"DISABLED":           3,
		"ENABLING":           4,
		"RESUMING":           5,
		"PAUSING":            6,
		"DISABLING":          7,
		"ERROR":              8,
	}
)

Enum value maps for Service_Status.

View Source
var ApiKeyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.iam.v1.ApiKeyService",
	HandlerType: (*ApiKeyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _ApiKeyService_List_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _ApiKeyService_Get_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _ApiKeyService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _ApiKeyService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ApiKeyService_Delete_Handler,
		},
		{
			MethodName: "ListOperations",
			Handler:    _ApiKeyService_ListOperations_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/iam/v1/api_key_service.proto",
}

ApiKeyService_ServiceDesc is the grpc.ServiceDesc for ApiKeyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_yandex_cloud_iam_v1_api_key_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iam_v1_api_key_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iam_v1_iam_token_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iam_v1_key_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iam_v1_key_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iam_v1_resource_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iam_v1_role_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iam_v1_role_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iam_v1_service_account_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iam_v1_service_account_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iam_v1_service_control_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iam_v1_service_control_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iam_v1_user_account_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iam_v1_user_account_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iam_v1_yandex_passport_user_account_service_proto protoreflect.FileDescriptor
View Source
var IamTokenService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.iam.v1.IamTokenService",
	HandlerType: (*IamTokenServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _IamTokenService_Create_Handler,
		},
		{
			MethodName: "CreateForServiceAccount",
			Handler:    _IamTokenService_CreateForServiceAccount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/iam/v1/iam_token_service.proto",
}

IamTokenService_ServiceDesc is the grpc.ServiceDesc for IamTokenService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var KeyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.iam.v1.KeyService",
	HandlerType: (*KeyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _KeyService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _KeyService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _KeyService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _KeyService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _KeyService_Delete_Handler,
		},
		{
			MethodName: "ListOperations",
			Handler:    _KeyService_ListOperations_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/iam/v1/key_service.proto",
}

KeyService_ServiceDesc is the grpc.ServiceDesc for KeyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RoleService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.iam.v1.RoleService",
	HandlerType: (*RoleServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _RoleService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _RoleService_List_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/iam/v1/role_service.proto",
}

RoleService_ServiceDesc is the grpc.ServiceDesc for RoleService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ServiceAccountService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.iam.v1.ServiceAccountService",
	HandlerType: (*ServiceAccountServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _ServiceAccountService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _ServiceAccountService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _ServiceAccountService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _ServiceAccountService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ServiceAccountService_Delete_Handler,
		},
		{
			MethodName: "ListAccessBindings",
			Handler:    _ServiceAccountService_ListAccessBindings_Handler,
		},
		{
			MethodName: "SetAccessBindings",
			Handler:    _ServiceAccountService_SetAccessBindings_Handler,
		},
		{
			MethodName: "UpdateAccessBindings",
			Handler:    _ServiceAccountService_UpdateAccessBindings_Handler,
		},
		{
			MethodName: "ListOperations",
			Handler:    _ServiceAccountService_ListOperations_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/iam/v1/service_account_service.proto",
}

ServiceAccountService_ServiceDesc is the grpc.ServiceDesc for ServiceAccountService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ServiceControlService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.iam.v1.ServiceControlService",
	HandlerType: (*ServiceControlServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _ServiceControlService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _ServiceControlService_List_Handler,
		},
		{
			MethodName: "Enable",
			Handler:    _ServiceControlService_Enable_Handler,
		},
		{
			MethodName: "Resume",
			Handler:    _ServiceControlService_Resume_Handler,
		},
		{
			MethodName: "Pause",
			Handler:    _ServiceControlService_Pause_Handler,
		},
		{
			MethodName: "Disable",
			Handler:    _ServiceControlService_Disable_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/iam/v1/service_control_service.proto",
}

ServiceControlService_ServiceDesc is the grpc.ServiceDesc for ServiceControlService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var UserAccountService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.iam.v1.UserAccountService",
	HandlerType: (*UserAccountServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _UserAccountService_Get_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/iam/v1/user_account_service.proto",
}

UserAccountService_ServiceDesc is the grpc.ServiceDesc for UserAccountService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var YandexPassportUserAccountService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.iam.v1.YandexPassportUserAccountService",
	HandlerType: (*YandexPassportUserAccountServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetByLogin",
			Handler:    _YandexPassportUserAccountService_GetByLogin_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/iam/v1/yandex_passport_user_account_service.proto",
}

YandexPassportUserAccountService_ServiceDesc is the grpc.ServiceDesc for YandexPassportUserAccountService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterApiKeyServiceServer

func RegisterApiKeyServiceServer(s grpc.ServiceRegistrar, srv ApiKeyServiceServer)

func RegisterIamTokenServiceServer

func RegisterIamTokenServiceServer(s grpc.ServiceRegistrar, srv IamTokenServiceServer)

func RegisterKeyServiceServer

func RegisterKeyServiceServer(s grpc.ServiceRegistrar, srv KeyServiceServer)

func RegisterRoleServiceServer

func RegisterRoleServiceServer(s grpc.ServiceRegistrar, srv RoleServiceServer)

func RegisterServiceAccountServiceServer

func RegisterServiceAccountServiceServer(s grpc.ServiceRegistrar, srv ServiceAccountServiceServer)

func RegisterServiceControlServiceServer

func RegisterServiceControlServiceServer(s grpc.ServiceRegistrar, srv ServiceControlServiceServer)

func RegisterUserAccountServiceServer

func RegisterUserAccountServiceServer(s grpc.ServiceRegistrar, srv UserAccountServiceServer)

func RegisterYandexPassportUserAccountServiceServer

func RegisterYandexPassportUserAccountServiceServer(s grpc.ServiceRegistrar, srv YandexPassportUserAccountServiceServer)

Types

type ApiKey

type ApiKey struct {

	// ID of the API Key.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the service account that the API key belongs to.
	ServiceAccountId string `protobuf:"bytes,2,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// Creation timestamp.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Description of the API key. 0-256 characters long.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Timestamp for the last authentication using this API key.
	LastUsedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"`
	// contains filtered or unexported fields
}

An ApiKey resource. For more information, see [Api-Key](/docs/iam/concepts/authorization/api-key).

func (*ApiKey) Descriptor deprecated

func (*ApiKey) Descriptor() ([]byte, []int)

Deprecated: Use ApiKey.ProtoReflect.Descriptor instead.

func (*ApiKey) GetCreatedAt

func (x *ApiKey) GetCreatedAt() *timestamppb.Timestamp

func (*ApiKey) GetDescription

func (x *ApiKey) GetDescription() string

func (*ApiKey) GetId

func (x *ApiKey) GetId() string

func (*ApiKey) GetLastUsedAt

func (x *ApiKey) GetLastUsedAt() *timestamppb.Timestamp

func (*ApiKey) GetServiceAccountId

func (x *ApiKey) GetServiceAccountId() string

func (*ApiKey) ProtoMessage

func (*ApiKey) ProtoMessage()

func (*ApiKey) ProtoReflect

func (x *ApiKey) ProtoReflect() protoreflect.Message

func (*ApiKey) Reset

func (x *ApiKey) Reset()

func (*ApiKey) SetCreatedAt

func (m *ApiKey) SetCreatedAt(v *timestamppb.Timestamp)

func (*ApiKey) SetDescription

func (m *ApiKey) SetDescription(v string)

func (*ApiKey) SetId

func (m *ApiKey) SetId(v string)

func (*ApiKey) SetLastUsedAt

func (m *ApiKey) SetLastUsedAt(v *timestamppb.Timestamp)

func (*ApiKey) SetServiceAccountId

func (m *ApiKey) SetServiceAccountId(v string)

func (*ApiKey) String

func (x *ApiKey) String() string

type ApiKeyServiceClient

type ApiKeyServiceClient interface {
	// Retrieves the list of API keys for the specified service account.
	List(ctx context.Context, in *ListApiKeysRequest, opts ...grpc.CallOption) (*ListApiKeysResponse, error)
	// Returns the specified API key.
	//
	// To get the list of available API keys, make a [List] request.
	Get(ctx context.Context, in *GetApiKeyRequest, opts ...grpc.CallOption) (*ApiKey, error)
	// Creates an API key for the specified service account.
	Create(ctx context.Context, in *CreateApiKeyRequest, opts ...grpc.CallOption) (*CreateApiKeyResponse, error)
	// Updates the specified API key.
	Update(ctx context.Context, in *UpdateApiKeyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified API key.
	Delete(ctx context.Context, in *DeleteApiKeyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Retrieves the list of operations for the specified API key.
	ListOperations(ctx context.Context, in *ListApiKeyOperationsRequest, opts ...grpc.CallOption) (*ListApiKeyOperationsResponse, error)
}

ApiKeyServiceClient is the client API for ApiKeyService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ApiKeyServiceServer

type ApiKeyServiceServer interface {
	// Retrieves the list of API keys for the specified service account.
	List(context.Context, *ListApiKeysRequest) (*ListApiKeysResponse, error)
	// Returns the specified API key.
	//
	// To get the list of available API keys, make a [List] request.
	Get(context.Context, *GetApiKeyRequest) (*ApiKey, error)
	// Creates an API key for the specified service account.
	Create(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error)
	// Updates the specified API key.
	Update(context.Context, *UpdateApiKeyRequest) (*operation.Operation, error)
	// Deletes the specified API key.
	Delete(context.Context, *DeleteApiKeyRequest) (*operation.Operation, error)
	// Retrieves the list of operations for the specified API key.
	ListOperations(context.Context, *ListApiKeyOperationsRequest) (*ListApiKeyOperationsResponse, error)
}

ApiKeyServiceServer is the server API for ApiKeyService service. All implementations should embed UnimplementedApiKeyServiceServer for forward compatibility

type CreateApiKeyRequest

type CreateApiKeyRequest struct {

	// ID of the service account to create an API key for.
	// To get the service account ID, use a [yandex.cloud.iam.v1.ServiceAccountService.List] request.
	// If not specified, it defaults to the subject that made the request.
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // use current subject identity if this not set
	// Description of the API key.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateApiKeyRequest) Descriptor deprecated

func (*CreateApiKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateApiKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateApiKeyRequest) GetDescription

func (x *CreateApiKeyRequest) GetDescription() string

func (*CreateApiKeyRequest) GetServiceAccountId

func (x *CreateApiKeyRequest) GetServiceAccountId() string

func (*CreateApiKeyRequest) ProtoMessage

func (*CreateApiKeyRequest) ProtoMessage()

func (*CreateApiKeyRequest) ProtoReflect

func (x *CreateApiKeyRequest) ProtoReflect() protoreflect.Message

func (*CreateApiKeyRequest) Reset

func (x *CreateApiKeyRequest) Reset()

func (*CreateApiKeyRequest) SetDescription

func (m *CreateApiKeyRequest) SetDescription(v string)

func (*CreateApiKeyRequest) SetServiceAccountId

func (m *CreateApiKeyRequest) SetServiceAccountId(v string)

func (*CreateApiKeyRequest) String

func (x *CreateApiKeyRequest) String() string

type CreateApiKeyResponse

type CreateApiKeyResponse struct {

	// ApiKey resource.
	ApiKey *ApiKey `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// Secret part of the API key. This secret key you may use in the requests for authentication.
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateApiKeyResponse) Descriptor deprecated

func (*CreateApiKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateApiKeyResponse.ProtoReflect.Descriptor instead.

func (*CreateApiKeyResponse) GetApiKey

func (x *CreateApiKeyResponse) GetApiKey() *ApiKey

func (*CreateApiKeyResponse) GetSecret

func (x *CreateApiKeyResponse) GetSecret() string

func (*CreateApiKeyResponse) ProtoMessage

func (*CreateApiKeyResponse) ProtoMessage()

func (*CreateApiKeyResponse) ProtoReflect

func (x *CreateApiKeyResponse) ProtoReflect() protoreflect.Message

func (*CreateApiKeyResponse) Reset

func (x *CreateApiKeyResponse) Reset()

func (*CreateApiKeyResponse) SetApiKey

func (m *CreateApiKeyResponse) SetApiKey(v *ApiKey)

func (*CreateApiKeyResponse) SetSecret

func (m *CreateApiKeyResponse) SetSecret(v string)

func (*CreateApiKeyResponse) String

func (x *CreateApiKeyResponse) String() string

type CreateIamTokenForServiceAccountRequest

type CreateIamTokenForServiceAccountRequest struct {
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateIamTokenForServiceAccountRequest) Descriptor deprecated

func (*CreateIamTokenForServiceAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateIamTokenForServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateIamTokenForServiceAccountRequest) GetServiceAccountId

func (x *CreateIamTokenForServiceAccountRequest) GetServiceAccountId() string

func (*CreateIamTokenForServiceAccountRequest) ProtoMessage

func (*CreateIamTokenForServiceAccountRequest) ProtoReflect

func (*CreateIamTokenForServiceAccountRequest) Reset

func (*CreateIamTokenForServiceAccountRequest) SetServiceAccountId

func (m *CreateIamTokenForServiceAccountRequest) SetServiceAccountId(v string)

func (*CreateIamTokenForServiceAccountRequest) String

type CreateIamTokenRequest

type CreateIamTokenRequest struct {

	// Types that are assignable to Identity:
	//
	//	*CreateIamTokenRequest_YandexPassportOauthToken
	//	*CreateIamTokenRequest_Jwt
	Identity isCreateIamTokenRequest_Identity `protobuf_oneof:"identity"`
	// contains filtered or unexported fields
}

func (*CreateIamTokenRequest) Descriptor deprecated

func (*CreateIamTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateIamTokenRequest.ProtoReflect.Descriptor instead.

func (*CreateIamTokenRequest) GetIdentity

func (m *CreateIamTokenRequest) GetIdentity() isCreateIamTokenRequest_Identity

func (*CreateIamTokenRequest) GetJwt

func (x *CreateIamTokenRequest) GetJwt() string

func (*CreateIamTokenRequest) GetYandexPassportOauthToken

func (x *CreateIamTokenRequest) GetYandexPassportOauthToken() string

func (*CreateIamTokenRequest) ProtoMessage

func (*CreateIamTokenRequest) ProtoMessage()

func (*CreateIamTokenRequest) ProtoReflect

func (x *CreateIamTokenRequest) ProtoReflect() protoreflect.Message

func (*CreateIamTokenRequest) Reset

func (x *CreateIamTokenRequest) Reset()

func (*CreateIamTokenRequest) SetIdentity

func (*CreateIamTokenRequest) SetJwt

func (m *CreateIamTokenRequest) SetJwt(v string)

func (*CreateIamTokenRequest) SetYandexPassportOauthToken

func (m *CreateIamTokenRequest) SetYandexPassportOauthToken(v string)

func (*CreateIamTokenRequest) String

func (x *CreateIamTokenRequest) String() string

type CreateIamTokenRequest_Identity

type CreateIamTokenRequest_Identity = isCreateIamTokenRequest_Identity

type CreateIamTokenRequest_Jwt

type CreateIamTokenRequest_Jwt struct {
	// JSON Web Token (JWT) for a service account.
	// For more information, see [Get IAM token for a service account](/docs/iam/operations/iam-token/create-for-sa).
	Jwt string `protobuf:"bytes,2,opt,name=jwt,proto3,oneof"`
}

type CreateIamTokenRequest_YandexPassportOauthToken

type CreateIamTokenRequest_YandexPassportOauthToken struct {
	// OAuth token for a Yandex account.
	// For more information, see [OAuth token](/docs/iam/concepts/authorization/oauth-token).
	YandexPassportOauthToken string `protobuf:"bytes,1,opt,name=yandex_passport_oauth_token,json=yandexPassportOauthToken,proto3,oneof"`
}

type CreateIamTokenResponse

type CreateIamTokenResponse struct {

	// IAM token for the specified identity.
	//
	// You should pass the token in the `Authorization` header for any further API requests.
	// For example, `Authorization: Bearer [iam_token]`.
	IamToken string `protobuf:"bytes,1,opt,name=iam_token,json=iamToken,proto3" json:"iam_token,omitempty"`
	// IAM token expiration time.
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateIamTokenResponse) Descriptor deprecated

func (*CreateIamTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateIamTokenResponse.ProtoReflect.Descriptor instead.

func (*CreateIamTokenResponse) GetExpiresAt

func (x *CreateIamTokenResponse) GetExpiresAt() *timestamppb.Timestamp

func (*CreateIamTokenResponse) GetIamToken

func (x *CreateIamTokenResponse) GetIamToken() string

func (*CreateIamTokenResponse) ProtoMessage

func (*CreateIamTokenResponse) ProtoMessage()

func (*CreateIamTokenResponse) ProtoReflect

func (x *CreateIamTokenResponse) ProtoReflect() protoreflect.Message

func (*CreateIamTokenResponse) Reset

func (x *CreateIamTokenResponse) Reset()

func (*CreateIamTokenResponse) SetExpiresAt

func (m *CreateIamTokenResponse) SetExpiresAt(v *timestamppb.Timestamp)

func (*CreateIamTokenResponse) SetIamToken

func (m *CreateIamTokenResponse) SetIamToken(v string)

func (*CreateIamTokenResponse) String

func (x *CreateIamTokenResponse) String() string

type CreateKeyRequest

type CreateKeyRequest struct {

	// ID of the service account to create a key pair for.
	// To get the service account ID, use a [yandex.cloud.iam.v1.ServiceAccountService.List] request.
	// If not specified, it defaults to the subject that made the request.
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // use userAccount identity if this not set
	// Description of the key pair.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Output format of the key.
	Format KeyFormat `protobuf:"varint,3,opt,name=format,proto3,enum=yandex.cloud.iam.v1.KeyFormat" json:"format,omitempty"`
	// An algorithm used to generate a key pair of the Key resource.
	KeyAlgorithm Key_Algorithm `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateKeyRequest) Descriptor deprecated

func (*CreateKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateKeyRequest) GetDescription

func (x *CreateKeyRequest) GetDescription() string

func (*CreateKeyRequest) GetFormat

func (x *CreateKeyRequest) GetFormat() KeyFormat

func (*CreateKeyRequest) GetKeyAlgorithm

func (x *CreateKeyRequest) GetKeyAlgorithm() Key_Algorithm

func (*CreateKeyRequest) GetServiceAccountId

func (x *CreateKeyRequest) GetServiceAccountId() string

func (*CreateKeyRequest) ProtoMessage

func (*CreateKeyRequest) ProtoMessage()

func (*CreateKeyRequest) ProtoReflect

func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message

func (*CreateKeyRequest) Reset

func (x *CreateKeyRequest) Reset()

func (*CreateKeyRequest) SetDescription

func (m *CreateKeyRequest) SetDescription(v string)

func (*CreateKeyRequest) SetFormat

func (m *CreateKeyRequest) SetFormat(v KeyFormat)

func (*CreateKeyRequest) SetKeyAlgorithm

func (m *CreateKeyRequest) SetKeyAlgorithm(v Key_Algorithm)

func (*CreateKeyRequest) SetServiceAccountId

func (m *CreateKeyRequest) SetServiceAccountId(v string)

func (*CreateKeyRequest) String

func (x *CreateKeyRequest) String() string

type CreateKeyResponse

type CreateKeyResponse struct {

	// Key resource.
	Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// A private key of the Key resource.
	// This key must be stored securely.
	PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateKeyResponse) Descriptor deprecated

func (*CreateKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateKeyResponse.ProtoReflect.Descriptor instead.

func (*CreateKeyResponse) GetKey

func (x *CreateKeyResponse) GetKey() *Key

func (*CreateKeyResponse) GetPrivateKey

func (x *CreateKeyResponse) GetPrivateKey() string

func (*CreateKeyResponse) ProtoMessage

func (*CreateKeyResponse) ProtoMessage()

func (*CreateKeyResponse) ProtoReflect

func (x *CreateKeyResponse) ProtoReflect() protoreflect.Message

func (*CreateKeyResponse) Reset

func (x *CreateKeyResponse) Reset()

func (*CreateKeyResponse) SetKey

func (m *CreateKeyResponse) SetKey(v *Key)

func (*CreateKeyResponse) SetPrivateKey

func (m *CreateKeyResponse) SetPrivateKey(v string)

func (*CreateKeyResponse) String

func (x *CreateKeyResponse) String() string

type CreateServiceAccountMetadata

type CreateServiceAccountMetadata struct {

	// ID of the service account that is being created.
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateServiceAccountMetadata) Descriptor deprecated

func (*CreateServiceAccountMetadata) Descriptor() ([]byte, []int)

Deprecated: Use CreateServiceAccountMetadata.ProtoReflect.Descriptor instead.

func (*CreateServiceAccountMetadata) GetServiceAccountId

func (x *CreateServiceAccountMetadata) GetServiceAccountId() string

func (*CreateServiceAccountMetadata) ProtoMessage

func (*CreateServiceAccountMetadata) ProtoMessage()

func (*CreateServiceAccountMetadata) ProtoReflect

func (*CreateServiceAccountMetadata) Reset

func (x *CreateServiceAccountMetadata) Reset()

func (*CreateServiceAccountMetadata) SetServiceAccountId

func (m *CreateServiceAccountMetadata) SetServiceAccountId(v string)

func (*CreateServiceAccountMetadata) String

type CreateServiceAccountRequest

type CreateServiceAccountRequest struct {

	// ID of the folder to create a service account in.
	// To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the service account.
	// The name must be unique within the cloud.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the service account.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Resource labels as “ key:value “ pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateServiceAccountRequest) Descriptor deprecated

func (*CreateServiceAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceAccountRequest) GetDescription

func (x *CreateServiceAccountRequest) GetDescription() string

func (*CreateServiceAccountRequest) GetFolderId

func (x *CreateServiceAccountRequest) GetFolderId() string

func (*CreateServiceAccountRequest) GetLabels

func (x *CreateServiceAccountRequest) GetLabels() map[string]string

func (*CreateServiceAccountRequest) GetName

func (x *CreateServiceAccountRequest) GetName() string

func (*CreateServiceAccountRequest) ProtoMessage

func (*CreateServiceAccountRequest) ProtoMessage()

func (*CreateServiceAccountRequest) ProtoReflect

func (*CreateServiceAccountRequest) Reset

func (x *CreateServiceAccountRequest) Reset()

func (*CreateServiceAccountRequest) SetDescription

func (m *CreateServiceAccountRequest) SetDescription(v string)

func (*CreateServiceAccountRequest) SetFolderId

func (m *CreateServiceAccountRequest) SetFolderId(v string)

func (*CreateServiceAccountRequest) SetLabels

func (m *CreateServiceAccountRequest) SetLabels(v map[string]string)

func (*CreateServiceAccountRequest) SetName

func (m *CreateServiceAccountRequest) SetName(v string)

func (*CreateServiceAccountRequest) String

func (x *CreateServiceAccountRequest) String() string

type DeleteApiKeyMetadata

type DeleteApiKeyMetadata struct {

	// ID of the API key that is being deleted.
	ApiKeyId string `protobuf:"bytes,1,opt,name=api_key_id,json=apiKeyId,proto3" json:"api_key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteApiKeyMetadata) Descriptor deprecated

func (*DeleteApiKeyMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DeleteApiKeyMetadata.ProtoReflect.Descriptor instead.

func (*DeleteApiKeyMetadata) GetApiKeyId

func (x *DeleteApiKeyMetadata) GetApiKeyId() string

func (*DeleteApiKeyMetadata) ProtoMessage

func (*DeleteApiKeyMetadata) ProtoMessage()

func (*DeleteApiKeyMetadata) ProtoReflect

func (x *DeleteApiKeyMetadata) ProtoReflect() protoreflect.Message

func (*DeleteApiKeyMetadata) Reset

func (x *DeleteApiKeyMetadata) Reset()

func (*DeleteApiKeyMetadata) SetApiKeyId

func (m *DeleteApiKeyMetadata) SetApiKeyId(v string)

func (*DeleteApiKeyMetadata) String

func (x *DeleteApiKeyMetadata) String() string

type DeleteApiKeyRequest

type DeleteApiKeyRequest struct {

	// ID of the API key to delete.
	// To get the API key ID, use a [ApiKeyService.List] request.
	ApiKeyId string `protobuf:"bytes,1,opt,name=api_key_id,json=apiKeyId,proto3" json:"api_key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteApiKeyRequest) Descriptor deprecated

func (*DeleteApiKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteApiKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteApiKeyRequest) GetApiKeyId

func (x *DeleteApiKeyRequest) GetApiKeyId() string

func (*DeleteApiKeyRequest) ProtoMessage

func (*DeleteApiKeyRequest) ProtoMessage()

func (*DeleteApiKeyRequest) ProtoReflect

func (x *DeleteApiKeyRequest) ProtoReflect() protoreflect.Message

func (*DeleteApiKeyRequest) Reset

func (x *DeleteApiKeyRequest) Reset()

func (*DeleteApiKeyRequest) SetApiKeyId

func (m *DeleteApiKeyRequest) SetApiKeyId(v string)

func (*DeleteApiKeyRequest) String

func (x *DeleteApiKeyRequest) String() string

type DeleteKeyMetadata

type DeleteKeyMetadata struct {

	// ID of the key that is being deleted.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteKeyMetadata) Descriptor deprecated

func (*DeleteKeyMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DeleteKeyMetadata.ProtoReflect.Descriptor instead.

func (*DeleteKeyMetadata) GetKeyId

func (x *DeleteKeyMetadata) GetKeyId() string

func (*DeleteKeyMetadata) ProtoMessage

func (*DeleteKeyMetadata) ProtoMessage()

func (*DeleteKeyMetadata) ProtoReflect

func (x *DeleteKeyMetadata) ProtoReflect() protoreflect.Message

func (*DeleteKeyMetadata) Reset

func (x *DeleteKeyMetadata) Reset()

func (*DeleteKeyMetadata) SetKeyId

func (m *DeleteKeyMetadata) SetKeyId(v string)

func (*DeleteKeyMetadata) String

func (x *DeleteKeyMetadata) String() string

type DeleteKeyRequest

type DeleteKeyRequest struct {

	// ID of the key to delete.
	// To get key ID use a [KeyService.List] request.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteKeyRequest) Descriptor deprecated

func (*DeleteKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteKeyRequest) GetKeyId

func (x *DeleteKeyRequest) GetKeyId() string

func (*DeleteKeyRequest) ProtoMessage

func (*DeleteKeyRequest) ProtoMessage()

func (*DeleteKeyRequest) ProtoReflect

func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message

func (*DeleteKeyRequest) Reset

func (x *DeleteKeyRequest) Reset()

func (*DeleteKeyRequest) SetKeyId

func (m *DeleteKeyRequest) SetKeyId(v string)

func (*DeleteKeyRequest) String

func (x *DeleteKeyRequest) String() string

type DeleteServiceAccountMetadata

type DeleteServiceAccountMetadata struct {

	// ID of the service account that is being deleted.
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteServiceAccountMetadata) Descriptor deprecated

func (*DeleteServiceAccountMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DeleteServiceAccountMetadata.ProtoReflect.Descriptor instead.

func (*DeleteServiceAccountMetadata) GetServiceAccountId

func (x *DeleteServiceAccountMetadata) GetServiceAccountId() string

func (*DeleteServiceAccountMetadata) ProtoMessage

func (*DeleteServiceAccountMetadata) ProtoMessage()

func (*DeleteServiceAccountMetadata) ProtoReflect

func (*DeleteServiceAccountMetadata) Reset

func (x *DeleteServiceAccountMetadata) Reset()

func (*DeleteServiceAccountMetadata) SetServiceAccountId

func (m *DeleteServiceAccountMetadata) SetServiceAccountId(v string)

func (*DeleteServiceAccountMetadata) String

type DeleteServiceAccountRequest

type DeleteServiceAccountRequest struct {

	// ID of the service account to delete.
	// To get the service account ID, use a [ServiceAccountService.List] request.
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteServiceAccountRequest) Descriptor deprecated

func (*DeleteServiceAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceAccountRequest) GetServiceAccountId

func (x *DeleteServiceAccountRequest) GetServiceAccountId() string

func (*DeleteServiceAccountRequest) ProtoMessage

func (*DeleteServiceAccountRequest) ProtoMessage()

func (*DeleteServiceAccountRequest) ProtoReflect

func (*DeleteServiceAccountRequest) Reset

func (x *DeleteServiceAccountRequest) Reset()

func (*DeleteServiceAccountRequest) SetServiceAccountId

func (m *DeleteServiceAccountRequest) SetServiceAccountId(v string)

func (*DeleteServiceAccountRequest) String

func (x *DeleteServiceAccountRequest) String() string

type DisableServiceMetadata

type DisableServiceMetadata struct {

	// ID of the Service.
	ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Resource container.
	Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*DisableServiceMetadata) Descriptor deprecated

func (*DisableServiceMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DisableServiceMetadata.ProtoReflect.Descriptor instead.

func (*DisableServiceMetadata) GetResource

func (x *DisableServiceMetadata) GetResource() *Resource

func (*DisableServiceMetadata) GetServiceId

func (x *DisableServiceMetadata) GetServiceId() string

func (*DisableServiceMetadata) ProtoMessage

func (*DisableServiceMetadata) ProtoMessage()

func (*DisableServiceMetadata) ProtoReflect

func (x *DisableServiceMetadata) ProtoReflect() protoreflect.Message

func (*DisableServiceMetadata) Reset

func (x *DisableServiceMetadata) Reset()

func (*DisableServiceMetadata) SetResource

func (m *DisableServiceMetadata) SetResource(v *Resource)

func (*DisableServiceMetadata) SetServiceId

func (m *DisableServiceMetadata) SetServiceId(v string)

func (*DisableServiceMetadata) String

func (x *DisableServiceMetadata) String() string

type DisableServiceRequest

type DisableServiceRequest struct {

	// ID of the Service.
	ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Resource container to disable a service in.
	//
	// It is supported only resource-manager.cloud resource container now.
	Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*DisableServiceRequest) Descriptor deprecated

func (*DisableServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisableServiceRequest.ProtoReflect.Descriptor instead.

func (*DisableServiceRequest) GetResource

func (x *DisableServiceRequest) GetResource() *Resource

func (*DisableServiceRequest) GetServiceId

func (x *DisableServiceRequest) GetServiceId() string

func (*DisableServiceRequest) ProtoMessage

func (*DisableServiceRequest) ProtoMessage()

func (*DisableServiceRequest) ProtoReflect

func (x *DisableServiceRequest) ProtoReflect() protoreflect.Message

func (*DisableServiceRequest) Reset

func (x *DisableServiceRequest) Reset()

func (*DisableServiceRequest) SetResource

func (m *DisableServiceRequest) SetResource(v *Resource)

func (*DisableServiceRequest) SetServiceId

func (m *DisableServiceRequest) SetServiceId(v string)

func (*DisableServiceRequest) String

func (x *DisableServiceRequest) String() string

type EnableServiceMetadata

type EnableServiceMetadata struct {

	// ID of the Service.
	ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Resource container.
	Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*EnableServiceMetadata) Descriptor deprecated

func (*EnableServiceMetadata) Descriptor() ([]byte, []int)

Deprecated: Use EnableServiceMetadata.ProtoReflect.Descriptor instead.

func (*EnableServiceMetadata) GetResource

func (x *EnableServiceMetadata) GetResource() *Resource

func (*EnableServiceMetadata) GetServiceId

func (x *EnableServiceMetadata) GetServiceId() string

func (*EnableServiceMetadata) ProtoMessage

func (*EnableServiceMetadata) ProtoMessage()

func (*EnableServiceMetadata) ProtoReflect

func (x *EnableServiceMetadata) ProtoReflect() protoreflect.Message

func (*EnableServiceMetadata) Reset

func (x *EnableServiceMetadata) Reset()

func (*EnableServiceMetadata) SetResource

func (m *EnableServiceMetadata) SetResource(v *Resource)

func (*EnableServiceMetadata) SetServiceId

func (m *EnableServiceMetadata) SetServiceId(v string)

func (*EnableServiceMetadata) String

func (x *EnableServiceMetadata) String() string

type EnableServiceRequest

type EnableServiceRequest struct {

	// ID of the Service.
	ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Resource container to enable a service in.
	//
	// It is supported only resource-manager.cloud resource container now.
	Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*EnableServiceRequest) Descriptor deprecated

func (*EnableServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnableServiceRequest.ProtoReflect.Descriptor instead.

func (*EnableServiceRequest) GetResource

func (x *EnableServiceRequest) GetResource() *Resource

func (*EnableServiceRequest) GetServiceId

func (x *EnableServiceRequest) GetServiceId() string

func (*EnableServiceRequest) ProtoMessage

func (*EnableServiceRequest) ProtoMessage()

func (*EnableServiceRequest) ProtoReflect

func (x *EnableServiceRequest) ProtoReflect() protoreflect.Message

func (*EnableServiceRequest) Reset

func (x *EnableServiceRequest) Reset()

func (*EnableServiceRequest) SetResource

func (m *EnableServiceRequest) SetResource(v *Resource)

func (*EnableServiceRequest) SetServiceId

func (m *EnableServiceRequest) SetServiceId(v string)

func (*EnableServiceRequest) String

func (x *EnableServiceRequest) String() string

type GetApiKeyRequest

type GetApiKeyRequest struct {

	// ID of the API key to return.
	// To get the API key ID, use a [ApiKeyService.List] request.
	ApiKeyId string `protobuf:"bytes,1,opt,name=api_key_id,json=apiKeyId,proto3" json:"api_key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetApiKeyRequest) Descriptor deprecated

func (*GetApiKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetApiKeyRequest.ProtoReflect.Descriptor instead.

func (*GetApiKeyRequest) GetApiKeyId

func (x *GetApiKeyRequest) GetApiKeyId() string

func (*GetApiKeyRequest) ProtoMessage

func (*GetApiKeyRequest) ProtoMessage()

func (*GetApiKeyRequest) ProtoReflect

func (x *GetApiKeyRequest) ProtoReflect() protoreflect.Message

func (*GetApiKeyRequest) Reset

func (x *GetApiKeyRequest) Reset()

func (*GetApiKeyRequest) SetApiKeyId

func (m *GetApiKeyRequest) SetApiKeyId(v string)

func (*GetApiKeyRequest) String

func (x *GetApiKeyRequest) String() string

type GetKeyRequest

type GetKeyRequest struct {

	// ID of the Key resource to return.
	// To get the ID use a [KeyService.List] request.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// Output format of the key.
	Format KeyFormat `protobuf:"varint,2,opt,name=format,proto3,enum=yandex.cloud.iam.v1.KeyFormat" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyRequest) Descriptor deprecated

func (*GetKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetKeyRequest.ProtoReflect.Descriptor instead.

func (*GetKeyRequest) GetFormat

func (x *GetKeyRequest) GetFormat() KeyFormat

func (*GetKeyRequest) GetKeyId

func (x *GetKeyRequest) GetKeyId() string

func (*GetKeyRequest) ProtoMessage

func (*GetKeyRequest) ProtoMessage()

func (*GetKeyRequest) ProtoReflect

func (x *GetKeyRequest) ProtoReflect() protoreflect.Message

func (*GetKeyRequest) Reset

func (x *GetKeyRequest) Reset()

func (*GetKeyRequest) SetFormat

func (m *GetKeyRequest) SetFormat(v KeyFormat)

func (*GetKeyRequest) SetKeyId

func (m *GetKeyRequest) SetKeyId(v string)

func (*GetKeyRequest) String

func (x *GetKeyRequest) String() string

type GetRoleRequest

type GetRoleRequest struct {

	// ID of the Role resource to return.
	// To get the role ID, use a [RoleService.List] request.
	RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRoleRequest) Descriptor deprecated

func (*GetRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRoleRequest.ProtoReflect.Descriptor instead.

func (*GetRoleRequest) GetRoleId

func (x *GetRoleRequest) GetRoleId() string

func (*GetRoleRequest) ProtoMessage

func (*GetRoleRequest) ProtoMessage()

func (*GetRoleRequest) ProtoReflect

func (x *GetRoleRequest) ProtoReflect() protoreflect.Message

func (*GetRoleRequest) Reset

func (x *GetRoleRequest) Reset()

func (*GetRoleRequest) SetRoleId

func (m *GetRoleRequest) SetRoleId(v string)

func (*GetRoleRequest) String

func (x *GetRoleRequest) String() string

type GetServiceAccountRequest

type GetServiceAccountRequest struct {

	// ID of the ServiceAccount resource to return.
	// To get the service account ID, use a [ServiceAccountService.List] request.
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceAccountRequest) Descriptor deprecated

func (*GetServiceAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*GetServiceAccountRequest) GetServiceAccountId

func (x *GetServiceAccountRequest) GetServiceAccountId() string

func (*GetServiceAccountRequest) ProtoMessage

func (*GetServiceAccountRequest) ProtoMessage()

func (*GetServiceAccountRequest) ProtoReflect

func (x *GetServiceAccountRequest) ProtoReflect() protoreflect.Message

func (*GetServiceAccountRequest) Reset

func (x *GetServiceAccountRequest) Reset()

func (*GetServiceAccountRequest) SetServiceAccountId

func (m *GetServiceAccountRequest) SetServiceAccountId(v string)

func (*GetServiceAccountRequest) String

func (x *GetServiceAccountRequest) String() string

type GetServiceRequest

type GetServiceRequest struct {

	// ID of the Service.
	ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Resource container to get a service information in.
	//
	// It is supported only resource-manager.cloud resource container now.
	Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceRequest) Descriptor deprecated

func (*GetServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.

func (*GetServiceRequest) GetResource

func (x *GetServiceRequest) GetResource() *Resource

func (*GetServiceRequest) GetServiceId

func (x *GetServiceRequest) GetServiceId() string

func (*GetServiceRequest) ProtoMessage

func (*GetServiceRequest) ProtoMessage()

func (*GetServiceRequest) ProtoReflect

func (x *GetServiceRequest) ProtoReflect() protoreflect.Message

func (*GetServiceRequest) Reset

func (x *GetServiceRequest) Reset()

func (*GetServiceRequest) SetResource

func (m *GetServiceRequest) SetResource(v *Resource)

func (*GetServiceRequest) SetServiceId

func (m *GetServiceRequest) SetServiceId(v string)

func (*GetServiceRequest) String

func (x *GetServiceRequest) String() string

type GetUserAccountByLoginRequest

type GetUserAccountByLoginRequest struct {

	// Login of the YandexPassportUserAccount resource to return.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserAccountByLoginRequest) Descriptor deprecated

func (*GetUserAccountByLoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserAccountByLoginRequest.ProtoReflect.Descriptor instead.

func (*GetUserAccountByLoginRequest) GetLogin

func (x *GetUserAccountByLoginRequest) GetLogin() string

func (*GetUserAccountByLoginRequest) ProtoMessage

func (*GetUserAccountByLoginRequest) ProtoMessage()

func (*GetUserAccountByLoginRequest) ProtoReflect

func (*GetUserAccountByLoginRequest) Reset

func (x *GetUserAccountByLoginRequest) Reset()

func (*GetUserAccountByLoginRequest) SetLogin

func (m *GetUserAccountByLoginRequest) SetLogin(v string)

func (*GetUserAccountByLoginRequest) String

type GetUserAccountRequest

type GetUserAccountRequest struct {

	// ID of the UserAccount resource to return.
	UserAccountId string `protobuf:"bytes,1,opt,name=user_account_id,json=userAccountId,proto3" json:"user_account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserAccountRequest) Descriptor deprecated

func (*GetUserAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserAccountRequest.ProtoReflect.Descriptor instead.

func (*GetUserAccountRequest) GetUserAccountId

func (x *GetUserAccountRequest) GetUserAccountId() string

func (*GetUserAccountRequest) ProtoMessage

func (*GetUserAccountRequest) ProtoMessage()

func (*GetUserAccountRequest) ProtoReflect

func (x *GetUserAccountRequest) ProtoReflect() protoreflect.Message

func (*GetUserAccountRequest) Reset

func (x *GetUserAccountRequest) Reset()

func (*GetUserAccountRequest) SetUserAccountId

func (m *GetUserAccountRequest) SetUserAccountId(v string)

func (*GetUserAccountRequest) String

func (x *GetUserAccountRequest) String() string

type IamTokenServiceClient

type IamTokenServiceClient interface {
	// Creates an IAM token for the specified identity.
	Create(ctx context.Context, in *CreateIamTokenRequest, opts ...grpc.CallOption) (*CreateIamTokenResponse, error)
	// Create iam token for service account.
	CreateForServiceAccount(ctx context.Context, in *CreateIamTokenForServiceAccountRequest, opts ...grpc.CallOption) (*CreateIamTokenResponse, error)
}

IamTokenServiceClient is the client API for IamTokenService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type IamTokenServiceServer

type IamTokenServiceServer interface {
	// Creates an IAM token for the specified identity.
	Create(context.Context, *CreateIamTokenRequest) (*CreateIamTokenResponse, error)
	// Create iam token for service account.
	CreateForServiceAccount(context.Context, *CreateIamTokenForServiceAccountRequest) (*CreateIamTokenResponse, error)
}

IamTokenServiceServer is the server API for IamTokenService service. All implementations should embed UnimplementedIamTokenServiceServer for forward compatibility

type Key

type Key struct {

	// ID of the Key resource.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Types that are assignable to Subject:
	//
	//	*Key_UserAccountId
	//	*Key_ServiceAccountId
	Subject isKey_Subject `protobuf_oneof:"subject"`
	// Creation timestamp.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Description of the Key resource. 0-256 characters long.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// An algorithm used to generate a key pair of the Key resource.
	KeyAlgorithm Key_Algorithm `` /* 137-byte string literal not displayed */
	// A public key of the Key resource.
	PublicKey string `protobuf:"bytes,7,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// Timestamp for the last use of this key.
	LastUsedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"`
	// contains filtered or unexported fields
}

A Key resource. For more information, see [Authorized keys](/docs/iam/concepts/authorization/key).

func (*Key) Descriptor deprecated

func (*Key) Descriptor() ([]byte, []int)

Deprecated: Use Key.ProtoReflect.Descriptor instead.

func (*Key) GetCreatedAt

func (x *Key) GetCreatedAt() *timestamppb.Timestamp

func (*Key) GetDescription

func (x *Key) GetDescription() string

func (*Key) GetId

func (x *Key) GetId() string

func (*Key) GetKeyAlgorithm

func (x *Key) GetKeyAlgorithm() Key_Algorithm

func (*Key) GetLastUsedAt

func (x *Key) GetLastUsedAt() *timestamppb.Timestamp

func (*Key) GetPublicKey

func (x *Key) GetPublicKey() string

func (*Key) GetServiceAccountId

func (x *Key) GetServiceAccountId() string

func (*Key) GetSubject

func (m *Key) GetSubject() isKey_Subject

func (*Key) GetUserAccountId

func (x *Key) GetUserAccountId() string

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) ProtoReflect

func (x *Key) ProtoReflect() protoreflect.Message

func (*Key) Reset

func (x *Key) Reset()

func (*Key) SetCreatedAt

func (m *Key) SetCreatedAt(v *timestamppb.Timestamp)

func (*Key) SetDescription

func (m *Key) SetDescription(v string)

func (*Key) SetId

func (m *Key) SetId(v string)

func (*Key) SetKeyAlgorithm

func (m *Key) SetKeyAlgorithm(v Key_Algorithm)

func (*Key) SetLastUsedAt

func (m *Key) SetLastUsedAt(v *timestamppb.Timestamp)

func (*Key) SetPublicKey

func (m *Key) SetPublicKey(v string)

func (*Key) SetServiceAccountId

func (m *Key) SetServiceAccountId(v string)

func (*Key) SetSubject

func (m *Key) SetSubject(v Key_Subject)

func (*Key) SetUserAccountId

func (m *Key) SetUserAccountId(v string)

func (*Key) String

func (x *Key) String() string

type KeyFormat

type KeyFormat int32
const (
	// Privacy-Enhanced Mail (PEM) format. Default value.
	KeyFormat_PEM_FILE KeyFormat = 0
)

func (KeyFormat) Descriptor

func (KeyFormat) Descriptor() protoreflect.EnumDescriptor

func (KeyFormat) Enum

func (x KeyFormat) Enum() *KeyFormat

func (KeyFormat) EnumDescriptor deprecated

func (KeyFormat) EnumDescriptor() ([]byte, []int)

Deprecated: Use KeyFormat.Descriptor instead.

func (KeyFormat) Number

func (x KeyFormat) Number() protoreflect.EnumNumber

func (KeyFormat) String

func (x KeyFormat) String() string

func (KeyFormat) Type

type KeyServiceClient

type KeyServiceClient interface {
	// Returns the specified Key resource.
	//
	// To get the list of available Key resources, make a [List] request.
	Get(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*Key, error)
	// Retrieves the list of Key resources for the specified service account.
	List(ctx context.Context, in *ListKeysRequest, opts ...grpc.CallOption) (*ListKeysResponse, error)
	// Creates a key pair for the specified service account.
	Create(ctx context.Context, in *CreateKeyRequest, opts ...grpc.CallOption) (*CreateKeyResponse, error)
	// Updates the specified key pair.
	Update(ctx context.Context, in *UpdateKeyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified key pair.
	Delete(ctx context.Context, in *DeleteKeyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Lists operations for the specified key.
	ListOperations(ctx context.Context, in *ListKeyOperationsRequest, opts ...grpc.CallOption) (*ListKeyOperationsResponse, error)
}

KeyServiceClient is the client API for KeyService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewKeyServiceClient

func NewKeyServiceClient(cc grpc.ClientConnInterface) KeyServiceClient

type KeyServiceServer

type KeyServiceServer interface {
	// Returns the specified Key resource.
	//
	// To get the list of available Key resources, make a [List] request.
	Get(context.Context, *GetKeyRequest) (*Key, error)
	// Retrieves the list of Key resources for the specified service account.
	List(context.Context, *ListKeysRequest) (*ListKeysResponse, error)
	// Creates a key pair for the specified service account.
	Create(context.Context, *CreateKeyRequest) (*CreateKeyResponse, error)
	// Updates the specified key pair.
	Update(context.Context, *UpdateKeyRequest) (*operation.Operation, error)
	// Deletes the specified key pair.
	Delete(context.Context, *DeleteKeyRequest) (*operation.Operation, error)
	// Lists operations for the specified key.
	ListOperations(context.Context, *ListKeyOperationsRequest) (*ListKeyOperationsResponse, error)
}

KeyServiceServer is the server API for KeyService service. All implementations should embed UnimplementedKeyServiceServer for forward compatibility

type Key_Algorithm

type Key_Algorithm int32
const (
	Key_ALGORITHM_UNSPECIFIED Key_Algorithm = 0
	// RSA with a 2048-bit key size. Default value.
	Key_RSA_2048 Key_Algorithm = 1
	// RSA with a 4096-bit key size.
	Key_RSA_4096 Key_Algorithm = 2
)

func (Key_Algorithm) Descriptor

func (Key_Algorithm) Enum

func (x Key_Algorithm) Enum() *Key_Algorithm

func (Key_Algorithm) EnumDescriptor deprecated

func (Key_Algorithm) EnumDescriptor() ([]byte, []int)

Deprecated: Use Key_Algorithm.Descriptor instead.

func (Key_Algorithm) Number

func (Key_Algorithm) String

func (x Key_Algorithm) String() string

func (Key_Algorithm) Type

type Key_ServiceAccountId

type Key_ServiceAccountId struct {
	// ID of the service account that the Key resource belongs to.
	ServiceAccountId string `protobuf:"bytes,3,opt,name=service_account_id,json=serviceAccountId,proto3,oneof"`
}

type Key_Subject

type Key_Subject = isKey_Subject

type Key_UserAccountId

type Key_UserAccountId struct {
	// ID of the user account that the Key resource belongs to.
	UserAccountId string `protobuf:"bytes,2,opt,name=user_account_id,json=userAccountId,proto3,oneof"`
}

type ListApiKeyOperationsRequest

type ListApiKeyOperationsRequest struct {

	// ID of the key to list operations for.
	ApiKeyId string `protobuf:"bytes,1,opt,name=api_key_id,json=apiKeyId,proto3" json:"api_key_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size],
	// the service returns a [ListApiKeyOperationsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the
	// [ListApiKeyOperationsResponse.next_page_token] returned by a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApiKeyOperationsRequest) Descriptor deprecated

func (*ListApiKeyOperationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListApiKeyOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListApiKeyOperationsRequest) GetApiKeyId

func (x *ListApiKeyOperationsRequest) GetApiKeyId() string

func (*ListApiKeyOperationsRequest) GetPageSize

func (x *ListApiKeyOperationsRequest) GetPageSize() int64

func (*ListApiKeyOperationsRequest) GetPageToken

func (x *ListApiKeyOperationsRequest) GetPageToken() string

func (*ListApiKeyOperationsRequest) ProtoMessage

func (*ListApiKeyOperationsRequest) ProtoMessage()

func (*ListApiKeyOperationsRequest) ProtoReflect

func (*ListApiKeyOperationsRequest) Reset

func (x *ListApiKeyOperationsRequest) Reset()

func (*ListApiKeyOperationsRequest) SetApiKeyId

func (m *ListApiKeyOperationsRequest) SetApiKeyId(v string)

func (*ListApiKeyOperationsRequest) SetPageSize

func (m *ListApiKeyOperationsRequest) SetPageSize(v int64)

func (*ListApiKeyOperationsRequest) SetPageToken

func (m *ListApiKeyOperationsRequest) SetPageToken(v string)

func (*ListApiKeyOperationsRequest) String

func (x *ListApiKeyOperationsRequest) String() string

type ListApiKeyOperationsResponse

type ListApiKeyOperationsResponse struct {

	// List of operations for the specified API key.
	Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListApiKeyOperationsRequest.page_size], use the [next_page_token] as the value
	// for the [ListApiKeyOperationsRequest.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.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApiKeyOperationsResponse) Descriptor deprecated

func (*ListApiKeyOperationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListApiKeyOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListApiKeyOperationsResponse) GetNextPageToken

func (x *ListApiKeyOperationsResponse) GetNextPageToken() string

func (*ListApiKeyOperationsResponse) GetOperations

func (x *ListApiKeyOperationsResponse) GetOperations() []*operation.Operation

func (*ListApiKeyOperationsResponse) ProtoMessage

func (*ListApiKeyOperationsResponse) ProtoMessage()

func (*ListApiKeyOperationsResponse) ProtoReflect

func (*ListApiKeyOperationsResponse) Reset

func (x *ListApiKeyOperationsResponse) Reset()

func (*ListApiKeyOperationsResponse) SetNextPageToken

func (m *ListApiKeyOperationsResponse) SetNextPageToken(v string)

func (*ListApiKeyOperationsResponse) SetOperations

func (m *ListApiKeyOperationsResponse) SetOperations(v []*operation.Operation)

func (*ListApiKeyOperationsResponse) String

type ListApiKeysRequest

type ListApiKeysRequest struct {

	// ID of the service account to list API keys for.
	// To get the service account ID, use a [yandex.cloud.iam.v1.ServiceAccountService.List] request.
	// If not specified, it defaults to the subject that made the request.
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // use current subject identity if this not set
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size],
	// the service returns a [ListApiKeysResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token]
	// to the [ListApiKeysResponse.next_page_token]
	// returned by a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApiKeysRequest) Descriptor deprecated

func (*ListApiKeysRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListApiKeysRequest.ProtoReflect.Descriptor instead.

func (*ListApiKeysRequest) GetPageSize

func (x *ListApiKeysRequest) GetPageSize() int64

func (*ListApiKeysRequest) GetPageToken

func (x *ListApiKeysRequest) GetPageToken() string

func (*ListApiKeysRequest) GetServiceAccountId

func (x *ListApiKeysRequest) GetServiceAccountId() string

func (*ListApiKeysRequest) ProtoMessage

func (*ListApiKeysRequest) ProtoMessage()

func (*ListApiKeysRequest) ProtoReflect

func (x *ListApiKeysRequest) ProtoReflect() protoreflect.Message

func (*ListApiKeysRequest) Reset

func (x *ListApiKeysRequest) Reset()

func (*ListApiKeysRequest) SetPageSize

func (m *ListApiKeysRequest) SetPageSize(v int64)

func (*ListApiKeysRequest) SetPageToken

func (m *ListApiKeysRequest) SetPageToken(v string)

func (*ListApiKeysRequest) SetServiceAccountId

func (m *ListApiKeysRequest) SetServiceAccountId(v string)

func (*ListApiKeysRequest) String

func (x *ListApiKeysRequest) String() string

type ListApiKeysResponse

type ListApiKeysResponse struct {

	// List of API keys.
	ApiKeys []*ApiKey `protobuf:"bytes,1,rep,name=api_keys,json=apiKeys,proto3" json:"api_keys,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListApiKeysRequest.page_size], use
	// the [next_page_token] as the value
	// for the [ListApiKeysRequest.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.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApiKeysResponse) Descriptor deprecated

func (*ListApiKeysResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListApiKeysResponse.ProtoReflect.Descriptor instead.

func (*ListApiKeysResponse) GetApiKeys

func (x *ListApiKeysResponse) GetApiKeys() []*ApiKey

func (*ListApiKeysResponse) GetNextPageToken

func (x *ListApiKeysResponse) GetNextPageToken() string

func (*ListApiKeysResponse) ProtoMessage

func (*ListApiKeysResponse) ProtoMessage()

func (*ListApiKeysResponse) ProtoReflect

func (x *ListApiKeysResponse) ProtoReflect() protoreflect.Message

func (*ListApiKeysResponse) Reset

func (x *ListApiKeysResponse) Reset()

func (*ListApiKeysResponse) SetApiKeys

func (m *ListApiKeysResponse) SetApiKeys(v []*ApiKey)

func (*ListApiKeysResponse) SetNextPageToken

func (m *ListApiKeysResponse) SetNextPageToken(v string)

func (*ListApiKeysResponse) String

func (x *ListApiKeysResponse) String() string

type ListKeyOperationsRequest

type ListKeyOperationsRequest struct {

	// ID of the key to list operations for.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size],
	// the service returns a [ListKeyOperationsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the
	// [ListKeyOperationsResponse.next_page_token] returned by a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKeyOperationsRequest) Descriptor deprecated

func (*ListKeyOperationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListKeyOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListKeyOperationsRequest) GetKeyId

func (x *ListKeyOperationsRequest) GetKeyId() string

func (*ListKeyOperationsRequest) GetPageSize

func (x *ListKeyOperationsRequest) GetPageSize() int64

func (*ListKeyOperationsRequest) GetPageToken

func (x *ListKeyOperationsRequest) GetPageToken() string

func (*ListKeyOperationsRequest) ProtoMessage

func (*ListKeyOperationsRequest) ProtoMessage()

func (*ListKeyOperationsRequest) ProtoReflect

func (x *ListKeyOperationsRequest) ProtoReflect() protoreflect.Message

func (*ListKeyOperationsRequest) Reset

func (x *ListKeyOperationsRequest) Reset()

func (*ListKeyOperationsRequest) SetKeyId

func (m *ListKeyOperationsRequest) SetKeyId(v string)

func (*ListKeyOperationsRequest) SetPageSize

func (m *ListKeyOperationsRequest) SetPageSize(v int64)

func (*ListKeyOperationsRequest) SetPageToken

func (m *ListKeyOperationsRequest) SetPageToken(v string)

func (*ListKeyOperationsRequest) String

func (x *ListKeyOperationsRequest) String() string

type ListKeyOperationsResponse

type ListKeyOperationsResponse struct {

	// List of operations for the specified key.
	Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListKeyOperationsRequest.page_size], use the [next_page_token] as the value
	// for the [ListKeyOperationsRequest.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.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKeyOperationsResponse) Descriptor deprecated

func (*ListKeyOperationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListKeyOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListKeyOperationsResponse) GetNextPageToken

func (x *ListKeyOperationsResponse) GetNextPageToken() string

func (*ListKeyOperationsResponse) GetOperations

func (x *ListKeyOperationsResponse) GetOperations() []*operation.Operation

func (*ListKeyOperationsResponse) ProtoMessage

func (*ListKeyOperationsResponse) ProtoMessage()

func (*ListKeyOperationsResponse) ProtoReflect

func (*ListKeyOperationsResponse) Reset

func (x *ListKeyOperationsResponse) Reset()

func (*ListKeyOperationsResponse) SetNextPageToken

func (m *ListKeyOperationsResponse) SetNextPageToken(v string)

func (*ListKeyOperationsResponse) SetOperations

func (m *ListKeyOperationsResponse) SetOperations(v []*operation.Operation)

func (*ListKeyOperationsResponse) String

func (x *ListKeyOperationsResponse) String() string

type ListKeysRequest

type ListKeysRequest struct {

	// Output format of the key.
	Format KeyFormat `protobuf:"varint,1,opt,name=format,proto3,enum=yandex.cloud.iam.v1.KeyFormat" json:"format,omitempty"`
	// ID of the service account to list key pairs for.
	// To get the service account ID, use a [yandex.cloud.iam.v1.ServiceAccountService.List] request.
	// If not specified, it defaults to the subject that made the request.
	ServiceAccountId string `protobuf:"bytes,2,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // use userAccount identity if this not set
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size],
	// the service returns a [ListKeysResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the
	// [ListKeysResponse.next_page_token] returned by a previous list request.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKeysRequest) Descriptor deprecated

func (*ListKeysRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListKeysRequest.ProtoReflect.Descriptor instead.

func (*ListKeysRequest) GetFormat

func (x *ListKeysRequest) GetFormat() KeyFormat

func (*ListKeysRequest) GetPageSize

func (x *ListKeysRequest) GetPageSize() int64

func (*ListKeysRequest) GetPageToken

func (x *ListKeysRequest) GetPageToken() string

func (*ListKeysRequest) GetServiceAccountId

func (x *ListKeysRequest) GetServiceAccountId() string

func (*ListKeysRequest) ProtoMessage

func (*ListKeysRequest) ProtoMessage()

func (*ListKeysRequest) ProtoReflect

func (x *ListKeysRequest) ProtoReflect() protoreflect.Message

func (*ListKeysRequest) Reset

func (x *ListKeysRequest) Reset()

func (*ListKeysRequest) SetFormat

func (m *ListKeysRequest) SetFormat(v KeyFormat)

func (*ListKeysRequest) SetPageSize

func (m *ListKeysRequest) SetPageSize(v int64)

func (*ListKeysRequest) SetPageToken

func (m *ListKeysRequest) SetPageToken(v string)

func (*ListKeysRequest) SetServiceAccountId

func (m *ListKeysRequest) SetServiceAccountId(v string)

func (*ListKeysRequest) String

func (x *ListKeysRequest) String() string

type ListKeysResponse

type ListKeysResponse struct {

	// List of Key resources.
	Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListKeysRequest.page_size], use
	// the [next_page_token] as the value
	// for the [ListKeysRequest.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.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKeysResponse) Descriptor deprecated

func (*ListKeysResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListKeysResponse.ProtoReflect.Descriptor instead.

func (*ListKeysResponse) GetKeys

func (x *ListKeysResponse) GetKeys() []*Key

func (*ListKeysResponse) GetNextPageToken

func (x *ListKeysResponse) GetNextPageToken() string

func (*ListKeysResponse) ProtoMessage

func (*ListKeysResponse) ProtoMessage()

func (*ListKeysResponse) ProtoReflect

func (x *ListKeysResponse) ProtoReflect() protoreflect.Message

func (*ListKeysResponse) Reset

func (x *ListKeysResponse) Reset()

func (*ListKeysResponse) SetKeys

func (m *ListKeysResponse) SetKeys(v []*Key)

func (*ListKeysResponse) SetNextPageToken

func (m *ListKeysResponse) SetNextPageToken(v string)

func (*ListKeysResponse) String

func (x *ListKeysResponse) String() string

type ListRolesRequest

type ListRolesRequest struct {

	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size],
	// the service returns a [ListRolesResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	PageSize int64 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token]
	// to the [ListRolesResponse.next_page_token]
	// returned by a previous list request.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A filter expression that filters resources listed in the response.
	Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRolesRequest) Descriptor deprecated

func (*ListRolesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRolesRequest.ProtoReflect.Descriptor instead.

func (*ListRolesRequest) GetFilter

func (x *ListRolesRequest) GetFilter() string

func (*ListRolesRequest) GetPageSize

func (x *ListRolesRequest) GetPageSize() int64

func (*ListRolesRequest) GetPageToken

func (x *ListRolesRequest) GetPageToken() string

func (*ListRolesRequest) ProtoMessage

func (*ListRolesRequest) ProtoMessage()

func (*ListRolesRequest) ProtoReflect

func (x *ListRolesRequest) ProtoReflect() protoreflect.Message

func (*ListRolesRequest) Reset

func (x *ListRolesRequest) Reset()

func (*ListRolesRequest) SetFilter

func (m *ListRolesRequest) SetFilter(v string)

func (*ListRolesRequest) SetPageSize

func (m *ListRolesRequest) SetPageSize(v int64)

func (*ListRolesRequest) SetPageToken

func (m *ListRolesRequest) SetPageToken(v string)

func (*ListRolesRequest) String

func (x *ListRolesRequest) String() string

type ListRolesResponse

type ListRolesResponse struct {

	// List of Role resources.
	Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListRolesRequest.page_size], use
	// the [next_page_token] as the value
	// for the [ListRolesRequest.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.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRolesResponse) Descriptor deprecated

func (*ListRolesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRolesResponse.ProtoReflect.Descriptor instead.

func (*ListRolesResponse) GetNextPageToken

func (x *ListRolesResponse) GetNextPageToken() string

func (*ListRolesResponse) GetRoles

func (x *ListRolesResponse) GetRoles() []*Role

func (*ListRolesResponse) ProtoMessage

func (*ListRolesResponse) ProtoMessage()

func (*ListRolesResponse) ProtoReflect

func (x *ListRolesResponse) ProtoReflect() protoreflect.Message

func (*ListRolesResponse) Reset

func (x *ListRolesResponse) Reset()

func (*ListRolesResponse) SetNextPageToken

func (m *ListRolesResponse) SetNextPageToken(v string)

func (*ListRolesResponse) SetRoles

func (m *ListRolesResponse) SetRoles(v []*Role)

func (*ListRolesResponse) String

func (x *ListRolesResponse) String() string

type ListServiceAccountOperationsRequest

type ListServiceAccountOperationsRequest struct {

	// ID of the ServiceAccount resource to list operations for.
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListServiceAccountOperationsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token]
	// to the [ListServiceAccountOperationsResponse.next_page_token]
	// returned by a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServiceAccountOperationsRequest) Descriptor deprecated

func (*ListServiceAccountOperationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListServiceAccountOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListServiceAccountOperationsRequest) GetPageSize

func (x *ListServiceAccountOperationsRequest) GetPageSize() int64

func (*ListServiceAccountOperationsRequest) GetPageToken

func (x *ListServiceAccountOperationsRequest) GetPageToken() string

func (*ListServiceAccountOperationsRequest) GetServiceAccountId

func (x *ListServiceAccountOperationsRequest) GetServiceAccountId() string

func (*ListServiceAccountOperationsRequest) ProtoMessage

func (*ListServiceAccountOperationsRequest) ProtoMessage()

func (*ListServiceAccountOperationsRequest) ProtoReflect

func (*ListServiceAccountOperationsRequest) Reset

func (*ListServiceAccountOperationsRequest) SetPageSize

func (m *ListServiceAccountOperationsRequest) SetPageSize(v int64)

func (*ListServiceAccountOperationsRequest) SetPageToken

func (m *ListServiceAccountOperationsRequest) SetPageToken(v string)

func (*ListServiceAccountOperationsRequest) SetServiceAccountId

func (m *ListServiceAccountOperationsRequest) SetServiceAccountId(v string)

func (*ListServiceAccountOperationsRequest) String

type ListServiceAccountOperationsResponse

type ListServiceAccountOperationsResponse struct {

	// List of operations for the specified service account.
	Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListServiceAccountOperationsRequest.page_size], use the [next_page_token] as the value
	// for the [ListServiceAccountOperationsRequest.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.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServiceAccountOperationsResponse) Descriptor deprecated

func (*ListServiceAccountOperationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListServiceAccountOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListServiceAccountOperationsResponse) GetNextPageToken

func (x *ListServiceAccountOperationsResponse) GetNextPageToken() string

func (*ListServiceAccountOperationsResponse) GetOperations

func (*ListServiceAccountOperationsResponse) ProtoMessage

func (*ListServiceAccountOperationsResponse) ProtoMessage()

func (*ListServiceAccountOperationsResponse) ProtoReflect

func (*ListServiceAccountOperationsResponse) Reset

func (*ListServiceAccountOperationsResponse) SetNextPageToken

func (m *ListServiceAccountOperationsResponse) SetNextPageToken(v string)

func (*ListServiceAccountOperationsResponse) SetOperations

func (*ListServiceAccountOperationsResponse) String

type ListServiceAccountsRequest

type ListServiceAccountsRequest struct {

	// ID of the folder to list service accounts in.
	// To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size],
	// the service returns a [ListServiceAccountsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token]
	// to the [ListServiceAccountsResponse.next_page_token]
	// returned by a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A filter expression that filters resources listed in the response.
	// The expression must specify:
	// 1. The field name. Currently you can use filtering only on the [ServiceAccount.name] field.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServiceAccountsRequest) Descriptor deprecated

func (*ListServiceAccountsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListServiceAccountsRequest.ProtoReflect.Descriptor instead.

func (*ListServiceAccountsRequest) GetFilter

func (x *ListServiceAccountsRequest) GetFilter() string

func (*ListServiceAccountsRequest) GetFolderId

func (x *ListServiceAccountsRequest) GetFolderId() string

func (*ListServiceAccountsRequest) GetPageSize

func (x *ListServiceAccountsRequest) GetPageSize() int64

func (*ListServiceAccountsRequest) GetPageToken

func (x *ListServiceAccountsRequest) GetPageToken() string

func (*ListServiceAccountsRequest) ProtoMessage

func (*ListServiceAccountsRequest) ProtoMessage()

func (*ListServiceAccountsRequest) ProtoReflect

func (*ListServiceAccountsRequest) Reset

func (x *ListServiceAccountsRequest) Reset()

func (*ListServiceAccountsRequest) SetFilter

func (m *ListServiceAccountsRequest) SetFilter(v string)

func (*ListServiceAccountsRequest) SetFolderId

func (m *ListServiceAccountsRequest) SetFolderId(v string)

func (*ListServiceAccountsRequest) SetPageSize

func (m *ListServiceAccountsRequest) SetPageSize(v int64)

func (*ListServiceAccountsRequest) SetPageToken

func (m *ListServiceAccountsRequest) SetPageToken(v string)

func (*ListServiceAccountsRequest) String

func (x *ListServiceAccountsRequest) String() string

type ListServiceAccountsResponse

type ListServiceAccountsResponse struct {

	// List of ServiceAccount resources.
	ServiceAccounts []*ServiceAccount `protobuf:"bytes,1,rep,name=service_accounts,json=serviceAccounts,proto3" json:"service_accounts,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListServiceAccountsRequest.page_size], use
	// the [next_page_token] as the value
	// for the [ListServiceAccountsRequest.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.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServiceAccountsResponse) Descriptor deprecated

func (*ListServiceAccountsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListServiceAccountsResponse.ProtoReflect.Descriptor instead.

func (*ListServiceAccountsResponse) GetNextPageToken

func (x *ListServiceAccountsResponse) GetNextPageToken() string

func (*ListServiceAccountsResponse) GetServiceAccounts

func (x *ListServiceAccountsResponse) GetServiceAccounts() []*ServiceAccount

func (*ListServiceAccountsResponse) ProtoMessage

func (*ListServiceAccountsResponse) ProtoMessage()

func (*ListServiceAccountsResponse) ProtoReflect

func (*ListServiceAccountsResponse) Reset

func (x *ListServiceAccountsResponse) Reset()

func (*ListServiceAccountsResponse) SetNextPageToken

func (m *ListServiceAccountsResponse) SetNextPageToken(v string)

func (*ListServiceAccountsResponse) SetServiceAccounts

func (m *ListServiceAccountsResponse) SetServiceAccounts(v []*ServiceAccount)

func (*ListServiceAccountsResponse) String

func (x *ListServiceAccountsResponse) String() string

type ListServicesRequest

type ListServicesRequest struct {

	// Resource container to list a services.
	//
	// It is supported only resource-manager.cloud resource container now.
	Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size],
	// the service returns a [ListServicesResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token]
	// to the [ListServicesResponse.next_page_token]
	// returned by a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServicesRequest) Descriptor deprecated

func (*ListServicesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.

func (*ListServicesRequest) GetPageSize

func (x *ListServicesRequest) GetPageSize() int64

func (*ListServicesRequest) GetPageToken

func (x *ListServicesRequest) GetPageToken() string

func (*ListServicesRequest) GetResource

func (x *ListServicesRequest) GetResource() *Resource

func (*ListServicesRequest) ProtoMessage

func (*ListServicesRequest) ProtoMessage()

func (*ListServicesRequest) ProtoReflect

func (x *ListServicesRequest) ProtoReflect() protoreflect.Message

func (*ListServicesRequest) Reset

func (x *ListServicesRequest) Reset()

func (*ListServicesRequest) SetPageSize

func (m *ListServicesRequest) SetPageSize(v int64)

func (*ListServicesRequest) SetPageToken

func (m *ListServicesRequest) SetPageToken(v string)

func (*ListServicesRequest) SetResource

func (m *ListServicesRequest) SetResource(v *Resource)

func (*ListServicesRequest) String

func (x *ListServicesRequest) String() string

type ListServicesResponse

type ListServicesResponse struct {

	// List of Services.
	Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListServicesRequest.page_size], use
	// the [next_page_token] as the value
	// for the [ListServicesRequest.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.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServicesResponse) Descriptor deprecated

func (*ListServicesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.

func (*ListServicesResponse) GetNextPageToken

func (x *ListServicesResponse) GetNextPageToken() string

func (*ListServicesResponse) GetServices

func (x *ListServicesResponse) GetServices() []*Service

func (*ListServicesResponse) ProtoMessage

func (*ListServicesResponse) ProtoMessage()

func (*ListServicesResponse) ProtoReflect

func (x *ListServicesResponse) ProtoReflect() protoreflect.Message

func (*ListServicesResponse) Reset

func (x *ListServicesResponse) Reset()

func (*ListServicesResponse) SetNextPageToken

func (m *ListServicesResponse) SetNextPageToken(v string)

func (*ListServicesResponse) SetServices

func (m *ListServicesResponse) SetServices(v []*Service)

func (*ListServicesResponse) String

func (x *ListServicesResponse) String() string

type PauseServiceMetadata

type PauseServiceMetadata struct {

	// ID of the Service.
	ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Resource container.
	Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*PauseServiceMetadata) Descriptor deprecated

func (*PauseServiceMetadata) Descriptor() ([]byte, []int)

Deprecated: Use PauseServiceMetadata.ProtoReflect.Descriptor instead.

func (*PauseServiceMetadata) GetResource

func (x *PauseServiceMetadata) GetResource() *Resource

func (*PauseServiceMetadata) GetServiceId

func (x *PauseServiceMetadata) GetServiceId() string

func (*PauseServiceMetadata) ProtoMessage

func (*PauseServiceMetadata) ProtoMessage()

func (*PauseServiceMetadata) ProtoReflect

func (x *PauseServiceMetadata) ProtoReflect() protoreflect.Message

func (*PauseServiceMetadata) Reset

func (x *PauseServiceMetadata) Reset()

func (*PauseServiceMetadata) SetResource

func (m *PauseServiceMetadata) SetResource(v *Resource)

func (*PauseServiceMetadata) SetServiceId

func (m *PauseServiceMetadata) SetServiceId(v string)

func (*PauseServiceMetadata) String

func (x *PauseServiceMetadata) String() string

type PauseServiceRequest

type PauseServiceRequest struct {

	// ID of the Service.
	ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Resource container to pause a service in.
	//
	// It is supported only resource-manager.cloud resource container now.
	Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// Force pause.
	//
	// It will pause service even if there is service resources that will be broke.
	Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

func (*PauseServiceRequest) Descriptor deprecated

func (*PauseServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use PauseServiceRequest.ProtoReflect.Descriptor instead.

func (*PauseServiceRequest) GetForce

func (x *PauseServiceRequest) GetForce() bool

func (*PauseServiceRequest) GetResource

func (x *PauseServiceRequest) GetResource() *Resource

func (*PauseServiceRequest) GetServiceId

func (x *PauseServiceRequest) GetServiceId() string

func (*PauseServiceRequest) ProtoMessage

func (*PauseServiceRequest) ProtoMessage()

func (*PauseServiceRequest) ProtoReflect

func (x *PauseServiceRequest) ProtoReflect() protoreflect.Message

func (*PauseServiceRequest) Reset

func (x *PauseServiceRequest) Reset()

func (*PauseServiceRequest) SetForce

func (m *PauseServiceRequest) SetForce(v bool)

func (*PauseServiceRequest) SetResource

func (m *PauseServiceRequest) SetResource(v *Resource)

func (*PauseServiceRequest) SetServiceId

func (m *PauseServiceRequest) SetServiceId(v string)

func (*PauseServiceRequest) String

func (x *PauseServiceRequest) String() string

type Resource

type Resource struct {

	// ID of the resource.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The type of the resource, e.g. resource-manager.folder, billing.account, compute.snapshot, etc.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

A Resource. For more information, see Resource(/docs/iam/concepts/access-control/resources-with-access-control).

func (*Resource) Descriptor deprecated

func (*Resource) Descriptor() ([]byte, []int)

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetId

func (x *Resource) GetId() string

func (*Resource) GetType

func (x *Resource) GetType() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

func (x *Resource) ProtoReflect() protoreflect.Message

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) SetId

func (m *Resource) SetId(v string)

func (*Resource) SetType

func (m *Resource) SetType(v string)

func (*Resource) String

func (x *Resource) String() string

type ResumeServiceMetadata

type ResumeServiceMetadata struct {

	// ID of the Service.
	ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Resource container.
	Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*ResumeServiceMetadata) Descriptor deprecated

func (*ResumeServiceMetadata) Descriptor() ([]byte, []int)

Deprecated: Use ResumeServiceMetadata.ProtoReflect.Descriptor instead.

func (*ResumeServiceMetadata) GetResource

func (x *ResumeServiceMetadata) GetResource() *Resource

func (*ResumeServiceMetadata) GetServiceId

func (x *ResumeServiceMetadata) GetServiceId() string

func (*ResumeServiceMetadata) ProtoMessage

func (*ResumeServiceMetadata) ProtoMessage()

func (*ResumeServiceMetadata) ProtoReflect

func (x *ResumeServiceMetadata) ProtoReflect() protoreflect.Message

func (*ResumeServiceMetadata) Reset

func (x *ResumeServiceMetadata) Reset()

func (*ResumeServiceMetadata) SetResource

func (m *ResumeServiceMetadata) SetResource(v *Resource)

func (*ResumeServiceMetadata) SetServiceId

func (m *ResumeServiceMetadata) SetServiceId(v string)

func (*ResumeServiceMetadata) String

func (x *ResumeServiceMetadata) String() string

type ResumeServiceRequest

type ResumeServiceRequest struct {

	// ID of the Service.
	ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Resource container to resume a service in.
	//
	// It is supported only resource-manager.cloud resource container now.
	Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*ResumeServiceRequest) Descriptor deprecated

func (*ResumeServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResumeServiceRequest.ProtoReflect.Descriptor instead.

func (*ResumeServiceRequest) GetResource

func (x *ResumeServiceRequest) GetResource() *Resource

func (*ResumeServiceRequest) GetServiceId

func (x *ResumeServiceRequest) GetServiceId() string

func (*ResumeServiceRequest) ProtoMessage

func (*ResumeServiceRequest) ProtoMessage()

func (*ResumeServiceRequest) ProtoReflect

func (x *ResumeServiceRequest) ProtoReflect() protoreflect.Message

func (*ResumeServiceRequest) Reset

func (x *ResumeServiceRequest) Reset()

func (*ResumeServiceRequest) SetResource

func (m *ResumeServiceRequest) SetResource(v *Resource)

func (*ResumeServiceRequest) SetServiceId

func (m *ResumeServiceRequest) SetServiceId(v string)

func (*ResumeServiceRequest) String

func (x *ResumeServiceRequest) String() string

type Role

type Role struct {

	// ID of the role.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Description of the role. 0-256 characters long.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

A Role resource. For more information, see [Roles](/docs/iam/concepts/access-control/roles).

func (*Role) Descriptor deprecated

func (*Role) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetDescription

func (x *Role) GetDescription() string

func (*Role) GetId

func (x *Role) GetId() string

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

func (x *Role) ProtoReflect() protoreflect.Message

func (*Role) Reset

func (x *Role) Reset()

func (*Role) SetDescription

func (m *Role) SetDescription(v string)

func (*Role) SetId

func (m *Role) SetId(v string)

func (*Role) String

func (x *Role) String() string

type RoleServiceClient

type RoleServiceClient interface {
	// Returns the specified Role resource.
	//
	// To get the list of available Role resources, make a [List] request.
	Get(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*Role, error)
	// Retrieves the list of Role resources.
	List(ctx context.Context, in *ListRolesRequest, opts ...grpc.CallOption) (*ListRolesResponse, error)
}

RoleServiceClient is the client API for RoleService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type RoleServiceServer

type RoleServiceServer interface {
	// Returns the specified Role resource.
	//
	// To get the list of available Role resources, make a [List] request.
	Get(context.Context, *GetRoleRequest) (*Role, error)
	// Retrieves the list of Role resources.
	List(context.Context, *ListRolesRequest) (*ListRolesResponse, error)
}

RoleServiceServer is the server API for RoleService service. All implementations should embed UnimplementedRoleServiceServer for forward compatibility

type SamlUserAccount

type SamlUserAccount struct {

	// ID of the federation that the federation belongs to.
	FederationId string `protobuf:"bytes,1,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"`
	// Name Id of the SAML federated user.
	// The name is unique within the federation. 1-256 characters long.
	NameId string `protobuf:"bytes,2,opt,name=name_id,json=nameId,proto3" json:"name_id,omitempty"`
	// Additional attributes of the SAML federated user.
	Attributes map[string]*SamlUserAccount_Attribute `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

A SAML federated user. For more information, see [federations](/docs/iam/concepts/federations).

func (*SamlUserAccount) Descriptor deprecated

func (*SamlUserAccount) Descriptor() ([]byte, []int)

Deprecated: Use SamlUserAccount.ProtoReflect.Descriptor instead.

func (*SamlUserAccount) GetAttributes

func (x *SamlUserAccount) GetAttributes() map[string]*SamlUserAccount_Attribute

func (*SamlUserAccount) GetFederationId

func (x *SamlUserAccount) GetFederationId() string

func (*SamlUserAccount) GetNameId

func (x *SamlUserAccount) GetNameId() string

func (*SamlUserAccount) ProtoMessage

func (*SamlUserAccount) ProtoMessage()

func (*SamlUserAccount) ProtoReflect

func (x *SamlUserAccount) ProtoReflect() protoreflect.Message

func (*SamlUserAccount) Reset

func (x *SamlUserAccount) Reset()

func (*SamlUserAccount) SetAttributes

func (m *SamlUserAccount) SetAttributes(v map[string]*SamlUserAccount_Attribute)

func (*SamlUserAccount) SetFederationId

func (m *SamlUserAccount) SetFederationId(v string)

func (*SamlUserAccount) SetNameId

func (m *SamlUserAccount) SetNameId(v string)

func (*SamlUserAccount) String

func (x *SamlUserAccount) String() string

type SamlUserAccount_Attribute

type SamlUserAccount_Attribute struct {
	Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SamlUserAccount_Attribute) Descriptor deprecated

func (*SamlUserAccount_Attribute) Descriptor() ([]byte, []int)

Deprecated: Use SamlUserAccount_Attribute.ProtoReflect.Descriptor instead.

func (*SamlUserAccount_Attribute) GetValue

func (x *SamlUserAccount_Attribute) GetValue() []string

func (*SamlUserAccount_Attribute) ProtoMessage

func (*SamlUserAccount_Attribute) ProtoMessage()

func (*SamlUserAccount_Attribute) ProtoReflect

func (*SamlUserAccount_Attribute) Reset

func (x *SamlUserAccount_Attribute) Reset()

func (*SamlUserAccount_Attribute) SetValue

func (m *SamlUserAccount_Attribute) SetValue(v []string)

func (*SamlUserAccount_Attribute) String

func (x *SamlUserAccount_Attribute) String() string

type Service

type Service struct {

	// ID of the service.
	ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Resource that the service belongs to.
	Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// Time of the last status update of the service.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Current status of the service.
	Status Service_Status `protobuf:"varint,4,opt,name=status,proto3,enum=yandex.cloud.iam.v1.Service_Status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

A Service.

func (*Service) Descriptor deprecated

func (*Service) Descriptor() ([]byte, []int)

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetResource

func (x *Service) GetResource() *Resource

func (*Service) GetServiceId

func (x *Service) GetServiceId() string

func (*Service) GetStatus

func (x *Service) GetStatus() Service_Status

func (*Service) GetUpdatedAt

func (x *Service) GetUpdatedAt() *timestamppb.Timestamp

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

func (x *Service) ProtoReflect() protoreflect.Message

func (*Service) Reset

func (x *Service) Reset()

func (*Service) SetResource

func (m *Service) SetResource(v *Resource)

func (*Service) SetServiceId

func (m *Service) SetServiceId(v string)

func (*Service) SetStatus

func (m *Service) SetStatus(v Service_Status)

func (*Service) SetUpdatedAt

func (m *Service) SetUpdatedAt(v *timestamppb.Timestamp)

func (*Service) String

func (x *Service) String() string

type ServiceAccount

type ServiceAccount struct {

	// ID of the service account.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the service account belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Creation timestamp.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the service account.
	// The name is unique within the cloud. 3-63 characters long.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the service account. 0-256 characters long.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Resource labels as “ key:value “ pairs. Maximum of 64 per resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

A ServiceAccount resource. For more information, see [Service accounts](/docs/iam/concepts/users/service-accounts).

func (*ServiceAccount) Descriptor deprecated

func (*ServiceAccount) Descriptor() ([]byte, []int)

Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead.

func (*ServiceAccount) GetCreatedAt

func (x *ServiceAccount) GetCreatedAt() *timestamppb.Timestamp

func (*ServiceAccount) GetDescription

func (x *ServiceAccount) GetDescription() string

func (*ServiceAccount) GetFolderId

func (x *ServiceAccount) GetFolderId() string

func (*ServiceAccount) GetId

func (x *ServiceAccount) GetId() string

func (*ServiceAccount) GetLabels

func (x *ServiceAccount) GetLabels() map[string]string

func (*ServiceAccount) GetName

func (x *ServiceAccount) GetName() string

func (*ServiceAccount) ProtoMessage

func (*ServiceAccount) ProtoMessage()

func (*ServiceAccount) ProtoReflect

func (x *ServiceAccount) ProtoReflect() protoreflect.Message

func (*ServiceAccount) Reset

func (x *ServiceAccount) Reset()

func (*ServiceAccount) SetCreatedAt

func (m *ServiceAccount) SetCreatedAt(v *timestamppb.Timestamp)

func (*ServiceAccount) SetDescription

func (m *ServiceAccount) SetDescription(v string)

func (*ServiceAccount) SetFolderId

func (m *ServiceAccount) SetFolderId(v string)

func (*ServiceAccount) SetId

func (m *ServiceAccount) SetId(v string)

func (*ServiceAccount) SetLabels

func (m *ServiceAccount) SetLabels(v map[string]string)

func (*ServiceAccount) SetName

func (m *ServiceAccount) SetName(v string)

func (*ServiceAccount) String

func (x *ServiceAccount) String() string

type ServiceAccountServiceClient

type ServiceAccountServiceClient interface {
	// Returns the specified ServiceAccount resource.
	//
	// To get the list of available ServiceAccount resources, make a [List] request.
	Get(ctx context.Context, in *GetServiceAccountRequest, opts ...grpc.CallOption) (*ServiceAccount, error)
	// Retrieves the list of ServiceAccount resources in the specified folder.
	List(ctx context.Context, in *ListServiceAccountsRequest, opts ...grpc.CallOption) (*ListServiceAccountsResponse, error)
	// Creates a service account in the specified folder.
	Create(ctx context.Context, in *CreateServiceAccountRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified service account.
	Update(ctx context.Context, in *UpdateServiceAccountRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified service account.
	Delete(ctx context.Context, in *DeleteServiceAccountRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Lists access bindings for the specified service account.
	ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error)
	// Sets access bindings for the service account.
	SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates access bindings for the specified service account.
	UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Lists operations for the specified service account.
	ListOperations(ctx context.Context, in *ListServiceAccountOperationsRequest, opts ...grpc.CallOption) (*ListServiceAccountOperationsResponse, error)
}

ServiceAccountServiceClient is the client API for ServiceAccountService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ServiceAccountServiceServer

type ServiceAccountServiceServer interface {
	// Returns the specified ServiceAccount resource.
	//
	// To get the list of available ServiceAccount resources, make a [List] request.
	Get(context.Context, *GetServiceAccountRequest) (*ServiceAccount, error)
	// Retrieves the list of ServiceAccount resources in the specified folder.
	List(context.Context, *ListServiceAccountsRequest) (*ListServiceAccountsResponse, error)
	// Creates a service account in the specified folder.
	Create(context.Context, *CreateServiceAccountRequest) (*operation.Operation, error)
	// Updates the specified service account.
	Update(context.Context, *UpdateServiceAccountRequest) (*operation.Operation, error)
	// Deletes the specified service account.
	Delete(context.Context, *DeleteServiceAccountRequest) (*operation.Operation, error)
	// Lists access bindings for the specified service account.
	ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
	// Sets access bindings for the service account.
	SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
	// Updates access bindings for the specified service account.
	UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
	// Lists operations for the specified service account.
	ListOperations(context.Context, *ListServiceAccountOperationsRequest) (*ListServiceAccountOperationsResponse, error)
}

ServiceAccountServiceServer is the server API for ServiceAccountService service. All implementations should embed UnimplementedServiceAccountServiceServer for forward compatibility

type ServiceControlServiceClient

type ServiceControlServiceClient interface {
	// Returns the Service information in the specified resource container.
	//
	// To get the list of available Services, make a [List] request.
	Get(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error)
	// Retrieves the list of Service in the specified resource container.
	List(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
	// Enable a service in the specified resource container.
	Enable(ctx context.Context, in *EnableServiceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Resume a service in the specified resource container.
	Resume(ctx context.Context, in *ResumeServiceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Pause a service in the specified resource container.
	Pause(ctx context.Context, in *PauseServiceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Disable a service in the specified resource container.
	Disable(ctx context.Context, in *DisableServiceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

ServiceControlServiceClient is the client API for ServiceControlService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ServiceControlServiceServer

type ServiceControlServiceServer interface {
	// Returns the Service information in the specified resource container.
	//
	// To get the list of available Services, make a [List] request.
	Get(context.Context, *GetServiceRequest) (*Service, error)
	// Retrieves the list of Service in the specified resource container.
	List(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
	// Enable a service in the specified resource container.
	Enable(context.Context, *EnableServiceRequest) (*operation.Operation, error)
	// Resume a service in the specified resource container.
	Resume(context.Context, *ResumeServiceRequest) (*operation.Operation, error)
	// Pause a service in the specified resource container.
	Pause(context.Context, *PauseServiceRequest) (*operation.Operation, error)
	// Disable a service in the specified resource container.
	Disable(context.Context, *DisableServiceRequest) (*operation.Operation, error)
}

ServiceControlServiceServer is the server API for ServiceControlService service. All implementations should embed UnimplementedServiceControlServiceServer for forward compatibility

type Service_Status

type Service_Status int32
const (
	Service_STATUS_UNSPECIFIED Service_Status = 0
	// The service is enabled.
	Service_ENABLED Service_Status = 1
	// The service is paused.
	Service_PAUSED Service_Status = 2
	// The service is disabled.
	Service_DISABLED Service_Status = 3
	// The service is being enabled.
	Service_ENABLING Service_Status = 4
	// The service is being resumed.
	Service_RESUMING Service_Status = 5
	// The service is being paused.
	Service_PAUSING Service_Status = 6
	// The service is being disabled.
	Service_DISABLING Service_Status = 7
	// The service is in error state.
	Service_ERROR Service_Status = 8
)

func (Service_Status) Descriptor

func (Service_Status) Enum

func (x Service_Status) Enum() *Service_Status

func (Service_Status) EnumDescriptor deprecated

func (Service_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Service_Status.Descriptor instead.

func (Service_Status) Number

func (Service_Status) String

func (x Service_Status) String() string

func (Service_Status) Type

type UnimplementedApiKeyServiceServer

type UnimplementedApiKeyServiceServer struct {
}

UnimplementedApiKeyServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedApiKeyServiceServer) Create

func (UnimplementedApiKeyServiceServer) Delete

func (UnimplementedApiKeyServiceServer) Get

func (UnimplementedApiKeyServiceServer) List

func (UnimplementedApiKeyServiceServer) Update

type UnimplementedIamTokenServiceServer

type UnimplementedIamTokenServiceServer struct {
}

UnimplementedIamTokenServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedIamTokenServiceServer) Create

type UnimplementedKeyServiceServer

type UnimplementedKeyServiceServer struct {
}

UnimplementedKeyServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedKeyServiceServer) Create

func (UnimplementedKeyServiceServer) Delete

func (UnimplementedKeyServiceServer) Get

func (UnimplementedKeyServiceServer) List

func (UnimplementedKeyServiceServer) Update

type UnimplementedRoleServiceServer

type UnimplementedRoleServiceServer struct {
}

UnimplementedRoleServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedRoleServiceServer) Get

func (UnimplementedRoleServiceServer) List

type UnimplementedServiceAccountServiceServer

type UnimplementedServiceAccountServiceServer struct {
}

UnimplementedServiceAccountServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedServiceAccountServiceServer) Create

func (UnimplementedServiceAccountServiceServer) Delete

func (UnimplementedServiceAccountServiceServer) Get

func (UnimplementedServiceAccountServiceServer) SetAccessBindings

func (UnimplementedServiceAccountServiceServer) Update

func (UnimplementedServiceAccountServiceServer) UpdateAccessBindings

type UnimplementedServiceControlServiceServer

type UnimplementedServiceControlServiceServer struct {
}

UnimplementedServiceControlServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedServiceControlServiceServer) Disable

func (UnimplementedServiceControlServiceServer) Enable

func (UnimplementedServiceControlServiceServer) Get

func (UnimplementedServiceControlServiceServer) List

func (UnimplementedServiceControlServiceServer) Pause

func (UnimplementedServiceControlServiceServer) Resume

type UnimplementedUserAccountServiceServer

type UnimplementedUserAccountServiceServer struct {
}

UnimplementedUserAccountServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedUserAccountServiceServer) Get

type UnimplementedYandexPassportUserAccountServiceServer

type UnimplementedYandexPassportUserAccountServiceServer struct {
}

UnimplementedYandexPassportUserAccountServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedYandexPassportUserAccountServiceServer) GetByLogin

type UnsafeApiKeyServiceServer

type UnsafeApiKeyServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeApiKeyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiKeyServiceServer will result in compilation errors.

type UnsafeIamTokenServiceServer

type UnsafeIamTokenServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeIamTokenServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IamTokenServiceServer will result in compilation errors.

type UnsafeKeyServiceServer

type UnsafeKeyServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeKeyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KeyServiceServer will result in compilation errors.

type UnsafeRoleServiceServer

type UnsafeRoleServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRoleServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RoleServiceServer will result in compilation errors.

type UnsafeServiceAccountServiceServer

type UnsafeServiceAccountServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeServiceAccountServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceAccountServiceServer will result in compilation errors.

type UnsafeServiceControlServiceServer

type UnsafeServiceControlServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeServiceControlServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceControlServiceServer will result in compilation errors.

type UnsafeUserAccountServiceServer

type UnsafeUserAccountServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeUserAccountServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserAccountServiceServer will result in compilation errors.

type UnsafeYandexPassportUserAccountServiceServer

type UnsafeYandexPassportUserAccountServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeYandexPassportUserAccountServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to YandexPassportUserAccountServiceServer will result in compilation errors.

type UpdateApiKeyMetadata

type UpdateApiKeyMetadata struct {

	// ID of the ApiKey resource that is being updated.
	ApiKeyId string `protobuf:"bytes,1,opt,name=api_key_id,json=apiKeyId,proto3" json:"api_key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateApiKeyMetadata) Descriptor deprecated

func (*UpdateApiKeyMetadata) Descriptor() ([]byte, []int)

Deprecated: Use UpdateApiKeyMetadata.ProtoReflect.Descriptor instead.

func (*UpdateApiKeyMetadata) GetApiKeyId

func (x *UpdateApiKeyMetadata) GetApiKeyId() string

func (*UpdateApiKeyMetadata) ProtoMessage

func (*UpdateApiKeyMetadata) ProtoMessage()

func (*UpdateApiKeyMetadata) ProtoReflect

func (x *UpdateApiKeyMetadata) ProtoReflect() protoreflect.Message

func (*UpdateApiKeyMetadata) Reset

func (x *UpdateApiKeyMetadata) Reset()

func (*UpdateApiKeyMetadata) SetApiKeyId

func (m *UpdateApiKeyMetadata) SetApiKeyId(v string)

func (*UpdateApiKeyMetadata) String

func (x *UpdateApiKeyMetadata) String() string

type UpdateApiKeyRequest

type UpdateApiKeyRequest struct {

	// ID of the ApiKey resource to update.
	// To get the API key ID, use a [ApiKeyService.List] request.
	ApiKeyId string `protobuf:"bytes,1,opt,name=api_key_id,json=apiKeyId,proto3" json:"api_key_id,omitempty"`
	// Field mask that specifies which fields of the ApiKey resource are going to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Description of the API key.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateApiKeyRequest) Descriptor deprecated

func (*UpdateApiKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateApiKeyRequest.ProtoReflect.Descriptor instead.

func (*UpdateApiKeyRequest) GetApiKeyId

func (x *UpdateApiKeyRequest) GetApiKeyId() string

func (*UpdateApiKeyRequest) GetDescription

func (x *UpdateApiKeyRequest) GetDescription() string

func (*UpdateApiKeyRequest) GetUpdateMask

func (x *UpdateApiKeyRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateApiKeyRequest) ProtoMessage

func (*UpdateApiKeyRequest) ProtoMessage()

func (*UpdateApiKeyRequest) ProtoReflect

func (x *UpdateApiKeyRequest) ProtoReflect() protoreflect.Message

func (*UpdateApiKeyRequest) Reset

func (x *UpdateApiKeyRequest) Reset()

func (*UpdateApiKeyRequest) SetApiKeyId

func (m *UpdateApiKeyRequest) SetApiKeyId(v string)

func (*UpdateApiKeyRequest) SetDescription

func (m *UpdateApiKeyRequest) SetDescription(v string)

func (*UpdateApiKeyRequest) SetUpdateMask

func (m *UpdateApiKeyRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdateApiKeyRequest) String

func (x *UpdateApiKeyRequest) String() string

type UpdateKeyMetadata

type UpdateKeyMetadata struct {

	// ID of the Key resource that is being updated.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateKeyMetadata) Descriptor deprecated

func (*UpdateKeyMetadata) Descriptor() ([]byte, []int)

Deprecated: Use UpdateKeyMetadata.ProtoReflect.Descriptor instead.

func (*UpdateKeyMetadata) GetKeyId

func (x *UpdateKeyMetadata) GetKeyId() string

func (*UpdateKeyMetadata) ProtoMessage

func (*UpdateKeyMetadata) ProtoMessage()

func (*UpdateKeyMetadata) ProtoReflect

func (x *UpdateKeyMetadata) ProtoReflect() protoreflect.Message

func (*UpdateKeyMetadata) Reset

func (x *UpdateKeyMetadata) Reset()

func (*UpdateKeyMetadata) SetKeyId

func (m *UpdateKeyMetadata) SetKeyId(v string)

func (*UpdateKeyMetadata) String

func (x *UpdateKeyMetadata) String() string

type UpdateKeyRequest

type UpdateKeyRequest struct {

	// ID of the Key resource to update.
	// To get key pair ID, use a [KeyService.List] request.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// Field mask that specifies which fields of the Key resource are going to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Description of the key pair.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateKeyRequest) Descriptor deprecated

func (*UpdateKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateKeyRequest.ProtoReflect.Descriptor instead.

func (*UpdateKeyRequest) GetDescription

func (x *UpdateKeyRequest) GetDescription() string

func (*UpdateKeyRequest) GetKeyId

func (x *UpdateKeyRequest) GetKeyId() string

func (*UpdateKeyRequest) GetUpdateMask

func (x *UpdateKeyRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateKeyRequest) ProtoMessage

func (*UpdateKeyRequest) ProtoMessage()

func (*UpdateKeyRequest) ProtoReflect

func (x *UpdateKeyRequest) ProtoReflect() protoreflect.Message

func (*UpdateKeyRequest) Reset

func (x *UpdateKeyRequest) Reset()

func (*UpdateKeyRequest) SetDescription

func (m *UpdateKeyRequest) SetDescription(v string)

func (*UpdateKeyRequest) SetKeyId

func (m *UpdateKeyRequest) SetKeyId(v string)

func (*UpdateKeyRequest) SetUpdateMask

func (m *UpdateKeyRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdateKeyRequest) String

func (x *UpdateKeyRequest) String() string

type UpdateServiceAccountMetadata

type UpdateServiceAccountMetadata struct {

	// ID of the ServiceAccount resource that is being updated.
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateServiceAccountMetadata) Descriptor deprecated

func (*UpdateServiceAccountMetadata) Descriptor() ([]byte, []int)

Deprecated: Use UpdateServiceAccountMetadata.ProtoReflect.Descriptor instead.

func (*UpdateServiceAccountMetadata) GetServiceAccountId

func (x *UpdateServiceAccountMetadata) GetServiceAccountId() string

func (*UpdateServiceAccountMetadata) ProtoMessage

func (*UpdateServiceAccountMetadata) ProtoMessage()

func (*UpdateServiceAccountMetadata) ProtoReflect

func (*UpdateServiceAccountMetadata) Reset

func (x *UpdateServiceAccountMetadata) Reset()

func (*UpdateServiceAccountMetadata) SetServiceAccountId

func (m *UpdateServiceAccountMetadata) SetServiceAccountId(v string)

func (*UpdateServiceAccountMetadata) String

type UpdateServiceAccountRequest

type UpdateServiceAccountRequest struct {

	// ID of the ServiceAccount resource to update.
	// To get the service account ID, use a [ServiceAccountService.List] request.
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// Field mask that specifies which fields of the ServiceAccount resource are going to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Name of the service account.
	// The name must be unique within the cloud.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the service account.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Resource labels as “ key:value “ pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateServiceAccountRequest) Descriptor deprecated

func (*UpdateServiceAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*UpdateServiceAccountRequest) GetDescription

func (x *UpdateServiceAccountRequest) GetDescription() string

func (*UpdateServiceAccountRequest) GetLabels

func (x *UpdateServiceAccountRequest) GetLabels() map[string]string

func (*UpdateServiceAccountRequest) GetName

func (x *UpdateServiceAccountRequest) GetName() string

func (*UpdateServiceAccountRequest) GetServiceAccountId

func (x *UpdateServiceAccountRequest) GetServiceAccountId() string

func (*UpdateServiceAccountRequest) GetUpdateMask

func (*UpdateServiceAccountRequest) ProtoMessage

func (*UpdateServiceAccountRequest) ProtoMessage()

func (*UpdateServiceAccountRequest) ProtoReflect

func (*UpdateServiceAccountRequest) Reset

func (x *UpdateServiceAccountRequest) Reset()

func (*UpdateServiceAccountRequest) SetDescription

func (m *UpdateServiceAccountRequest) SetDescription(v string)

func (*UpdateServiceAccountRequest) SetLabels

func (m *UpdateServiceAccountRequest) SetLabels(v map[string]string)

func (*UpdateServiceAccountRequest) SetName

func (m *UpdateServiceAccountRequest) SetName(v string)

func (*UpdateServiceAccountRequest) SetServiceAccountId

func (m *UpdateServiceAccountRequest) SetServiceAccountId(v string)

func (*UpdateServiceAccountRequest) SetUpdateMask

func (m *UpdateServiceAccountRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdateServiceAccountRequest) String

func (x *UpdateServiceAccountRequest) String() string

type UserAccount

type UserAccount struct {

	// ID of the user account.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Types that are assignable to UserAccount:
	//
	//	*UserAccount_YandexPassportUserAccount
	//	*UserAccount_SamlUserAccount
	UserAccount isUserAccount_UserAccount `protobuf_oneof:"user_account"`
	// contains filtered or unexported fields
}

Currently represents only [Yandex account](/docs/iam/concepts/#passport).

func (*UserAccount) Descriptor deprecated

func (*UserAccount) Descriptor() ([]byte, []int)

Deprecated: Use UserAccount.ProtoReflect.Descriptor instead.

func (*UserAccount) GetId

func (x *UserAccount) GetId() string

func (*UserAccount) GetSamlUserAccount

func (x *UserAccount) GetSamlUserAccount() *SamlUserAccount

func (*UserAccount) GetUserAccount

func (m *UserAccount) GetUserAccount() isUserAccount_UserAccount

func (*UserAccount) GetYandexPassportUserAccount

func (x *UserAccount) GetYandexPassportUserAccount() *YandexPassportUserAccount

func (*UserAccount) ProtoMessage

func (*UserAccount) ProtoMessage()

func (*UserAccount) ProtoReflect

func (x *UserAccount) ProtoReflect() protoreflect.Message

func (*UserAccount) Reset

func (x *UserAccount) Reset()

func (*UserAccount) SetId

func (m *UserAccount) SetId(v string)

func (*UserAccount) SetSamlUserAccount

func (m *UserAccount) SetSamlUserAccount(v *SamlUserAccount)

func (*UserAccount) SetUserAccount

func (m *UserAccount) SetUserAccount(v UserAccount_UserAccount)

func (*UserAccount) SetYandexPassportUserAccount

func (m *UserAccount) SetYandexPassportUserAccount(v *YandexPassportUserAccount)

func (*UserAccount) String

func (x *UserAccount) String() string

type UserAccountServiceClient

type UserAccountServiceClient interface {
	// Returns the specified UserAccount resource.
	Get(ctx context.Context, in *GetUserAccountRequest, opts ...grpc.CallOption) (*UserAccount, error)
}

UserAccountServiceClient is the client API for UserAccountService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type UserAccountServiceServer

type UserAccountServiceServer interface {
	// Returns the specified UserAccount resource.
	Get(context.Context, *GetUserAccountRequest) (*UserAccount, error)
}

UserAccountServiceServer is the server API for UserAccountService service. All implementations should embed UnimplementedUserAccountServiceServer for forward compatibility

type UserAccount_SamlUserAccount

type UserAccount_SamlUserAccount struct {
	// A SAML federated user.
	SamlUserAccount *SamlUserAccount `protobuf:"bytes,3,opt,name=saml_user_account,json=samlUserAccount,proto3,oneof"`
}

type UserAccount_UserAccount

type UserAccount_UserAccount = isUserAccount_UserAccount

type UserAccount_YandexPassportUserAccount

type UserAccount_YandexPassportUserAccount struct {
	// A YandexPassportUserAccount resource.
	YandexPassportUserAccount *YandexPassportUserAccount `protobuf:"bytes,2,opt,name=yandex_passport_user_account,json=yandexPassportUserAccount,proto3,oneof"`
}

type YandexPassportUserAccount

type YandexPassportUserAccount struct {

	// Login of the Yandex user account.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// Default email of the Yandex user account.
	DefaultEmail string `protobuf:"bytes,2,opt,name=default_email,json=defaultEmail,proto3" json:"default_email,omitempty"`
	// contains filtered or unexported fields
}

A YandexPassportUserAccount resource. For more information, see [Yandex account](/docs/iam/concepts/#passport).

func (*YandexPassportUserAccount) Descriptor deprecated

func (*YandexPassportUserAccount) Descriptor() ([]byte, []int)

Deprecated: Use YandexPassportUserAccount.ProtoReflect.Descriptor instead.

func (*YandexPassportUserAccount) GetDefaultEmail

func (x *YandexPassportUserAccount) GetDefaultEmail() string

func (*YandexPassportUserAccount) GetLogin

func (x *YandexPassportUserAccount) GetLogin() string

func (*YandexPassportUserAccount) ProtoMessage

func (*YandexPassportUserAccount) ProtoMessage()

func (*YandexPassportUserAccount) ProtoReflect

func (*YandexPassportUserAccount) Reset

func (x *YandexPassportUserAccount) Reset()

func (*YandexPassportUserAccount) SetDefaultEmail

func (m *YandexPassportUserAccount) SetDefaultEmail(v string)

func (*YandexPassportUserAccount) SetLogin

func (m *YandexPassportUserAccount) SetLogin(v string)

func (*YandexPassportUserAccount) String

func (x *YandexPassportUserAccount) String() string

type YandexPassportUserAccountServiceClient

type YandexPassportUserAccountServiceClient interface {
	// Returns the specified YandexPassportUserAccount resource.
	GetByLogin(ctx context.Context, in *GetUserAccountByLoginRequest, opts ...grpc.CallOption) (*UserAccount, error)
}

YandexPassportUserAccountServiceClient is the client API for YandexPassportUserAccountService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type YandexPassportUserAccountServiceServer

type YandexPassportUserAccountServiceServer interface {
	// Returns the specified YandexPassportUserAccount resource.
	GetByLogin(context.Context, *GetUserAccountByLoginRequest) (*UserAccount, error)
}

YandexPassportUserAccountServiceServer is the server API for YandexPassportUserAccountService service. All implementations should embed UnimplementedYandexPassportUserAccountServiceServer for forward compatibility

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL