baremetalsolution

package
v0.0.0-...-0efb43f Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

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

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

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

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

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

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

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

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

func (*CreateSnapshotSchedulePolicyRequest) 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 (*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 (*DeleteSnapshotSchedulePolicyRequest) ProtoMessage

func (*DeleteSnapshotSchedulePolicyRequest) ProtoMessage()

func (*DeleteSnapshotSchedulePolicyRequest) ProtoReflect

func (*DeleteSnapshotSchedulePolicyRequest) Reset

func (*DeleteSnapshotSchedulePolicyRequest) 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 (*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 (*GetSnapshotSchedulePolicyRequest) ProtoMessage

func (*GetSnapshotSchedulePolicyRequest) ProtoMessage()

func (*GetSnapshotSchedulePolicyRequest) ProtoReflect

func (*GetSnapshotSchedulePolicyRequest) Reset

func (*GetSnapshotSchedulePolicyRequest) 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) Descriptor() ([]byte, []int)

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetCreateTime

func (x *Instance) GetCreateTime() *timestamppb.Timestamp

func (*Instance) GetHyperthreadingEnabled

func (x *Instance) GetHyperthreadingEnabled() bool

func (*Instance) GetInteractiveSerialConsoleEnabled

func (x *Instance) GetInteractiveSerialConsoleEnabled() bool

func (*Instance) GetLabels

func (x *Instance) GetLabels() map[string]string

func (*Instance) GetLuns

func (x *Instance) GetLuns() []*Lun

func (*Instance) GetMachineType

func (x *Instance) GetMachineType() string

func (*Instance) GetName

func (x *Instance) GetName() string

func (*Instance) GetNetworks

func (x *Instance) GetNetworks() []*Network

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

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

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) 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 (Instance_State) String

func (x Instance_State) String() string

func (Instance_State) Type

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 (*ListSnapshotSchedulePoliciesRequest) ProtoMessage

func (*ListSnapshotSchedulePoliciesRequest) ProtoMessage()

func (*ListSnapshotSchedulePoliciesRequest) ProtoReflect

func (*ListSnapshotSchedulePoliciesRequest) Reset

func (*ListSnapshotSchedulePoliciesRequest) 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 (*ListSnapshotSchedulePoliciesResponse) Reset

func (*ListSnapshotSchedulePoliciesResponse) 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 (*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 (*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"`
	// Display if this LUN can be shared between multiple physical servers.
	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) Descriptor() ([]byte, []int)

Deprecated: Use Lun.ProtoReflect.Descriptor instead.

func (*Lun) GetBootLun

func (x *Lun) GetBootLun() bool

func (*Lun) GetMultiprotocolType

func (x *Lun) GetMultiprotocolType() Lun_MultiprotocolType

func (*Lun) GetName

func (x *Lun) GetName() string

func (*Lun) GetShareable

func (x *Lun) GetShareable() bool

func (*Lun) GetSizeGb

func (x *Lun) GetSizeGb() int64

func (*Lun) GetState

func (x *Lun) GetState() Lun_State

func (*Lun) GetStorageType

func (x *Lun) GetStorageType() Lun_StorageType

func (*Lun) GetStorageVolume

func (x *Lun) GetStorageVolume() string

func (*Lun) GetWwid

func (x *Lun) GetWwid() string

func (*Lun) ProtoMessage

func (*Lun) ProtoMessage()

func (*Lun) ProtoReflect

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

func (*Lun) Reset

func (x *Lun) Reset()

func (*Lun) String

func (x *Lun) String() string

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) Enum

func (Lun_MultiprotocolType) EnumDescriptor deprecated

func (Lun_MultiprotocolType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Lun_MultiprotocolType.Descriptor instead.

func (Lun_MultiprotocolType) Number

func (Lun_MultiprotocolType) String

func (x Lun_MultiprotocolType) String() string

func (Lun_MultiprotocolType) Type

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) Enum

func (x Lun_State) Enum() *Lun_State

func (Lun_State) EnumDescriptor deprecated

func (Lun_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Lun_State.Descriptor instead.

func (Lun_State) Number

func (x Lun_State) Number() protoreflect.EnumNumber

func (Lun_State) String

func (x Lun_State) String() string

func (Lun_State) Type

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) 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 (Lun_StorageType) String

func (x Lun_StorageType) String() string

func (Lun_StorageType) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Network.ProtoReflect.Descriptor instead.

func (*Network) GetCidr

func (x *Network) GetCidr() string

func (*Network) GetIpAddress

func (x *Network) GetIpAddress() string

func (*Network) GetMacAddress

func (x *Network) GetMacAddress() []string

func (*Network) GetName

func (x *Network) GetName() string

func (*Network) GetNetwork

func (x *Network) GetNetwork() string

func (*Network) GetState

func (x *Network) GetState() Network_State

func (*Network) GetType

func (x *Network) GetType() Network_Type

func (*Network) GetVlanId

func (x *Network) GetVlanId() string

func (*Network) GetVrf

func (x *Network) GetVrf() *VRF

func (*Network) ProtoMessage

func (*Network) ProtoMessage()

func (*Network) ProtoReflect

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

func (*Network) Reset

func (x *Network) Reset()

func (*Network) String

func (x *Network) String() string

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) 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 (Network_State) String

func (x Network_State) String() string

func (Network_State) Type

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) 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 (Network_Type) String

func (x Network_Type) String() string

func (Network_Type) Type

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

func (x *RestoreVolumeSnapshotRequest) Reset()

