awscompatibility

package
v0.0.0-...-a04abcf Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 14 Imported by: 10

Documentation

Index

Constants

View Source
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

View Source
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)

View Source
var File_yandex_cloud_iam_v1_awscompatibility_access_key_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use AccessKey.ProtoReflect.Descriptor instead.

func (*AccessKey) GetCreatedAt

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

func (*AccessKey) GetDescription

func (x *AccessKey) GetDescription() string

func (*AccessKey) GetId

func (x *AccessKey) GetId() string

func (*AccessKey) GetKeyId

func (x *AccessKey) GetKeyId() string

func (*AccessKey) GetLastUsedAt

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

func (*AccessKey) GetServiceAccountId

func (x *AccessKey) GetServiceAccountId() string

func (*AccessKey) ProtoMessage

func (*AccessKey) ProtoMessage()

func (*AccessKey) ProtoReflect

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

func (*AccessKey) Reset

func (x *AccessKey) Reset()

func (*AccessKey) SetCreatedAt

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

func (*AccessKey) SetDescription

func (m *AccessKey) SetDescription(v string)

func (*AccessKey) SetId

func (m *AccessKey) SetId(v string)

func (*AccessKey) SetKeyId

func (m *AccessKey) SetKeyId(v string)

func (*AccessKey) SetLastUsedAt

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

func (*AccessKey) SetServiceAccountId

func (m *AccessKey) SetServiceAccountId(v string)

func (*AccessKey) String

func (x *AccessKey) String() string

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.

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

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 (*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

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 (*ListAccessKeyOperationsResponse) Reset

func (*ListAccessKeyOperationsResponse) SetNextPageToken

func (m *ListAccessKeyOperationsResponse) SetNextPageToken(v string)

func (*ListAccessKeyOperationsResponse) SetOperations

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

func (*ListAccessKeyOperationsResponse) 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.

func (UnimplementedAccessKeyServiceServer) Create

func (UnimplementedAccessKeyServiceServer) Delete

func (UnimplementedAccessKeyServiceServer) Get

func (UnimplementedAccessKeyServiceServer) List

func (UnimplementedAccessKeyServiceServer) Update

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

Jump to

Keyboard shortcuts

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