Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterCloudServiceServer(s grpc.ServiceRegistrar, srv CloudServiceServer)
- func RegisterFolderServiceServer(s grpc.ServiceRegistrar, srv FolderServiceServer)
- type Cloud
- func (*Cloud) Descriptor() ([]byte, []int)deprecated
- func (x *Cloud) GetCreatedAt() *timestamppb.Timestamp
- func (x *Cloud) GetDescription() string
- func (x *Cloud) GetId() string
- func (x *Cloud) GetLabels() map[string]string
- func (x *Cloud) GetName() string
- func (x *Cloud) GetOrganizationId() string
- func (*Cloud) ProtoMessage()
- func (x *Cloud) ProtoReflect() protoreflect.Message
- func (x *Cloud) Reset()
- func (m *Cloud) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Cloud) SetDescription(v string)
- func (m *Cloud) SetId(v string)
- func (m *Cloud) SetLabels(v map[string]string)
- func (m *Cloud) SetName(v string)
- func (m *Cloud) SetOrganizationId(v string)
- func (x *Cloud) String() string
- type CloudServiceClient
- type CloudServiceServer
- type CreateCloudMetadata
- func (*CreateCloudMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCloudMetadata) GetCloudId() string
- func (*CreateCloudMetadata) ProtoMessage()
- func (x *CreateCloudMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateCloudMetadata) Reset()
- func (m *CreateCloudMetadata) SetCloudId(v string)
- func (x *CreateCloudMetadata) String() string
- type CreateCloudRequest
- func (*CreateCloudRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCloudRequest) GetDescription() string
- func (x *CreateCloudRequest) GetLabels() map[string]string
- func (x *CreateCloudRequest) GetName() string
- func (x *CreateCloudRequest) GetOrganizationId() string
- func (*CreateCloudRequest) ProtoMessage()
- func (x *CreateCloudRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCloudRequest) Reset()
- func (m *CreateCloudRequest) SetDescription(v string)
- func (m *CreateCloudRequest) SetLabels(v map[string]string)
- func (m *CreateCloudRequest) SetName(v string)
- func (m *CreateCloudRequest) SetOrganizationId(v string)
- func (x *CreateCloudRequest) String() string
- type CreateFolderMetadata
- func (*CreateFolderMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFolderMetadata) GetFolderId() string
- func (*CreateFolderMetadata) ProtoMessage()
- func (x *CreateFolderMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateFolderMetadata) Reset()
- func (m *CreateFolderMetadata) SetFolderId(v string)
- func (x *CreateFolderMetadata) String() string
- type CreateFolderRequest
- func (*CreateFolderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFolderRequest) GetCloudId() string
- func (x *CreateFolderRequest) GetDescription() string
- func (x *CreateFolderRequest) GetLabels() map[string]string
- func (x *CreateFolderRequest) GetName() string
- func (*CreateFolderRequest) ProtoMessage()
- func (x *CreateFolderRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFolderRequest) Reset()
- func (m *CreateFolderRequest) SetCloudId(v string)
- func (m *CreateFolderRequest) SetDescription(v string)
- func (m *CreateFolderRequest) SetLabels(v map[string]string)
- func (m *CreateFolderRequest) SetName(v string)
- func (x *CreateFolderRequest) String() string
- type DeleteCloudMetadata
- func (*DeleteCloudMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCloudMetadata) GetCancelledAt() *timestamppb.Timestamp
- func (x *DeleteCloudMetadata) GetCancelledBy() string
- func (x *DeleteCloudMetadata) GetCloudId() string
- func (x *DeleteCloudMetadata) GetDeleteAfter() *timestamppb.Timestamp
- func (*DeleteCloudMetadata) ProtoMessage()
- func (x *DeleteCloudMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteCloudMetadata) Reset()
- func (m *DeleteCloudMetadata) SetCancelledAt(v *timestamppb.Timestamp)
- func (m *DeleteCloudMetadata) SetCancelledBy(v string)
- func (m *DeleteCloudMetadata) SetCloudId(v string)
- func (m *DeleteCloudMetadata) SetDeleteAfter(v *timestamppb.Timestamp)
- func (x *DeleteCloudMetadata) String() string
- type DeleteCloudRequest
- func (*DeleteCloudRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCloudRequest) GetCloudId() string
- func (x *DeleteCloudRequest) GetDeleteAfter() *timestamppb.Timestamp
- func (*DeleteCloudRequest) ProtoMessage()
- func (x *DeleteCloudRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCloudRequest) Reset()
- func (m *DeleteCloudRequest) SetCloudId(v string)
- func (m *DeleteCloudRequest) SetDeleteAfter(v *timestamppb.Timestamp)
- func (x *DeleteCloudRequest) String() string
- type DeleteFolderMetadata
- func (*DeleteFolderMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFolderMetadata) GetCancelledAt() *timestamppb.Timestamp
- func (x *DeleteFolderMetadata) GetCancelledBy() string
- func (x *DeleteFolderMetadata) GetDeleteAfter() *timestamppb.Timestamp
- func (x *DeleteFolderMetadata) GetFolderId() string
- func (*DeleteFolderMetadata) ProtoMessage()
- func (x *DeleteFolderMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteFolderMetadata) Reset()
- func (m *DeleteFolderMetadata) SetCancelledAt(v *timestamppb.Timestamp)
- func (m *DeleteFolderMetadata) SetCancelledBy(v string)
- func (m *DeleteFolderMetadata) SetDeleteAfter(v *timestamppb.Timestamp)
- func (m *DeleteFolderMetadata) SetFolderId(v string)
- func (x *DeleteFolderMetadata) String() string
- type DeleteFolderRequest
- func (*DeleteFolderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFolderRequest) GetDeleteAfter() *timestamppb.Timestamp
- func (x *DeleteFolderRequest) GetFolderId() string
- func (*DeleteFolderRequest) ProtoMessage()
- func (x *DeleteFolderRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFolderRequest) Reset()
- func (m *DeleteFolderRequest) SetDeleteAfter(v *timestamppb.Timestamp)
- func (m *DeleteFolderRequest) SetFolderId(v string)
- func (x *DeleteFolderRequest) String() string
- type Folder
- func (*Folder) Descriptor() ([]byte, []int)deprecated
- func (x *Folder) GetCloudId() string
- func (x *Folder) GetCreatedAt() *timestamppb.Timestamp
- func (x *Folder) GetDescription() string
- func (x *Folder) GetId() string
- func (x *Folder) GetLabels() map[string]string
- func (x *Folder) GetName() string
- func (x *Folder) GetStatus() Folder_Status
- func (*Folder) ProtoMessage()
- func (x *Folder) ProtoReflect() protoreflect.Message
- func (x *Folder) Reset()
- func (m *Folder) SetCloudId(v string)
- func (m *Folder) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Folder) SetDescription(v string)
- func (m *Folder) SetId(v string)
- func (m *Folder) SetLabels(v map[string]string)
- func (m *Folder) SetName(v string)
- func (m *Folder) SetStatus(v Folder_Status)
- func (x *Folder) String() string
- type FolderServiceClient
- type FolderServiceServer
- type Folder_Status
- func (Folder_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Folder_Status) Enum() *Folder_Status
- func (Folder_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Folder_Status) Number() protoreflect.EnumNumber
- func (x Folder_Status) String() string
- func (Folder_Status) Type() protoreflect.EnumType
- type GetCloudRequest
- func (*GetCloudRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCloudRequest) GetCloudId() string
- func (*GetCloudRequest) ProtoMessage()
- func (x *GetCloudRequest) ProtoReflect() protoreflect.Message
- func (x *GetCloudRequest) Reset()
- func (m *GetCloudRequest) SetCloudId(v string)
- func (x *GetCloudRequest) String() string
- type GetFolderRequest
- func (*GetFolderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFolderRequest) GetFolderId() string
- func (*GetFolderRequest) ProtoMessage()
- func (x *GetFolderRequest) ProtoReflect() protoreflect.Message
- func (x *GetFolderRequest) Reset()
- func (m *GetFolderRequest) SetFolderId(v string)
- func (x *GetFolderRequest) String() string
- type ListCloudOperationsRequest
- func (*ListCloudOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCloudOperationsRequest) GetCloudId() string
- func (x *ListCloudOperationsRequest) GetPageSize() int64
- func (x *ListCloudOperationsRequest) GetPageToken() string
- func (*ListCloudOperationsRequest) ProtoMessage()
- func (x *ListCloudOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCloudOperationsRequest) Reset()
- func (m *ListCloudOperationsRequest) SetCloudId(v string)
- func (m *ListCloudOperationsRequest) SetPageSize(v int64)
- func (m *ListCloudOperationsRequest) SetPageToken(v string)
- func (x *ListCloudOperationsRequest) String() string
- type ListCloudOperationsResponse
- func (*ListCloudOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCloudOperationsResponse) GetNextPageToken() string
- func (x *ListCloudOperationsResponse) GetOperations() []*operation.Operation
- func (*ListCloudOperationsResponse) ProtoMessage()
- func (x *ListCloudOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCloudOperationsResponse) Reset()
- func (m *ListCloudOperationsResponse) SetNextPageToken(v string)
- func (m *ListCloudOperationsResponse) SetOperations(v []*operation.Operation)
- func (x *ListCloudOperationsResponse) String() string
- type ListCloudsRequest
- func (*ListCloudsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCloudsRequest) GetFilter() string
- func (x *ListCloudsRequest) GetOrganizationId() string
- func (x *ListCloudsRequest) GetPageSize() int64
- func (x *ListCloudsRequest) GetPageToken() string
- func (*ListCloudsRequest) ProtoMessage()
- func (x *ListCloudsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCloudsRequest) Reset()
- func (m *ListCloudsRequest) SetFilter(v string)
- func (m *ListCloudsRequest) SetOrganizationId(v string)
- func (m *ListCloudsRequest) SetPageSize(v int64)
- func (m *ListCloudsRequest) SetPageToken(v string)
- func (x *ListCloudsRequest) String() string
- type ListCloudsResponse
- func (*ListCloudsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCloudsResponse) GetClouds() []*Cloud
- func (x *ListCloudsResponse) GetNextPageToken() string
- func (*ListCloudsResponse) ProtoMessage()
- func (x *ListCloudsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCloudsResponse) Reset()
- func (m *ListCloudsResponse) SetClouds(v []*Cloud)
- func (m *ListCloudsResponse) SetNextPageToken(v string)
- func (x *ListCloudsResponse) String() string
- type ListFolderOperationsRequest
- func (*ListFolderOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFolderOperationsRequest) GetFolderId() string
- func (x *ListFolderOperationsRequest) GetPageSize() int64
- func (x *ListFolderOperationsRequest) GetPageToken() string
- func (*ListFolderOperationsRequest) ProtoMessage()
- func (x *ListFolderOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFolderOperationsRequest) Reset()
- func (m *ListFolderOperationsRequest) SetFolderId(v string)
- func (m *ListFolderOperationsRequest) SetPageSize(v int64)
- func (m *ListFolderOperationsRequest) SetPageToken(v string)
- func (x *ListFolderOperationsRequest) String() string
- type ListFolderOperationsResponse
- func (*ListFolderOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFolderOperationsResponse) GetNextPageToken() string
- func (x *ListFolderOperationsResponse) GetOperations() []*operation.Operation
- func (*ListFolderOperationsResponse) ProtoMessage()
- func (x *ListFolderOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFolderOperationsResponse) Reset()
- func (m *ListFolderOperationsResponse) SetNextPageToken(v string)
- func (m *ListFolderOperationsResponse) SetOperations(v []*operation.Operation)
- func (x *ListFolderOperationsResponse) String() string
- type ListFoldersRequest
- func (*ListFoldersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFoldersRequest) GetCloudId() string
- func (x *ListFoldersRequest) GetFilter() string
- func (x *ListFoldersRequest) GetPageSize() int64
- func (x *ListFoldersRequest) GetPageToken() string
- func (*ListFoldersRequest) ProtoMessage()
- func (x *ListFoldersRequest) ProtoReflect() protoreflect.Message
- func (x *ListFoldersRequest) Reset()
- func (m *ListFoldersRequest) SetCloudId(v string)
- func (m *ListFoldersRequest) SetFilter(v string)
- func (m *ListFoldersRequest) SetPageSize(v int64)
- func (m *ListFoldersRequest) SetPageToken(v string)
- func (x *ListFoldersRequest) String() string
- type ListFoldersResponse
- func (*ListFoldersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFoldersResponse) GetFolders() []*Folder
- func (x *ListFoldersResponse) GetNextPageToken() string
- func (*ListFoldersResponse) ProtoMessage()
- func (x *ListFoldersResponse) ProtoReflect() protoreflect.Message
- func (x *ListFoldersResponse) Reset()
- func (m *ListFoldersResponse) SetFolders(v []*Folder)
- func (m *ListFoldersResponse) SetNextPageToken(v string)
- func (x *ListFoldersResponse) String() string
- type UnimplementedCloudServiceServer
- func (UnimplementedCloudServiceServer) Create(context.Context, *CreateCloudRequest) (*operation.Operation, error)
- func (UnimplementedCloudServiceServer) Delete(context.Context, *DeleteCloudRequest) (*operation.Operation, error)
- func (UnimplementedCloudServiceServer) Get(context.Context, *GetCloudRequest) (*Cloud, error)
- func (UnimplementedCloudServiceServer) List(context.Context, *ListCloudsRequest) (*ListCloudsResponse, error)
- func (UnimplementedCloudServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
- func (UnimplementedCloudServiceServer) ListOperations(context.Context, *ListCloudOperationsRequest) (*ListCloudOperationsResponse, error)
- func (UnimplementedCloudServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
- func (UnimplementedCloudServiceServer) Update(context.Context, *UpdateCloudRequest) (*operation.Operation, error)
- func (UnimplementedCloudServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
- type UnimplementedFolderServiceServer
- func (UnimplementedFolderServiceServer) Create(context.Context, *CreateFolderRequest) (*operation.Operation, error)
- func (UnimplementedFolderServiceServer) Delete(context.Context, *DeleteFolderRequest) (*operation.Operation, error)
- func (UnimplementedFolderServiceServer) Get(context.Context, *GetFolderRequest) (*Folder, error)
- func (UnimplementedFolderServiceServer) List(context.Context, *ListFoldersRequest) (*ListFoldersResponse, error)
- func (UnimplementedFolderServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
- func (UnimplementedFolderServiceServer) ListOperations(context.Context, *ListFolderOperationsRequest) (*ListFolderOperationsResponse, error)
- func (UnimplementedFolderServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
- func (UnimplementedFolderServiceServer) Update(context.Context, *UpdateFolderRequest) (*operation.Operation, error)
- func (UnimplementedFolderServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
- type UnsafeCloudServiceServer
- type UnsafeFolderServiceServer
- type UpdateCloudMetadata
- func (*UpdateCloudMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCloudMetadata) GetCloudId() string
- func (*UpdateCloudMetadata) ProtoMessage()
- func (x *UpdateCloudMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateCloudMetadata) Reset()
- func (m *UpdateCloudMetadata) SetCloudId(v string)
- func (x *UpdateCloudMetadata) String() string
- type UpdateCloudRequest
- func (*UpdateCloudRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCloudRequest) GetCloudId() string
- func (x *UpdateCloudRequest) GetDescription() string
- func (x *UpdateCloudRequest) GetLabels() map[string]string
- func (x *UpdateCloudRequest) GetName() string
- func (x *UpdateCloudRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateCloudRequest) ProtoMessage()
- func (x *UpdateCloudRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCloudRequest) Reset()
- func (m *UpdateCloudRequest) SetCloudId(v string)
- func (m *UpdateCloudRequest) SetDescription(v string)
- func (m *UpdateCloudRequest) SetLabels(v map[string]string)
- func (m *UpdateCloudRequest) SetName(v string)
- func (m *UpdateCloudRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateCloudRequest) String() string
- type UpdateFolderMetadata
- func (*UpdateFolderMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFolderMetadata) GetFolderId() string
- func (*UpdateFolderMetadata) ProtoMessage()
- func (x *UpdateFolderMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateFolderMetadata) Reset()
- func (m *UpdateFolderMetadata) SetFolderId(v string)
- func (x *UpdateFolderMetadata) String() string
- type UpdateFolderRequest
- func (*UpdateFolderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFolderRequest) GetDescription() string
- func (x *UpdateFolderRequest) GetFolderId() string
- func (x *UpdateFolderRequest) GetLabels() map[string]string
- func (x *UpdateFolderRequest) GetName() string
- func (x *UpdateFolderRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateFolderRequest) ProtoMessage()
- func (x *UpdateFolderRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFolderRequest) Reset()
- func (m *UpdateFolderRequest) SetDescription(v string)
- func (m *UpdateFolderRequest) SetFolderId(v string)
- func (m *UpdateFolderRequest) SetLabels(v map[string]string)
- func (m *UpdateFolderRequest) SetName(v string)
- func (m *UpdateFolderRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateFolderRequest) String() string
Constants ¶
const ( CloudService_Get_FullMethodName = "/yandex.cloud.resourcemanager.v1.CloudService/Get" CloudService_List_FullMethodName = "/yandex.cloud.resourcemanager.v1.CloudService/List" CloudService_Create_FullMethodName = "/yandex.cloud.resourcemanager.v1.CloudService/Create" CloudService_Update_FullMethodName = "/yandex.cloud.resourcemanager.v1.CloudService/Update" CloudService_Delete_FullMethodName = "/yandex.cloud.resourcemanager.v1.CloudService/Delete" CloudService_ListOperations_FullMethodName = "/yandex.cloud.resourcemanager.v1.CloudService/ListOperations" CloudService_ListAccessBindings_FullMethodName = "/yandex.cloud.resourcemanager.v1.CloudService/ListAccessBindings" CloudService_SetAccessBindings_FullMethodName = "/yandex.cloud.resourcemanager.v1.CloudService/SetAccessBindings" CloudService_UpdateAccessBindings_FullMethodName = "/yandex.cloud.resourcemanager.v1.CloudService/UpdateAccessBindings" )
const ( FolderService_Get_FullMethodName = "/yandex.cloud.resourcemanager.v1.FolderService/Get" FolderService_List_FullMethodName = "/yandex.cloud.resourcemanager.v1.FolderService/List" FolderService_Create_FullMethodName = "/yandex.cloud.resourcemanager.v1.FolderService/Create" FolderService_Update_FullMethodName = "/yandex.cloud.resourcemanager.v1.FolderService/Update" FolderService_Delete_FullMethodName = "/yandex.cloud.resourcemanager.v1.FolderService/Delete" FolderService_ListOperations_FullMethodName = "/yandex.cloud.resourcemanager.v1.FolderService/ListOperations" FolderService_ListAccessBindings_FullMethodName = "/yandex.cloud.resourcemanager.v1.FolderService/ListAccessBindings" FolderService_SetAccessBindings_FullMethodName = "/yandex.cloud.resourcemanager.v1.FolderService/SetAccessBindings" FolderService_UpdateAccessBindings_FullMethodName = "/yandex.cloud.resourcemanager.v1.FolderService/UpdateAccessBindings" )
Variables ¶
var ( Folder_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "ACTIVE", 2: "DELETING", 3: "PENDING_DELETION", } Folder_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "ACTIVE": 1, "DELETING": 2, "PENDING_DELETION": 3, } )
Enum value maps for Folder_Status.
var CloudService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.resourcemanager.v1.CloudService", HandlerType: (*CloudServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _CloudService_Get_Handler, }, { MethodName: "List", Handler: _CloudService_List_Handler, }, { MethodName: "Create", Handler: _CloudService_Create_Handler, }, { MethodName: "Update", Handler: _CloudService_Update_Handler, }, { MethodName: "Delete", Handler: _CloudService_Delete_Handler, }, { MethodName: "ListOperations", Handler: _CloudService_ListOperations_Handler, }, { MethodName: "ListAccessBindings", Handler: _CloudService_ListAccessBindings_Handler, }, { MethodName: "SetAccessBindings", Handler: _CloudService_SetAccessBindings_Handler, }, { MethodName: "UpdateAccessBindings", Handler: _CloudService_UpdateAccessBindings_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/resourcemanager/v1/cloud_service.proto", }
CloudService_ServiceDesc is the grpc.ServiceDesc for CloudService 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_resourcemanager_v1_cloud_proto protoreflect.FileDescriptor
var File_yandex_cloud_resourcemanager_v1_cloud_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_resourcemanager_v1_folder_proto protoreflect.FileDescriptor
var File_yandex_cloud_resourcemanager_v1_folder_service_proto protoreflect.FileDescriptor
var FolderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.resourcemanager.v1.FolderService", HandlerType: (*FolderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _FolderService_Get_Handler, }, { MethodName: "List", Handler: _FolderService_List_Handler, }, { MethodName: "Create", Handler: _FolderService_Create_Handler, }, { MethodName: "Update", Handler: _FolderService_Update_Handler, }, { MethodName: "Delete", Handler: _FolderService_Delete_Handler, }, { MethodName: "ListOperations", Handler: _FolderService_ListOperations_Handler, }, { MethodName: "ListAccessBindings", Handler: _FolderService_ListAccessBindings_Handler, }, { MethodName: "SetAccessBindings", Handler: _FolderService_SetAccessBindings_Handler, }, { MethodName: "UpdateAccessBindings", Handler: _FolderService_UpdateAccessBindings_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/resourcemanager/v1/folder_service.proto", }
FolderService_ServiceDesc is the grpc.ServiceDesc for FolderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterCloudServiceServer ¶
func RegisterCloudServiceServer(s grpc.ServiceRegistrar, srv CloudServiceServer)
func RegisterFolderServiceServer ¶
func RegisterFolderServiceServer(s grpc.ServiceRegistrar, srv FolderServiceServer)
Types ¶
type Cloud ¶
type Cloud struct { // ID of the cloud. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Name of the cloud. 3-63 characters long. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Description of the cloud. 0-256 characters long. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // ID of the organization that the cloud belongs to. OrganizationId string `protobuf:"bytes,6,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,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 Cloud resource. For more information, see Cloud(/docs/resource-manager/concepts/resources-hierarchy#cloud).
func (*Cloud) Descriptor
deprecated
func (*Cloud) GetCreatedAt ¶
func (x *Cloud) GetCreatedAt() *timestamppb.Timestamp
func (*Cloud) GetDescription ¶
func (*Cloud) GetOrganizationId ¶
func (*Cloud) ProtoMessage ¶
func (*Cloud) ProtoMessage()
func (*Cloud) ProtoReflect ¶
func (x *Cloud) ProtoReflect() protoreflect.Message
func (*Cloud) SetCreatedAt ¶
func (m *Cloud) SetCreatedAt(v *timestamppb.Timestamp)
func (*Cloud) SetDescription ¶
func (*Cloud) SetOrganizationId ¶
type CloudServiceClient ¶
type CloudServiceClient interface { // Returns the specified Cloud resource. // // To get the list of available Cloud resources, make a [List] request. Get(ctx context.Context, in *GetCloudRequest, opts ...grpc.CallOption) (*Cloud, error) // Retrieves the list of Cloud resources. List(ctx context.Context, in *ListCloudsRequest, opts ...grpc.CallOption) (*ListCloudsResponse, error) // Creates a cloud in the specified organization. Create(ctx context.Context, in *CreateCloudRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified cloud. Update(ctx context.Context, in *UpdateCloudRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified cloud. Delete(ctx context.Context, in *DeleteCloudRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Lists operations for the specified cloud. ListOperations(ctx context.Context, in *ListCloudOperationsRequest, opts ...grpc.CallOption) (*ListCloudOperationsResponse, error) // Lists access bindings for the specified cloud. ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error) // Sets access bindings for the specified cloud. SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates access bindings for the specified cloud. UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
CloudServiceClient is the client API for CloudService 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 Cloud resources.
func NewCloudServiceClient ¶
func NewCloudServiceClient(cc grpc.ClientConnInterface) CloudServiceClient
type CloudServiceServer ¶
type CloudServiceServer interface { // Returns the specified Cloud resource. // // To get the list of available Cloud resources, make a [List] request. Get(context.Context, *GetCloudRequest) (*Cloud, error) // Retrieves the list of Cloud resources. List(context.Context, *ListCloudsRequest) (*ListCloudsResponse, error) // Creates a cloud in the specified organization. Create(context.Context, *CreateCloudRequest) (*operation.Operation, error) // Updates the specified cloud. Update(context.Context, *UpdateCloudRequest) (*operation.Operation, error) // Deletes the specified cloud. Delete(context.Context, *DeleteCloudRequest) (*operation.Operation, error) // Lists operations for the specified cloud. ListOperations(context.Context, *ListCloudOperationsRequest) (*ListCloudOperationsResponse, error) // Lists access bindings for the specified cloud. ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error) // Sets access bindings for the specified cloud. SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error) // Updates access bindings for the specified cloud. UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error) }
CloudServiceServer is the server API for CloudService service. All implementations should embed UnimplementedCloudServiceServer for forward compatibility.
A set of methods for managing Cloud resources.
type CreateCloudMetadata ¶
type CreateCloudMetadata struct { // ID of the cloud that is being created. CloudId string `protobuf:"bytes,1,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"` // contains filtered or unexported fields }
func (*CreateCloudMetadata) Descriptor
deprecated
func (*CreateCloudMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateCloudMetadata.ProtoReflect.Descriptor instead.
func (*CreateCloudMetadata) GetCloudId ¶
func (x *CreateCloudMetadata) GetCloudId() string
func (*CreateCloudMetadata) ProtoMessage ¶
func (*CreateCloudMetadata) ProtoMessage()
func (*CreateCloudMetadata) ProtoReflect ¶
func (x *CreateCloudMetadata) ProtoReflect() protoreflect.Message
func (*CreateCloudMetadata) Reset ¶
func (x *CreateCloudMetadata) Reset()
func (*CreateCloudMetadata) SetCloudId ¶
func (m *CreateCloudMetadata) SetCloudId(v string)
func (*CreateCloudMetadata) String ¶
func (x *CreateCloudMetadata) String() string
type CreateCloudRequest ¶
type CreateCloudRequest struct { // ID of the organization to create a cloud in. // To get the organization ID, use a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // Name of the cloud. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the cloud. 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 (*CreateCloudRequest) Descriptor
deprecated
func (*CreateCloudRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCloudRequest.ProtoReflect.Descriptor instead.
func (*CreateCloudRequest) GetDescription ¶
func (x *CreateCloudRequest) GetDescription() string
func (*CreateCloudRequest) GetLabels ¶
func (x *CreateCloudRequest) GetLabels() map[string]string
func (*CreateCloudRequest) GetName ¶
func (x *CreateCloudRequest) GetName() string
func (*CreateCloudRequest) GetOrganizationId ¶
func (x *CreateCloudRequest) GetOrganizationId() string
func (*CreateCloudRequest) ProtoMessage ¶
func (*CreateCloudRequest) ProtoMessage()
func (*CreateCloudRequest) ProtoReflect ¶
func (x *CreateCloudRequest) ProtoReflect() protoreflect.Message
func (*CreateCloudRequest) Reset ¶
func (x *CreateCloudRequest) Reset()
func (*CreateCloudRequest) SetDescription ¶
func (m *CreateCloudRequest) SetDescription(v string)
func (*CreateCloudRequest) SetLabels ¶
func (m *CreateCloudRequest) SetLabels(v map[string]string)
func (*CreateCloudRequest) SetName ¶
func (m *CreateCloudRequest) SetName(v string)
func (*CreateCloudRequest) SetOrganizationId ¶
func (m *CreateCloudRequest) SetOrganizationId(v string)
func (*CreateCloudRequest) String ¶
func (x *CreateCloudRequest) String() string
type CreateFolderMetadata ¶
type CreateFolderMetadata struct { // ID of the folder that is being created. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // contains filtered or unexported fields }
func (*CreateFolderMetadata) Descriptor
deprecated
func (*CreateFolderMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateFolderMetadata.ProtoReflect.Descriptor instead.
func (*CreateFolderMetadata) GetFolderId ¶
func (x *CreateFolderMetadata) GetFolderId() string
func (*CreateFolderMetadata) ProtoMessage ¶
func (*CreateFolderMetadata) ProtoMessage()
func (*CreateFolderMetadata) ProtoReflect ¶
func (x *CreateFolderMetadata) ProtoReflect() protoreflect.Message
func (*CreateFolderMetadata) Reset ¶
func (x *CreateFolderMetadata) Reset()
func (*CreateFolderMetadata) SetFolderId ¶
func (m *CreateFolderMetadata) SetFolderId(v string)
func (*CreateFolderMetadata) String ¶
func (x *CreateFolderMetadata) String() string
type CreateFolderRequest ¶
type CreateFolderRequest struct { // ID of the cloud to create a folder in. // To get the cloud ID, use a [yandex.cloud.resourcemanager.v1.CloudService.List] request. CloudId string `protobuf:"bytes,1,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"` // Name of the folder. // The name must be unique within the cloud. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the folder. 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 (*CreateFolderRequest) Descriptor
deprecated
func (*CreateFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFolderRequest.ProtoReflect.Descriptor instead.
func (*CreateFolderRequest) GetCloudId ¶
func (x *CreateFolderRequest) GetCloudId() string
func (*CreateFolderRequest) GetDescription ¶
func (x *CreateFolderRequest) GetDescription() string
func (*CreateFolderRequest) GetLabels ¶
func (x *CreateFolderRequest) GetLabels() map[string]string
func (*CreateFolderRequest) GetName ¶
func (x *CreateFolderRequest) GetName() string
func (*CreateFolderRequest) ProtoMessage ¶
func (*CreateFolderRequest) ProtoMessage()
func (*CreateFolderRequest) ProtoReflect ¶
func (x *CreateFolderRequest) ProtoReflect() protoreflect.Message
func (*CreateFolderRequest) Reset ¶
func (x *CreateFolderRequest) Reset()
func (*CreateFolderRequest) SetCloudId ¶
func (m *CreateFolderRequest) SetCloudId(v string)
func (*CreateFolderRequest) SetDescription ¶
func (m *CreateFolderRequest) SetDescription(v string)
func (*CreateFolderRequest) SetLabels ¶
func (m *CreateFolderRequest) SetLabels(v map[string]string)
func (*CreateFolderRequest) SetName ¶
func (m *CreateFolderRequest) SetName(v string)
func (*CreateFolderRequest) String ¶
func (x *CreateFolderRequest) String() string
type DeleteCloudMetadata ¶
type DeleteCloudMetadata struct { // ID of the cloud that is being deleted. CloudId string `protobuf:"bytes,1,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"` // The timestamp after which the process of deleting the cloud should begin. DeleteAfter *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=delete_after,json=deleteAfter,proto3" json:"delete_after,omitempty"` // Information about operation cancellation CancelledBy string `protobuf:"bytes,3,opt,name=cancelled_by,json=cancelledBy,proto3" json:"cancelled_by,omitempty"` CancelledAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=cancelled_at,json=cancelledAt,proto3" json:"cancelled_at,omitempty"` // contains filtered or unexported fields }
func (*DeleteCloudMetadata) Descriptor
deprecated
func (*DeleteCloudMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCloudMetadata.ProtoReflect.Descriptor instead.
func (*DeleteCloudMetadata) GetCancelledAt ¶
func (x *DeleteCloudMetadata) GetCancelledAt() *timestamppb.Timestamp
func (*DeleteCloudMetadata) GetCancelledBy ¶
func (x *DeleteCloudMetadata) GetCancelledBy() string
func (*DeleteCloudMetadata) GetCloudId ¶
func (x *DeleteCloudMetadata) GetCloudId() string
func (*DeleteCloudMetadata) GetDeleteAfter ¶
func (x *DeleteCloudMetadata) GetDeleteAfter() *timestamppb.Timestamp
func (*DeleteCloudMetadata) ProtoMessage ¶
func (*DeleteCloudMetadata) ProtoMessage()
func (*DeleteCloudMetadata) ProtoReflect ¶
func (x *DeleteCloudMetadata) ProtoReflect() protoreflect.Message
func (*DeleteCloudMetadata) Reset ¶
func (x *DeleteCloudMetadata) Reset()
func (*DeleteCloudMetadata) SetCancelledAt ¶
func (m *DeleteCloudMetadata) SetCancelledAt(v *timestamppb.Timestamp)
func (*DeleteCloudMetadata) SetCancelledBy ¶
func (m *DeleteCloudMetadata) SetCancelledBy(v string)
func (*DeleteCloudMetadata) SetCloudId ¶
func (m *DeleteCloudMetadata) SetCloudId(v string)
func (*DeleteCloudMetadata) SetDeleteAfter ¶
func (m *DeleteCloudMetadata) SetDeleteAfter(v *timestamppb.Timestamp)
func (*DeleteCloudMetadata) String ¶
func (x *DeleteCloudMetadata) String() string
type DeleteCloudRequest ¶
type DeleteCloudRequest struct { // ID of the cloud to delete. // To get the cloud ID, use a [CloudService.List] request. CloudId string `protobuf:"bytes,1,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"` // The timestamp after which the process of deleting the cloud should begin. // Until this timestamp, the cloud goes into the PENDING_DELETION state and all resources in this // cloud are stopped. In this state, it is possible to cancel the delete operation without any loss. // After this timestamp, the status of the cloud will become DELETING and the process of deleting // all the resources of the cloud will be started. If [delete_after] is not specified it will be // (now + 24 hours). To initiate an immediate deletion [delete_after] must be <= now. DeleteAfter *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=delete_after,json=deleteAfter,proto3" json:"delete_after,omitempty"` // contains filtered or unexported fields }
func (*DeleteCloudRequest) Descriptor
deprecated
func (*DeleteCloudRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCloudRequest.ProtoReflect.Descriptor instead.
func (*DeleteCloudRequest) GetCloudId ¶
func (x *DeleteCloudRequest) GetCloudId() string
func (*DeleteCloudRequest) GetDeleteAfter ¶
func (x *DeleteCloudRequest) GetDeleteAfter() *timestamppb.Timestamp
func (*DeleteCloudRequest) ProtoMessage ¶
func (*DeleteCloudRequest) ProtoMessage()
func (*DeleteCloudRequest) ProtoReflect ¶
func (x *DeleteCloudRequest) ProtoReflect() protoreflect.Message
func (*DeleteCloudRequest) Reset ¶
func (x *DeleteCloudRequest) Reset()
func (*DeleteCloudRequest) SetCloudId ¶
func (m *DeleteCloudRequest) SetCloudId(v string)
func (*DeleteCloudRequest) SetDeleteAfter ¶
func (m *DeleteCloudRequest) SetDeleteAfter(v *timestamppb.Timestamp)
func (*DeleteCloudRequest) String ¶
func (x *DeleteCloudRequest) String() string
type DeleteFolderMetadata ¶
type DeleteFolderMetadata struct { // ID of the folder that is being deleted. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // The timestamp after which the process of deleting the folder should begin. DeleteAfter *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=delete_after,json=deleteAfter,proto3" json:"delete_after,omitempty"` // Information about operation cancellation CancelledBy string `protobuf:"bytes,3,opt,name=cancelled_by,json=cancelledBy,proto3" json:"cancelled_by,omitempty"` CancelledAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=cancelled_at,json=cancelledAt,proto3" json:"cancelled_at,omitempty"` // contains filtered or unexported fields }
func (*DeleteFolderMetadata) Descriptor
deprecated
func (*DeleteFolderMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFolderMetadata.ProtoReflect.Descriptor instead.
func (*DeleteFolderMetadata) GetCancelledAt ¶
func (x *DeleteFolderMetadata) GetCancelledAt() *timestamppb.Timestamp
func (*DeleteFolderMetadata) GetCancelledBy ¶
func (x *DeleteFolderMetadata) GetCancelledBy() string
func (*DeleteFolderMetadata) GetDeleteAfter ¶
func (x *DeleteFolderMetadata) GetDeleteAfter() *timestamppb.Timestamp
func (*DeleteFolderMetadata) GetFolderId ¶
func (x *DeleteFolderMetadata) GetFolderId() string
func (*DeleteFolderMetadata) ProtoMessage ¶
func (*DeleteFolderMetadata) ProtoMessage()
func (*DeleteFolderMetadata) ProtoReflect ¶
func (x *DeleteFolderMetadata) ProtoReflect() protoreflect.Message
func (*DeleteFolderMetadata) Reset ¶
func (x *DeleteFolderMetadata) Reset()
func (*DeleteFolderMetadata) SetCancelledAt ¶
func (m *DeleteFolderMetadata) SetCancelledAt(v *timestamppb.Timestamp)
func (*DeleteFolderMetadata) SetCancelledBy ¶
func (m *DeleteFolderMetadata) SetCancelledBy(v string)
func (*DeleteFolderMetadata) SetDeleteAfter ¶
func (m *DeleteFolderMetadata) SetDeleteAfter(v *timestamppb.Timestamp)
func (*DeleteFolderMetadata) SetFolderId ¶
func (m *DeleteFolderMetadata) SetFolderId(v string)
func (*DeleteFolderMetadata) String ¶
func (x *DeleteFolderMetadata) String() string
type DeleteFolderRequest ¶
type DeleteFolderRequest struct { // ID of the folder to delete. // To get the folder ID, use a [FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // The timestamp after which the process of deleting the folder should begin. // Until this timestamp, the folder goes into the [Folder.Status.PENDING_DELETION] state and all resources in this // folder are stopped. In this state, it is possible to cancel the delete operation without any loss. // After this timestamp, the status of the folder will become [Folder.Status.DELETING] and the process of deleting // all the resources of the folder will be started. If [delete_after] is not specified it will be // (now + 24 hours). To initiate an immediate deletion [delete_after] must be <= now. DeleteAfter *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=delete_after,json=deleteAfter,proto3" json:"delete_after,omitempty"` // contains filtered or unexported fields }
func (*DeleteFolderRequest) Descriptor
deprecated
func (*DeleteFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFolderRequest.ProtoReflect.Descriptor instead.
func (*DeleteFolderRequest) GetDeleteAfter ¶
func (x *DeleteFolderRequest) GetDeleteAfter() *timestamppb.Timestamp
func (*DeleteFolderRequest) GetFolderId ¶
func (x *DeleteFolderRequest) GetFolderId() string
func (*DeleteFolderRequest) ProtoMessage ¶
func (*DeleteFolderRequest) ProtoMessage()
func (*DeleteFolderRequest) ProtoReflect ¶
func (x *DeleteFolderRequest) ProtoReflect() protoreflect.Message
func (*DeleteFolderRequest) Reset ¶
func (x *DeleteFolderRequest) Reset()
func (*DeleteFolderRequest) SetDeleteAfter ¶
func (m *DeleteFolderRequest) SetDeleteAfter(v *timestamppb.Timestamp)
func (*DeleteFolderRequest) SetFolderId ¶
func (m *DeleteFolderRequest) SetFolderId(v string)
func (*DeleteFolderRequest) String ¶
func (x *DeleteFolderRequest) String() string
type Folder ¶
type Folder struct { // ID of the folder. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the cloud that the folder belongs to. CloudId string `protobuf:"bytes,2,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Name of the folder. // 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 folder. 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 */ // Status of the folder. Status Folder_Status `protobuf:"varint,7,opt,name=status,proto3,enum=yandex.cloud.resourcemanager.v1.Folder_Status" json:"status,omitempty"` // contains filtered or unexported fields }
A Folder resource. For more information, see Folder(/docs/resource-manager/concepts/resources-hierarchy#folder).
func (*Folder) Descriptor
deprecated
func (*Folder) GetCloudId ¶
func (*Folder) GetCreatedAt ¶
func (x *Folder) GetCreatedAt() *timestamppb.Timestamp
func (*Folder) GetDescription ¶
func (*Folder) GetStatus ¶
func (x *Folder) GetStatus() Folder_Status
func (*Folder) ProtoMessage ¶
func (*Folder) ProtoMessage()
func (*Folder) ProtoReflect ¶
func (x *Folder) ProtoReflect() protoreflect.Message
func (*Folder) SetCloudId ¶
func (*Folder) SetCreatedAt ¶
func (m *Folder) SetCreatedAt(v *timestamppb.Timestamp)
func (*Folder) SetDescription ¶
func (*Folder) SetStatus ¶
func (m *Folder) SetStatus(v Folder_Status)
type FolderServiceClient ¶
type FolderServiceClient interface { // Returns the specified Folder resource. // // To get the list of available Folder resources, make a [List] request. Get(ctx context.Context, in *GetFolderRequest, opts ...grpc.CallOption) (*Folder, error) // Retrieves the list of Folder resources in the specified cloud. List(ctx context.Context, in *ListFoldersRequest, opts ...grpc.CallOption) (*ListFoldersResponse, error) // Creates a folder in the specified cloud. Create(ctx context.Context, in *CreateFolderRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified folder. Update(ctx context.Context, in *UpdateFolderRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified folder. Delete(ctx context.Context, in *DeleteFolderRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Lists operations for the specified folder. ListOperations(ctx context.Context, in *ListFolderOperationsRequest, opts ...grpc.CallOption) (*ListFolderOperationsResponse, error) // Lists access bindings for the specified folder. ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error) // Sets access bindings for the specified folder. SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates access bindings for the specified folder. UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
FolderServiceClient is the client API for FolderService 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 Folder resources.
func NewFolderServiceClient ¶
func NewFolderServiceClient(cc grpc.ClientConnInterface) FolderServiceClient
type FolderServiceServer ¶
type FolderServiceServer interface { // Returns the specified Folder resource. // // To get the list of available Folder resources, make a [List] request. Get(context.Context, *GetFolderRequest) (*Folder, error) // Retrieves the list of Folder resources in the specified cloud. List(context.Context, *ListFoldersRequest) (*ListFoldersResponse, error) // Creates a folder in the specified cloud. Create(context.Context, *CreateFolderRequest) (*operation.Operation, error) // Updates the specified folder. Update(context.Context, *UpdateFolderRequest) (*operation.Operation, error) // Deletes the specified folder. Delete(context.Context, *DeleteFolderRequest) (*operation.Operation, error) // Lists operations for the specified folder. ListOperations(context.Context, *ListFolderOperationsRequest) (*ListFolderOperationsResponse, error) // Lists access bindings for the specified folder. ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error) // Sets access bindings for the specified folder. SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error) // Updates access bindings for the specified folder. UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error) }
FolderServiceServer is the server API for FolderService service. All implementations should embed UnimplementedFolderServiceServer for forward compatibility.
A set of methods for managing Folder resources.
type Folder_Status ¶
type Folder_Status int32
const ( Folder_STATUS_UNSPECIFIED Folder_Status = 0 // The folder is active. Folder_ACTIVE Folder_Status = 1 // The folder is being deleted. Folder_DELETING Folder_Status = 2 // Stopping folder resources and waiting for the deletion start timestamp. Folder_PENDING_DELETION Folder_Status = 3 )
func (Folder_Status) Descriptor ¶
func (Folder_Status) Descriptor() protoreflect.EnumDescriptor
func (Folder_Status) Enum ¶
func (x Folder_Status) Enum() *Folder_Status
func (Folder_Status) EnumDescriptor
deprecated
func (Folder_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Folder_Status.Descriptor instead.
func (Folder_Status) Number ¶
func (x Folder_Status) Number() protoreflect.EnumNumber
func (Folder_Status) String ¶
func (x Folder_Status) String() string
func (Folder_Status) Type ¶
func (Folder_Status) Type() protoreflect.EnumType
type GetCloudRequest ¶
type GetCloudRequest struct { // ID of the Cloud resource to return. // To get the cloud ID, use a [CloudService.List] request. CloudId string `protobuf:"bytes,1,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"` // contains filtered or unexported fields }
func (*GetCloudRequest) Descriptor
deprecated
func (*GetCloudRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCloudRequest.ProtoReflect.Descriptor instead.
func (*GetCloudRequest) GetCloudId ¶
func (x *GetCloudRequest) GetCloudId() string
func (*GetCloudRequest) ProtoMessage ¶
func (*GetCloudRequest) ProtoMessage()
func (*GetCloudRequest) ProtoReflect ¶
func (x *GetCloudRequest) ProtoReflect() protoreflect.Message
func (*GetCloudRequest) Reset ¶
func (x *GetCloudRequest) Reset()
func (*GetCloudRequest) SetCloudId ¶
func (m *GetCloudRequest) SetCloudId(v string)
func (*GetCloudRequest) String ¶
func (x *GetCloudRequest) String() string
type GetFolderRequest ¶
type GetFolderRequest struct { // ID of the Folder resource to return. // To get the folder ID, use a [FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // contains filtered or unexported fields }
func (*GetFolderRequest) Descriptor
deprecated
func (*GetFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFolderRequest.ProtoReflect.Descriptor instead.
func (*GetFolderRequest) GetFolderId ¶
func (x *GetFolderRequest) GetFolderId() string
func (*GetFolderRequest) ProtoMessage ¶
func (*GetFolderRequest) ProtoMessage()
func (*GetFolderRequest) ProtoReflect ¶
func (x *GetFolderRequest) ProtoReflect() protoreflect.Message
func (*GetFolderRequest) Reset ¶
func (x *GetFolderRequest) Reset()
func (*GetFolderRequest) SetFolderId ¶
func (m *GetFolderRequest) SetFolderId(v string)
func (*GetFolderRequest) String ¶
func (x *GetFolderRequest) String() string
type ListCloudOperationsRequest ¶
type ListCloudOperationsRequest struct { // ID of the Cloud resource to list operations for. CloudId string `protobuf:"bytes,1,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_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 [ListCloudOperationsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // Acceptable values are 0 to 1000, inclusive. Default value: 100. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. Set [page_token] // to the [ListCloudOperationsResponse.next_page_token] // returned by a previous list request to get the next page of results. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListCloudOperationsRequest) Descriptor
deprecated
func (*ListCloudOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCloudOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListCloudOperationsRequest) GetCloudId ¶
func (x *ListCloudOperationsRequest) GetCloudId() string
func (*ListCloudOperationsRequest) GetPageSize ¶
func (x *ListCloudOperationsRequest) GetPageSize() int64
func (*ListCloudOperationsRequest) GetPageToken ¶
func (x *ListCloudOperationsRequest) GetPageToken() string
func (*ListCloudOperationsRequest) ProtoMessage ¶
func (*ListCloudOperationsRequest) ProtoMessage()
func (*ListCloudOperationsRequest) ProtoReflect ¶
func (x *ListCloudOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListCloudOperationsRequest) Reset ¶
func (x *ListCloudOperationsRequest) Reset()
func (*ListCloudOperationsRequest) SetCloudId ¶
func (m *ListCloudOperationsRequest) SetCloudId(v string)
func (*ListCloudOperationsRequest) SetPageSize ¶
func (m *ListCloudOperationsRequest) SetPageSize(v int64)
func (*ListCloudOperationsRequest) SetPageToken ¶
func (m *ListCloudOperationsRequest) SetPageToken(v string)
func (*ListCloudOperationsRequest) String ¶
func (x *ListCloudOperationsRequest) String() string
type ListCloudOperationsResponse ¶
type ListCloudOperationsResponse struct { // List of operations for the specified cloud. 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 [ListCloudOperationsRequest.page_size], use the [next_page_token] as the value // for the [ListCloudOperationsRequest.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 (*ListCloudOperationsResponse) Descriptor
deprecated
func (*ListCloudOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCloudOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListCloudOperationsResponse) GetNextPageToken ¶
func (x *ListCloudOperationsResponse) GetNextPageToken() string
func (*ListCloudOperationsResponse) GetOperations ¶
func (x *ListCloudOperationsResponse) GetOperations() []*operation.Operation
func (*ListCloudOperationsResponse) ProtoMessage ¶
func (*ListCloudOperationsResponse) ProtoMessage()
func (*ListCloudOperationsResponse) ProtoReflect ¶
func (x *ListCloudOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListCloudOperationsResponse) Reset ¶
func (x *ListCloudOperationsResponse) Reset()
func (*ListCloudOperationsResponse) SetNextPageToken ¶
func (m *ListCloudOperationsResponse) SetNextPageToken(v string)
func (*ListCloudOperationsResponse) SetOperations ¶
func (m *ListCloudOperationsResponse) SetOperations(v []*operation.Operation)
func (*ListCloudOperationsResponse) String ¶
func (x *ListCloudOperationsResponse) String() string
type ListCloudsRequest ¶
type ListCloudsRequest 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 [ListCloudsResponse.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. Set [page_token] // to the [ListCloudsResponse.next_page_token] // returned by a previous list request to get the next page of results. 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. // The expression must specify: // 1. The field name. Currently you can use filtering only on the [Cloud.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,3,opt,name=filter,proto3" json:"filter,omitempty"` // ID of the organization to list clouds in. // To get the organization ID, use a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request. OrganizationId string `protobuf:"bytes,4,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // contains filtered or unexported fields }
func (*ListCloudsRequest) Descriptor
deprecated
func (*ListCloudsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCloudsRequest.ProtoReflect.Descriptor instead.
func (*ListCloudsRequest) GetFilter ¶
func (x *ListCloudsRequest) GetFilter() string
func (*ListCloudsRequest) GetOrganizationId ¶
func (x *ListCloudsRequest) GetOrganizationId() string
func (*ListCloudsRequest) GetPageSize ¶
func (x *ListCloudsRequest) GetPageSize() int64
func (*ListCloudsRequest) GetPageToken ¶
func (x *ListCloudsRequest) GetPageToken() string
func (*ListCloudsRequest) ProtoMessage ¶
func (*ListCloudsRequest) ProtoMessage()
func (*ListCloudsRequest) ProtoReflect ¶
func (x *ListCloudsRequest) ProtoReflect() protoreflect.Message
func (*ListCloudsRequest) Reset ¶
func (x *ListCloudsRequest) Reset()
func (*ListCloudsRequest) SetFilter ¶
func (m *ListCloudsRequest) SetFilter(v string)
func (*ListCloudsRequest) SetOrganizationId ¶
func (m *ListCloudsRequest) SetOrganizationId(v string)
func (*ListCloudsRequest) SetPageSize ¶
func (m *ListCloudsRequest) SetPageSize(v int64)
func (*ListCloudsRequest) SetPageToken ¶
func (m *ListCloudsRequest) SetPageToken(v string)
func (*ListCloudsRequest) String ¶
func (x *ListCloudsRequest) String() string
type ListCloudsResponse ¶
type ListCloudsResponse struct { // List of Cloud resources. Clouds []*Cloud `protobuf:"bytes,1,rep,name=clouds,proto3" json:"clouds,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListCloudsRequest.page_size], use // the [next_page_token] as the value // for the [ListCloudsRequest.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 (*ListCloudsResponse) Descriptor
deprecated
func (*ListCloudsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCloudsResponse.ProtoReflect.Descriptor instead.
func (*ListCloudsResponse) GetClouds ¶
func (x *ListCloudsResponse) GetClouds() []*Cloud
func (*ListCloudsResponse) GetNextPageToken ¶
func (x *ListCloudsResponse) GetNextPageToken() string
func (*ListCloudsResponse) ProtoMessage ¶
func (*ListCloudsResponse) ProtoMessage()
func (*ListCloudsResponse) ProtoReflect ¶
func (x *ListCloudsResponse) ProtoReflect() protoreflect.Message
func (*ListCloudsResponse) Reset ¶
func (x *ListCloudsResponse) Reset()
func (*ListCloudsResponse) SetClouds ¶
func (m *ListCloudsResponse) SetClouds(v []*Cloud)
func (*ListCloudsResponse) SetNextPageToken ¶
func (m *ListCloudsResponse) SetNextPageToken(v string)
func (*ListCloudsResponse) String ¶
func (x *ListCloudsResponse) String() string
type ListFolderOperationsRequest ¶
type ListFolderOperationsRequest struct { // ID of the Folder resource to list operations for. 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 [ListFolderOperationsResponse.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. Set [page_token] // to the [ListFolderOperationsResponse.next_page_token] // returned by a previous list request to get the next page of results. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListFolderOperationsRequest) Descriptor
deprecated
func (*ListFolderOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFolderOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListFolderOperationsRequest) GetFolderId ¶
func (x *ListFolderOperationsRequest) GetFolderId() string
func (*ListFolderOperationsRequest) GetPageSize ¶
func (x *ListFolderOperationsRequest) GetPageSize() int64
func (*ListFolderOperationsRequest) GetPageToken ¶
func (x *ListFolderOperationsRequest) GetPageToken() string
func (*ListFolderOperationsRequest) ProtoMessage ¶
func (*ListFolderOperationsRequest) ProtoMessage()
func (*ListFolderOperationsRequest) ProtoReflect ¶
func (x *ListFolderOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListFolderOperationsRequest) Reset ¶
func (x *ListFolderOperationsRequest) Reset()
func (*ListFolderOperationsRequest) SetFolderId ¶
func (m *ListFolderOperationsRequest) SetFolderId(v string)
func (*ListFolderOperationsRequest) SetPageSize ¶
func (m *ListFolderOperationsRequest) SetPageSize(v int64)
func (*ListFolderOperationsRequest) SetPageToken ¶
func (m *ListFolderOperationsRequest) SetPageToken(v string)
func (*ListFolderOperationsRequest) String ¶
func (x *ListFolderOperationsRequest) String() string
type ListFolderOperationsResponse ¶
type ListFolderOperationsResponse struct { // List of operations for the specified folder. 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 [ListFolderOperationsRequest.page_size], use the [next_page_token] as the value // for the [ListFolderOperationsRequest.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 (*ListFolderOperationsResponse) Descriptor
deprecated
func (*ListFolderOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFolderOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListFolderOperationsResponse) GetNextPageToken ¶
func (x *ListFolderOperationsResponse) GetNextPageToken() string
func (*ListFolderOperationsResponse) GetOperations ¶
func (x *ListFolderOperationsResponse) GetOperations() []*operation.Operation
func (*ListFolderOperationsResponse) ProtoMessage ¶
func (*ListFolderOperationsResponse) ProtoMessage()
func (*ListFolderOperationsResponse) ProtoReflect ¶
func (x *ListFolderOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListFolderOperationsResponse) Reset ¶
func (x *ListFolderOperationsResponse) Reset()
func (*ListFolderOperationsResponse) SetNextPageToken ¶
func (m *ListFolderOperationsResponse) SetNextPageToken(v string)
func (*ListFolderOperationsResponse) SetOperations ¶
func (m *ListFolderOperationsResponse) SetOperations(v []*operation.Operation)
func (*ListFolderOperationsResponse) String ¶
func (x *ListFolderOperationsResponse) String() string
type ListFoldersRequest ¶
type ListFoldersRequest struct { // ID of the cloud to list folders in. // To get the cloud ID, use a [yandex.cloud.resourcemanager.v1.CloudService.List] request. CloudId string `protobuf:"bytes,1,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_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 [ListFoldersResponse.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. Set [page_token] // to the [ListFoldersResponse.next_page_token] // returned by a previous list request to get the next page of results. 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 [Folder.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 (*ListFoldersRequest) Descriptor
deprecated
func (*ListFoldersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFoldersRequest.ProtoReflect.Descriptor instead.
func (*ListFoldersRequest) GetCloudId ¶
func (x *ListFoldersRequest) GetCloudId() string
func (*ListFoldersRequest) GetFilter ¶
func (x *ListFoldersRequest) GetFilter() string
func (*ListFoldersRequest) GetPageSize ¶
func (x *ListFoldersRequest) GetPageSize() int64
func (*ListFoldersRequest) GetPageToken ¶
func (x *ListFoldersRequest) GetPageToken() string
func (*ListFoldersRequest) ProtoMessage ¶
func (*ListFoldersRequest) ProtoMessage()
func (*ListFoldersRequest) ProtoReflect ¶
func (x *ListFoldersRequest) ProtoReflect() protoreflect.Message
func (*ListFoldersRequest) Reset ¶
func (x *ListFoldersRequest) Reset()
func (*ListFoldersRequest) SetCloudId ¶
func (m *ListFoldersRequest) SetCloudId(v string)
func (*ListFoldersRequest) SetFilter ¶
func (m *ListFoldersRequest) SetFilter(v string)
func (*ListFoldersRequest) SetPageSize ¶
func (m *ListFoldersRequest) SetPageSize(v int64)
func (*ListFoldersRequest) SetPageToken ¶
func (m *ListFoldersRequest) SetPageToken(v string)
func (*ListFoldersRequest) String ¶
func (x *ListFoldersRequest) String() string
type ListFoldersResponse ¶
type ListFoldersResponse struct { // List of Folder resources. Folders []*Folder `protobuf:"bytes,1,rep,name=folders,proto3" json:"folders,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListFoldersRequest.page_size], use // the [next_page_token] as the value // for the [ListFoldersRequest.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 (*ListFoldersResponse) Descriptor
deprecated
func (*ListFoldersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFoldersResponse.ProtoReflect.Descriptor instead.
func (*ListFoldersResponse) GetFolders ¶
func (x *ListFoldersResponse) GetFolders() []*Folder
func (*ListFoldersResponse) GetNextPageToken ¶
func (x *ListFoldersResponse) GetNextPageToken() string
func (*ListFoldersResponse) ProtoMessage ¶
func (*ListFoldersResponse) ProtoMessage()
func (*ListFoldersResponse) ProtoReflect ¶
func (x *ListFoldersResponse) ProtoReflect() protoreflect.Message
func (*ListFoldersResponse) Reset ¶
func (x *ListFoldersResponse) Reset()
func (*ListFoldersResponse) SetFolders ¶
func (m *ListFoldersResponse) SetFolders(v []*Folder)
func (*ListFoldersResponse) SetNextPageToken ¶
func (m *ListFoldersResponse) SetNextPageToken(v string)
func (*ListFoldersResponse) String ¶
func (x *ListFoldersResponse) String() string
type UnimplementedCloudServiceServer ¶
type UnimplementedCloudServiceServer struct{}
UnimplementedCloudServiceServer 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 (UnimplementedCloudServiceServer) Create ¶
func (UnimplementedCloudServiceServer) Create(context.Context, *CreateCloudRequest) (*operation.Operation, error)
func (UnimplementedCloudServiceServer) Delete ¶
func (UnimplementedCloudServiceServer) Delete(context.Context, *DeleteCloudRequest) (*operation.Operation, error)
func (UnimplementedCloudServiceServer) Get ¶
func (UnimplementedCloudServiceServer) Get(context.Context, *GetCloudRequest) (*Cloud, error)
func (UnimplementedCloudServiceServer) List ¶
func (UnimplementedCloudServiceServer) List(context.Context, *ListCloudsRequest) (*ListCloudsResponse, error)
func (UnimplementedCloudServiceServer) ListAccessBindings ¶
func (UnimplementedCloudServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
func (UnimplementedCloudServiceServer) ListOperations ¶
func (UnimplementedCloudServiceServer) ListOperations(context.Context, *ListCloudOperationsRequest) (*ListCloudOperationsResponse, error)
func (UnimplementedCloudServiceServer) SetAccessBindings ¶
func (UnimplementedCloudServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
func (UnimplementedCloudServiceServer) Update ¶
func (UnimplementedCloudServiceServer) Update(context.Context, *UpdateCloudRequest) (*operation.Operation, error)
func (UnimplementedCloudServiceServer) UpdateAccessBindings ¶
func (UnimplementedCloudServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
type UnimplementedFolderServiceServer ¶
type UnimplementedFolderServiceServer struct{}
UnimplementedFolderServiceServer 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 (UnimplementedFolderServiceServer) Create ¶
func (UnimplementedFolderServiceServer) Create(context.Context, *CreateFolderRequest) (*operation.Operation, error)
func (UnimplementedFolderServiceServer) Delete ¶
func (UnimplementedFolderServiceServer) Delete(context.Context, *DeleteFolderRequest) (*operation.Operation, error)
func (UnimplementedFolderServiceServer) Get ¶
func (UnimplementedFolderServiceServer) Get(context.Context, *GetFolderRequest) (*Folder, error)
func (UnimplementedFolderServiceServer) List ¶
func (UnimplementedFolderServiceServer) List(context.Context, *ListFoldersRequest) (*ListFoldersResponse, error)
func (UnimplementedFolderServiceServer) ListAccessBindings ¶
func (UnimplementedFolderServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
func (UnimplementedFolderServiceServer) ListOperations ¶
func (UnimplementedFolderServiceServer) ListOperations(context.Context, *ListFolderOperationsRequest) (*ListFolderOperationsResponse, error)
func (UnimplementedFolderServiceServer) SetAccessBindings ¶
func (UnimplementedFolderServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
func (UnimplementedFolderServiceServer) Update ¶
func (UnimplementedFolderServiceServer) Update(context.Context, *UpdateFolderRequest) (*operation.Operation, error)
func (UnimplementedFolderServiceServer) UpdateAccessBindings ¶
func (UnimplementedFolderServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
type UnsafeCloudServiceServer ¶
type UnsafeCloudServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCloudServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CloudServiceServer will result in compilation errors.
type UnsafeFolderServiceServer ¶
type UnsafeFolderServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFolderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FolderServiceServer will result in compilation errors.
type UpdateCloudMetadata ¶
type UpdateCloudMetadata struct { // ID of the cloud that is being updated. CloudId string `protobuf:"bytes,1,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateCloudMetadata) Descriptor
deprecated
func (*UpdateCloudMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCloudMetadata.ProtoReflect.Descriptor instead.
func (*UpdateCloudMetadata) GetCloudId ¶
func (x *UpdateCloudMetadata) GetCloudId() string
func (*UpdateCloudMetadata) ProtoMessage ¶
func (*UpdateCloudMetadata) ProtoMessage()
func (*UpdateCloudMetadata) ProtoReflect ¶
func (x *UpdateCloudMetadata) ProtoReflect() protoreflect.Message
func (*UpdateCloudMetadata) Reset ¶
func (x *UpdateCloudMetadata) Reset()
func (*UpdateCloudMetadata) SetCloudId ¶
func (m *UpdateCloudMetadata) SetCloudId(v string)
func (*UpdateCloudMetadata) String ¶
func (x *UpdateCloudMetadata) String() string
type UpdateCloudRequest ¶
type UpdateCloudRequest struct { // ID of the cloud to update. // To get the cloud ID, use a [CloudService.List] request. CloudId string `protobuf:"bytes,1,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"` // Field mask that specifies which fields of the cloud 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 cloud. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Description of the cloud. 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 (*UpdateCloudRequest) Descriptor
deprecated
func (*UpdateCloudRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCloudRequest.ProtoReflect.Descriptor instead.
func (*UpdateCloudRequest) GetCloudId ¶
func (x *UpdateCloudRequest) GetCloudId() string
func (*UpdateCloudRequest) GetDescription ¶
func (x *UpdateCloudRequest) GetDescription() string
func (*UpdateCloudRequest) GetLabels ¶
func (x *UpdateCloudRequest) GetLabels() map[string]string
func (*UpdateCloudRequest) GetName ¶
func (x *UpdateCloudRequest) GetName() string
func (*UpdateCloudRequest) GetUpdateMask ¶
func (x *UpdateCloudRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateCloudRequest) ProtoMessage ¶
func (*UpdateCloudRequest) ProtoMessage()
func (*UpdateCloudRequest) ProtoReflect ¶
func (x *UpdateCloudRequest) ProtoReflect() protoreflect.Message
func (*UpdateCloudRequest) Reset ¶
func (x *UpdateCloudRequest) Reset()
func (*UpdateCloudRequest) SetCloudId ¶
func (m *UpdateCloudRequest) SetCloudId(v string)
func (*UpdateCloudRequest) SetDescription ¶
func (m *UpdateCloudRequest) SetDescription(v string)
func (*UpdateCloudRequest) SetLabels ¶
func (m *UpdateCloudRequest) SetLabels(v map[string]string)
func (*UpdateCloudRequest) SetName ¶
func (m *UpdateCloudRequest) SetName(v string)
func (*UpdateCloudRequest) SetUpdateMask ¶
func (m *UpdateCloudRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateCloudRequest) String ¶
func (x *UpdateCloudRequest) String() string
type UpdateFolderMetadata ¶
type UpdateFolderMetadata struct { // ID of the Folder resource that is being updated. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateFolderMetadata) Descriptor
deprecated
func (*UpdateFolderMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFolderMetadata.ProtoReflect.Descriptor instead.
func (*UpdateFolderMetadata) GetFolderId ¶
func (x *UpdateFolderMetadata) GetFolderId() string
func (*UpdateFolderMetadata) ProtoMessage ¶
func (*UpdateFolderMetadata) ProtoMessage()
func (*UpdateFolderMetadata) ProtoReflect ¶
func (x *UpdateFolderMetadata) ProtoReflect() protoreflect.Message
func (*UpdateFolderMetadata) Reset ¶
func (x *UpdateFolderMetadata) Reset()
func (*UpdateFolderMetadata) SetFolderId ¶
func (m *UpdateFolderMetadata) SetFolderId(v string)
func (*UpdateFolderMetadata) String ¶
func (x *UpdateFolderMetadata) String() string
type UpdateFolderRequest ¶
type UpdateFolderRequest struct { // ID of the Folder resource to update. // To get the folder ID, use a [FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Field mask that specifies which fields of the Folder 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 folder. // The name must be unique within the cloud. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Description of the folder. 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 (*UpdateFolderRequest) Descriptor
deprecated
func (*UpdateFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFolderRequest.ProtoReflect.Descriptor instead.
func (*UpdateFolderRequest) GetDescription ¶
func (x *UpdateFolderRequest) GetDescription() string
func (*UpdateFolderRequest) GetFolderId ¶
func (x *UpdateFolderRequest) GetFolderId() string
func (*UpdateFolderRequest) GetLabels ¶
func (x *UpdateFolderRequest) GetLabels() map[string]string
func (*UpdateFolderRequest) GetName ¶
func (x *UpdateFolderRequest) GetName() string
func (*UpdateFolderRequest) GetUpdateMask ¶
func (x *UpdateFolderRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateFolderRequest) ProtoMessage ¶
func (*UpdateFolderRequest) ProtoMessage()
func (*UpdateFolderRequest) ProtoReflect ¶
func (x *UpdateFolderRequest) ProtoReflect() protoreflect.Message
func (*UpdateFolderRequest) Reset ¶
func (x *UpdateFolderRequest) Reset()
func (*UpdateFolderRequest) SetDescription ¶
func (m *UpdateFolderRequest) SetDescription(v string)
func (*UpdateFolderRequest) SetFolderId ¶
func (m *UpdateFolderRequest) SetFolderId(v string)
func (*UpdateFolderRequest) SetLabels ¶
func (m *UpdateFolderRequest) SetLabels(v map[string]string)
func (*UpdateFolderRequest) SetName ¶
func (m *UpdateFolderRequest) SetName(v string)
func (*UpdateFolderRequest) SetUpdateMask ¶
func (m *UpdateFolderRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateFolderRequest) String ¶
func (x *UpdateFolderRequest) String() string