func (*RestoreVolumeSnapshotRequest) 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 (*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 (*SnapshotSchedulePolicy_Schedule) Reset

func (*SnapshotSchedulePolicy_Schedule) String

type UnimplementedBareMetalSolutionServer

type UnimplementedBareMetalSolutionServer struct {
}

UnimplementedBareMetalSolutionServer can be embedded to have forward compatible implementations.

func (*UnimplementedBareMetalSolutionServer) CreateSnapshotSchedulePolicy

func (*UnimplementedBareMetalSolutionServer) CreateVolumeSnapshot

func (*UnimplementedBareMetalSolutionServer) DeleteSnapshotSchedulePolicy

func (*UnimplementedBareMetalSolutionServer) DeleteVolumeSnapshot

func (*UnimplementedBareMetalSolutionServer) GetInstance

func (*UnimplementedBareMetalSolutionServer) GetLun

func (*UnimplementedBareMetalSolutionServer) GetNetwork

func (*UnimplementedBareMetalSolutionServer) GetSnapshotSchedulePolicy

func (*UnimplementedBareMetalSolutionServer) GetVolume

func (*UnimplementedBareMetalSolutionServer) GetVolumeSnapshot

func (*UnimplementedBareMetalSolutionServer) ListInstances

func (*UnimplementedBareMetalSolutionServer) ListLuns

func (*UnimplementedBareMetalSolutionServer) ListNetworks

func (*UnimplementedBareMetalSolutionServer) ListVolumeSnapshots

func (*UnimplementedBareMetalSolutionServer) ListVolumes

func (*UnimplementedBareMetalSolutionServer) ResetInstance

func (*UnimplementedBareMetalSolutionServer) RestoreVolumeSnapshot

func (*UnimplementedBareMetalSolutionServer) UpdateSnapshotSchedulePolicy

func (*UnimplementedBareMetalSolutionServer) UpdateVolume

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 (*UpdateSnapshotSchedulePolicyRequest) ProtoMessage

func (*UpdateSnapshotSchedulePolicyRequest) ProtoMessage()

func (*UpdateSnapshotSchedulePolicyRequest) ProtoReflect

func (*UpdateSnapshotSchedulePolicyRequest) Reset

func (*UpdateSnapshotSchedulePolicyRequest) 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) Descriptor() ([]byte, []int)

Deprecated: Use VRF.ProtoReflect.Descriptor instead.

func (*VRF) GetName

func (x *VRF) GetName() string

func (*VRF) GetQosPolicy

func (x *VRF) GetQosPolicy() *VRF_QosPolicy

func (*VRF) GetState

func (x *VRF) GetState() VRF_State

func (*VRF) GetVlanAttachments

func (x *VRF) GetVlanAttachments() []*VRF_VlanAttachment

func (*VRF) ProtoMessage

func (*VRF) ProtoMessage()

func (*VRF) ProtoReflect

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

func (*VRF) Reset

func (x *VRF) Reset()

func (*VRF) String

func (x *VRF) String() string

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.

const (
	// The unspecified state.
	VRF_STATE_UNSPECIFIED VRF_State = 0
	// The vrf is provisioning.
	VRF_PROVISIONING VRF_State = 1
	// The vrf is provisioned.
	VRF_PROVISIONED VRF_State = 2
)

func (VRF_State) Descriptor

func (VRF_State) Descriptor() protoreflect.EnumDescriptor

func (VRF_State) Enum

func (x VRF_State) Enum() *VRF_State

func (VRF_State) EnumDescriptor deprecated

func (VRF_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use VRF_State.Descriptor instead.

func (VRF_State) Number

func (x VRF_State) Number() protoreflect.EnumNumber

func (VRF_State) String

func (x VRF_State) String() string

func (VRF_State) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Volume.ProtoReflect.Descriptor instead.

func (*Volume) GetAutoGrownSizeGib

func (x *Volume) GetAutoGrownSizeGib() int64

func (*Volume) GetCurrentSizeGib

func (x *Volume) GetCurrentSizeGib() int64

func (*Volume) GetName

func (x *Volume) GetName() string

func (*Volume) GetRemainingSpaceGib

func (x *Volume) GetRemainingSpaceGib() int64

func (*Volume) GetRequestedSizeGib

func (x *Volume) GetRequestedSizeGib() int64

func (*Volume) GetSnapshotAutoDeleteBehavior

func (x *Volume) GetSnapshotAutoDeleteBehavior() Volume_SnapshotAutoDeleteBehavior

func (*Volume) GetSnapshotReservationDetail

func (x *Volume) GetSnapshotReservationDetail() *Volume_SnapshotReservationDetail

func (*Volume) GetSnapshotSchedulePolicy

func (x *Volume) GetSnapshotSchedulePolicy() string

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

func (*Volume) Reset

func (x *Volume) Reset()

func (*Volume) String

func (x *Volume) String() string

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) Enum

func (Volume_SnapshotAutoDeleteBehavior) EnumDescriptor deprecated

func (Volume_SnapshotAutoDeleteBehavior) EnumDescriptor() ([]byte, []int)

Deprecated: Use Volume_SnapshotAutoDeleteBehavior.Descriptor instead.

func (Volume_SnapshotAutoDeleteBehavior) Number

func (Volume_SnapshotAutoDeleteBehavior) String

func (Volume_SnapshotAutoDeleteBehavior) Type

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

func (*Volume_SnapshotReservationDetail) 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) 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 (Volume_State) String

func (x Volume_State) String() string

func (Volume_State) Type

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) Enum

func (Volume_StorageType) EnumDescriptor deprecated

func (Volume_StorageType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Volume_StorageType.Descriptor instead.

func (Volume_StorageType) Number

func (Volume_StorageType) String

func (x Volume_StorageType) String() string

func (Volume_StorageType) Type

Jump to

Keyboard shortcuts

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