Documentation ¶
Index ¶
- Variables
- type Access
- func (*Access) Descriptor() ([]byte, []int)deprecated
- func (x *Access) GetDataServices() *Access_DataServiceList
- func (x *Access) GetIpv4CidrBlocks() *Access_CidrBlockList
- func (x *Access) GetIpv6CidrBlocks() *Access_CidrBlockList
- func (*Access) ProtoMessage()
- func (x *Access) ProtoReflect() protoreflect.Message
- func (x *Access) Reset()
- func (x *Access) String() string
- type Access_CidrBlock
- func (*Access_CidrBlock) Descriptor() ([]byte, []int)deprecated
- func (x *Access_CidrBlock) GetDescription() string
- func (x *Access_CidrBlock) GetValue() string
- func (*Access_CidrBlock) ProtoMessage()
- func (x *Access_CidrBlock) ProtoReflect() protoreflect.Message
- func (x *Access_CidrBlock) Reset()
- func (x *Access_CidrBlock) String() string
- type Access_CidrBlockList
- func (*Access_CidrBlockList) Descriptor() ([]byte, []int)deprecated
- func (x *Access_CidrBlockList) GetValues() []*Access_CidrBlock
- func (*Access_CidrBlockList) ProtoMessage()
- func (x *Access_CidrBlockList) ProtoReflect() protoreflect.Message
- func (x *Access_CidrBlockList) Reset()
- func (x *Access_CidrBlockList) String() string
- type Access_DataService
- func (Access_DataService) Descriptor() protoreflect.EnumDescriptor
- func (x Access_DataService) Enum() *Access_DataService
- func (Access_DataService) EnumDescriptor() ([]byte, []int)deprecated
- func (x Access_DataService) Number() protoreflect.EnumNumber
- func (x Access_DataService) String() string
- func (Access_DataService) Type() protoreflect.EnumType
- type Access_DataServiceList
- func (*Access_DataServiceList) Descriptor() ([]byte, []int)deprecated
- func (x *Access_DataServiceList) GetValues() []Access_DataService
- func (*Access_DataServiceList) ProtoMessage()
- func (x *Access_DataServiceList) ProtoReflect() protoreflect.Message
- func (x *Access_DataServiceList) Reset()
- func (x *Access_DataServiceList) String() string
- type AnytimeMaintenanceWindow
- type ClusterStatus
- func (ClusterStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ClusterStatus) Enum() *ClusterStatus
- func (ClusterStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClusterStatus) Number() protoreflect.EnumNumber
- func (x ClusterStatus) String() string
- func (ClusterStatus) Type() protoreflect.EnumType
- type DataEncryption
- func (*DataEncryption) Descriptor() ([]byte, []int)deprecated
- func (x *DataEncryption) GetEnabled() *wrapperspb.BoolValuedeprecated
- func (*DataEncryption) ProtoMessage()
- func (x *DataEncryption) ProtoReflect() protoreflect.Message
- func (x *DataEncryption) Reset()
- func (x *DataEncryption) String() string
- type HostStatus
- type MaintenanceOperation
- func (*MaintenanceOperation) Descriptor() ([]byte, []int)deprecated
- func (x *MaintenanceOperation) GetDeadlineMaintenanceTime() *timestamppb.Timestamp
- func (x *MaintenanceOperation) GetInfo() string
- func (x *MaintenanceOperation) GetNextMaintenanceWindowTime() *timestamppb.Timestamp
- func (x *MaintenanceOperation) GetScheduledMaintenanceTime() *timestamppb.Timestamp
- func (*MaintenanceOperation) ProtoMessage()
- func (x *MaintenanceOperation) ProtoReflect() protoreflect.Message
- func (x *MaintenanceOperation) Reset()
- func (x *MaintenanceOperation) String() string
- type MaintenanceWindow
- func (*MaintenanceWindow) Descriptor() ([]byte, []int)deprecated
- func (x *MaintenanceWindow) GetAnytime() *AnytimeMaintenanceWindow
- func (m *MaintenanceWindow) GetPolicy() isMaintenanceWindow_Policy
- func (x *MaintenanceWindow) GetWeeklyMaintenanceWindow() *WeeklyMaintenanceWindow
- func (*MaintenanceWindow) ProtoMessage()
- func (x *MaintenanceWindow) ProtoReflect() protoreflect.Message
- func (x *MaintenanceWindow) Reset()
- func (x *MaintenanceWindow) String() string
- type MaintenanceWindow_Anytime
- type MaintenanceWindow_WeeklyMaintenanceWindow
- type NextPage
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Operation) GetCreateTime() *timestamppb.Timestamp
- func (x *Operation) GetCreatedBy() string
- func (x *Operation) GetDescription() string
- func (x *Operation) GetError() *status.Status
- func (x *Operation) GetFinishTime() *timestamppb.Timestamp
- func (x *Operation) GetId() string
- func (x *Operation) GetMetadata() map[string]string
- func (x *Operation) GetProjectId() string
- func (x *Operation) GetResourceId() string
- func (x *Operation) GetStartTime() *timestamppb.Timestamp
- func (x *Operation) GetStatus() Operation_Status
- func (*Operation) ProtoMessage()
- func (x *Operation) ProtoReflect() protoreflect.Message
- func (x *Operation) Reset()
- func (x *Operation) String() string
- type Operation_Status
- func (Operation_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Operation_Status) Enum() *Operation_Status
- func (Operation_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Operation_Status) Number() protoreflect.EnumNumber
- func (x Operation_Status) String() string
- func (Operation_Status) Type() protoreflect.EnumType
- type Paging
- type RescheduleType
- func (RescheduleType) Descriptor() protoreflect.EnumDescriptor
- func (x RescheduleType) Enum() *RescheduleType
- func (RescheduleType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RescheduleType) Number() protoreflect.EnumNumber
- func (x RescheduleType) String() string
- func (RescheduleType) Type() protoreflect.EnumType
- type WeeklyMaintenanceWindow
- func (*WeeklyMaintenanceWindow) Descriptor() ([]byte, []int)deprecated
- func (x *WeeklyMaintenanceWindow) GetDay() dayofweek.DayOfWeek
- func (x *WeeklyMaintenanceWindow) GetHour() int64
- func (*WeeklyMaintenanceWindow) ProtoMessage()
- func (x *WeeklyMaintenanceWindow) ProtoReflect() protoreflect.Message
- func (x *WeeklyMaintenanceWindow) Reset()
- func (x *WeeklyMaintenanceWindow) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ClusterStatus_name = map[int32]string{ 0: "CLUSTER_STATUS_INVALID", 1: "CLUSTER_STATUS_ALIVE", 2: "CLUSTER_STATUS_DEGRADED", 3: "CLUSTER_STATUS_DEAD", 4: "CLUSTER_STATUS_UNKNOWN", 5: "CLUSTER_STATUS_CREATING", 6: "CLUSTER_STATUS_UPDATING", 7: "CLUSTER_STATUS_STOPPING", 8: "CLUSTER_STATUS_STOPPED", 9: "CLUSTER_STATUS_STARTING", 10: "CLUSTER_STATUS_ERROR", } ClusterStatus_value = map[string]int32{ "CLUSTER_STATUS_INVALID": 0, "CLUSTER_STATUS_ALIVE": 1, "CLUSTER_STATUS_DEGRADED": 2, "CLUSTER_STATUS_DEAD": 3, "CLUSTER_STATUS_UNKNOWN": 4, "CLUSTER_STATUS_CREATING": 5, "CLUSTER_STATUS_UPDATING": 6, "CLUSTER_STATUS_STOPPING": 7, "CLUSTER_STATUS_STOPPED": 8, "CLUSTER_STATUS_STARTING": 9, "CLUSTER_STATUS_ERROR": 10, } )
Enum value maps for ClusterStatus.
var ( HostStatus_name = map[int32]string{ 0: "HOST_STATUS_INVALID", 1: "HOST_STATUS_ALIVE", 2: "HOST_STATUS_DEAD", 3: "HOST_STATUS_DEGRADED", } HostStatus_value = map[string]int32{ "HOST_STATUS_INVALID": 0, "HOST_STATUS_ALIVE": 1, "HOST_STATUS_DEAD": 2, "HOST_STATUS_DEGRADED": 3, } )
Enum value maps for HostStatus.
var ( Access_DataService_name = map[int32]string{ 0: "DATA_SERVICE_INVALID", 1: "DATA_SERVICE_VISUALIZATION", 2: "DATA_SERVICE_TRANSFER", } Access_DataService_value = map[string]int32{ "DATA_SERVICE_INVALID": 0, "DATA_SERVICE_VISUALIZATION": 1, "DATA_SERVICE_TRANSFER": 2, } )
Enum value maps for Access_DataService.
var ( RescheduleType_name = map[int32]string{ 0: "RESCHEDULE_TYPE_INVALID", 1: "RESCHEDULE_TYPE_IMMEDIATE", 2: "RESCHEDULE_TYPE_NEXT_AVAILABLE_WINDOW", 3: "RESCHEDULE_TYPE_SPECIFIC_TIME", } RescheduleType_value = map[string]int32{ "RESCHEDULE_TYPE_INVALID": 0, "RESCHEDULE_TYPE_IMMEDIATE": 1, "RESCHEDULE_TYPE_NEXT_AVAILABLE_WINDOW": 2, "RESCHEDULE_TYPE_SPECIFIC_TIME": 3, } )
Enum value maps for RescheduleType.
var ( Operation_Status_name = map[int32]string{ 0: "STATUS_INVALID", 1: "STATUS_PENDING", 2: "STATUS_RUNNING", 3: "STATUS_DONE", } Operation_Status_value = map[string]int32{ "STATUS_INVALID": 0, "STATUS_PENDING": 1, "STATUS_RUNNING": 2, "STATUS_DONE": 3, } )
Enum value maps for Operation_Status.
var File_doublecloud_v1_cluster_proto protoreflect.FileDescriptor
var File_doublecloud_v1_maintenance_proto protoreflect.FileDescriptor
var File_doublecloud_v1_operation_proto protoreflect.FileDescriptor
var File_doublecloud_v1_paging_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Access ¶
type Access struct { // The list of ipv4 IPs (in 'CIDR' notation) of external networks that are allowed // to connect to the instance Ipv4CidrBlocks *Access_CidrBlockList `protobuf:"bytes,1,opt,name=ipv4_cidr_blocks,json=ipv4CidrBlocks,proto3" json:"ipv4_cidr_blocks,omitempty"` // The list of ipv6 IPs (in 'CIDR' notation) of external networks that are allowed // to connect to the instance Ipv6CidrBlocks *Access_CidrBlockList `protobuf:"bytes,2,opt,name=ipv6_cidr_blocks,json=ipv6CidrBlocks,proto3" json:"ipv6_cidr_blocks,omitempty"` DataServices *Access_DataServiceList `protobuf:"bytes,3,opt,name=data_services,json=dataServices,proto3" json:"data_services,omitempty"` // contains filtered or unexported fields }
Access settings
func (*Access) Descriptor
deprecated
func (*Access) GetDataServices ¶
func (x *Access) GetDataServices() *Access_DataServiceList
func (*Access) GetIpv4CidrBlocks ¶
func (x *Access) GetIpv4CidrBlocks() *Access_CidrBlockList
func (*Access) GetIpv6CidrBlocks ¶
func (x *Access) GetIpv6CidrBlocks() *Access_CidrBlockList
func (*Access) ProtoMessage ¶
func (*Access) ProtoMessage()
func (*Access) ProtoReflect ¶
func (x *Access) ProtoReflect() protoreflect.Message
type Access_CidrBlock ¶
type Access_CidrBlock struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
CIDR subnet with description.
func (*Access_CidrBlock) Descriptor
deprecated
func (*Access_CidrBlock) Descriptor() ([]byte, []int)
Deprecated: Use Access_CidrBlock.ProtoReflect.Descriptor instead.
func (*Access_CidrBlock) GetDescription ¶
func (x *Access_CidrBlock) GetDescription() string
func (*Access_CidrBlock) GetValue ¶
func (x *Access_CidrBlock) GetValue() string
func (*Access_CidrBlock) ProtoMessage ¶
func (*Access_CidrBlock) ProtoMessage()
func (*Access_CidrBlock) ProtoReflect ¶
func (x *Access_CidrBlock) ProtoReflect() protoreflect.Message
func (*Access_CidrBlock) Reset ¶
func (x *Access_CidrBlock) Reset()
func (*Access_CidrBlock) String ¶
func (x *Access_CidrBlock) String() string
type Access_CidrBlockList ¶
type Access_CidrBlockList struct { Values []*Access_CidrBlock `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
Wrapper for list of CidrBlock
func (*Access_CidrBlockList) Descriptor
deprecated
func (*Access_CidrBlockList) Descriptor() ([]byte, []int)
Deprecated: Use Access_CidrBlockList.ProtoReflect.Descriptor instead.
func (*Access_CidrBlockList) GetValues ¶
func (x *Access_CidrBlockList) GetValues() []*Access_CidrBlock
func (*Access_CidrBlockList) ProtoMessage ¶
func (*Access_CidrBlockList) ProtoMessage()
func (*Access_CidrBlockList) ProtoReflect ¶
func (x *Access_CidrBlockList) ProtoReflect() protoreflect.Message
func (*Access_CidrBlockList) Reset ¶
func (x *Access_CidrBlockList) Reset()
func (*Access_CidrBlockList) String ¶
func (x *Access_CidrBlockList) String() string
type Access_DataService ¶
type Access_DataService int32
const ( Access_DATA_SERVICE_INVALID Access_DataService = 0 // Allow access for DataLens Access_DATA_SERVICE_VISUALIZATION Access_DataService = 1 // Allow access for DataTransfer Access_DATA_SERVICE_TRANSFER Access_DataService = 2 )
func (Access_DataService) Descriptor ¶
func (Access_DataService) Descriptor() protoreflect.EnumDescriptor
func (Access_DataService) Enum ¶
func (x Access_DataService) Enum() *Access_DataService
func (Access_DataService) EnumDescriptor
deprecated
func (Access_DataService) EnumDescriptor() ([]byte, []int)
Deprecated: Use Access_DataService.Descriptor instead.
func (Access_DataService) Number ¶
func (x Access_DataService) Number() protoreflect.EnumNumber
func (Access_DataService) String ¶
func (x Access_DataService) String() string
func (Access_DataService) Type ¶
func (Access_DataService) Type() protoreflect.EnumType
type Access_DataServiceList ¶
type Access_DataServiceList struct { Values []Access_DataService `protobuf:"varint,1,rep,packed,name=values,proto3,enum=doublecloud.v1.Access_DataService" json:"values,omitempty"` // contains filtered or unexported fields }
Wrapper for list of DataServices
func (*Access_DataServiceList) Descriptor
deprecated
func (*Access_DataServiceList) Descriptor() ([]byte, []int)
Deprecated: Use Access_DataServiceList.ProtoReflect.Descriptor instead.
func (*Access_DataServiceList) GetValues ¶
func (x *Access_DataServiceList) GetValues() []Access_DataService
func (*Access_DataServiceList) ProtoMessage ¶
func (*Access_DataServiceList) ProtoMessage()
func (*Access_DataServiceList) ProtoReflect ¶
func (x *Access_DataServiceList) ProtoReflect() protoreflect.Message
func (*Access_DataServiceList) Reset ¶
func (x *Access_DataServiceList) Reset()
func (*Access_DataServiceList) String ¶
func (x *Access_DataServiceList) String() string
type AnytimeMaintenanceWindow ¶
type AnytimeMaintenanceWindow struct {
// contains filtered or unexported fields
}
func (*AnytimeMaintenanceWindow) Descriptor
deprecated
func (*AnytimeMaintenanceWindow) Descriptor() ([]byte, []int)
Deprecated: Use AnytimeMaintenanceWindow.ProtoReflect.Descriptor instead.
func (*AnytimeMaintenanceWindow) ProtoMessage ¶
func (*AnytimeMaintenanceWindow) ProtoMessage()
func (*AnytimeMaintenanceWindow) ProtoReflect ¶
func (x *AnytimeMaintenanceWindow) ProtoReflect() protoreflect.Message
func (*AnytimeMaintenanceWindow) Reset ¶
func (x *AnytimeMaintenanceWindow) Reset()
func (*AnytimeMaintenanceWindow) String ¶
func (x *AnytimeMaintenanceWindow) String() string
type ClusterStatus ¶
type ClusterStatus int32
const ( // Invalid cluster status value. ClusterStatus_CLUSTER_STATUS_INVALID ClusterStatus = 0 // Cluster is running and all cluster hosts are healthy. ClusterStatus_CLUSTER_STATUS_ALIVE ClusterStatus = 1 // Cluster is working below capacity (at least one host in the cluster is not // healthy). ClusterStatus_CLUSTER_STATUS_DEGRADED ClusterStatus = 2 // Cluster is inoperable (all hosts in the cluster are inoperable). ClusterStatus_CLUSTER_STATUS_DEAD ClusterStatus = 3 // State of the cluster is unknown (all hosts in the cluster are in unknown state). ClusterStatus_CLUSTER_STATUS_UNKNOWN ClusterStatus = 4 // Cluster is being created. ClusterStatus_CLUSTER_STATUS_CREATING ClusterStatus = 5 // Cluster is being updated. ClusterStatus_CLUSTER_STATUS_UPDATING ClusterStatus = 6 // Cluster is stopping. ClusterStatus_CLUSTER_STATUS_STOPPING ClusterStatus = 7 // Cluster stopped. ClusterStatus_CLUSTER_STATUS_STOPPED ClusterStatus = 8 // Cluster is starting. ClusterStatus_CLUSTER_STATUS_STARTING ClusterStatus = 9 // Cluster encountered a problem and cannot operate. ClusterStatus_CLUSTER_STATUS_ERROR ClusterStatus = 10 )
func (ClusterStatus) Descriptor ¶
func (ClusterStatus) Descriptor() protoreflect.EnumDescriptor
func (ClusterStatus) Enum ¶
func (x ClusterStatus) Enum() *ClusterStatus
func (ClusterStatus) EnumDescriptor
deprecated
func (ClusterStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClusterStatus.Descriptor instead.
func (ClusterStatus) Number ¶
func (x ClusterStatus) Number() protoreflect.EnumNumber
func (ClusterStatus) String ¶
func (x ClusterStatus) String() string
func (ClusterStatus) Type ¶
func (ClusterStatus) Type() protoreflect.EnumType
type DataEncryption ¶
type DataEncryption struct { // deprecated. Encryption is always enabled. // // Deprecated: Marked as deprecated in doublecloud/v1/cluster.proto. Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*DataEncryption) Descriptor
deprecated
func (*DataEncryption) Descriptor() ([]byte, []int)
Deprecated: Use DataEncryption.ProtoReflect.Descriptor instead.
func (*DataEncryption) GetEnabled
deprecated
func (x *DataEncryption) GetEnabled() *wrapperspb.BoolValue
Deprecated: Marked as deprecated in doublecloud/v1/cluster.proto.
func (*DataEncryption) ProtoMessage ¶
func (*DataEncryption) ProtoMessage()
func (*DataEncryption) ProtoReflect ¶
func (x *DataEncryption) ProtoReflect() protoreflect.Message
func (*DataEncryption) Reset ¶
func (x *DataEncryption) Reset()
func (*DataEncryption) String ¶
func (x *DataEncryption) String() string
type HostStatus ¶
type HostStatus int32
const ( // Host is in unknown state (we have no data) HostStatus_HOST_STATUS_INVALID HostStatus = 0 // Host is alive and well (all services are alive) HostStatus_HOST_STATUS_ALIVE HostStatus = 1 // Host is inoperable (it cannot perform any of its essential functions) HostStatus_HOST_STATUS_DEAD HostStatus = 2 // Host is partially alive (it can perform some of its essential functions) HostStatus_HOST_STATUS_DEGRADED HostStatus = 3 )
func (HostStatus) Descriptor ¶
func (HostStatus) Descriptor() protoreflect.EnumDescriptor
func (HostStatus) Enum ¶
func (x HostStatus) Enum() *HostStatus
func (HostStatus) EnumDescriptor
deprecated
func (HostStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use HostStatus.Descriptor instead.
func (HostStatus) Number ¶
func (x HostStatus) Number() protoreflect.EnumNumber
func (HostStatus) String ¶
func (x HostStatus) String() string
func (HostStatus) Type ¶
func (HostStatus) Type() protoreflect.EnumType
type MaintenanceOperation ¶
type MaintenanceOperation struct { // Length of info string should be limited by 256 characters Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` ScheduledMaintenanceTime *timestamppb.Timestamp `` /* 135-byte string literal not displayed */ DeadlineMaintenanceTime *timestamppb.Timestamp `` /* 132-byte string literal not displayed */ NextMaintenanceWindowTime *timestamppb.Timestamp `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MaintenanceOperation) Descriptor
deprecated
func (*MaintenanceOperation) Descriptor() ([]byte, []int)
Deprecated: Use MaintenanceOperation.ProtoReflect.Descriptor instead.
func (*MaintenanceOperation) GetDeadlineMaintenanceTime ¶
func (x *MaintenanceOperation) GetDeadlineMaintenanceTime() *timestamppb.Timestamp
func (*MaintenanceOperation) GetInfo ¶
func (x *MaintenanceOperation) GetInfo() string
func (*MaintenanceOperation) GetNextMaintenanceWindowTime ¶
func (x *MaintenanceOperation) GetNextMaintenanceWindowTime() *timestamppb.Timestamp
func (*MaintenanceOperation) GetScheduledMaintenanceTime ¶
func (x *MaintenanceOperation) GetScheduledMaintenanceTime() *timestamppb.Timestamp
func (*MaintenanceOperation) ProtoMessage ¶
func (*MaintenanceOperation) ProtoMessage()
func (*MaintenanceOperation) ProtoReflect ¶
func (x *MaintenanceOperation) ProtoReflect() protoreflect.Message
func (*MaintenanceOperation) Reset ¶
func (x *MaintenanceOperation) Reset()
func (*MaintenanceOperation) String ¶
func (x *MaintenanceOperation) String() string
type MaintenanceWindow ¶
type MaintenanceWindow struct { // Types that are assignable to Policy: // // *MaintenanceWindow_Anytime // *MaintenanceWindow_WeeklyMaintenanceWindow Policy isMaintenanceWindow_Policy `protobuf_oneof:"policy"` // contains filtered or unexported fields }
func (*MaintenanceWindow) Descriptor
deprecated
func (*MaintenanceWindow) Descriptor() ([]byte, []int)
Deprecated: Use MaintenanceWindow.ProtoReflect.Descriptor instead.
func (*MaintenanceWindow) GetAnytime ¶
func (x *MaintenanceWindow) GetAnytime() *AnytimeMaintenanceWindow
func (*MaintenanceWindow) GetPolicy ¶
func (m *MaintenanceWindow) GetPolicy() isMaintenanceWindow_Policy
func (*MaintenanceWindow) GetWeeklyMaintenanceWindow ¶
func (x *MaintenanceWindow) GetWeeklyMaintenanceWindow() *WeeklyMaintenanceWindow
func (*MaintenanceWindow) ProtoMessage ¶
func (*MaintenanceWindow) ProtoMessage()
func (*MaintenanceWindow) ProtoReflect ¶
func (x *MaintenanceWindow) ProtoReflect() protoreflect.Message
func (*MaintenanceWindow) Reset ¶
func (x *MaintenanceWindow) Reset()
func (*MaintenanceWindow) String ¶
func (x *MaintenanceWindow) String() string
type MaintenanceWindow_Anytime ¶
type MaintenanceWindow_Anytime struct {
Anytime *AnytimeMaintenanceWindow `protobuf:"bytes,1,opt,name=anytime,proto3,oneof"`
}
type MaintenanceWindow_WeeklyMaintenanceWindow ¶
type MaintenanceWindow_WeeklyMaintenanceWindow struct {
WeeklyMaintenanceWindow *WeeklyMaintenanceWindow `protobuf:"bytes,2,opt,name=weekly_maintenance_window,json=weeklyMaintenanceWindow,proto3,oneof"`
}
type NextPage ¶
type NextPage struct { // This token allows you to get the next page of results for list requests. If the // number of results // is larger than [Paging.page_size], use the [token] as the value // for the [Paging.page_token] parameter in the next list request. Each subsequent // list request will have its own [token] to continue paging through the results. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*NextPage) Descriptor
deprecated
func (*NextPage) ProtoMessage ¶
func (*NextPage) ProtoMessage()
func (*NextPage) ProtoReflect ¶
func (x *NextPage) ProtoReflect() protoreflect.Message
type Operation ¶
type Operation struct { // ID of the operation. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the project where operation performed. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Description of the operation. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // ID of the user or service account who initiated the operation. CreatedBy string `protobuf:"bytes,4,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // Operation metadata (e.g. cluster_id for create cluster operation). Metadata map[string]string `` /* 157-byte string literal not displayed */ // The time when the operation was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time when the operation was started. StartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The time when the operation was finished. FinishTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` // The status of the operation. Status Operation_Status `protobuf:"varint,9,opt,name=status,proto3,enum=doublecloud.v1.Operation_Status" json:"status,omitempty"` // The error result of the operation in case of failure or cancellation. Error *status.Status `protobuf:"bytes,10,opt,name=error,proto3" json:"error,omitempty"` // ID of the resource operation performed on. ResourceId string `protobuf:"bytes,11,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // contains filtered or unexported fields }
An operation resource.
func (*Operation) Descriptor
deprecated
func (*Operation) GetCreateTime ¶
func (x *Operation) GetCreateTime() *timestamppb.Timestamp
func (*Operation) GetCreatedBy ¶
func (*Operation) GetDescription ¶
func (*Operation) GetFinishTime ¶
func (x *Operation) GetFinishTime() *timestamppb.Timestamp
func (*Operation) GetMetadata ¶
func (*Operation) GetProjectId ¶
func (*Operation) GetResourceId ¶
func (*Operation) GetStartTime ¶
func (x *Operation) GetStartTime() *timestamppb.Timestamp
func (*Operation) GetStatus ¶
func (x *Operation) GetStatus() Operation_Status
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶
func (x *Operation) ProtoReflect() protoreflect.Message
type Operation_Status ¶
type Operation_Status int32
const ( // Invalid status value. Operation_STATUS_INVALID Operation_Status = 0 // Operation is pending execution. Operation_STATUS_PENDING Operation_Status = 1 // Operation is in progress. Operation_STATUS_RUNNING Operation_Status = 2 // Operation is completed. Operation_STATUS_DONE Operation_Status = 3 )
func (Operation_Status) Descriptor ¶
func (Operation_Status) Descriptor() protoreflect.EnumDescriptor
func (Operation_Status) Enum ¶
func (x Operation_Status) Enum() *Operation_Status
func (Operation_Status) EnumDescriptor
deprecated
func (Operation_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Operation_Status.Descriptor instead.
func (Operation_Status) Number ¶
func (x Operation_Status) Number() protoreflect.EnumNumber
func (Operation_Status) String ¶
func (x Operation_Status) String() string
func (Operation_Status) Type ¶
func (Operation_Status) Type() protoreflect.EnumType
type Paging ¶
type Paging 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 [NextPage.token] // that can be used to get the next page of results in subsequent list requests. PageSize int64 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] to the // [NextPage.token] // returned by a previous list request. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*Paging) Descriptor
deprecated
func (*Paging) GetPageSize ¶
func (*Paging) GetPageToken ¶
func (*Paging) ProtoMessage ¶
func (*Paging) ProtoMessage()
func (*Paging) ProtoReflect ¶
func (x *Paging) ProtoReflect() protoreflect.Message
type RescheduleType ¶
type RescheduleType int32
const ( RescheduleType_RESCHEDULE_TYPE_INVALID RescheduleType = 0 RescheduleType_RESCHEDULE_TYPE_IMMEDIATE RescheduleType = 1 RescheduleType_RESCHEDULE_TYPE_NEXT_AVAILABLE_WINDOW RescheduleType = 2 RescheduleType_RESCHEDULE_TYPE_SPECIFIC_TIME RescheduleType = 3 )
func (RescheduleType) Descriptor ¶
func (RescheduleType) Descriptor() protoreflect.EnumDescriptor
func (RescheduleType) Enum ¶
func (x RescheduleType) Enum() *RescheduleType
func (RescheduleType) EnumDescriptor
deprecated
func (RescheduleType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RescheduleType.Descriptor instead.
func (RescheduleType) Number ¶
func (x RescheduleType) Number() protoreflect.EnumNumber
func (RescheduleType) String ¶
func (x RescheduleType) String() string
func (RescheduleType) Type ¶
func (RescheduleType) Type() protoreflect.EnumType
type WeeklyMaintenanceWindow ¶
type WeeklyMaintenanceWindow struct { Day dayofweek.DayOfWeek `protobuf:"varint,1,opt,name=day,proto3,enum=google.type.DayOfWeek" json:"day,omitempty"` // Hour of the day in UTC (1 - 24). Hour int64 `protobuf:"varint,2,opt,name=hour,proto3" json:"hour,omitempty"` // contains filtered or unexported fields }
func (*WeeklyMaintenanceWindow) Descriptor
deprecated
func (*WeeklyMaintenanceWindow) Descriptor() ([]byte, []int)
Deprecated: Use WeeklyMaintenanceWindow.ProtoReflect.Descriptor instead.
func (*WeeklyMaintenanceWindow) GetDay ¶
func (x *WeeklyMaintenanceWindow) GetDay() dayofweek.DayOfWeek
func (*WeeklyMaintenanceWindow) GetHour ¶
func (x *WeeklyMaintenanceWindow) GetHour() int64
func (*WeeklyMaintenanceWindow) ProtoMessage ¶
func (*WeeklyMaintenanceWindow) ProtoMessage()
func (*WeeklyMaintenanceWindow) ProtoReflect ¶
func (x *WeeklyMaintenanceWindow) ProtoReflect() protoreflect.Message
func (*WeeklyMaintenanceWindow) Reset ¶
func (x *WeeklyMaintenanceWindow) Reset()
func (*WeeklyMaintenanceWindow) String ¶
func (x *WeeklyMaintenanceWindow) String() string