Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAccessKeyServiceServer(s grpc.ServiceRegistrar, srv AccessKeyServiceServer)
- type AccessKey
- func (*AccessKey) Descriptor() ([]byte, []int)deprecated
- func (x *AccessKey) GetCreatedAt() *timestamppb.Timestamp
- func (x *AccessKey) GetDescription() string
- func (x *AccessKey) GetId() string
- func (x *AccessKey) GetKeyId() string
- func (x *AccessKey) GetLastUsedAt() *timestamppb.Timestamp
- func (x *AccessKey) GetServiceAccountId() string
- func (*AccessKey) ProtoMessage()
- func (x *AccessKey) ProtoReflect() protoreflect.Message
- func (x *AccessKey) Reset()
- func (m *AccessKey) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *AccessKey) SetDescription(v string)
- func (m *AccessKey) SetId(v string)
- func (m *AccessKey) SetKeyId(v string)
- func (m *AccessKey) SetLastUsedAt(v *timestamppb.Timestamp)
- func (m *AccessKey) SetServiceAccountId(v string)
- func (x *AccessKey) String() string
- type AccessKeyServiceClient
- type AccessKeyServiceServer
- type CreateAccessKeyRequest
- func (*CreateAccessKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccessKeyRequest) GetDescription() string
- func (x *CreateAccessKeyRequest) GetServiceAccountId() string
- func (*CreateAccessKeyRequest) ProtoMessage()
- func (x *CreateAccessKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccessKeyRequest) Reset()
- func (m *CreateAccessKeyRequest) SetDescription(v string)
- func (m *CreateAccessKeyRequest) SetServiceAccountId(v string)
- func (x *CreateAccessKeyRequest) String() string
- type CreateAccessKeyResponse
- func (*CreateAccessKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccessKeyResponse) GetAccessKey() *AccessKey
- func (x *CreateAccessKeyResponse) GetSecret() string
- func (*CreateAccessKeyResponse) ProtoMessage()
- func (x *CreateAccessKeyResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccessKeyResponse) Reset()
- func (m *CreateAccessKeyResponse) SetAccessKey(v *AccessKey)
- func (m *CreateAccessKeyResponse) SetSecret(v string)
- func (x *CreateAccessKeyResponse) String() string
- type DeleteAccessKeyMetadata
- func (*DeleteAccessKeyMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccessKeyMetadata) GetAccessKeyId() string
- func (*DeleteAccessKeyMetadata) ProtoMessage()
- func (x *DeleteAccessKeyMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteAccessKeyMetadata) Reset()
- func (m *DeleteAccessKeyMetadata) SetAccessKeyId(v string)
- func (x *DeleteAccessKeyMetadata) String() string
- type DeleteAccessKeyRequest
- func (*DeleteAccessKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccessKeyRequest) GetAccessKeyId() string
- func (*DeleteAccessKeyRequest) ProtoMessage()
- func (x *DeleteAccessKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAccessKeyRequest) Reset()
- func (m *DeleteAccessKeyRequest) SetAccessKeyId(v string)
- func (x *DeleteAccessKeyRequest) String() string
- type GetAccessKeyRequest
- func (*GetAccessKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccessKeyRequest) GetAccessKeyId() string
- func (*GetAccessKeyRequest) ProtoMessage()
- func (x *GetAccessKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccessKeyRequest) Reset()
- func (m *GetAccessKeyRequest) SetAccessKeyId(v string)
- func (x *GetAccessKeyRequest) String() string
- type ListAccessKeyOperationsRequest
- func (*ListAccessKeyOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccessKeyOperationsRequest) GetAccessKeyId() string
- func (x *ListAccessKeyOperationsRequest) GetPageSize() int64
- func (x *ListAccessKeyOperationsRequest) GetPageToken() string
- func (*ListAccessKeyOperationsRequest) ProtoMessage()
- func (x *ListAccessKeyOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccessKeyOperationsRequest) Reset()
- func (m *ListAccessKeyOperationsRequest) SetAccessKeyId(v string)
- func (m *ListAccessKeyOperationsRequest) SetPageSize(v int64)
- func (m *ListAccessKeyOperationsRequest) SetPageToken(v string)
- func (x *ListAccessKeyOperationsRequest) String() string
- type ListAccessKeyOperationsResponse
- func (*ListAccessKeyOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccessKeyOperationsResponse) GetNextPageToken() string
- func (x *ListAccessKeyOperationsResponse) GetOperations() []*operation.Operation
- func (*ListAccessKeyOperationsResponse) ProtoMessage()
- func (x *ListAccessKeyOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccessKeyOperationsResponse) Reset()
- func (m *ListAccessKeyOperationsResponse) SetNextPageToken(v string)
- func (m *ListAccessKeyOperationsResponse) SetOperations(v []*operation.Operation)
- func (x *ListAccessKeyOperationsResponse) String() string
- type ListAccessKeysRequest
- func (*ListAccessKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccessKeysRequest) GetPageSize() int64
- func (x *ListAccessKeysRequest) GetPageToken() string
- func (x *ListAccessKeysRequest) GetServiceAccountId() string
- func (*ListAccessKeysRequest) ProtoMessage()
- func (x *ListAccessKeysRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccessKeysRequest) Reset()
- func (m *ListAccessKeysRequest) SetPageSize(v int64)
- func (m *ListAccessKeysRequest) SetPageToken(v string)
- func (m *ListAccessKeysRequest) SetServiceAccountId(v string)
- func (x *ListAccessKeysRequest) String() string
- type ListAccessKeysResponse
- func (*ListAccessKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccessKeysResponse) GetAccessKeys() []*AccessKey
- func (x *ListAccessKeysResponse) GetNextPageToken() string
- func (*ListAccessKeysResponse) ProtoMessage()
- func (x *ListAccessKeysResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccessKeysResponse) Reset()
- func (m *ListAccessKeysResponse) SetAccessKeys(v []*AccessKey)
- func (m *ListAccessKeysResponse) SetNextPageToken(v string)
- func (x *ListAccessKeysResponse) String() string
- type UnimplementedAccessKeyServiceServer
- func (UnimplementedAccessKeyServiceServer) Create(context.Context, *CreateAccessKeyRequest) (*CreateAccessKeyResponse, error)
- func (UnimplementedAccessKeyServiceServer) Delete(context.Context, *DeleteAccessKeyRequest) (*operation.Operation, error)
- func (UnimplementedAccessKeyServiceServer) Get(context.Context, *GetAccessKeyRequest) (*AccessKey, error)
- func (UnimplementedAccessKeyServiceServer) List(context.Context, *ListAccessKeysRequest) (*ListAccessKeysResponse, error)
- func (UnimplementedAccessKeyServiceServer) ListOperations(context.Context, *ListAccessKeyOperationsRequest) (*ListAccessKeyOperationsResponse, error)
- func (UnimplementedAccessKeyServiceServer) Update(context.Context, *UpdateAccessKeyRequest) (*operation.Operation, error)
- type UnsafeAccessKeyServiceServer
- type UpdateAccessKeyMetadata
- func (*UpdateAccessKeyMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAccessKeyMetadata) GetAccessKeyId() string
- func (*UpdateAccessKeyMetadata) ProtoMessage()
- func (x *UpdateAccessKeyMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateAccessKeyMetadata) Reset()
- func (m *UpdateAccessKeyMetadata) SetAccessKeyId(v string)
- func (x *UpdateAccessKeyMetadata) String() string
- type UpdateAccessKeyRequest
- func (*UpdateAccessKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAccessKeyRequest) GetAccessKeyId() string
- func (x *UpdateAccessKeyRequest) GetDescription() string
- func (x *UpdateAccessKeyRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateAccessKeyRequest) ProtoMessage()
- func (x *UpdateAccessKeyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAccessKeyRequest) Reset()
- func (m *UpdateAccessKeyRequest) SetAccessKeyId(v string)
- func (m *UpdateAccessKeyRequest) SetDescription(v string)
- func (m *UpdateAccessKeyRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateAccessKeyRequest) String() string
Constants ¶
const ( AccessKeyService_List_FullMethodName = "/yandex.cloud.iam.v1.awscompatibility.AccessKeyService/List" AccessKeyService_Get_FullMethodName = "/yandex.cloud.iam.v1.awscompatibility.AccessKeyService/Get" AccessKeyService_Create_FullMethodName = "/yandex.cloud.iam.v1.awscompatibility.AccessKeyService/Create" AccessKeyService_Update_FullMethodName = "/yandex.cloud.iam.v1.awscompatibility.AccessKeyService/Update" AccessKeyService_Delete_FullMethodName = "/yandex.cloud.iam.v1.awscompatibility.AccessKeyService/Delete" AccessKeyService_ListOperations_FullMethodName = "/yandex.cloud.iam.v1.awscompatibility.AccessKeyService/ListOperations" )
Variables ¶
var AccessKeyService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.iam.v1.awscompatibility.AccessKeyService", HandlerType: (*AccessKeyServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _AccessKeyService_List_Handler, }, { MethodName: "Get", Handler: _AccessKeyService_Get_Handler, }, { MethodName: "Create", Handler: _AccessKeyService_Create_Handler, }, { MethodName: "Update", Handler: _AccessKeyService_Update_Handler, }, { MethodName: "Delete", Handler: _AccessKeyService_Delete_Handler, }, { MethodName: "ListOperations", Handler: _AccessKeyService_ListOperations_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/iam/v1/awscompatibility/access_key_service.proto", }
AccessKeyService_ServiceDesc is the grpc.ServiceDesc for AccessKeyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_yandex_cloud_iam_v1_awscompatibility_access_key_proto protoreflect.FileDescriptor
var File_yandex_cloud_iam_v1_awscompatibility_access_key_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccessKeyServiceServer ¶
func RegisterAccessKeyServiceServer(s grpc.ServiceRegistrar, srv AccessKeyServiceServer)
Types ¶
type AccessKey ¶
type AccessKey struct { // ID of the AccessKey resource. // It is used to manage secret credentials: an access key ID and a secret access key. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the service account that the access 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 access key. 0-256 characters long. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // ID of the access key. // The key is AWS compatible. KeyId string `protobuf:"bytes,5,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // Timestamp for the last authentication using this Access key. LastUsedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"` // contains filtered or unexported fields }
An access key. For more information, see [AWS-compatible access keys](/docs/iam/concepts/authorization/access-key).
func (*AccessKey) Descriptor
deprecated
func (*AccessKey) GetCreatedAt ¶
func (x *AccessKey) GetCreatedAt() *timestamppb.Timestamp
func (*AccessKey) GetDescription ¶
func (*AccessKey) GetLastUsedAt ¶
func (x *AccessKey) GetLastUsedAt() *timestamppb.Timestamp
func (*AccessKey) GetServiceAccountId ¶
func (*AccessKey) ProtoMessage ¶
func (*AccessKey) ProtoMessage()
func (*AccessKey) ProtoReflect ¶
func (x *AccessKey) ProtoReflect() protoreflect.Message
func (*AccessKey) SetCreatedAt ¶
func (m *AccessKey) SetCreatedAt(v *timestamppb.Timestamp)
func (*AccessKey) SetDescription ¶
func (*AccessKey) SetLastUsedAt ¶
func (m *AccessKey) SetLastUsedAt(v *timestamppb.Timestamp)
func (*AccessKey) SetServiceAccountId ¶
type AccessKeyServiceClient ¶
type AccessKeyServiceClient interface { // Retrieves the list of access keys for the specified service account. List(ctx context.Context, in *ListAccessKeysRequest, opts ...grpc.CallOption) (*ListAccessKeysResponse, error) // Returns the specified access key. // // To get the list of available access keys, make a [List] request. Get(ctx context.Context, in *GetAccessKeyRequest, opts ...grpc.CallOption) (*AccessKey, error) // Creates an access key for the specified service account. Create(ctx context.Context, in *CreateAccessKeyRequest, opts ...grpc.CallOption) (*CreateAccessKeyResponse, error) // Updates the specified access key. Update(ctx context.Context, in *UpdateAccessKeyRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified access key. Delete(ctx context.Context, in *DeleteAccessKeyRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Retrieves the list of operations for the specified access key. ListOperations(ctx context.Context, in *ListAccessKeyOperationsRequest, opts ...grpc.CallOption) (*ListAccessKeyOperationsResponse, error) }
AccessKeyServiceClient is the client API for AccessKeyService 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.
A set of methods for managing access keys.
func NewAccessKeyServiceClient ¶
func NewAccessKeyServiceClient(cc grpc.ClientConnInterface) AccessKeyServiceClient
type AccessKeyServiceServer ¶
type AccessKeyServiceServer interface { // Retrieves the list of access keys for the specified service account. List(context.Context, *ListAccessKeysRequest) (*ListAccessKeysResponse, error) // Returns the specified access key. // // To get the list of available access keys, make a [List] request. Get(context.Context, *GetAccessKeyRequest) (*AccessKey, error) // Creates an access key for the specified service account. Create(context.Context, *CreateAccessKeyRequest) (*CreateAccessKeyResponse, error) // Updates the specified access key. Update(context.Context, *UpdateAccessKeyRequest) (*operation.Operation, error) // Deletes the specified access key. Delete(context.Context, *DeleteAccessKeyRequest) (*operation.Operation, error) // Retrieves the list of operations for the specified access key. ListOperations(context.Context, *ListAccessKeyOperationsRequest) (*ListAccessKeyOperationsResponse, error) }
AccessKeyServiceServer is the server API for AccessKeyService service. All implementations should embed UnimplementedAccessKeyServiceServer for forward compatibility.
A set of methods for managing access keys.
type CreateAccessKeyRequest ¶
type CreateAccessKeyRequest struct { // ID of the service account to create an access 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 access key. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*CreateAccessKeyRequest) Descriptor
deprecated
func (*CreateAccessKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccessKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateAccessKeyRequest) GetDescription ¶
func (x *CreateAccessKeyRequest) GetDescription() string
func (*CreateAccessKeyRequest) GetServiceAccountId ¶
func (x *CreateAccessKeyRequest) GetServiceAccountId() string
func (*CreateAccessKeyRequest) ProtoMessage ¶
func (*CreateAccessKeyRequest) ProtoMessage()
func (*CreateAccessKeyRequest) ProtoReflect ¶
func (x *CreateAccessKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateAccessKeyRequest) Reset ¶
func (x *CreateAccessKeyRequest) Reset()
func (*CreateAccessKeyRequest) SetDescription ¶
func (m *CreateAccessKeyRequest) SetDescription(v string)
func (*CreateAccessKeyRequest) SetServiceAccountId ¶
func (m *CreateAccessKeyRequest) SetServiceAccountId(v string)
func (*CreateAccessKeyRequest) String ¶
func (x *CreateAccessKeyRequest) String() string
type CreateAccessKeyResponse ¶
type CreateAccessKeyResponse struct { // AccessKey resource. AccessKey *AccessKey `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` // Secret access key. // The key is AWS compatible. Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*CreateAccessKeyResponse) Descriptor
deprecated
func (*CreateAccessKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccessKeyResponse.ProtoReflect.Descriptor instead.
func (*CreateAccessKeyResponse) GetAccessKey ¶
func (x *CreateAccessKeyResponse) GetAccessKey() *AccessKey
func (*CreateAccessKeyResponse) GetSecret ¶
func (x *CreateAccessKeyResponse) GetSecret() string
func (*CreateAccessKeyResponse) ProtoMessage ¶
func (*CreateAccessKeyResponse) ProtoMessage()
func (*CreateAccessKeyResponse) ProtoReflect ¶
func (x *CreateAccessKeyResponse) ProtoReflect() protoreflect.Message
func (*CreateAccessKeyResponse) Reset ¶
func (x *CreateAccessKeyResponse) Reset()
func (*CreateAccessKeyResponse) SetAccessKey ¶
func (m *CreateAccessKeyResponse) SetAccessKey(v *AccessKey)
func (*CreateAccessKeyResponse) SetSecret ¶
func (m *CreateAccessKeyResponse) SetSecret(v string)
func (*CreateAccessKeyResponse) String ¶
func (x *CreateAccessKeyResponse) String() string
type DeleteAccessKeyMetadata ¶
type DeleteAccessKeyMetadata struct { // ID of the access key that is being deleted. AccessKeyId string `protobuf:"bytes,1,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAccessKeyMetadata) Descriptor
deprecated
func (*DeleteAccessKeyMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccessKeyMetadata.ProtoReflect.Descriptor instead.
func (*DeleteAccessKeyMetadata) GetAccessKeyId ¶
func (x *DeleteAccessKeyMetadata) GetAccessKeyId() string
func (*DeleteAccessKeyMetadata) ProtoMessage ¶
func (*DeleteAccessKeyMetadata) ProtoMessage()
func (*DeleteAccessKeyMetadata) ProtoReflect ¶
func (x *DeleteAccessKeyMetadata) ProtoReflect() protoreflect.Message
func (*DeleteAccessKeyMetadata) Reset ¶
func (x *DeleteAccessKeyMetadata) Reset()
func (*DeleteAccessKeyMetadata) SetAccessKeyId ¶
func (m *DeleteAccessKeyMetadata) SetAccessKeyId(v string)
func (*DeleteAccessKeyMetadata) String ¶
func (x *DeleteAccessKeyMetadata) String() string
type DeleteAccessKeyRequest ¶
type DeleteAccessKeyRequest struct { // ID of the access key to delete. // To get the access key ID, use a [AccessKeyService.List] request. AccessKeyId string `protobuf:"bytes,1,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAccessKeyRequest) Descriptor
deprecated
func (*DeleteAccessKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccessKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteAccessKeyRequest) GetAccessKeyId ¶
func (x *DeleteAccessKeyRequest) GetAccessKeyId() string
func (*DeleteAccessKeyRequest) ProtoMessage ¶
func (*DeleteAccessKeyRequest) ProtoMessage()
func (*DeleteAccessKeyRequest) ProtoReflect ¶
func (x *DeleteAccessKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteAccessKeyRequest) Reset ¶
func (x *DeleteAccessKeyRequest) Reset()
func (*DeleteAccessKeyRequest) SetAccessKeyId ¶
func (m *DeleteAccessKeyRequest) SetAccessKeyId(v string)
func (*DeleteAccessKeyRequest) String ¶
func (x *DeleteAccessKeyRequest) String() string
type GetAccessKeyRequest ¶
type GetAccessKeyRequest struct { // ID of the AccessKey resource to return. // To get the access key ID, use a [AccessKeyService.List] request. AccessKeyId string `protobuf:"bytes,1,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"` // contains filtered or unexported fields }
func (*GetAccessKeyRequest) Descriptor
deprecated
func (*GetAccessKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccessKeyRequest.ProtoReflect.Descriptor instead.
func (*GetAccessKeyRequest) GetAccessKeyId ¶
func (x *GetAccessKeyRequest) GetAccessKeyId() string
func (*GetAccessKeyRequest) ProtoMessage ¶
func (*GetAccessKeyRequest) ProtoMessage()
func (*GetAccessKeyRequest) ProtoReflect ¶
func (x *GetAccessKeyRequest) ProtoReflect() protoreflect.Message
func (*GetAccessKeyRequest) Reset ¶
func (x *GetAccessKeyRequest) Reset()
func (*GetAccessKeyRequest) SetAccessKeyId ¶
func (m *GetAccessKeyRequest) SetAccessKeyId(v string)
func (*GetAccessKeyRequest) String ¶
func (x *GetAccessKeyRequest) String() string
type ListAccessKeyOperationsRequest ¶
type ListAccessKeyOperationsRequest struct { // ID of the key to list operations for. AccessKeyId string `protobuf:"bytes,1,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_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 [ListAccessKeyOperationsResponse.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 // [ListAccessKeyOperationsResponse.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 (*ListAccessKeyOperationsRequest) Descriptor
deprecated
func (*ListAccessKeyOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessKeyOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListAccessKeyOperationsRequest) GetAccessKeyId ¶
func (x *ListAccessKeyOperationsRequest) GetAccessKeyId() string
func (*ListAccessKeyOperationsRequest) GetPageSize ¶
func (x *ListAccessKeyOperationsRequest) GetPageSize() int64
func (*ListAccessKeyOperationsRequest) GetPageToken ¶
func (x *ListAccessKeyOperationsRequest) GetPageToken() string
func (*ListAccessKeyOperationsRequest) ProtoMessage ¶
func (*ListAccessKeyOperationsRequest) ProtoMessage()
func (*ListAccessKeyOperationsRequest) ProtoReflect ¶
func (x *ListAccessKeyOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListAccessKeyOperationsRequest) Reset ¶
func (x *ListAccessKeyOperationsRequest) Reset()
func (*ListAccessKeyOperationsRequest) SetAccessKeyId ¶
func (m *ListAccessKeyOperationsRequest) SetAccessKeyId(v string)
func (*ListAccessKeyOperationsRequest) SetPageSize ¶
func (m *ListAccessKeyOperationsRequest) SetPageSize(v int64)
func (*ListAccessKeyOperationsRequest) SetPageToken ¶
func (m *ListAccessKeyOperationsRequest) SetPageToken(v string)
func (*ListAccessKeyOperationsRequest) String ¶
func (x *ListAccessKeyOperationsRequest) String() string
type ListAccessKeyOperationsResponse ¶
type ListAccessKeyOperationsResponse struct { // List of operations for the specified access 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 [ListAccessKeyOperationsRequest.page_size], use the [next_page_token] as the value // for the [ListAccessKeyOperationsRequest.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 (*ListAccessKeyOperationsResponse) Descriptor
deprecated
func (*ListAccessKeyOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessKeyOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListAccessKeyOperationsResponse) GetNextPageToken ¶
func (x *ListAccessKeyOperationsResponse) GetNextPageToken() string
func (*ListAccessKeyOperationsResponse) GetOperations ¶
func (x *ListAccessKeyOperationsResponse) GetOperations() []*operation.Operation
func (*ListAccessKeyOperationsResponse) ProtoMessage ¶
func (*ListAccessKeyOperationsResponse) ProtoMessage()
func (*ListAccessKeyOperationsResponse) ProtoReflect ¶
func (x *ListAccessKeyOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListAccessKeyOperationsResponse) Reset ¶
func (x *ListAccessKeyOperationsResponse) Reset()
func (*ListAccessKeyOperationsResponse) SetNextPageToken ¶
func (m *ListAccessKeyOperationsResponse) SetNextPageToken(v string)
func (*ListAccessKeyOperationsResponse) SetOperations ¶
func (m *ListAccessKeyOperationsResponse) SetOperations(v []*operation.Operation)
func (*ListAccessKeyOperationsResponse) String ¶
func (x *ListAccessKeyOperationsResponse) String() string
type ListAccessKeysRequest ¶
type ListAccessKeysRequest struct { // ID of the service account to list access 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 [ListAccessKeysResponse.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 [ListAccessKeysResponse.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 (*ListAccessKeysRequest) Descriptor
deprecated
func (*ListAccessKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessKeysRequest.ProtoReflect.Descriptor instead.
func (*ListAccessKeysRequest) GetPageSize ¶
func (x *ListAccessKeysRequest) GetPageSize() int64
func (*ListAccessKeysRequest) GetPageToken ¶
func (x *ListAccessKeysRequest) GetPageToken() string
func (*ListAccessKeysRequest) GetServiceAccountId ¶
func (x *ListAccessKeysRequest) GetServiceAccountId() string
func (*ListAccessKeysRequest) ProtoMessage ¶
func (*ListAccessKeysRequest) ProtoMessage()
func (*ListAccessKeysRequest) ProtoReflect ¶
func (x *ListAccessKeysRequest) ProtoReflect() protoreflect.Message
func (*ListAccessKeysRequest) Reset ¶
func (x *ListAccessKeysRequest) Reset()
func (*ListAccessKeysRequest) SetPageSize ¶
func (m *ListAccessKeysRequest) SetPageSize(v int64)
func (*ListAccessKeysRequest) SetPageToken ¶
func (m *ListAccessKeysRequest) SetPageToken(v string)
func (*ListAccessKeysRequest) SetServiceAccountId ¶
func (m *ListAccessKeysRequest) SetServiceAccountId(v string)
func (*ListAccessKeysRequest) String ¶
func (x *ListAccessKeysRequest) String() string
type ListAccessKeysResponse ¶
type ListAccessKeysResponse struct { // List of access keys. AccessKeys []*AccessKey `protobuf:"bytes,1,rep,name=access_keys,json=accessKeys,proto3" json:"access_keys,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListAccessKeysRequest.page_size], use // the [next_page_token] as the value // for the [ListAccessKeysRequest.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 (*ListAccessKeysResponse) Descriptor
deprecated
func (*ListAccessKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessKeysResponse.ProtoReflect.Descriptor instead.
func (*ListAccessKeysResponse) GetAccessKeys ¶
func (x *ListAccessKeysResponse) GetAccessKeys() []*AccessKey
func (*ListAccessKeysResponse) GetNextPageToken ¶
func (x *ListAccessKeysResponse) GetNextPageToken() string
func (*ListAccessKeysResponse) ProtoMessage ¶
func (*ListAccessKeysResponse) ProtoMessage()
func (*ListAccessKeysResponse) ProtoReflect ¶
func (x *ListAccessKeysResponse) ProtoReflect() protoreflect.Message
func (*ListAccessKeysResponse) Reset ¶
func (x *ListAccessKeysResponse) Reset()
func (*ListAccessKeysResponse) SetAccessKeys ¶
func (m *ListAccessKeysResponse) SetAccessKeys(v []*AccessKey)
func (*ListAccessKeysResponse) SetNextPageToken ¶
func (m *ListAccessKeysResponse) SetNextPageToken(v string)
func (*ListAccessKeysResponse) String ¶
func (x *ListAccessKeysResponse) String() string
type UnimplementedAccessKeyServiceServer ¶
type UnimplementedAccessKeyServiceServer struct{}
UnimplementedAccessKeyServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAccessKeyServiceServer) Create ¶
func (UnimplementedAccessKeyServiceServer) Create(context.Context, *CreateAccessKeyRequest) (*CreateAccessKeyResponse, error)
func (UnimplementedAccessKeyServiceServer) Delete ¶
func (UnimplementedAccessKeyServiceServer) Delete(context.Context, *DeleteAccessKeyRequest) (*operation.Operation, error)
func (UnimplementedAccessKeyServiceServer) Get ¶
func (UnimplementedAccessKeyServiceServer) Get(context.Context, *GetAccessKeyRequest) (*AccessKey, error)
func (UnimplementedAccessKeyServiceServer) ListOperations ¶
func (UnimplementedAccessKeyServiceServer) ListOperations(context.Context, *ListAccessKeyOperationsRequest) (*ListAccessKeyOperationsResponse, error)
func (UnimplementedAccessKeyServiceServer) Update ¶
func (UnimplementedAccessKeyServiceServer) Update(context.Context, *UpdateAccessKeyRequest) (*operation.Operation, error)
type UnsafeAccessKeyServiceServer ¶
type UnsafeAccessKeyServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAccessKeyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccessKeyServiceServer will result in compilation errors.
type UpdateAccessKeyMetadata ¶
type UpdateAccessKeyMetadata struct { // ID of the AccessKey resource that is being updated. AccessKeyId string `protobuf:"bytes,1,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateAccessKeyMetadata) Descriptor
deprecated
func (*UpdateAccessKeyMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccessKeyMetadata.ProtoReflect.Descriptor instead.
func (*UpdateAccessKeyMetadata) GetAccessKeyId ¶
func (x *UpdateAccessKeyMetadata) GetAccessKeyId() string
func (*UpdateAccessKeyMetadata) ProtoMessage ¶
func (*UpdateAccessKeyMetadata) ProtoMessage()
func (*UpdateAccessKeyMetadata) ProtoReflect ¶
func (x *UpdateAccessKeyMetadata) ProtoReflect() protoreflect.Message
func (*UpdateAccessKeyMetadata) Reset ¶
func (x *UpdateAccessKeyMetadata) Reset()
func (*UpdateAccessKeyMetadata) SetAccessKeyId ¶
func (m *UpdateAccessKeyMetadata) SetAccessKeyId(v string)
func (*UpdateAccessKeyMetadata) String ¶
func (x *UpdateAccessKeyMetadata) String() string
type UpdateAccessKeyRequest ¶
type UpdateAccessKeyRequest struct { // ID of the AccessKey resource to update. // To get the access key ID, use a [AccessKeyService.List] request. AccessKeyId string `protobuf:"bytes,1,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"` // Field mask that specifies which fields of the Accesskey 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 access key. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*UpdateAccessKeyRequest) Descriptor
deprecated
func (*UpdateAccessKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccessKeyRequest.ProtoReflect.Descriptor instead.
func (*UpdateAccessKeyRequest) GetAccessKeyId ¶
func (x *UpdateAccessKeyRequest) GetAccessKeyId() string
func (*UpdateAccessKeyRequest) GetDescription ¶
func (x *UpdateAccessKeyRequest) GetDescription() string
func (*UpdateAccessKeyRequest) GetUpdateMask ¶
func (x *UpdateAccessKeyRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAccessKeyRequest) ProtoMessage ¶
func (*UpdateAccessKeyRequest) ProtoMessage()
func (*UpdateAccessKeyRequest) ProtoReflect ¶
func (x *UpdateAccessKeyRequest) ProtoReflect() protoreflect.Message
func (*UpdateAccessKeyRequest) Reset ¶
func (x *UpdateAccessKeyRequest) Reset()
func (*UpdateAccessKeyRequest) SetAccessKeyId ¶
func (m *UpdateAccessKeyRequest) SetAccessKeyId(v string)
func (*UpdateAccessKeyRequest) SetDescription ¶
func (m *UpdateAccessKeyRequest) SetDescription(v string)
func (*UpdateAccessKeyRequest) SetUpdateMask ¶
func (m *UpdateAccessKeyRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateAccessKeyRequest) String ¶
func (x *UpdateAccessKeyRequest) String() string