Documentation ¶
Index ¶
- Variables
- func RegisterBareMetalSolutionServer(s *grpc.Server, srv BareMetalSolutionServer)
- type BareMetalSolutionClient
- type BareMetalSolutionServer
- type CreateSnapshotSchedulePolicyRequest
- func (*CreateSnapshotSchedulePolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSnapshotSchedulePolicyRequest) GetParent() string
- func (x *CreateSnapshotSchedulePolicyRequest) GetSnapshotSchedulePolicy() *SnapshotSchedulePolicy
- func (x *CreateSnapshotSchedulePolicyRequest) GetSnapshotSchedulePolicyId() string
- func (*CreateSnapshotSchedulePolicyRequest) ProtoMessage()
- func (x *CreateSnapshotSchedulePolicyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSnapshotSchedulePolicyRequest) Reset()
- func (x *CreateSnapshotSchedulePolicyRequest) String() string
- type CreateVolumeSnapshotRequest
- func (*CreateVolumeSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVolumeSnapshotRequest) GetParent() string
- func (x *CreateVolumeSnapshotRequest) GetVolumeSnapshot() *VolumeSnapshot
- func (*CreateVolumeSnapshotRequest) ProtoMessage()
- func (x *CreateVolumeSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *CreateVolumeSnapshotRequest) Reset()
- func (x *CreateVolumeSnapshotRequest) String() string
- type DeleteSnapshotSchedulePolicyRequest
- func (*DeleteSnapshotSchedulePolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSnapshotSchedulePolicyRequest) GetName() string
- func (*DeleteSnapshotSchedulePolicyRequest) ProtoMessage()
- func (x *DeleteSnapshotSchedulePolicyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSnapshotSchedulePolicyRequest) Reset()
- func (x *DeleteSnapshotSchedulePolicyRequest) String() string
- type DeleteVolumeSnapshotRequest
- func (*DeleteVolumeSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteVolumeSnapshotRequest) GetName() string
- func (*DeleteVolumeSnapshotRequest) ProtoMessage()
- func (x *DeleteVolumeSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteVolumeSnapshotRequest) Reset()
- func (x *DeleteVolumeSnapshotRequest) String() string
- type GetInstanceRequest
- func (*GetInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInstanceRequest) GetName() string
- func (*GetInstanceRequest) ProtoMessage()
- func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *GetInstanceRequest) Reset()
- func (x *GetInstanceRequest) String() string
- type GetLunRequest
- type GetNetworkRequest
- type GetSnapshotSchedulePolicyRequest
- func (*GetSnapshotSchedulePolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSnapshotSchedulePolicyRequest) GetName() string
- func (*GetSnapshotSchedulePolicyRequest) ProtoMessage()
- func (x *GetSnapshotSchedulePolicyRequest) ProtoReflect() protoreflect.Message
- func (x *GetSnapshotSchedulePolicyRequest) Reset()
- func (x *GetSnapshotSchedulePolicyRequest) String() string
- type GetVolumeRequest
- type GetVolumeSnapshotRequest
- func (*GetVolumeSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVolumeSnapshotRequest) GetName() string
- func (*GetVolumeSnapshotRequest) ProtoMessage()
- func (x *GetVolumeSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *GetVolumeSnapshotRequest) Reset()
- func (x *GetVolumeSnapshotRequest) String() string
- type Instance
- func (*Instance) Descriptor() ([]byte, []int)deprecated
- func (x *Instance) GetCreateTime() *timestamppb.Timestamp
- func (x *Instance) GetHyperthreadingEnabled() bool
- func (x *Instance) GetInteractiveSerialConsoleEnabled() bool
- func (x *Instance) GetLabels() map[string]string
- func (x *Instance) GetLuns() []*Lun
- func (x *Instance) GetMachineType() string
- func (x *Instance) GetName() string
- func (x *Instance) GetNetworks() []*Network
- func (x *Instance) GetState() Instance_State
- func (x *Instance) GetUpdateTime() *timestamppb.Timestamp
- func (*Instance) ProtoMessage()
- func (x *Instance) ProtoReflect() protoreflect.Message
- func (x *Instance) Reset()
- func (x *Instance) String() string
- type Instance_State
- func (Instance_State) Descriptor() protoreflect.EnumDescriptor
- func (x Instance_State) Enum() *Instance_State
- func (Instance_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Instance_State) Number() protoreflect.EnumNumber
- func (x Instance_State) String() string
- func (Instance_State) Type() protoreflect.EnumType
- type ListInstancesRequest
- func (*ListInstancesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInstancesRequest) GetPageSize() int32
- func (x *ListInstancesRequest) GetPageToken() string
- func (x *ListInstancesRequest) GetParent() string
- func (*ListInstancesRequest) ProtoMessage()
- func (x *ListInstancesRequest) ProtoReflect() protoreflect.Message
- func (x *ListInstancesRequest) Reset()
- func (x *ListInstancesRequest) String() string
- type ListInstancesResponse
- func (*ListInstancesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInstancesResponse) GetInstances() []*Instance
- func (x *ListInstancesResponse) GetNextPageToken() string
- func (x *ListInstancesResponse) GetUnreachable() []string
- func (*ListInstancesResponse) ProtoMessage()
- func (x *ListInstancesResponse) ProtoReflect() protoreflect.Message
- func (x *ListInstancesResponse) Reset()
- func (x *ListInstancesResponse) String() string
- type ListLunsRequest
- func (*ListLunsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListLunsRequest) GetPageSize() int32
- func (x *ListLunsRequest) GetPageToken() string
- func (x *ListLunsRequest) GetParent() string
- func (*ListLunsRequest) ProtoMessage()
- func (x *ListLunsRequest) ProtoReflect() protoreflect.Message
- func (x *ListLunsRequest) Reset()
- func (x *ListLunsRequest) String() string
- type ListLunsResponse
- func (*ListLunsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListLunsResponse) GetLuns() []*Lun
- func (x *ListLunsResponse) GetNextPageToken() string
- func (x *ListLunsResponse) GetUnreachable() []string
- func (*ListLunsResponse) ProtoMessage()
- func (x *ListLunsResponse) ProtoReflect() protoreflect.Message
- func (x *ListLunsResponse) Reset()
- func (x *ListLunsResponse) String() string
- type ListNetworksRequest
- func (*ListNetworksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNetworksRequest) GetPageSize() int32
- func (x *ListNetworksRequest) GetPageToken() string
- func (x *ListNetworksRequest) GetParent() string
- func (*ListNetworksRequest) ProtoMessage()
- func (x *ListNetworksRequest) ProtoReflect() protoreflect.Message
- func (x *ListNetworksRequest) Reset()
- func (x *ListNetworksRequest) String() string
- type ListNetworksResponse
- func (*ListNetworksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNetworksResponse) GetNetworks() []*Network
- func (x *ListNetworksResponse) GetNextPageToken() string
- func (x *ListNetworksResponse) GetUnreachable() []string
- func (*ListNetworksResponse) ProtoMessage()
- func (x *ListNetworksResponse) ProtoReflect() protoreflect.Message
- func (x *ListNetworksResponse) Reset()
- func (x *ListNetworksResponse) String() string
- type ListSnapshotSchedulePoliciesRequest
- func (*ListSnapshotSchedulePoliciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSnapshotSchedulePoliciesRequest) GetPageSize() int32
- func (x *ListSnapshotSchedulePoliciesRequest) GetPageToken() string
- func (x *ListSnapshotSchedulePoliciesRequest) GetParent() string
- func (*ListSnapshotSchedulePoliciesRequest) ProtoMessage()
- func (x *ListSnapshotSchedulePoliciesRequest) ProtoReflect() protoreflect.Message
- func (x *ListSnapshotSchedulePoliciesRequest) Reset()
- func (x *ListSnapshotSchedulePoliciesRequest) String() string
- type ListSnapshotSchedulePoliciesResponse
- func (*ListSnapshotSchedulePoliciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSnapshotSchedulePoliciesResponse) GetNextPageToken() string
- func (x *ListSnapshotSchedulePoliciesResponse) GetSnapshotSchedulePolicies() []*SnapshotSchedulePolicy
- func (*ListSnapshotSchedulePoliciesResponse) ProtoMessage()
- func (x *ListSnapshotSchedulePoliciesResponse) ProtoReflect() protoreflect.Message
- func (x *ListSnapshotSchedulePoliciesResponse) Reset()
- func (x *ListSnapshotSchedulePoliciesResponse) String() string
- type ListVolumeSnapshotsRequest
- func (*ListVolumeSnapshotsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListVolumeSnapshotsRequest) GetPageSize() int32
- func (x *ListVolumeSnapshotsRequest) GetPageToken() string
- func (x *ListVolumeSnapshotsRequest) GetParent() string
- func (*ListVolumeSnapshotsRequest) ProtoMessage()
- func (x *ListVolumeSnapshotsRequest) ProtoReflect() protoreflect.Message
- func (x *ListVolumeSnapshotsRequest) Reset()
- func (x *ListVolumeSnapshotsRequest) String() string
- type ListVolumeSnapshotsResponse
- func (*ListVolumeSnapshotsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListVolumeSnapshotsResponse) GetNextPageToken() string
- func (x *ListVolumeSnapshotsResponse) GetUnreachable() []string
- func (x *ListVolumeSnapshotsResponse) GetVolumeSnapshots() []*VolumeSnapshot
- func (*ListVolumeSnapshotsResponse) ProtoMessage()
- func (x *ListVolumeSnapshotsResponse) ProtoReflect() protoreflect.Message
- func (x *ListVolumeSnapshotsResponse) Reset()
- func (x *ListVolumeSnapshotsResponse) String() string
- type ListVolumesRequest
- func (*ListVolumesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListVolumesRequest) GetPageSize() int32
- func (x *ListVolumesRequest) GetPageToken() string
- func (x *ListVolumesRequest) GetParent() string
- func (*ListVolumesRequest) ProtoMessage()
- func (x *ListVolumesRequest) ProtoReflect() protoreflect.Message
- func (x *ListVolumesRequest) Reset()
- func (x *ListVolumesRequest) String() string
- type ListVolumesResponse
- func (*ListVolumesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListVolumesResponse) GetNextPageToken() string
- func (x *ListVolumesResponse) GetUnreachable() []string
- func (x *ListVolumesResponse) GetVolumes() []*Volume
- func (*ListVolumesResponse) ProtoMessage()
- func (x *ListVolumesResponse) ProtoReflect() protoreflect.Message
- func (x *ListVolumesResponse) Reset()
- func (x *ListVolumesResponse) String() string
- type Lun
- func (*Lun) Descriptor() ([]byte, []int)deprecated
- func (x *Lun) GetBootLun() bool
- func (x *Lun) GetMultiprotocolType() Lun_MultiprotocolType
- func (x *Lun) GetName() string
- func (x *Lun) GetShareable() bool
- func (x *Lun) GetSizeGb() int64
- func (x *Lun) GetState() Lun_State
- func (x *Lun) GetStorageType() Lun_StorageType
- func (x *Lun) GetStorageVolume() string
- func (x *Lun) GetWwid() string
- func (*Lun) ProtoMessage()
- func (x *Lun) ProtoReflect() protoreflect.Message
- func (x *Lun) Reset()
- func (x *Lun) String() string
- type Lun_MultiprotocolType
- func (Lun_MultiprotocolType) Descriptor() protoreflect.EnumDescriptor
- func (x Lun_MultiprotocolType) Enum() *Lun_MultiprotocolType
- func (Lun_MultiprotocolType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Lun_MultiprotocolType) Number() protoreflect.EnumNumber
- func (x Lun_MultiprotocolType) String() string
- func (Lun_MultiprotocolType) Type() protoreflect.EnumType
- type Lun_State
- type Lun_StorageType
- func (Lun_StorageType) Descriptor() protoreflect.EnumDescriptor
- func (x Lun_StorageType) Enum() *Lun_StorageType
- func (Lun_StorageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Lun_StorageType) Number() protoreflect.EnumNumber
- func (x Lun_StorageType) String() string
- func (Lun_StorageType) Type() protoreflect.EnumType
- type Network
- func (*Network) Descriptor() ([]byte, []int)deprecated
- func (x *Network) GetCidr() string
- func (x *Network) GetIpAddress() string
- func (x *Network) GetMacAddress() []string
- func (x *Network) GetName() string
- func (x *Network) GetNetwork() string
- func (x *Network) GetState() Network_State
- func (x *Network) GetType() Network_Type
- func (x *Network) GetVlanId() string
- func (x *Network) GetVrf() *VRF
- func (*Network) ProtoMessage()
- func (x *Network) ProtoReflect() protoreflect.Message
- func (x *Network) Reset()
- func (x *Network) String() string
- type Network_State
- func (Network_State) Descriptor() protoreflect.EnumDescriptor
- func (x Network_State) Enum() *Network_State
- func (Network_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Network_State) Number() protoreflect.EnumNumber
- func (x Network_State) String() string
- func (Network_State) Type() protoreflect.EnumType
- type Network_Type
- func (Network_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Network_Type) Enum() *Network_Type
- func (Network_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Network_Type) Number() protoreflect.EnumNumber
- func (x Network_Type) String() string
- func (Network_Type) Type() protoreflect.EnumType
- type OperationMetadata
- func (*OperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *OperationMetadata) GetApiVersion() string
- func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetRequestedCancellation() bool
- func (x *OperationMetadata) GetStatusMessage() string
- func (x *OperationMetadata) GetTarget() string
- func (x *OperationMetadata) GetVerb() string
- func (*OperationMetadata) ProtoMessage()
- func (x *OperationMetadata) ProtoReflect() protoreflect.Message
- func (x *OperationMetadata) Reset()
- func (x *OperationMetadata) String() string
- type ResetInstanceRequest
- func (*ResetInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetInstanceRequest) GetName() string
- func (*ResetInstanceRequest) ProtoMessage()
- func (x *ResetInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *ResetInstanceRequest) Reset()
- func (x *ResetInstanceRequest) String() string
- type ResetInstanceResponse
- type RestoreVolumeSnapshotRequest
- func (*RestoreVolumeSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreVolumeSnapshotRequest) GetVolumeSnapshot() string
- func (*RestoreVolumeSnapshotRequest) ProtoMessage()
- func (x *RestoreVolumeSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreVolumeSnapshotRequest) Reset()
- func (x *RestoreVolumeSnapshotRequest) String() string
- type SnapshotSchedulePolicy
- func (*SnapshotSchedulePolicy) Descriptor() ([]byte, []int)deprecated
- func (x *SnapshotSchedulePolicy) GetDescription() string
- func (x *SnapshotSchedulePolicy) GetName() string
- func (x *SnapshotSchedulePolicy) GetSchedules() []*SnapshotSchedulePolicy_Schedule
- func (*SnapshotSchedulePolicy) ProtoMessage()
- func (x *SnapshotSchedulePolicy) ProtoReflect() protoreflect.Message
- func (x *SnapshotSchedulePolicy) Reset()
- func (x *SnapshotSchedulePolicy) String() string
- type SnapshotSchedulePolicy_Schedule
- func (*SnapshotSchedulePolicy_Schedule) Descriptor() ([]byte, []int)deprecated
- func (x *SnapshotSchedulePolicy_Schedule) GetCrontabSpec() string
- func (x *SnapshotSchedulePolicy_Schedule) GetPrefix() string
- func (x *SnapshotSchedulePolicy_Schedule) GetRetentionCount() int32
- func (*SnapshotSchedulePolicy_Schedule) ProtoMessage()
- func (x *SnapshotSchedulePolicy_Schedule) ProtoReflect() protoreflect.Message
- func (x *SnapshotSchedulePolicy_Schedule) Reset()
- func (x *SnapshotSchedulePolicy_Schedule) String() string
- type UnimplementedBareMetalSolutionServer
- func (*UnimplementedBareMetalSolutionServer) CreateSnapshotSchedulePolicy(context.Context, *CreateSnapshotSchedulePolicyRequest) (*SnapshotSchedulePolicy, error)
- func (*UnimplementedBareMetalSolutionServer) CreateVolumeSnapshot(context.Context, *CreateVolumeSnapshotRequest) (*VolumeSnapshot, error)
- func (*UnimplementedBareMetalSolutionServer) DeleteSnapshotSchedulePolicy(context.Context, *DeleteSnapshotSchedulePolicyRequest) (*emptypb.Empty, error)
- func (*UnimplementedBareMetalSolutionServer) DeleteVolumeSnapshot(context.Context, *DeleteVolumeSnapshotRequest) (*emptypb.Empty, error)
- func (*UnimplementedBareMetalSolutionServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
- func (*UnimplementedBareMetalSolutionServer) GetLun(context.Context, *GetLunRequest) (*Lun, error)
- func (*UnimplementedBareMetalSolutionServer) GetNetwork(context.Context, *GetNetworkRequest) (*Network, error)
- func (*UnimplementedBareMetalSolutionServer) GetSnapshotSchedulePolicy(context.Context, *GetSnapshotSchedulePolicyRequest) (*SnapshotSchedulePolicy, error)
- func (*UnimplementedBareMetalSolutionServer) GetVolume(context.Context, *GetVolumeRequest) (*Volume, error)
- func (*UnimplementedBareMetalSolutionServer) GetVolumeSnapshot(context.Context, *GetVolumeSnapshotRequest) (*VolumeSnapshot, error)
- func (*UnimplementedBareMetalSolutionServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
- func (*UnimplementedBareMetalSolutionServer) ListLuns(context.Context, *ListLunsRequest) (*ListLunsResponse, error)
- func (*UnimplementedBareMetalSolutionServer) ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error)
- func (*UnimplementedBareMetalSolutionServer) ListSnapshotSchedulePolicies(context.Context, *ListSnapshotSchedulePoliciesRequest) (*ListSnapshotSchedulePoliciesResponse, error)
- func (*UnimplementedBareMetalSolutionServer) ListVolumeSnapshots(context.Context, *ListVolumeSnapshotsRequest) (*ListVolumeSnapshotsResponse, error)
- func (*UnimplementedBareMetalSolutionServer) ListVolumes(context.Context, *ListVolumesRequest) (*ListVolumesResponse, error)
- func (*UnimplementedBareMetalSolutionServer) ResetInstance(context.Context, *ResetInstanceRequest) (*longrunning.Operation, error)
- func (*UnimplementedBareMetalSolutionServer) RestoreVolumeSnapshot(context.Context, *RestoreVolumeSnapshotRequest) (*longrunning.Operation, error)
- func (*UnimplementedBareMetalSolutionServer) UpdateSnapshotSchedulePolicy(context.Context, *UpdateSnapshotSchedulePolicyRequest) (*SnapshotSchedulePolicy, error)
- func (*UnimplementedBareMetalSolutionServer) UpdateVolume(context.Context, *UpdateVolumeRequest) (*longrunning.Operation, error)
- type UpdateSnapshotSchedulePolicyRequest
- func (*UpdateSnapshotSchedulePolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSnapshotSchedulePolicyRequest) GetSnapshotSchedulePolicy() *SnapshotSchedulePolicy
- func (x *UpdateSnapshotSchedulePolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateSnapshotSchedulePolicyRequest) ProtoMessage()
- func (x *UpdateSnapshotSchedulePolicyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSnapshotSchedulePolicyRequest) Reset()
- func (x *UpdateSnapshotSchedulePolicyRequest) String() string
- type UpdateVolumeRequest
- func (*UpdateVolumeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateVolumeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateVolumeRequest) GetVolume() *Volume
- func (*UpdateVolumeRequest) ProtoMessage()
- func (x *UpdateVolumeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateVolumeRequest) Reset()
- func (x *UpdateVolumeRequest) String() string
- type VRF
- func (*VRF) Descriptor() ([]byte, []int)deprecated
- func (x *VRF) GetName() string
- func (x *VRF) GetQosPolicy() *VRF_QosPolicy
- func (x *VRF) GetState() VRF_State
- func (x *VRF) GetVlanAttachments() []*VRF_VlanAttachment
- func (*VRF) ProtoMessage()
- func (x *VRF) ProtoReflect() protoreflect.Message
- func (x *VRF) Reset()
- func (x *VRF) String() string
- type VRF_QosPolicy
- type VRF_State
- type VRF_VlanAttachment
- func (*VRF_VlanAttachment) Descriptor() ([]byte, []int)deprecated
- func (x *VRF_VlanAttachment) GetPeerIp() string
- func (x *VRF_VlanAttachment) GetPeerVlanId() int64
- func (x *VRF_VlanAttachment) GetRouterIp() string
- func (*VRF_VlanAttachment) ProtoMessage()
- func (x *VRF_VlanAttachment) ProtoReflect() protoreflect.Message
- func (x *VRF_VlanAttachment) Reset()
- func (x *VRF_VlanAttachment) String() string
- type Volume
- func (*Volume) Descriptor() ([]byte, []int)deprecated
- func (x *Volume) GetAutoGrownSizeGib() int64
- func (x *Volume) GetCurrentSizeGib() int64
- func (x *Volume) GetName() string
- func (x *Volume) GetRemainingSpaceGib() int64
- func (x *Volume) GetRequestedSizeGib() int64
- func (x *Volume) GetSnapshotAutoDeleteBehavior() Volume_SnapshotAutoDeleteBehavior
- func (x *Volume) GetSnapshotReservationDetail() *Volume_SnapshotReservationDetail
- func (x *Volume) GetSnapshotSchedulePolicy() string
- func (x *Volume) GetState() Volume_State
- func (x *Volume) GetStorageType() Volume_StorageType
- func (*Volume) ProtoMessage()
- func (x *Volume) ProtoReflect() protoreflect.Message
- func (x *Volume) Reset()
- func (x *Volume) String() string
- type VolumeSnapshot
- func (*VolumeSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeSnapshot) GetCreateTime() *timestamppb.Timestamp
- func (x *VolumeSnapshot) GetDescription() string
- func (x *VolumeSnapshot) GetName() string
- func (x *VolumeSnapshot) GetSizeBytes() int64
- func (x *VolumeSnapshot) GetStorageVolume() string
- func (*VolumeSnapshot) ProtoMessage()
- func (x *VolumeSnapshot) ProtoReflect() protoreflect.Message
- func (x *VolumeSnapshot) Reset()
- func (x *VolumeSnapshot) String() string
- type Volume_SnapshotAutoDeleteBehavior
- func (Volume_SnapshotAutoDeleteBehavior) Descriptor() protoreflect.EnumDescriptor
- func (x Volume_SnapshotAutoDeleteBehavior) Enum() *Volume_SnapshotAutoDeleteBehavior
- func (Volume_SnapshotAutoDeleteBehavior) EnumDescriptor() ([]byte, []int)deprecated
- func (x Volume_SnapshotAutoDeleteBehavior) Number() protoreflect.EnumNumber
- func (x Volume_SnapshotAutoDeleteBehavior) String() string
- func (Volume_SnapshotAutoDeleteBehavior) Type() protoreflect.EnumType
- type Volume_SnapshotReservationDetail
- func (*Volume_SnapshotReservationDetail) Descriptor() ([]byte, []int)deprecated
- func (x *Volume_SnapshotReservationDetail) GetReservedSpaceGib() int64
- func (x *Volume_SnapshotReservationDetail) GetReservedSpaceRemainingGib() int64
- func (x *Volume_SnapshotReservationDetail) GetReservedSpaceUsedPercent() int32
- func (*Volume_SnapshotReservationDetail) ProtoMessage()
- func (x *Volume_SnapshotReservationDetail) ProtoReflect() protoreflect.Message
- func (x *Volume_SnapshotReservationDetail) Reset()
- func (x *Volume_SnapshotReservationDetail) String() string
- type Volume_State
- func (Volume_State) Descriptor() protoreflect.EnumDescriptor
- func (x Volume_State) Enum() *Volume_State
- func (Volume_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Volume_State) Number() protoreflect.EnumNumber
- func (x Volume_State) String() string
- func (Volume_State) Type() protoreflect.EnumType
- type Volume_StorageType
- func (Volume_StorageType) Descriptor() protoreflect.EnumDescriptor
- func (x Volume_StorageType) Enum() *Volume_StorageType
- func (Volume_StorageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Volume_StorageType) Number() protoreflect.EnumNumber
- func (x Volume_StorageType) String() string
- func (Volume_StorageType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( Volume_StorageType_name = map[int32]string{ 0: "STORAGE_TYPE_UNSPECIFIED", 1: "SSD", 2: "HDD", } Volume_StorageType_value = map[string]int32{ "STORAGE_TYPE_UNSPECIFIED": 0, "SSD": 1, "HDD": 2, } )
Enum value maps for Volume_StorageType.
var ( Volume_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "READY", 3: "DELETING", } Volume_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "READY": 2, "DELETING": 3, } )
Enum value maps for Volume_State.
var ( Volume_SnapshotAutoDeleteBehavior_name = map[int32]string{ 0: "SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED", 1: "DISABLED", 2: "OLDEST_FIRST", 3: "NEWEST_FIRST", } Volume_SnapshotAutoDeleteBehavior_value = map[string]int32{ "SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED": 0, "DISABLED": 1, "OLDEST_FIRST": 2, "NEWEST_FIRST": 3, } )
Enum value maps for Volume_SnapshotAutoDeleteBehavior.
var ( Lun_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "UPDATING", 3: "READY", 4: "DELETING", } Lun_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "UPDATING": 2, "READY": 3, "DELETING": 4, } )
Enum value maps for Lun_State.
var ( Lun_MultiprotocolType_name = map[int32]string{ 0: "MULTIPROTOCOL_TYPE_UNSPECIFIED", 1: "LINUX", } Lun_MultiprotocolType_value = map[string]int32{ "MULTIPROTOCOL_TYPE_UNSPECIFIED": 0, "LINUX": 1, } )
Enum value maps for Lun_MultiprotocolType.
var ( Lun_StorageType_name = map[int32]string{ 0: "STORAGE_TYPE_UNSPECIFIED", 1: "SSD", 2: "HDD", } Lun_StorageType_value = map[string]int32{ "STORAGE_TYPE_UNSPECIFIED": 0, "SSD": 1, "HDD": 2, } )
Enum value maps for Lun_StorageType.
var ( Network_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "CLIENT", 2: "PRIVATE", } Network_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "CLIENT": 1, "PRIVATE": 2, } )
Enum value maps for Network_Type.
var ( Network_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "PROVISIONING", 2: "PROVISIONED", } Network_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "PROVISIONING": 1, "PROVISIONED": 2, } )
Enum value maps for Network_State.
var ( VRF_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "PROVISIONING", 2: "PROVISIONED", } VRF_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "PROVISIONING": 1, "PROVISIONED": 2, } )
Enum value maps for VRF_State.
var ( Instance_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "PROVISIONING", 2: "RUNNING", 3: "DELETED", } Instance_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "PROVISIONING": 1, "RUNNING": 2, "DELETED": 3, } )
Enum value maps for Instance_State.
var File_google_cloud_baremetalsolution_v2_baremetalsolution_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBareMetalSolutionServer ¶
func RegisterBareMetalSolutionServer(s *grpc.Server, srv BareMetalSolutionServer)
Types ¶
type BareMetalSolutionClient ¶
type BareMetalSolutionClient interface { // List servers in a given project and location. ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) // Get details about a single server. GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) // Perform an ungraceful, hard reset on a server. Equivalent to shutting the // power off and then turning it back on. ResetInstance(ctx context.Context, in *ResetInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // List storage volumes in a given project and location. ListVolumes(ctx context.Context, in *ListVolumesRequest, opts ...grpc.CallOption) (*ListVolumesResponse, error) // Get details of a single storage volume. GetVolume(ctx context.Context, in *GetVolumeRequest, opts ...grpc.CallOption) (*Volume, error) // Update details of a single storage volume. UpdateVolume(ctx context.Context, in *UpdateVolumeRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // List network in a given project and location. ListNetworks(ctx context.Context, in *ListNetworksRequest, opts ...grpc.CallOption) (*ListNetworksResponse, error) // Get details of a single network. GetNetwork(ctx context.Context, in *GetNetworkRequest, opts ...grpc.CallOption) (*Network, error) // List snapshot schedule policies in a given project and location. ListSnapshotSchedulePolicies(ctx context.Context, in *ListSnapshotSchedulePoliciesRequest, opts ...grpc.CallOption) (*ListSnapshotSchedulePoliciesResponse, error) // Get details of a single snapshot schedule policy. GetSnapshotSchedulePolicy(ctx context.Context, in *GetSnapshotSchedulePolicyRequest, opts ...grpc.CallOption) (*SnapshotSchedulePolicy, error) // Create a snapshot schedule policy in the specified project. CreateSnapshotSchedulePolicy(ctx context.Context, in *CreateSnapshotSchedulePolicyRequest, opts ...grpc.CallOption) (*SnapshotSchedulePolicy, error) // Update a snapshot schedule policy in the specified project. UpdateSnapshotSchedulePolicy(ctx context.Context, in *UpdateSnapshotSchedulePolicyRequest, opts ...grpc.CallOption) (*SnapshotSchedulePolicy, error) // Delete a named snapshot schedule policy. DeleteSnapshotSchedulePolicy(ctx context.Context, in *DeleteSnapshotSchedulePolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Create a storage volume snapshot in a containing volume. CreateVolumeSnapshot(ctx context.Context, in *CreateVolumeSnapshotRequest, opts ...grpc.CallOption) (*VolumeSnapshot, error) // Restore a storage volume snapshot to its containing volume. RestoreVolumeSnapshot(ctx context.Context, in *RestoreVolumeSnapshotRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Deletes a storage volume snapshot for a given volume. DeleteVolumeSnapshot(ctx context.Context, in *DeleteVolumeSnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Get details of a single storage volume snapshot. GetVolumeSnapshot(ctx context.Context, in *GetVolumeSnapshotRequest, opts ...grpc.CallOption) (*VolumeSnapshot, error) // List storage volume snapshots for given storage volume. ListVolumeSnapshots(ctx context.Context, in *ListVolumeSnapshotsRequest, opts ...grpc.CallOption) (*ListVolumeSnapshotsResponse, error) // Get details of a single storage logical unit number(LUN). GetLun(ctx context.Context, in *GetLunRequest, opts ...grpc.CallOption) (*Lun, error) // List storage volume luns for given storage volume. ListLuns(ctx context.Context, in *ListLunsRequest, opts ...grpc.CallOption) (*ListLunsResponse, error) }
BareMetalSolutionClient is the client API for BareMetalSolution service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBareMetalSolutionClient ¶
func NewBareMetalSolutionClient(cc grpc.ClientConnInterface) BareMetalSolutionClient
type BareMetalSolutionServer ¶
type BareMetalSolutionServer interface { // List servers in a given project and location. ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error) // Get details about a single server. GetInstance(context.Context, *GetInstanceRequest) (*Instance, error) // Perform an ungraceful, hard reset on a server. Equivalent to shutting the // power off and then turning it back on. ResetInstance(context.Context, *ResetInstanceRequest) (*longrunning.Operation, error) // List storage volumes in a given project and location. ListVolumes(context.Context, *ListVolumesRequest) (*ListVolumesResponse, error) // Get details of a single storage volume. GetVolume(context.Context, *GetVolumeRequest) (*Volume, error) // Update details of a single storage volume. UpdateVolume(context.Context, *UpdateVolumeRequest) (*longrunning.Operation, error) // List network in a given project and location. ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error) // Get details of a single network. GetNetwork(context.Context, *GetNetworkRequest) (*Network, error) // List snapshot schedule policies in a given project and location. ListSnapshotSchedulePolicies(context.Context, *ListSnapshotSchedulePoliciesRequest) (*ListSnapshotSchedulePoliciesResponse, error) // Get details of a single snapshot schedule policy. GetSnapshotSchedulePolicy(context.Context, *GetSnapshotSchedulePolicyRequest) (*SnapshotSchedulePolicy, error) // Create a snapshot schedule policy in the specified project. CreateSnapshotSchedulePolicy(context.Context, *CreateSnapshotSchedulePolicyRequest) (*SnapshotSchedulePolicy, error) // Update a snapshot schedule policy in the specified project. UpdateSnapshotSchedulePolicy(context.Context, *UpdateSnapshotSchedulePolicyRequest) (*SnapshotSchedulePolicy, error) // Delete a named snapshot schedule policy. DeleteSnapshotSchedulePolicy(context.Context, *DeleteSnapshotSchedulePolicyRequest) (*emptypb.Empty, error) // Create a storage volume snapshot in a containing volume. CreateVolumeSnapshot(context.Context, *CreateVolumeSnapshotRequest) (*VolumeSnapshot, error) // Restore a storage volume snapshot to its containing volume. RestoreVolumeSnapshot(context.Context, *RestoreVolumeSnapshotRequest) (*longrunning.Operation, error) // Deletes a storage volume snapshot for a given volume. DeleteVolumeSnapshot(context.Context, *DeleteVolumeSnapshotRequest) (*emptypb.Empty, error) // Get details of a single storage volume snapshot. GetVolumeSnapshot(context.Context, *GetVolumeSnapshotRequest) (*VolumeSnapshot, error) // List storage volume snapshots for given storage volume. ListVolumeSnapshots(context.Context, *ListVolumeSnapshotsRequest) (*ListVolumeSnapshotsResponse, error) // Get details of a single storage logical unit number(LUN). GetLun(context.Context, *GetLunRequest) (*Lun, error) // List storage volume luns for given storage volume. ListLuns(context.Context, *ListLunsRequest) (*ListLunsResponse, error) }
BareMetalSolutionServer is the server API for BareMetalSolution service.
type CreateSnapshotSchedulePolicyRequest ¶
type CreateSnapshotSchedulePolicyRequest struct { // Required. The parent project and location containing the SnapshotSchedulePolicy. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The SnapshotSchedulePolicy to create. SnapshotSchedulePolicy *SnapshotSchedulePolicy `` /* 129-byte string literal not displayed */ // Required. Snapshot policy ID SnapshotSchedulePolicyId string `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
Message for creating a snapshot schedule policy in a project.
func (*CreateSnapshotSchedulePolicyRequest) Descriptor
deprecated
func (*CreateSnapshotSchedulePolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSnapshotSchedulePolicyRequest.ProtoReflect.Descriptor instead.
func (*CreateSnapshotSchedulePolicyRequest) GetParent ¶
func (x *CreateSnapshotSchedulePolicyRequest) GetParent() string
func (*CreateSnapshotSchedulePolicyRequest) GetSnapshotSchedulePolicy ¶
func (x *CreateSnapshotSchedulePolicyRequest) GetSnapshotSchedulePolicy() *SnapshotSchedulePolicy
func (*CreateSnapshotSchedulePolicyRequest) GetSnapshotSchedulePolicyId ¶
func (x *CreateSnapshotSchedulePolicyRequest) GetSnapshotSchedulePolicyId() string
func (*CreateSnapshotSchedulePolicyRequest) ProtoMessage ¶
func (*CreateSnapshotSchedulePolicyRequest) ProtoMessage()
func (*CreateSnapshotSchedulePolicyRequest) ProtoReflect ¶
func (x *CreateSnapshotSchedulePolicyRequest) ProtoReflect() protoreflect.Message
func (*CreateSnapshotSchedulePolicyRequest) Reset ¶
func (x *CreateSnapshotSchedulePolicyRequest) Reset()
func (*CreateSnapshotSchedulePolicyRequest) String ¶
func (x *CreateSnapshotSchedulePolicyRequest) String() string
type CreateVolumeSnapshotRequest ¶
type CreateVolumeSnapshotRequest struct { // Required. The volume to snapshot. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The volume snapshot to create. Only the description field may be specified. VolumeSnapshot *VolumeSnapshot `protobuf:"bytes,2,opt,name=volume_snapshot,json=volumeSnapshot,proto3" json:"volume_snapshot,omitempty"` // contains filtered or unexported fields }
Message for creating a volume snapshot.
func (*CreateVolumeSnapshotRequest) Descriptor
deprecated
func (*CreateVolumeSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVolumeSnapshotRequest.ProtoReflect.Descriptor instead.
func (*CreateVolumeSnapshotRequest) GetParent ¶
func (x *CreateVolumeSnapshotRequest) GetParent() string
func (*CreateVolumeSnapshotRequest) GetVolumeSnapshot ¶
func (x *CreateVolumeSnapshotRequest) GetVolumeSnapshot() *VolumeSnapshot
func (*CreateVolumeSnapshotRequest) ProtoMessage ¶
func (*CreateVolumeSnapshotRequest) ProtoMessage()
func (*CreateVolumeSnapshotRequest) ProtoReflect ¶
func (x *CreateVolumeSnapshotRequest) ProtoReflect() protoreflect.Message
func (*CreateVolumeSnapshotRequest) Reset ¶
func (x *CreateVolumeSnapshotRequest) Reset()
func (*CreateVolumeSnapshotRequest) String ¶
func (x *CreateVolumeSnapshotRequest) String() string
type DeleteSnapshotSchedulePolicyRequest ¶
type DeleteSnapshotSchedulePolicyRequest struct { // Required. The name of the snapshot schedule policy to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Message for deleting a snapshot schedule policy in a project.
func (*DeleteSnapshotSchedulePolicyRequest) Descriptor
deprecated
func (*DeleteSnapshotSchedulePolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSnapshotSchedulePolicyRequest.ProtoReflect.Descriptor instead.
func (*DeleteSnapshotSchedulePolicyRequest) GetName ¶
func (x *DeleteSnapshotSchedulePolicyRequest) GetName() string
func (*DeleteSnapshotSchedulePolicyRequest) ProtoMessage ¶
func (*DeleteSnapshotSchedulePolicyRequest) ProtoMessage()
func (*DeleteSnapshotSchedulePolicyRequest) ProtoReflect ¶
func (x *DeleteSnapshotSchedulePolicyRequest) ProtoReflect() protoreflect.Message
func (*DeleteSnapshotSchedulePolicyRequest) Reset ¶
func (x *DeleteSnapshotSchedulePolicyRequest) Reset()
func (*DeleteSnapshotSchedulePolicyRequest) String ¶
func (x *DeleteSnapshotSchedulePolicyRequest) String() string
type DeleteVolumeSnapshotRequest ¶
type DeleteVolumeSnapshotRequest struct { // Required. The name of the snapshot to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Message for deleting named Volume snapshot.
func (*DeleteVolumeSnapshotRequest) Descriptor
deprecated
func (*DeleteVolumeSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVolumeSnapshotRequest.ProtoReflect.Descriptor instead.
func (*DeleteVolumeSnapshotRequest) GetName ¶
func (x *DeleteVolumeSnapshotRequest) GetName() string
func (*DeleteVolumeSnapshotRequest) ProtoMessage ¶
func (*DeleteVolumeSnapshotRequest) ProtoMessage()
func (*DeleteVolumeSnapshotRequest) ProtoReflect ¶
func (x *DeleteVolumeSnapshotRequest) ProtoReflect() protoreflect.Message
func (*DeleteVolumeSnapshotRequest) Reset ¶
func (x *DeleteVolumeSnapshotRequest) Reset()
func (*DeleteVolumeSnapshotRequest) String ¶
func (x *DeleteVolumeSnapshotRequest) String() string
type GetInstanceRequest ¶
type GetInstanceRequest struct { // Required. Name of the resource. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Message for requesting server information.
func (*GetInstanceRequest) Descriptor
deprecated
func (*GetInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.
func (*GetInstanceRequest) GetName ¶
func (x *GetInstanceRequest) GetName() string
func (*GetInstanceRequest) ProtoMessage ¶
func (*GetInstanceRequest) ProtoMessage()
func (*GetInstanceRequest) ProtoReflect ¶
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message
func (*GetInstanceRequest) Reset ¶
func (x *GetInstanceRequest) Reset()
func (*GetInstanceRequest) String ¶
func (x *GetInstanceRequest) String() string
type GetLunRequest ¶
type GetLunRequest struct { // Required. Name of the resource. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Message for requesting storage lun information.
func (*GetLunRequest) Descriptor
deprecated
func (*GetLunRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLunRequest.ProtoReflect.Descriptor instead.
func (*GetLunRequest) GetName ¶
func (x *GetLunRequest) GetName() string
func (*GetLunRequest) ProtoMessage ¶
func (*GetLunRequest) ProtoMessage()
func (*GetLunRequest) ProtoReflect ¶
func (x *GetLunRequest) ProtoReflect() protoreflect.Message
func (*GetLunRequest) Reset ¶
func (x *GetLunRequest) Reset()
func (*GetLunRequest) String ¶
func (x *GetLunRequest) String() string
type GetNetworkRequest ¶
type GetNetworkRequest struct { // Required. Name of the resource. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Message for requesting network information.
func (*GetNetworkRequest) Descriptor
deprecated
func (*GetNetworkRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNetworkRequest.ProtoReflect.Descriptor instead.
func (*GetNetworkRequest) GetName ¶
func (x *GetNetworkRequest) GetName() string
func (*GetNetworkRequest) ProtoMessage ¶
func (*GetNetworkRequest) ProtoMessage()
func (*GetNetworkRequest) ProtoReflect ¶
func (x *GetNetworkRequest) ProtoReflect() protoreflect.Message
func (*GetNetworkRequest) Reset ¶
func (x *GetNetworkRequest) Reset()
func (*GetNetworkRequest) String ¶
func (x *GetNetworkRequest) String() string
type GetSnapshotSchedulePolicyRequest ¶
type GetSnapshotSchedulePolicyRequest struct { // Required. Name of the resource. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Message for requesting snapshot schedule policy information.
func (*GetSnapshotSchedulePolicyRequest) Descriptor
deprecated
func (*GetSnapshotSchedulePolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSnapshotSchedulePolicyRequest.ProtoReflect.Descriptor instead.
func (*GetSnapshotSchedulePolicyRequest) GetName ¶
func (x *GetSnapshotSchedulePolicyRequest) GetName() string
func (*GetSnapshotSchedulePolicyRequest) ProtoMessage ¶
func (*GetSnapshotSchedulePolicyRequest) ProtoMessage()
func (*GetSnapshotSchedulePolicyRequest) ProtoReflect ¶
func (x *GetSnapshotSchedulePolicyRequest) ProtoReflect() protoreflect.Message
func (*GetSnapshotSchedulePolicyRequest) Reset ¶
func (x *GetSnapshotSchedulePolicyRequest) Reset()
func (*GetSnapshotSchedulePolicyRequest) String ¶
func (x *GetSnapshotSchedulePolicyRequest) String() string
type GetVolumeRequest ¶
type GetVolumeRequest struct { // Required. Name of the resource. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Message for requesting storage volume information.
func (*GetVolumeRequest) Descriptor
deprecated
func (*GetVolumeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVolumeRequest.ProtoReflect.Descriptor instead.
func (*GetVolumeRequest) GetName ¶
func (x *GetVolumeRequest) GetName() string
func (*GetVolumeRequest) ProtoMessage ¶
func (*GetVolumeRequest) ProtoMessage()
func (*GetVolumeRequest) ProtoReflect ¶
func (x *GetVolumeRequest) ProtoReflect() protoreflect.Message
func (*GetVolumeRequest) Reset ¶
func (x *GetVolumeRequest) Reset()
func (*GetVolumeRequest) String ¶
func (x *GetVolumeRequest) String() string
type GetVolumeSnapshotRequest ¶
type GetVolumeSnapshotRequest struct { // Required. Name of the resource. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Message for requesting storage volume snapshot information.
func (*GetVolumeSnapshotRequest) Descriptor
deprecated
func (*GetVolumeSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVolumeSnapshotRequest.ProtoReflect.Descriptor instead.
func (*GetVolumeSnapshotRequest) GetName ¶
func (x *GetVolumeSnapshotRequest) GetName() string
func (*GetVolumeSnapshotRequest) ProtoMessage ¶
func (*GetVolumeSnapshotRequest) ProtoMessage()
func (*GetVolumeSnapshotRequest) ProtoReflect ¶
func (x *GetVolumeSnapshotRequest) ProtoReflect() protoreflect.Message
func (*GetVolumeSnapshotRequest) Reset ¶
func (x *GetVolumeSnapshotRequest) Reset()
func (*GetVolumeSnapshotRequest) String ¶
func (x *GetVolumeSnapshotRequest) String() string
type Instance ¶
type Instance struct { // Output only. The resource name of this `Instance`. // Resource names are schemeless URIs that follow the conventions in // https://cloud.google.com/apis/design/resource_names. // Format: // `projects/{project}/locations/{location}/instances/{instance}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Create a time stamp. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Update a time stamp. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The server type. // [Available server // types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations) MachineType string `protobuf:"bytes,4,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"` // The state of the server. State Instance_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.Instance_State" json:"state,omitempty"` // True if you enable hyperthreading for the server, otherwise false. // The default value is false. HyperthreadingEnabled bool `protobuf:"varint,6,opt,name=hyperthreading_enabled,json=hyperthreadingEnabled,proto3" json:"hyperthreading_enabled,omitempty"` // Labels as key value pairs. Labels map[string]string `` /* 153-byte string literal not displayed */ // List of LUNs associated with this server. Luns []*Lun `protobuf:"bytes,8,rep,name=luns,proto3" json:"luns,omitempty"` // List of networks associated with this server. Networks []*Network `protobuf:"bytes,9,rep,name=networks,proto3" json:"networks,omitempty"` // True if the interactive serial console feature is enabled for the instance, // false otherwise. // The default value is false. InteractiveSerialConsoleEnabled bool `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
A server.
func (*Instance) Descriptor
deprecated
func (*Instance) GetCreateTime ¶
func (x *Instance) GetCreateTime() *timestamppb.Timestamp
func (*Instance) GetHyperthreadingEnabled ¶
func (*Instance) GetInteractiveSerialConsoleEnabled ¶
func (*Instance) GetMachineType ¶
func (*Instance) GetNetworks ¶
func (*Instance) GetState ¶
func (x *Instance) GetState() Instance_State
func (*Instance) GetUpdateTime ¶
func (x *Instance) GetUpdateTime() *timestamppb.Timestamp
func (*Instance) ProtoMessage ¶
func (*Instance) ProtoMessage()
func (*Instance) ProtoReflect ¶
func (x *Instance) ProtoReflect() protoreflect.Message
type Instance_State ¶
type Instance_State int32
The possible states for this server.
const ( // The server is in an unknown state. Instance_STATE_UNSPECIFIED Instance_State = 0 // The server is being provisioned. Instance_PROVISIONING Instance_State = 1 // The server is running. Instance_RUNNING Instance_State = 2 // The server has been deleted. Instance_DELETED Instance_State = 3 )
func (Instance_State) Descriptor ¶
func (Instance_State) Descriptor() protoreflect.EnumDescriptor
func (Instance_State) Enum ¶
func (x Instance_State) Enum() *Instance_State
func (Instance_State) EnumDescriptor
deprecated
func (Instance_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_State.Descriptor instead.
func (Instance_State) Number ¶
func (x Instance_State) Number() protoreflect.EnumNumber
func (Instance_State) String ¶
func (x Instance_State) String() string
func (Instance_State) Type ¶
func (Instance_State) Type() protoreflect.EnumType
type ListInstancesRequest ¶
type ListInstancesRequest struct { // Required. Parent value for ListInstancesRequest. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Requested page size. Server may return fewer items than requested. // If unspecified, the server will pick an appropriate default. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A token identifying a page of results from the server. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Message for requesting the list of servers.
func (*ListInstancesRequest) Descriptor
deprecated
func (*ListInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.
func (*ListInstancesRequest) GetPageSize ¶
func (x *ListInstancesRequest) GetPageSize() int32
func (*ListInstancesRequest) GetPageToken ¶
func (x *ListInstancesRequest) GetPageToken() string
func (*ListInstancesRequest) GetParent ¶
func (x *ListInstancesRequest) GetParent() string
func (*ListInstancesRequest) ProtoMessage ¶
func (*ListInstancesRequest) ProtoMessage()
func (*ListInstancesRequest) ProtoReflect ¶
func (x *ListInstancesRequest) ProtoReflect() protoreflect.Message
func (*ListInstancesRequest) Reset ¶
func (x *ListInstancesRequest) Reset()
func (*ListInstancesRequest) String ¶
func (x *ListInstancesRequest) String() string
type ListInstancesResponse ¶
type ListInstancesResponse struct { // The list of servers. Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` // A token identifying a page of results from the server. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // Locations that could not be reached. Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` // contains filtered or unexported fields }
Response message for the list of servers.
func (*ListInstancesResponse) Descriptor
deprecated
func (*ListInstancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.
func (*ListInstancesResponse) GetInstances ¶
func (x *ListInstancesResponse) GetInstances() []*Instance
func (*ListInstancesResponse) GetNextPageToken ¶
func (x *ListInstancesResponse) GetNextPageToken() string
func (*ListInstancesResponse) GetUnreachable ¶
func (x *ListInstancesResponse) GetUnreachable() []string
func (*ListInstancesResponse) ProtoMessage ¶
func (*ListInstancesResponse) ProtoMessage()
func (*ListInstancesResponse) ProtoReflect ¶
func (x *ListInstancesResponse) ProtoReflect() protoreflect.Message
func (*ListInstancesResponse) Reset ¶
func (x *ListInstancesResponse) Reset()
func (*ListInstancesResponse) String ¶
func (x *ListInstancesResponse) String() string
type ListLunsRequest ¶
type ListLunsRequest struct { // Required. Parent value for ListLunsRequest. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Requested page size. The server might return fewer items than requested. // If unspecified, server will pick an appropriate default. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A token identifying a page of results from the server. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Message for requesting a list of storage volume luns.
func (*ListLunsRequest) Descriptor
deprecated
func (*ListLunsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLunsRequest.ProtoReflect.Descriptor instead.
func (*ListLunsRequest) GetPageSize ¶
func (x *ListLunsRequest) GetPageSize() int32
func (*ListLunsRequest) GetPageToken ¶
func (x *ListLunsRequest) GetPageToken() string
func (*ListLunsRequest) GetParent ¶
func (x *ListLunsRequest) GetParent() string
func (*ListLunsRequest) ProtoMessage ¶
func (*ListLunsRequest) ProtoMessage()
func (*ListLunsRequest) ProtoReflect ¶
func (x *ListLunsRequest) ProtoReflect() protoreflect.Message
func (*ListLunsRequest) Reset ¶
func (x *ListLunsRequest) Reset()
func (*ListLunsRequest) String ¶
func (x *ListLunsRequest) String() string
type ListLunsResponse ¶
type ListLunsResponse struct { // The list of luns. Luns []*Lun `protobuf:"bytes,1,rep,name=luns,proto3" json:"luns,omitempty"` // A token identifying a page of results from the server. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // Locations that could not be reached. Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` // contains filtered or unexported fields }
Response message containing the list of storage volume luns.
func (*ListLunsResponse) Descriptor
deprecated
func (*ListLunsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListLunsResponse.ProtoReflect.Descriptor instead.
func (*ListLunsResponse) GetLuns ¶
func (x *ListLunsResponse) GetLuns() []*Lun
func (*ListLunsResponse) GetNextPageToken ¶
func (x *ListLunsResponse) GetNextPageToken() string
func (*ListLunsResponse) GetUnreachable ¶
func (x *ListLunsResponse) GetUnreachable() []string
func (*ListLunsResponse) ProtoMessage ¶
func (*ListLunsResponse) ProtoMessage()
func (*ListLunsResponse) ProtoReflect ¶
func (x *ListLunsResponse) ProtoReflect() protoreflect.Message
func (*ListLunsResponse) Reset ¶
func (x *ListLunsResponse) Reset()
func (*ListLunsResponse) String ¶
func (x *ListLunsResponse) String() string
type ListNetworksRequest ¶
type ListNetworksRequest struct { // Required. Parent value for ListNetworksRequest. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Requested page size. The server might return fewer items than requested. // If unspecified, server will pick an appropriate default. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A token identifying a page of results from the server. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Message for requesting a list of networks.
func (*ListNetworksRequest) Descriptor
deprecated
func (*ListNetworksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNetworksRequest.ProtoReflect.Descriptor instead.
func (*ListNetworksRequest) GetPageSize ¶
func (x *ListNetworksRequest) GetPageSize() int32
func (*ListNetworksRequest) GetPageToken ¶
func (x *ListNetworksRequest) GetPageToken() string
func (*ListNetworksRequest) GetParent ¶
func (x *ListNetworksRequest) GetParent() string
func (*ListNetworksRequest) ProtoMessage ¶
func (*ListNetworksRequest) ProtoMessage()
func (*ListNetworksRequest) ProtoReflect ¶
func (x *ListNetworksRequest) ProtoReflect() protoreflect.Message
func (*ListNetworksRequest) Reset ¶
func (x *ListNetworksRequest) Reset()
func (*ListNetworksRequest) String ¶
func (x *ListNetworksRequest) String() string
type ListNetworksResponse ¶
type ListNetworksResponse struct { // The list of networks. Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"` // A token identifying a page of results from the server. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // Locations that could not be reached. Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` // contains filtered or unexported fields }
Response message containing the list of networks.
func (*ListNetworksResponse) Descriptor
deprecated
func (*ListNetworksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNetworksResponse.ProtoReflect.Descriptor instead.
func (*ListNetworksResponse) GetNetworks ¶
func (x *ListNetworksResponse) GetNetworks() []*Network
func (*ListNetworksResponse) GetNextPageToken ¶
func (x *ListNetworksResponse) GetNextPageToken() string
func (*ListNetworksResponse) GetUnreachable ¶
func (x *ListNetworksResponse) GetUnreachable() []string
func (*ListNetworksResponse) ProtoMessage ¶
func (*ListNetworksResponse) ProtoMessage()
func (*ListNetworksResponse) ProtoReflect ¶
func (x *ListNetworksResponse) ProtoReflect() protoreflect.Message
func (*ListNetworksResponse) Reset ¶
func (x *ListNetworksResponse) Reset()
func (*ListNetworksResponse) String ¶
func (x *ListNetworksResponse) String() string
type ListSnapshotSchedulePoliciesRequest ¶
type ListSnapshotSchedulePoliciesRequest struct { // Required. The parent project containing the Snapshot Schedule Policies. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous List request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Message for requesting a list of snapshot schedule policies.
func (*ListSnapshotSchedulePoliciesRequest) Descriptor
deprecated
func (*ListSnapshotSchedulePoliciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSnapshotSchedulePoliciesRequest.ProtoReflect.Descriptor instead.
func (*ListSnapshotSchedulePoliciesRequest) GetPageSize ¶
func (x *ListSnapshotSchedulePoliciesRequest) GetPageSize() int32
func (*ListSnapshotSchedulePoliciesRequest) GetPageToken ¶
func (x *ListSnapshotSchedulePoliciesRequest) GetPageToken() string
func (*ListSnapshotSchedulePoliciesRequest) GetParent ¶
func (x *ListSnapshotSchedulePoliciesRequest) GetParent() string
func (*ListSnapshotSchedulePoliciesRequest) ProtoMessage ¶
func (*ListSnapshotSchedulePoliciesRequest) ProtoMessage()
func (*ListSnapshotSchedulePoliciesRequest) ProtoReflect ¶
func (x *ListSnapshotSchedulePoliciesRequest) ProtoReflect() protoreflect.Message
func (*ListSnapshotSchedulePoliciesRequest) Reset ¶
func (x *ListSnapshotSchedulePoliciesRequest) Reset()
func (*ListSnapshotSchedulePoliciesRequest) String ¶
func (x *ListSnapshotSchedulePoliciesRequest) String() string
type ListSnapshotSchedulePoliciesResponse ¶
type ListSnapshotSchedulePoliciesResponse struct { // The snapshot schedule policies registered in this project. SnapshotSchedulePolicies []*SnapshotSchedulePolicy `` /* 135-byte string literal not displayed */ // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message containing the list of snapshot schedule policies.
func (*ListSnapshotSchedulePoliciesResponse) Descriptor
deprecated
func (*ListSnapshotSchedulePoliciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSnapshotSchedulePoliciesResponse.ProtoReflect.Descriptor instead.
func (*ListSnapshotSchedulePoliciesResponse) GetNextPageToken ¶
func (x *ListSnapshotSchedulePoliciesResponse) GetNextPageToken() string
func (*ListSnapshotSchedulePoliciesResponse) GetSnapshotSchedulePolicies ¶
func (x *ListSnapshotSchedulePoliciesResponse) GetSnapshotSchedulePolicies() []*SnapshotSchedulePolicy
func (*ListSnapshotSchedulePoliciesResponse) ProtoMessage ¶
func (*ListSnapshotSchedulePoliciesResponse) ProtoMessage()
func (*ListSnapshotSchedulePoliciesResponse) ProtoReflect ¶
func (x *ListSnapshotSchedulePoliciesResponse) ProtoReflect() protoreflect.Message
func (*ListSnapshotSchedulePoliciesResponse) Reset ¶
func (x *ListSnapshotSchedulePoliciesResponse) Reset()
func (*ListSnapshotSchedulePoliciesResponse) String ¶
func (x *ListSnapshotSchedulePoliciesResponse) String() string
type ListVolumeSnapshotsRequest ¶
type ListVolumeSnapshotsRequest struct { // Required. Parent value for ListVolumesRequest. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Requested page size. The server might return fewer items than requested. // If unspecified, server will pick an appropriate default. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A token identifying a page of results from the server. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Message for requesting a list of storage volume snapshots.
func (*ListVolumeSnapshotsRequest) Descriptor
deprecated
func (*ListVolumeSnapshotsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVolumeSnapshotsRequest.ProtoReflect.Descriptor instead.
func (*ListVolumeSnapshotsRequest) GetPageSize ¶
func (x *ListVolumeSnapshotsRequest) GetPageSize() int32
func (*ListVolumeSnapshotsRequest) GetPageToken ¶
func (x *ListVolumeSnapshotsRequest) GetPageToken() string
func (*ListVolumeSnapshotsRequest) GetParent ¶
func (x *ListVolumeSnapshotsRequest) GetParent() string
func (*ListVolumeSnapshotsRequest) ProtoMessage ¶
func (*ListVolumeSnapshotsRequest) ProtoMessage()
func (*ListVolumeSnapshotsRequest) ProtoReflect ¶
func (x *ListVolumeSnapshotsRequest) ProtoReflect() protoreflect.Message
func (*ListVolumeSnapshotsRequest) Reset ¶
func (x *ListVolumeSnapshotsRequest) Reset()
func (*ListVolumeSnapshotsRequest) String ¶
func (x *ListVolumeSnapshotsRequest) String() string
type ListVolumeSnapshotsResponse ¶
type ListVolumeSnapshotsResponse struct { // The list of storage volumes. VolumeSnapshots []*VolumeSnapshot `protobuf:"bytes,1,rep,name=volume_snapshots,json=volumeSnapshots,proto3" json:"volume_snapshots,omitempty"` // A token identifying a page of results from the server. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // Locations that could not be reached. Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` // contains filtered or unexported fields }
Response message containing the list of storage volume snapshots.
func (*ListVolumeSnapshotsResponse) Descriptor
deprecated
func (*ListVolumeSnapshotsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVolumeSnapshotsResponse.ProtoReflect.Descriptor instead.
func (*ListVolumeSnapshotsResponse) GetNextPageToken ¶
func (x *ListVolumeSnapshotsResponse) GetNextPageToken() string
func (*ListVolumeSnapshotsResponse) GetUnreachable ¶
func (x *ListVolumeSnapshotsResponse) GetUnreachable() []string
func (*ListVolumeSnapshotsResponse) GetVolumeSnapshots ¶
func (x *ListVolumeSnapshotsResponse) GetVolumeSnapshots() []*VolumeSnapshot
func (*ListVolumeSnapshotsResponse) ProtoMessage ¶
func (*ListVolumeSnapshotsResponse) ProtoMessage()
func (*ListVolumeSnapshotsResponse) ProtoReflect ¶
func (x *ListVolumeSnapshotsResponse) ProtoReflect() protoreflect.Message
func (*ListVolumeSnapshotsResponse) Reset ¶
func (x *ListVolumeSnapshotsResponse) Reset()
func (*ListVolumeSnapshotsResponse) String ¶
func (x *ListVolumeSnapshotsResponse) String() string
type ListVolumesRequest ¶
type ListVolumesRequest struct { // Required. Parent value for ListVolumesRequest. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Requested page size. The server might return fewer items than requested. // If unspecified, server will pick an appropriate default. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A token identifying a page of results from the server. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Message for requesting a list of storage volumes.
func (*ListVolumesRequest) Descriptor
deprecated
func (*ListVolumesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVolumesRequest.ProtoReflect.Descriptor instead.
func (*ListVolumesRequest) GetPageSize ¶
func (x *ListVolumesRequest) GetPageSize() int32
func (*ListVolumesRequest) GetPageToken ¶
func (x *ListVolumesRequest) GetPageToken() string
func (*ListVolumesRequest) GetParent ¶
func (x *ListVolumesRequest) GetParent() string
func (*ListVolumesRequest) ProtoMessage ¶
func (*ListVolumesRequest) ProtoMessage()
func (*ListVolumesRequest) ProtoReflect ¶
func (x *ListVolumesRequest) ProtoReflect() protoreflect.Message
func (*ListVolumesRequest) Reset ¶
func (x *ListVolumesRequest) Reset()
func (*ListVolumesRequest) String ¶
func (x *ListVolumesRequest) String() string
type ListVolumesResponse ¶
type ListVolumesResponse struct { // The list of storage volumes. Volumes []*Volume `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"` // A token identifying a page of results from the server. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // Locations that could not be reached. Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` // contains filtered or unexported fields }
Response message containing the list of storage volumes.
func (*ListVolumesResponse) Descriptor
deprecated
func (*ListVolumesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVolumesResponse.ProtoReflect.Descriptor instead.
func (*ListVolumesResponse) GetNextPageToken ¶
func (x *ListVolumesResponse) GetNextPageToken() string
func (*ListVolumesResponse) GetUnreachable ¶
func (x *ListVolumesResponse) GetUnreachable() []string
func (*ListVolumesResponse) GetVolumes ¶
func (x *ListVolumesResponse) GetVolumes() []*Volume
func (*ListVolumesResponse) ProtoMessage ¶
func (*ListVolumesResponse) ProtoMessage()
func (*ListVolumesResponse) ProtoReflect ¶
func (x *ListVolumesResponse) ProtoReflect() protoreflect.Message
func (*ListVolumesResponse) Reset ¶
func (x *ListVolumesResponse) Reset()
func (*ListVolumesResponse) String ¶
func (x *ListVolumesResponse) String() string
type Lun ¶
type Lun struct { // Output only. The name of the LUN. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state of this storage volume. State Lun_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.Lun_State" json:"state,omitempty"` // The size of this LUN, in gigabytes. SizeGb int64 `protobuf:"varint,3,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"` // The LUN multiprotocol type ensures the characteristics of the LUN are // optimized for each operating system. MultiprotocolType Lun_MultiprotocolType `` /* 174-byte string literal not displayed */ // Display the storage volume for this LUN. StorageVolume string `protobuf:"bytes,5,opt,name=storage_volume,json=storageVolume,proto3" json:"storage_volume,omitempty"` Shareable bool `protobuf:"varint,6,opt,name=shareable,proto3" json:"shareable,omitempty"` // Display if this LUN is a boot LUN. BootLun bool `protobuf:"varint,7,opt,name=boot_lun,json=bootLun,proto3" json:"boot_lun,omitempty"` // The storage type for this LUN. StorageType Lun_StorageType `` /* 150-byte string literal not displayed */ // The WWID for this LUN. Wwid string `protobuf:"bytes,9,opt,name=wwid,proto3" json:"wwid,omitempty"` // contains filtered or unexported fields }
A storage volume logical unit number (LUN).
func (*Lun) Descriptor
deprecated
func (*Lun) GetBootLun ¶
func (*Lun) GetMultiprotocolType ¶
func (x *Lun) GetMultiprotocolType() Lun_MultiprotocolType
func (*Lun) GetShareable ¶
func (*Lun) GetStorageType ¶
func (x *Lun) GetStorageType() Lun_StorageType
func (*Lun) GetStorageVolume ¶
func (*Lun) ProtoMessage ¶
func (*Lun) ProtoMessage()
func (*Lun) ProtoReflect ¶
func (x *Lun) ProtoReflect() protoreflect.Message
type Lun_MultiprotocolType ¶
type Lun_MultiprotocolType int32
Display the operating systems present for the LUN multiprotocol type.
const ( // Server has no OS specified. Lun_MULTIPROTOCOL_TYPE_UNSPECIFIED Lun_MultiprotocolType = 0 // Server with Linux OS. Lun_LINUX Lun_MultiprotocolType = 1 )
func (Lun_MultiprotocolType) Descriptor ¶
func (Lun_MultiprotocolType) Descriptor() protoreflect.EnumDescriptor
func (Lun_MultiprotocolType) Enum ¶
func (x Lun_MultiprotocolType) Enum() *Lun_MultiprotocolType
func (Lun_MultiprotocolType) EnumDescriptor
deprecated
func (Lun_MultiprotocolType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Lun_MultiprotocolType.Descriptor instead.
func (Lun_MultiprotocolType) Number ¶
func (x Lun_MultiprotocolType) Number() protoreflect.EnumNumber
func (Lun_MultiprotocolType) String ¶
func (x Lun_MultiprotocolType) String() string
func (Lun_MultiprotocolType) Type ¶
func (Lun_MultiprotocolType) Type() protoreflect.EnumType
type Lun_State ¶
type Lun_State int32
The possible states for the LUN.
const ( // The LUN is in an unknown state. Lun_STATE_UNSPECIFIED Lun_State = 0 // The LUN is being created. Lun_CREATING Lun_State = 1 // The LUN is being updated. Lun_UPDATING Lun_State = 2 // The LUN is ready for use. Lun_READY Lun_State = 3 // The LUN has been requested to be deleted. Lun_DELETING Lun_State = 4 )
func (Lun_State) Descriptor ¶
func (Lun_State) Descriptor() protoreflect.EnumDescriptor
func (Lun_State) EnumDescriptor
deprecated
func (Lun_State) Number ¶
func (x Lun_State) Number() protoreflect.EnumNumber
func (Lun_State) Type ¶
func (Lun_State) Type() protoreflect.EnumType
type Lun_StorageType ¶
type Lun_StorageType int32
The storage types for a LUN.
const ( // The storage type for this LUN is unknown. Lun_STORAGE_TYPE_UNSPECIFIED Lun_StorageType = 0 // This storage type for this LUN is SSD. Lun_SSD Lun_StorageType = 1 // This storage type for this LUN is HDD. Lun_HDD Lun_StorageType = 2 )
func (Lun_StorageType) Descriptor ¶
func (Lun_StorageType) Descriptor() protoreflect.EnumDescriptor
func (Lun_StorageType) Enum ¶
func (x Lun_StorageType) Enum() *Lun_StorageType
func (Lun_StorageType) EnumDescriptor
deprecated
func (Lun_StorageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Lun_StorageType.Descriptor instead.
func (Lun_StorageType) Number ¶
func (x Lun_StorageType) Number() protoreflect.EnumNumber
func (Lun_StorageType) String ¶
func (x Lun_StorageType) String() string
func (Lun_StorageType) Type ¶
func (Lun_StorageType) Type() protoreflect.EnumType
type Network ¶
type Network struct { // Output only. The resource name of this `Network`. // Resource names are schemeless URIs that follow the conventions in // https://cloud.google.com/apis/design/resource_names. // Format: // `projects/{project}/locations/{location}/networks/{network}` // This field will contain the same value as field "network", which will soon // be deprecated. Please use this field to reference the name of the network // resource. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // Name of the network. Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // The type of this network. Type Network_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.baremetalsolution.v2.Network_Type" json:"type,omitempty"` // IP address configured. IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // List of physical interfaces. MacAddress []string `protobuf:"bytes,4,rep,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` // The Network state. State Network_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.Network_State" json:"state,omitempty"` // The vlan id of the Network. VlanId string `protobuf:"bytes,7,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"` // The cidr of the Network. Cidr string `protobuf:"bytes,8,opt,name=cidr,proto3" json:"cidr,omitempty"` // The vrf for the Network. Vrf *VRF `protobuf:"bytes,9,opt,name=vrf,proto3" json:"vrf,omitempty"` // contains filtered or unexported fields }
A Network.
func (*Network) Descriptor
deprecated
func (*Network) GetIpAddress ¶
func (*Network) GetMacAddress ¶
func (*Network) GetNetwork ¶
func (*Network) GetState ¶
func (x *Network) GetState() Network_State
func (*Network) GetType ¶
func (x *Network) GetType() Network_Type
func (*Network) ProtoMessage ¶
func (*Network) ProtoMessage()
func (*Network) ProtoReflect ¶
func (x *Network) ProtoReflect() protoreflect.Message
type Network_State ¶
type Network_State int32
The possible states for this Network.
const ( // The Network is in an unknown state. Network_STATE_UNSPECIFIED Network_State = 0 // The Network is provisioning. Network_PROVISIONING Network_State = 1 // The Network has been provisioned. Network_PROVISIONED Network_State = 2 )
func (Network_State) Descriptor ¶
func (Network_State) Descriptor() protoreflect.EnumDescriptor
func (Network_State) Enum ¶
func (x Network_State) Enum() *Network_State
func (Network_State) EnumDescriptor
deprecated
func (Network_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Network_State.Descriptor instead.
func (Network_State) Number ¶
func (x Network_State) Number() protoreflect.EnumNumber
func (Network_State) String ¶
func (x Network_State) String() string
func (Network_State) Type ¶
func (Network_State) Type() protoreflect.EnumType
type Network_Type ¶
type Network_Type int32
Network type.
const ( // Unspecified value. Network_TYPE_UNSPECIFIED Network_Type = 0 // Client network, a network peered to a Google Cloud VPC. Network_CLIENT Network_Type = 1 // Private network, a network local to the Bare Metal Solution environment. Network_PRIVATE Network_Type = 2 )
func (Network_Type) Descriptor ¶
func (Network_Type) Descriptor() protoreflect.EnumDescriptor
func (Network_Type) Enum ¶
func (x Network_Type) Enum() *Network_Type
func (Network_Type) EnumDescriptor
deprecated
func (Network_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Network_Type.Descriptor instead.
func (Network_Type) Number ¶
func (x Network_Type) Number() protoreflect.EnumNumber
func (Network_Type) String ¶
func (x Network_Type) String() string
func (Network_Type) Type ¶
func (Network_Type) Type() protoreflect.EnumType
type OperationMetadata ¶
type OperationMetadata struct { // The time the operation was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time the operation finished running. EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Name of the action executed by the operation. Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"` // Human-readable status of the operation, if any. StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // Identifies whether the user requested the cancellation // of the operation. Operations that have been successfully cancelled // have [Operation.error][] value with a [google.rpc.Status.code][] of 1, // corresponding to `Code.CANCELLED`. RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"` // API version used with the operation. ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // contains filtered or unexported fields }
Represents the metadata from a long-running operation.
func (*OperationMetadata) Descriptor
deprecated
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion ¶
func (x *OperationMetadata) GetApiVersion() string
func (*OperationMetadata) GetCreateTime ¶
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*OperationMetadata) GetEndTime ¶
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*OperationMetadata) GetRequestedCancellation ¶
func (x *OperationMetadata) GetRequestedCancellation() bool
func (*OperationMetadata) GetStatusMessage ¶
func (x *OperationMetadata) GetStatusMessage() string
func (*OperationMetadata) GetTarget ¶
func (x *OperationMetadata) GetTarget() string
func (*OperationMetadata) GetVerb ¶
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage ¶
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect ¶
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset ¶
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String ¶
func (x *OperationMetadata) String() string
type ResetInstanceRequest ¶
type ResetInstanceRequest struct { // Required. Name of the resource. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Message requesting to reset a server.
func (*ResetInstanceRequest) Descriptor
deprecated
func (*ResetInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetInstanceRequest.ProtoReflect.Descriptor instead.
func (*ResetInstanceRequest) GetName ¶
func (x *ResetInstanceRequest) GetName() string
func (*ResetInstanceRequest) ProtoMessage ¶
func (*ResetInstanceRequest) ProtoMessage()
func (*ResetInstanceRequest) ProtoReflect ¶
func (x *ResetInstanceRequest) ProtoReflect() protoreflect.Message
func (*ResetInstanceRequest) Reset ¶
func (x *ResetInstanceRequest) Reset()
func (*ResetInstanceRequest) String ¶
func (x *ResetInstanceRequest) String() string
type ResetInstanceResponse ¶
type ResetInstanceResponse struct {
// contains filtered or unexported fields
}
Response message from resetting a server.
func (*ResetInstanceResponse) Descriptor
deprecated
func (*ResetInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResetInstanceResponse.ProtoReflect.Descriptor instead.
func (*ResetInstanceResponse) ProtoMessage ¶
func (*ResetInstanceResponse) ProtoMessage()
func (*ResetInstanceResponse) ProtoReflect ¶
func (x *ResetInstanceResponse) ProtoReflect() protoreflect.Message
func (*ResetInstanceResponse) Reset ¶
func (x *ResetInstanceResponse) Reset()
func (*ResetInstanceResponse) String ¶
func (x *ResetInstanceResponse) String() string
type RestoreVolumeSnapshotRequest ¶
type RestoreVolumeSnapshotRequest struct { // Required. Name of the resource. VolumeSnapshot string `protobuf:"bytes,1,opt,name=volume_snapshot,json=volumeSnapshot,proto3" json:"volume_snapshot,omitempty"` // contains filtered or unexported fields }
Message for restoring a volume snapshot.
func (*RestoreVolumeSnapshotRequest) Descriptor
deprecated
func (*RestoreVolumeSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreVolumeSnapshotRequest.ProtoReflect.Descriptor instead.
func (*RestoreVolumeSnapshotRequest) GetVolumeSnapshot ¶
func (x *RestoreVolumeSnapshotRequest) GetVolumeSnapshot() string
func (*RestoreVolumeSnapshotRequest) ProtoMessage ¶
func (*RestoreVolumeSnapshotRequest) ProtoMessage()
func (*RestoreVolumeSnapshotRequest) ProtoReflect ¶
func (x *RestoreVolumeSnapshotRequest) ProtoReflect() protoreflect.Message
func (*RestoreVolumeSnapshotRequest) Reset ¶
func (x *RestoreVolumeSnapshotRequest) Reset()
func (*RestoreVolumeSnapshotRequest) String ¶
func (x *RestoreVolumeSnapshotRequest) String() string
type SnapshotSchedulePolicy ¶
type SnapshotSchedulePolicy struct { // Output only. The name of the snapshot schedule policy. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The description of the snapshot schedule policy. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The snapshot schedules contained in this policy. You can specify a maximum // of 5 schedules. Schedules []*SnapshotSchedulePolicy_Schedule `protobuf:"bytes,3,rep,name=schedules,proto3" json:"schedules,omitempty"` // contains filtered or unexported fields }
A snapshot schedule policy.
func (*SnapshotSchedulePolicy) Descriptor
deprecated
func (*SnapshotSchedulePolicy) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotSchedulePolicy.ProtoReflect.Descriptor instead.
func (*SnapshotSchedulePolicy) GetDescription ¶
func (x *SnapshotSchedulePolicy) GetDescription() string
func (*SnapshotSchedulePolicy) GetName ¶
func (x *SnapshotSchedulePolicy) GetName() string
func (*SnapshotSchedulePolicy) GetSchedules ¶
func (x *SnapshotSchedulePolicy) GetSchedules() []*SnapshotSchedulePolicy_Schedule
func (*SnapshotSchedulePolicy) ProtoMessage ¶
func (*SnapshotSchedulePolicy) ProtoMessage()
func (*SnapshotSchedulePolicy) ProtoReflect ¶
func (x *SnapshotSchedulePolicy) ProtoReflect() protoreflect.Message
func (*SnapshotSchedulePolicy) Reset ¶
func (x *SnapshotSchedulePolicy) Reset()
func (*SnapshotSchedulePolicy) String ¶
func (x *SnapshotSchedulePolicy) String() string
type SnapshotSchedulePolicy_Schedule ¶
type SnapshotSchedulePolicy_Schedule struct { // A crontab-like specification that the schedule uses to take // snapshots. CrontabSpec string `protobuf:"bytes,1,opt,name=crontab_spec,json=crontabSpec,proto3" json:"crontab_spec,omitempty"` // The maximum number of snapshots to retain in this schedule. RetentionCount int32 `protobuf:"varint,2,opt,name=retention_count,json=retentionCount,proto3" json:"retention_count,omitempty"` // A list of snapshot names created in this schedule. Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
A snapshot schedule.
func (*SnapshotSchedulePolicy_Schedule) Descriptor
deprecated
func (*SnapshotSchedulePolicy_Schedule) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotSchedulePolicy_Schedule.ProtoReflect.Descriptor instead.
func (*SnapshotSchedulePolicy_Schedule) GetCrontabSpec ¶
func (x *SnapshotSchedulePolicy_Schedule) GetCrontabSpec() string
func (*SnapshotSchedulePolicy_Schedule) GetPrefix ¶
func (x *SnapshotSchedulePolicy_Schedule) GetPrefix() string
func (*SnapshotSchedulePolicy_Schedule) GetRetentionCount ¶
func (x *SnapshotSchedulePolicy_Schedule) GetRetentionCount() int32
func (*SnapshotSchedulePolicy_Schedule) ProtoMessage ¶
func (*SnapshotSchedulePolicy_Schedule) ProtoMessage()
func (*SnapshotSchedulePolicy_Schedule) ProtoReflect ¶
func (x *SnapshotSchedulePolicy_Schedule) ProtoReflect() protoreflect.Message
func (*SnapshotSchedulePolicy_Schedule) Reset ¶
func (x *SnapshotSchedulePolicy_Schedule) Reset()
func (*SnapshotSchedulePolicy_Schedule) String ¶
func (x *SnapshotSchedulePolicy_Schedule) String() string
type UnimplementedBareMetalSolutionServer ¶
type UnimplementedBareMetalSolutionServer struct { }
UnimplementedBareMetalSolutionServer can be embedded to have forward compatible implementations.
func (*UnimplementedBareMetalSolutionServer) CreateSnapshotSchedulePolicy ¶
func (*UnimplementedBareMetalSolutionServer) CreateSnapshotSchedulePolicy(context.Context, *CreateSnapshotSchedulePolicyRequest) (*SnapshotSchedulePolicy, error)
func (*UnimplementedBareMetalSolutionServer) CreateVolumeSnapshot ¶
func (*UnimplementedBareMetalSolutionServer) CreateVolumeSnapshot(context.Context, *CreateVolumeSnapshotRequest) (*VolumeSnapshot, error)
func (*UnimplementedBareMetalSolutionServer) DeleteSnapshotSchedulePolicy ¶
func (*UnimplementedBareMetalSolutionServer) DeleteSnapshotSchedulePolicy(context.Context, *DeleteSnapshotSchedulePolicyRequest) (*emptypb.Empty, error)
func (*UnimplementedBareMetalSolutionServer) DeleteVolumeSnapshot ¶
func (*UnimplementedBareMetalSolutionServer) DeleteVolumeSnapshot(context.Context, *DeleteVolumeSnapshotRequest) (*emptypb.Empty, error)
func (*UnimplementedBareMetalSolutionServer) GetInstance ¶
func (*UnimplementedBareMetalSolutionServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
func (*UnimplementedBareMetalSolutionServer) GetLun ¶
func (*UnimplementedBareMetalSolutionServer) GetLun(context.Context, *GetLunRequest) (*Lun, error)
func (*UnimplementedBareMetalSolutionServer) GetNetwork ¶
func (*UnimplementedBareMetalSolutionServer) GetNetwork(context.Context, *GetNetworkRequest) (*Network, error)
func (*UnimplementedBareMetalSolutionServer) GetSnapshotSchedulePolicy ¶
func (*UnimplementedBareMetalSolutionServer) GetSnapshotSchedulePolicy(context.Context, *GetSnapshotSchedulePolicyRequest) (*SnapshotSchedulePolicy, error)
func (*UnimplementedBareMetalSolutionServer) GetVolume ¶
func (*UnimplementedBareMetalSolutionServer) GetVolume(context.Context, *GetVolumeRequest) (*Volume, error)
func (*UnimplementedBareMetalSolutionServer) GetVolumeSnapshot ¶
func (*UnimplementedBareMetalSolutionServer) GetVolumeSnapshot(context.Context, *GetVolumeSnapshotRequest) (*VolumeSnapshot, error)
func (*UnimplementedBareMetalSolutionServer) ListInstances ¶
func (*UnimplementedBareMetalSolutionServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
func (*UnimplementedBareMetalSolutionServer) ListLuns ¶
func (*UnimplementedBareMetalSolutionServer) ListLuns(context.Context, *ListLunsRequest) (*ListLunsResponse, error)
func (*UnimplementedBareMetalSolutionServer) ListNetworks ¶
func (*UnimplementedBareMetalSolutionServer) ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error)
func (*UnimplementedBareMetalSolutionServer) ListSnapshotSchedulePolicies ¶
func (*UnimplementedBareMetalSolutionServer) ListSnapshotSchedulePolicies(context.Context, *ListSnapshotSchedulePoliciesRequest) (*ListSnapshotSchedulePoliciesResponse, error)
func (*UnimplementedBareMetalSolutionServer) ListVolumeSnapshots ¶
func (*UnimplementedBareMetalSolutionServer) ListVolumeSnapshots(context.Context, *ListVolumeSnapshotsRequest) (*ListVolumeSnapshotsResponse, error)
func (*UnimplementedBareMetalSolutionServer) ListVolumes ¶
func (*UnimplementedBareMetalSolutionServer) ListVolumes(context.Context, *ListVolumesRequest) (*ListVolumesResponse, error)
func (*UnimplementedBareMetalSolutionServer) ResetInstance ¶
func (*UnimplementedBareMetalSolutionServer) ResetInstance(context.Context, *ResetInstanceRequest) (*longrunning.Operation, error)
func (*UnimplementedBareMetalSolutionServer) RestoreVolumeSnapshot ¶
func (*UnimplementedBareMetalSolutionServer) RestoreVolumeSnapshot(context.Context, *RestoreVolumeSnapshotRequest) (*longrunning.Operation, error)
func (*UnimplementedBareMetalSolutionServer) UpdateSnapshotSchedulePolicy ¶
func (*UnimplementedBareMetalSolutionServer) UpdateSnapshotSchedulePolicy(context.Context, *UpdateSnapshotSchedulePolicyRequest) (*SnapshotSchedulePolicy, error)
func (*UnimplementedBareMetalSolutionServer) UpdateVolume ¶
func (*UnimplementedBareMetalSolutionServer) UpdateVolume(context.Context, *UpdateVolumeRequest) (*longrunning.Operation, error)
type UpdateSnapshotSchedulePolicyRequest ¶
type UpdateSnapshotSchedulePolicyRequest struct { // Required. The snapshot schedule policy to update. // // The `name` field is used to identify the snapshot schedule policy to // update. Format: // projects/{project}/locations/global/snapshotSchedulePolicies/{policy} SnapshotSchedulePolicy *SnapshotSchedulePolicy `` /* 129-byte string literal not displayed */ // Required. The list of fields to update. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Message for updating a snapshot schedule policy in a project.
func (*UpdateSnapshotSchedulePolicyRequest) Descriptor
deprecated
func (*UpdateSnapshotSchedulePolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSnapshotSchedulePolicyRequest.ProtoReflect.Descriptor instead.
func (*UpdateSnapshotSchedulePolicyRequest) GetSnapshotSchedulePolicy ¶
func (x *UpdateSnapshotSchedulePolicyRequest) GetSnapshotSchedulePolicy() *SnapshotSchedulePolicy
func (*UpdateSnapshotSchedulePolicyRequest) GetUpdateMask ¶
func (x *UpdateSnapshotSchedulePolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSnapshotSchedulePolicyRequest) ProtoMessage ¶
func (*UpdateSnapshotSchedulePolicyRequest) ProtoMessage()
func (*UpdateSnapshotSchedulePolicyRequest) ProtoReflect ¶
func (x *UpdateSnapshotSchedulePolicyRequest) ProtoReflect() protoreflect.Message
func (*UpdateSnapshotSchedulePolicyRequest) Reset ¶
func (x *UpdateSnapshotSchedulePolicyRequest) Reset()
func (*UpdateSnapshotSchedulePolicyRequest) String ¶
func (x *UpdateSnapshotSchedulePolicyRequest) String() string
type UpdateVolumeRequest ¶
type UpdateVolumeRequest struct { // Required. The volume to update. // // The `name` field is used to identify the volume to update. // Format: projects/{project}/locations/{location}/volumes/{volume} Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"` // The list of fields to update. // The only currently supported fields are: // `snapshot_auto_delete_behavior` // `snapshot_schedule_policy_name` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Message for updating a volume.
func (*UpdateVolumeRequest) Descriptor
deprecated
func (*UpdateVolumeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateVolumeRequest.ProtoReflect.Descriptor instead.
func (*UpdateVolumeRequest) GetUpdateMask ¶
func (x *UpdateVolumeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateVolumeRequest) GetVolume ¶
func (x *UpdateVolumeRequest) GetVolume() *Volume
func (*UpdateVolumeRequest) ProtoMessage ¶
func (*UpdateVolumeRequest) ProtoMessage()
func (*UpdateVolumeRequest) ProtoReflect ¶
func (x *UpdateVolumeRequest) ProtoReflect() protoreflect.Message
func (*UpdateVolumeRequest) Reset ¶
func (x *UpdateVolumeRequest) Reset()
func (*UpdateVolumeRequest) String ¶
func (x *UpdateVolumeRequest) String() string
type VRF ¶
type VRF struct { // The name of the VRF. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The possible state of VRF. State VRF_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.VRF_State" json:"state,omitempty"` // The QOS policy applied to this VRF. QosPolicy *VRF_QosPolicy `protobuf:"bytes,6,opt,name=qos_policy,json=qosPolicy,proto3" json:"qos_policy,omitempty"` // The list of VLAN attachments for the VRF. VlanAttachments []*VRF_VlanAttachment `protobuf:"bytes,7,rep,name=vlan_attachments,json=vlanAttachments,proto3" json:"vlan_attachments,omitempty"` // contains filtered or unexported fields }
A network VRF.
func (*VRF) Descriptor
deprecated
func (*VRF) GetQosPolicy ¶
func (x *VRF) GetQosPolicy() *VRF_QosPolicy
func (*VRF) GetVlanAttachments ¶
func (x *VRF) GetVlanAttachments() []*VRF_VlanAttachment
func (*VRF) ProtoMessage ¶
func (*VRF) ProtoMessage()
func (*VRF) ProtoReflect ¶
func (x *VRF) ProtoReflect() protoreflect.Message
type VRF_QosPolicy ¶
type VRF_QosPolicy struct { // The bandwidth permitted by the QOS policy, in gbps. BandwidthGbps float64 `protobuf:"fixed64,1,opt,name=bandwidth_gbps,json=bandwidthGbps,proto3" json:"bandwidth_gbps,omitempty"` // contains filtered or unexported fields }
QOS policy parameters.
func (*VRF_QosPolicy) Descriptor
deprecated
func (*VRF_QosPolicy) Descriptor() ([]byte, []int)
Deprecated: Use VRF_QosPolicy.ProtoReflect.Descriptor instead.
func (*VRF_QosPolicy) GetBandwidthGbps ¶
func (x *VRF_QosPolicy) GetBandwidthGbps() float64
func (*VRF_QosPolicy) ProtoMessage ¶
func (*VRF_QosPolicy) ProtoMessage()
func (*VRF_QosPolicy) ProtoReflect ¶
func (x *VRF_QosPolicy) ProtoReflect() protoreflect.Message
func (*VRF_QosPolicy) Reset ¶
func (x *VRF_QosPolicy) Reset()
func (*VRF_QosPolicy) String ¶
func (x *VRF_QosPolicy) String() string
type VRF_State ¶
type VRF_State int32
The possible states for this VRF.
func (VRF_State) Descriptor ¶
func (VRF_State) Descriptor() protoreflect.EnumDescriptor
func (VRF_State) EnumDescriptor
deprecated
func (VRF_State) Number ¶
func (x VRF_State) Number() protoreflect.EnumNumber
func (VRF_State) Type ¶
func (VRF_State) Type() protoreflect.EnumType
type VRF_VlanAttachment ¶
type VRF_VlanAttachment struct { // The peer vlan ID of the attachment. PeerVlanId int64 `protobuf:"varint,1,opt,name=peer_vlan_id,json=peerVlanId,proto3" json:"peer_vlan_id,omitempty"` // The peer IP of the attachment. PeerIp string `protobuf:"bytes,2,opt,name=peer_ip,json=peerIp,proto3" json:"peer_ip,omitempty"` // The router IP of the attachment. RouterIp string `protobuf:"bytes,3,opt,name=router_ip,json=routerIp,proto3" json:"router_ip,omitempty"` // contains filtered or unexported fields }
VLAN attachment details.
func (*VRF_VlanAttachment) Descriptor
deprecated
func (*VRF_VlanAttachment) Descriptor() ([]byte, []int)
Deprecated: Use VRF_VlanAttachment.ProtoReflect.Descriptor instead.
func (*VRF_VlanAttachment) GetPeerIp ¶
func (x *VRF_VlanAttachment) GetPeerIp() string
func (*VRF_VlanAttachment) GetPeerVlanId ¶
func (x *VRF_VlanAttachment) GetPeerVlanId() int64
func (*VRF_VlanAttachment) GetRouterIp ¶
func (x *VRF_VlanAttachment) GetRouterIp() string
func (*VRF_VlanAttachment) ProtoMessage ¶
func (*VRF_VlanAttachment) ProtoMessage()
func (*VRF_VlanAttachment) ProtoReflect ¶
func (x *VRF_VlanAttachment) ProtoReflect() protoreflect.Message
func (*VRF_VlanAttachment) Reset ¶
func (x *VRF_VlanAttachment) Reset()
func (*VRF_VlanAttachment) String ¶
func (x *VRF_VlanAttachment) String() string
type Volume ¶
type Volume struct { // Output only. The resource name of this `Volume`. // Resource names are schemeless URIs that follow the conventions in // https://cloud.google.com/apis/design/resource_names. // Format: // `projects/{project}/locations/{location}/volumes/{volume}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The storage type for this volume. StorageType Volume_StorageType `` /* 153-byte string literal not displayed */ // The state of this storage volume. State Volume_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.Volume_State" json:"state,omitempty"` // The requested size of this storage volume, in GiB. RequestedSizeGib int64 `protobuf:"varint,4,opt,name=requested_size_gib,json=requestedSizeGib,proto3" json:"requested_size_gib,omitempty"` // The current size of this storage volume, in GiB, including space reserved // for snapshots. This size might be different than the requested size if the // storage volume has been configured with auto grow or auto shrink. CurrentSizeGib int64 `protobuf:"varint,5,opt,name=current_size_gib,json=currentSizeGib,proto3" json:"current_size_gib,omitempty"` // The size, in GiB, that this storage volume has expanded as a result of an // auto grow policy. In the absence of auto-grow, the value is 0. AutoGrownSizeGib int64 `protobuf:"varint,6,opt,name=auto_grown_size_gib,json=autoGrownSizeGib,proto3" json:"auto_grown_size_gib,omitempty"` // The space remaining in the storage volume for new LUNs, in GiB, excluding // space reserved for snapshots. RemainingSpaceGib int64 `protobuf:"varint,7,opt,name=remaining_space_gib,json=remainingSpaceGib,proto3" json:"remaining_space_gib,omitempty"` // Details about snapshot space reservation and usage on the storage volume. SnapshotReservationDetail *Volume_SnapshotReservationDetail `` /* 138-byte string literal not displayed */ // The behavior to use when snapshot reserved space is full. SnapshotAutoDeleteBehavior Volume_SnapshotAutoDeleteBehavior `` /* 217-byte string literal not displayed */ // The name of the snapshot schedule policy in use for this volume, if any. SnapshotSchedulePolicy string `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
A storage volume.
func (*Volume) Descriptor
deprecated
func (*Volume) GetAutoGrownSizeGib ¶
func (*Volume) GetCurrentSizeGib ¶
func (*Volume) GetRemainingSpaceGib ¶
func (*Volume) GetRequestedSizeGib ¶
func (*Volume) GetSnapshotAutoDeleteBehavior ¶
func (x *Volume) GetSnapshotAutoDeleteBehavior() Volume_SnapshotAutoDeleteBehavior
func (*Volume) GetSnapshotReservationDetail ¶
func (x *Volume) GetSnapshotReservationDetail() *Volume_SnapshotReservationDetail
func (*Volume) GetSnapshotSchedulePolicy ¶
func (*Volume) GetState ¶
func (x *Volume) GetState() Volume_State
func (*Volume) GetStorageType ¶
func (x *Volume) GetStorageType() Volume_StorageType
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) ProtoReflect ¶
func (x *Volume) ProtoReflect() protoreflect.Message
type VolumeSnapshot ¶
type VolumeSnapshot struct { // Output only. The name of the storage volume snapshot. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The description of the storage volume snapshot. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The size of the storage volume snapshot, in bytes. SizeBytes int64 `protobuf:"varint,3,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"` // Optional. The creation time of the storage volume snapshot. CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The storage volume this snapshot belongs to. StorageVolume string `protobuf:"bytes,5,opt,name=storage_volume,json=storageVolume,proto3" json:"storage_volume,omitempty"` // contains filtered or unexported fields }
Snapshot registered for a given storage volume.
func (*VolumeSnapshot) Descriptor
deprecated
func (*VolumeSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use VolumeSnapshot.ProtoReflect.Descriptor instead.
func (*VolumeSnapshot) GetCreateTime ¶
func (x *VolumeSnapshot) GetCreateTime() *timestamppb.Timestamp
func (*VolumeSnapshot) GetDescription ¶
func (x *VolumeSnapshot) GetDescription() string
func (*VolumeSnapshot) GetName ¶
func (x *VolumeSnapshot) GetName() string
func (*VolumeSnapshot) GetSizeBytes ¶
func (x *VolumeSnapshot) GetSizeBytes() int64
func (*VolumeSnapshot) GetStorageVolume ¶
func (x *VolumeSnapshot) GetStorageVolume() string
func (*VolumeSnapshot) ProtoMessage ¶
func (*VolumeSnapshot) ProtoMessage()
func (*VolumeSnapshot) ProtoReflect ¶
func (x *VolumeSnapshot) ProtoReflect() protoreflect.Message
func (*VolumeSnapshot) Reset ¶
func (x *VolumeSnapshot) Reset()
func (*VolumeSnapshot) String ¶
func (x *VolumeSnapshot) String() string
type Volume_SnapshotAutoDeleteBehavior ¶
type Volume_SnapshotAutoDeleteBehavior int32
The kinds of auto delete behavior to use when snapshot reserved space is full.
const ( // The unspecified behavior. Volume_SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED Volume_SnapshotAutoDeleteBehavior = 0 // Don't delete any snapshots. This disables new snapshot creation, as // long as the snapshot reserved space is full. Volume_DISABLED Volume_SnapshotAutoDeleteBehavior = 1 // Delete the oldest snapshots first. Volume_OLDEST_FIRST Volume_SnapshotAutoDeleteBehavior = 2 // Delete the newest snapshots first. Volume_NEWEST_FIRST Volume_SnapshotAutoDeleteBehavior = 3 )
func (Volume_SnapshotAutoDeleteBehavior) Descriptor ¶
func (Volume_SnapshotAutoDeleteBehavior) Descriptor() protoreflect.EnumDescriptor
func (Volume_SnapshotAutoDeleteBehavior) Enum ¶
func (x Volume_SnapshotAutoDeleteBehavior) Enum() *Volume_SnapshotAutoDeleteBehavior
func (Volume_SnapshotAutoDeleteBehavior) EnumDescriptor
deprecated
func (Volume_SnapshotAutoDeleteBehavior) EnumDescriptor() ([]byte, []int)
Deprecated: Use Volume_SnapshotAutoDeleteBehavior.Descriptor instead.
func (Volume_SnapshotAutoDeleteBehavior) Number ¶
func (x Volume_SnapshotAutoDeleteBehavior) Number() protoreflect.EnumNumber
func (Volume_SnapshotAutoDeleteBehavior) String ¶
func (x Volume_SnapshotAutoDeleteBehavior) String() string
func (Volume_SnapshotAutoDeleteBehavior) Type ¶
func (Volume_SnapshotAutoDeleteBehavior) Type() protoreflect.EnumType
type Volume_SnapshotReservationDetail ¶
type Volume_SnapshotReservationDetail struct { // The space on this storage volume reserved for snapshots, shown in GiB. ReservedSpaceGib int64 `protobuf:"varint,1,opt,name=reserved_space_gib,json=reservedSpaceGib,proto3" json:"reserved_space_gib,omitempty"` // The percent of snapshot space on this storage volume actually being used // by the snapshot copies. This value might be higher than 100% if the // snapshot copies have overflowed into the data portion of the storage // volume. ReservedSpaceUsedPercent int32 `` /* 138-byte string literal not displayed */ // The amount, in GiB, of available space in this storage volume's reserved // snapshot space. ReservedSpaceRemainingGib int64 `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
Details about snapshot space reservation and usage on the storage volume.
func (*Volume_SnapshotReservationDetail) Descriptor
deprecated
func (*Volume_SnapshotReservationDetail) Descriptor() ([]byte, []int)
Deprecated: Use Volume_SnapshotReservationDetail.ProtoReflect.Descriptor instead.
func (*Volume_SnapshotReservationDetail) GetReservedSpaceGib ¶
func (x *Volume_SnapshotReservationDetail) GetReservedSpaceGib() int64
func (*Volume_SnapshotReservationDetail) GetReservedSpaceRemainingGib ¶
func (x *Volume_SnapshotReservationDetail) GetReservedSpaceRemainingGib() int64
func (*Volume_SnapshotReservationDetail) GetReservedSpaceUsedPercent ¶
func (x *Volume_SnapshotReservationDetail) GetReservedSpaceUsedPercent() int32
func (*Volume_SnapshotReservationDetail) ProtoMessage ¶
func (*Volume_SnapshotReservationDetail) ProtoMessage()
func (*Volume_SnapshotReservationDetail) ProtoReflect ¶
func (x *Volume_SnapshotReservationDetail) ProtoReflect() protoreflect.Message
func (*Volume_SnapshotReservationDetail) Reset ¶
func (x *Volume_SnapshotReservationDetail) Reset()
func (*Volume_SnapshotReservationDetail) String ¶
func (x *Volume_SnapshotReservationDetail) String() string
type Volume_State ¶
type Volume_State int32
The possible states for a storage volume.
const ( // The storage volume is in an unknown state. Volume_STATE_UNSPECIFIED Volume_State = 0 // The storage volume is being created. Volume_CREATING Volume_State = 1 // The storage volume is ready for use. Volume_READY Volume_State = 2 // The storage volume has been requested to be deleted. Volume_DELETING Volume_State = 3 )
func (Volume_State) Descriptor ¶
func (Volume_State) Descriptor() protoreflect.EnumDescriptor
func (Volume_State) Enum ¶
func (x Volume_State) Enum() *Volume_State
func (Volume_State) EnumDescriptor
deprecated
func (Volume_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Volume_State.Descriptor instead.
func (Volume_State) Number ¶
func (x Volume_State) Number() protoreflect.EnumNumber
func (Volume_State) String ¶
func (x Volume_State) String() string
func (Volume_State) Type ¶
func (Volume_State) Type() protoreflect.EnumType
type Volume_StorageType ¶
type Volume_StorageType int32
The storage type for a volume.
const ( // The storage type for this volume is unknown. Volume_STORAGE_TYPE_UNSPECIFIED Volume_StorageType = 0 // The storage type for this volume is SSD. Volume_SSD Volume_StorageType = 1 // This storage type for this volume is HDD. Volume_HDD Volume_StorageType = 2 )
func (Volume_StorageType) Descriptor ¶
func (Volume_StorageType) Descriptor() protoreflect.EnumDescriptor
func (Volume_StorageType) Enum ¶
func (x Volume_StorageType) Enum() *Volume_StorageType
func (Volume_StorageType) EnumDescriptor
deprecated
func (Volume_StorageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Volume_StorageType.Descriptor instead.
func (Volume_StorageType) Number ¶
func (x Volume_StorageType) Number() protoreflect.EnumNumber
func (Volume_StorageType) String ¶
func (x Volume_StorageType) String() string
func (Volume_StorageType) Type ¶
func (Volume_StorageType) Type() protoreflect.EnumType