Package cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb (v0.5.0)

Variables

Instance_State_name, Instance_State_value

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.

ServerNetworkTemplate_LogicalInterface_InterfaceType_name, ServerNetworkTemplate_LogicalInterface_InterfaceType_value

var (
	ServerNetworkTemplate_LogicalInterface_InterfaceType_name = map[int32]string{
		0: "INTERFACE_TYPE_UNSPECIFIED",
		1: "BOND",
		2: "NIC",
	}
	ServerNetworkTemplate_LogicalInterface_InterfaceType_value = map[string]int32{
		"INTERFACE_TYPE_UNSPECIFIED": 0,
		"BOND":                       1,
		"NIC":                        2,
	}
)

Enum value maps for ServerNetworkTemplate_LogicalInterface_InterfaceType.

Lun_State_name, Lun_State_value

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.

Lun_MultiprotocolType_name, Lun_MultiprotocolType_value

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.

Lun_StorageType_name, Lun_StorageType_value

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.

Network_Type_name, Network_Type_value

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.

Network_State_name, Network_State_value

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.

VRF_State_name, VRF_State_value

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.

NfsShare_State_name, NfsShare_State_value

var (
	NfsShare_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PROVISIONED",
	}
	NfsShare_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PROVISIONED":       1,
	}
)

Enum value maps for NfsShare_State.

NfsShare_MountPermissions_name, NfsShare_MountPermissions_value

var (
	NfsShare_MountPermissions_name = map[int32]string{
		0: "MOUNT_PERMISSIONS_UNSPECIFIED",
		1: "READ",
		2: "READ_WRITE",
	}
	NfsShare_MountPermissions_value = map[string]int32{
		"MOUNT_PERMISSIONS_UNSPECIFIED": 0,
		"READ":                          1,
		"READ_WRITE":                    2,
	}
)

Enum value maps for NfsShare_MountPermissions.

Volume_StorageType_name, Volume_StorageType_value

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.

Volume_State_name, Volume_State_value

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.

Volume_SnapshotAutoDeleteBehavior_name, Volume_SnapshotAutoDeleteBehavior_value

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.

File_google_cloud_baremetalsolution_v2_baremetalsolution_proto

var File_google_cloud_baremetalsolution_v2_baremetalsolution_proto protoreflect.FileDescriptor

File_google_cloud_baremetalsolution_v2_instance_proto

var File_google_cloud_baremetalsolution_v2_instance_proto protoreflect.FileDescriptor

File_google_cloud_baremetalsolution_v2_lun_proto

var File_google_cloud_baremetalsolution_v2_lun_proto protoreflect.FileDescriptor

File_google_cloud_baremetalsolution_v2_network_proto

var File_google_cloud_baremetalsolution_v2_network_proto protoreflect.FileDescriptor

File_google_cloud_baremetalsolution_v2_nfs_share_proto

var File_google_cloud_baremetalsolution_v2_nfs_share_proto protoreflect.FileDescriptor

File_google_cloud_baremetalsolution_v2_volume_proto

var File_google_cloud_baremetalsolution_v2_volume_proto protoreflect.FileDescriptor

Functions

func RegisterBareMetalSolutionServer

func RegisterBareMetalSolutionServer(s *grpc.Server, srv BareMetalSolutionServer)

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)
	// Update details of a single server.
	UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, 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)
	// Starts a server that was shutdown.
	StartInstance(ctx context.Context, in *StartInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Stop a running server.
	StopInstance(ctx context.Context, in *StopInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Detach LUN from Instance.
	DetachLun(ctx context.Context, in *DetachLunRequest, 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)
	// Emergency Volume resize.
	ResizeVolume(ctx context.Context, in *ResizeVolumeRequest, 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)
	// List all Networks (and used IPs for each Network) in the vendor account
	// associated with the specified project.
	ListNetworkUsage(ctx context.Context, in *ListNetworkUsageRequest, opts ...grpc.CallOption) (*ListNetworkUsageResponse, error)
	// Get details of a single network.
	GetNetwork(ctx context.Context, in *GetNetworkRequest, opts ...grpc.CallOption) (*Network, error)
	// Update details of a single network.
	UpdateNetwork(ctx context.Context, in *UpdateNetworkRequest, opts ...grpc.CallOption) (*longrunning.Operation, 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)
	// Get details of a single NFS share.
	GetNfsShare(ctx context.Context, in *GetNfsShareRequest, opts ...grpc.CallOption) (*NfsShare, error)
	// List NFS shares.
	ListNfsShares(ctx context.Context, in *ListNfsSharesRequest, opts ...grpc.CallOption) (*ListNfsSharesResponse, error)
	// Update details of a single NFS share.
	UpdateNfsShare(ctx context.Context, in *UpdateNfsShareRequest, opts ...grpc.CallOption) (*longrunning.Operation, 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

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)
	// Update details of a single server.
	UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunning.Operation, 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)
	// Starts a server that was shutdown.
	StartInstance(context.Context, *StartInstanceRequest) (*longrunning.Operation, error)
	// Stop a running server.
	StopInstance(context.Context, *StopInstanceRequest) (*longrunning.Operation, error)
	// Detach LUN from Instance.
	DetachLun(context.Context, *DetachLunRequest) (*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)
	// Emergency Volume resize.
	ResizeVolume(context.Context, *ResizeVolumeRequest) (*longrunning.Operation, error)
	// List network in a given project and location.
	ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error)
	// List all Networks (and used IPs for each Network) in the vendor account
	// associated with the specified project.
	ListNetworkUsage(context.Context, *ListNetworkUsageRequest) (*ListNetworkUsageResponse, error)
	// Get details of a single network.
	GetNetwork(context.Context, *GetNetworkRequest) (*Network, error)
	// Update details of a single network.
	UpdateNetwork(context.Context, *UpdateNetworkRequest) (*longrunning.Operation, 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)
	// Get details of a single NFS share.
	GetNfsShare(context.Context, *GetNfsShareRequest) (*NfsShare, error)
	// List NFS shares.
	ListNfsShares(context.Context, *ListNfsSharesRequest) (*ListNfsSharesResponse, error)
	// Update details of a single NFS share.
	UpdateNfsShare(context.Context, *UpdateNfsShareRequest) (*longrunning.Operation, error)
}

BareMetalSolutionServer is the server API for BareMetalSolution service.

DetachLunRequest

type DetachLunRequest struct {

	// Required. Name of the instance.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Required. Name of the Lun to detach.
	Lun string `protobuf:"bytes,2,opt,name=lun,proto3" json:"lun,omitempty"`
	// contains filtered or unexported fields
}

Message for detach specific LUN from an Instance.

func (*DetachLunRequest) Descriptor

func (*DetachLunRequest) Descriptor() ([]byte, []int)

Deprecated: Use DetachLunRequest.ProtoReflect.Descriptor instead.

func (*DetachLunRequest) GetInstance

func (x *DetachLunRequest) GetInstance() string

func (*DetachLunRequest) GetLun

func (x *DetachLunRequest) GetLun() string

func (*DetachLunRequest) ProtoMessage

func (*DetachLunRequest) ProtoMessage()

func (*DetachLunRequest) ProtoReflect

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

func (*DetachLunRequest) Reset

func (x *DetachLunRequest) Reset()

func (*DetachLunRequest) String

func (x *DetachLunRequest) String() string

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

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

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

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

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

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

GetNfsShareRequest

type GetNfsShareRequest 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 NFS share information.

func (*GetNfsShareRequest) Descriptor

func (*GetNfsShareRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetNfsShareRequest.ProtoReflect.Descriptor instead.

func (*GetNfsShareRequest) GetName

func (x *GetNfsShareRequest) GetName() string

func (*GetNfsShareRequest) ProtoMessage

func (*GetNfsShareRequest) ProtoMessage()

func (*GetNfsShareRequest) ProtoReflect

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

func (*GetNfsShareRequest) Reset

func (x *GetNfsShareRequest) Reset()

func (*GetNfsShareRequest) String

func (x *GetNfsShareRequest) String() string

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

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

Instance

type Instance struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	Id string `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	MachineType string `protobuf:"bytes,4,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`

	State Instance_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.Instance_State" json:"state,omitempty"`

	HyperthreadingEnabled bool `protobuf:"varint,6,opt,name=hyperthreading_enabled,json=hyperthreadingEnabled,proto3" json:"hyperthreading_enabled,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	Luns []*Lun `protobuf:"bytes,8,rep,name=luns,proto3" json:"luns,omitempty"`

	Networks []*Network `protobuf:"bytes,9,rep,name=networks,proto3" json:"networks,omitempty"`

	InteractiveSerialConsoleEnabled bool "" /* 160 byte string literal not displayed */

	OsImage string `protobuf:"bytes,12,opt,name=os_image,json=osImage,proto3" json:"os_image,omitempty"`

	Pod string `protobuf:"bytes,13,opt,name=pod,proto3" json:"pod,omitempty"`

	NetworkTemplate string `protobuf:"bytes,14,opt,name=network_template,json=networkTemplate,proto3" json:"network_template,omitempty"`

	LogicalInterfaces []*LogicalInterface `protobuf:"bytes,15,rep,name=logical_interfaces,json=logicalInterfaces,proto3" json:"logical_interfaces,omitempty"`

}

A server.

func (*Instance) Descriptor

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

func (x *Instance) GetId() string

func (*Instance) GetInteractiveSerialConsoleEnabled

func (x *Instance) GetInteractiveSerialConsoleEnabled() bool

func (*Instance) GetLabels

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

func (*Instance) GetLogicalInterfaces

func (x *Instance) GetLogicalInterfaces() []*LogicalInterface

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

func (x *Instance) GetNetworkTemplate() string

func (*Instance) GetNetworks

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

func (*Instance) GetOsImage

func (x *Instance) GetOsImage() string

func (*Instance) GetPod

func (x *Instance) GetPod() string

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

Instance_State

type Instance_State int32

The possible states for this server.

Instance_STATE_UNSPECIFIED, Instance_PROVISIONING, Instance_RUNNING, Instance_DELETED

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

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

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"`
	// List filter.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting the list of servers.

func (*ListInstancesRequest) Descriptor

func (*ListInstancesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.

func (*ListInstancesRequest) GetFilter

func (x *ListInstancesRequest) GetFilter() string

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

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

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

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

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

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

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

ListNetworkUsageRequest

type ListNetworkUsageRequest struct {

	// Required. Parent value (project and location).
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

Request to get networks with IPs.

func (*ListNetworkUsageRequest) Descriptor

func (*ListNetworkUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNetworkUsageRequest.ProtoReflect.Descriptor instead.

func (*ListNetworkUsageRequest) GetLocation

func (x *ListNetworkUsageRequest) GetLocation() string

func (*ListNetworkUsageRequest) ProtoMessage

func (*ListNetworkUsageRequest) ProtoMessage()

func (*ListNetworkUsageRequest) ProtoReflect

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

func (*ListNetworkUsageRequest) Reset

func (x *ListNetworkUsageRequest) Reset()

func (*ListNetworkUsageRequest) String

func (x *ListNetworkUsageRequest) String() string

ListNetworkUsageResponse

type ListNetworkUsageResponse struct {

	// Networks with IPs.
	Networks []*NetworkUsage `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
	// contains filtered or unexported fields
}

Response with Networks with IPs

func (*ListNetworkUsageResponse) Descriptor

func (*ListNetworkUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListNetworkUsageResponse.ProtoReflect.Descriptor instead.

func (*ListNetworkUsageResponse) GetNetworks

func (x *ListNetworkUsageResponse) GetNetworks() []*NetworkUsage

func (*ListNetworkUsageResponse) ProtoMessage

func (*ListNetworkUsageResponse) ProtoMessage()

func (*ListNetworkUsageResponse) ProtoReflect

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

func (*ListNetworkUsageResponse) Reset

func (x *ListNetworkUsageResponse) Reset()

func (*ListNetworkUsageResponse) String

func (x *ListNetworkUsageResponse) String() string

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"`
	// List filter.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting a list of networks.

func (*ListNetworksRequest) Descriptor

func (*ListNetworksRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNetworksRequest.ProtoReflect.Descriptor instead.

func (*ListNetworksRequest) GetFilter

func (x *ListNetworksRequest) GetFilter() string

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

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

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

ListNfsSharesRequest

type ListNfsSharesRequest struct {

	// Required. Parent value for ListNfsSharesRequest.
	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"`
	// List filter.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting a list of NFS shares.

func (*ListNfsSharesRequest) Descriptor

func (*ListNfsSharesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNfsSharesRequest.ProtoReflect.Descriptor instead.

func (*ListNfsSharesRequest) GetFilter

func (x *ListNfsSharesRequest) GetFilter() string

func (*ListNfsSharesRequest) GetPageSize

func (x *ListNfsSharesRequest) GetPageSize() int32

func (*ListNfsSharesRequest) GetPageToken

func (x *ListNfsSharesRequest) GetPageToken() string

func (*ListNfsSharesRequest) GetParent

func (x *ListNfsSharesRequest) GetParent() string

func (*ListNfsSharesRequest) ProtoMessage

func (*ListNfsSharesRequest) ProtoMessage()

func (*ListNfsSharesRequest) ProtoReflect

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

func (*ListNfsSharesRequest) Reset

func (x *ListNfsSharesRequest) Reset()

func (*ListNfsSharesRequest) String

func (x *ListNfsSharesRequest) String() string

ListNfsSharesResponse

type ListNfsSharesResponse struct {

	// The list of NFS shares.
	NfsShares []*NfsShare `protobuf:"bytes,1,rep,name=nfs_shares,json=nfsShares,proto3" json:"nfs_shares,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 NFS shares.

func (*ListNfsSharesResponse) Descriptor

func (*ListNfsSharesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListNfsSharesResponse.ProtoReflect.Descriptor instead.

func (*ListNfsSharesResponse) GetNextPageToken

func (x *ListNfsSharesResponse) GetNextPageToken() string

func (*ListNfsSharesResponse) GetNfsShares

func (x *ListNfsSharesResponse) GetNfsShares() []*NfsShare

func (*ListNfsSharesResponse) GetUnreachable

func (x *ListNfsSharesResponse) GetUnreachable() []string

func (*ListNfsSharesResponse) ProtoMessage

func (*ListNfsSharesResponse) ProtoMessage()

func (*ListNfsSharesResponse) ProtoReflect

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

func (*ListNfsSharesResponse) Reset

func (x *ListNfsSharesResponse) Reset()

func (*ListNfsSharesResponse) String

func (x *ListNfsSharesResponse) String() string

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"`
	// List filter.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting a list of storage volumes.

func (*ListVolumesRequest) Descriptor

func (*ListVolumesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListVolumesRequest.ProtoReflect.Descriptor instead.

func (*ListVolumesRequest) GetFilter

func (x *ListVolumesRequest) GetFilter() string

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

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

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

LogicalInterface

type LogicalInterface struct {
	LogicalNetworkInterfaces []*LogicalInterface_LogicalNetworkInterface "" /* 135 byte string literal not displayed */

	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`

	InterfaceIndex int32 `protobuf:"varint,3,opt,name=interface_index,json=interfaceIndex,proto3" json:"interface_index,omitempty"`

}

Each logical interface represents a logical abstraction of the underlying physical interface (for eg. bond, nic) of the instance. Each logical interface can effectively map to multiple network-IP pairs and still be mapped to one underlying physical interface.

func (*LogicalInterface) Descriptor

func (*LogicalInterface) Descriptor() ([]byte, []int)

Deprecated: Use LogicalInterface.ProtoReflect.Descriptor instead.

func (*LogicalInterface) GetInterfaceIndex

func (x *LogicalInterface) GetInterfaceIndex() int32

func (*LogicalInterface) GetLogicalNetworkInterfaces

func (x *LogicalInterface) GetLogicalNetworkInterfaces() []*LogicalInterface_LogicalNetworkInterface

func (*LogicalInterface) GetName

func (x *LogicalInterface) GetName() string

func (*LogicalInterface) ProtoMessage

func (*LogicalInterface) ProtoMessage()

func (*LogicalInterface) ProtoReflect

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

func (*LogicalInterface) Reset

func (x *LogicalInterface) Reset()

func (*LogicalInterface) String

func (x *LogicalInterface) String() string

LogicalInterface_LogicalNetworkInterface

type LogicalInterface_LogicalNetworkInterface struct {
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`

	IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`

	DefaultGateway bool `protobuf:"varint,3,opt,name=default_gateway,json=defaultGateway,proto3" json:"default_gateway,omitempty"`

	NetworkType Network_Type "" /* 147 byte string literal not displayed */

	Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`

}

Each logical network interface is effectively a network and IP pair.

func (*LogicalInterface_LogicalNetworkInterface) Descriptor

func (*LogicalInterface_LogicalNetworkInterface) Descriptor() ([]byte, []int)

Deprecated: Use LogicalInterface_LogicalNetworkInterface.ProtoReflect.Descriptor instead.

func (*LogicalInterface_LogicalNetworkInterface) GetDefaultGateway

func (x *LogicalInterface_LogicalNetworkInterface) GetDefaultGateway() bool

func (*LogicalInterface_LogicalNetworkInterface) GetId

func (*LogicalInterface_LogicalNetworkInterface) GetIpAddress

func (*LogicalInterface_LogicalNetworkInterface) GetNetwork

func (*LogicalInterface_LogicalNetworkInterface) GetNetworkType

func (*LogicalInterface_LogicalNetworkInterface) ProtoMessage

func (*LogicalInterface_LogicalNetworkInterface) ProtoReflect

func (*LogicalInterface_LogicalNetworkInterface) Reset

func (*LogicalInterface_LogicalNetworkInterface) String

Lun

type Lun struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`

	State Lun_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.Lun_State" json:"state,omitempty"`

	SizeGb int64 `protobuf:"varint,3,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`

	MultiprotocolType Lun_MultiprotocolType "" /* 174 byte string literal not displayed */

	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"`

	BootLun bool `protobuf:"varint,7,opt,name=boot_lun,json=bootLun,proto3" json:"boot_lun,omitempty"`

	StorageType Lun_StorageType "" /* 150 byte string literal not displayed */

	Wwid string `protobuf:"bytes,9,opt,name=wwid,proto3" json:"wwid,omitempty"`

}

A storage volume logical unit number (LUN).

func (*Lun) Descriptor

func (*Lun) Descriptor() ([]byte, []int)

Deprecated: Use Lun.ProtoReflect.Descriptor instead.

func (*Lun) GetBootLun

func (x *Lun) GetBootLun() bool

func (*Lun) GetId

func (x *Lun) GetId() string

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

Lun_MultiprotocolType

type Lun_MultiprotocolType int32

Display the operating systems present for the LUN multiprotocol type.

Lun_MULTIPROTOCOL_TYPE_UNSPECIFIED, Lun_LINUX

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

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

Lun_State

type Lun_State int32

The possible states for the LUN.

Lun_STATE_UNSPECIFIED, Lun_CREATING, Lun_UPDATING, Lun_READY, Lun_DELETING

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

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

Lun_StorageType

type Lun_StorageType int32

The storage types for a LUN.

Lun_STORAGE_TYPE_UNSPECIFIED, Lun_SSD, Lun_HDD

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

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

Network

type Network struct {
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`

	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`

	Type Network_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.baremetalsolution.v2.Network_Type" json:"type,omitempty"`

	IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`

	MacAddress []string `protobuf:"bytes,4,rep,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`

	State Network_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.Network_State" json:"state,omitempty"`

	VlanId string `protobuf:"bytes,7,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"`

	Cidr string `protobuf:"bytes,8,opt,name=cidr,proto3" json:"cidr,omitempty"`

	Vrf *VRF `protobuf:"bytes,9,opt,name=vrf,proto3" json:"vrf,omitempty"`

	Labels map[string]string "" /* 154 byte string literal not displayed */

	ServicesCidr string `protobuf:"bytes,12,opt,name=services_cidr,json=servicesCidr,proto3" json:"services_cidr,omitempty"`

	Reservations []*NetworkAddressReservation `protobuf:"bytes,13,rep,name=reservations,proto3" json:"reservations,omitempty"`

}

A Network.

func (*Network) Descriptor

func (*Network) Descriptor() ([]byte, []int)

Deprecated: Use Network.ProtoReflect.Descriptor instead.

func (*Network) GetCidr

func (x *Network) GetCidr() string

func (*Network) GetId

func (x *Network) GetId() string

func (*Network) GetIpAddress

func (x *Network) GetIpAddress() string

func (*Network) GetLabels

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

func (*Network) GetMacAddress

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

func (*Network) GetName

func (x *Network) GetName() string

func (*Network) GetReservations

func (x *Network) GetReservations() []*NetworkAddressReservation

func (*Network) GetServicesCidr

func (x *Network) GetServicesCidr() 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

NetworkAddressReservation

type NetworkAddressReservation struct {

	// The first address of this reservation block.
	// Must be specified as a single IPv4 address, e.g. 10.1.2.2.
	StartAddress string `protobuf:"bytes,1,opt,name=start_address,json=startAddress,proto3" json:"start_address,omitempty"`
	// The last address of this reservation block, inclusive. I.e., for cases when
	// reservations are only single addresses, end_address and start_address will
	// be the same.
	// Must be specified as a single IPv4 address, e.g. 10.1.2.2.
	EndAddress string `protobuf:"bytes,2,opt,name=end_address,json=endAddress,proto3" json:"end_address,omitempty"`
	// A note about this reservation, intended for human consumption.
	Note string `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
	// contains filtered or unexported fields
}

A reservation of one or more addresses in a network.

func (*NetworkAddressReservation) Descriptor

func (*NetworkAddressReservation) Descriptor() ([]byte, []int)

Deprecated: Use NetworkAddressReservation.ProtoReflect.Descriptor instead.

func (*NetworkAddressReservation) GetEndAddress

func (x *NetworkAddressReservation) GetEndAddress() string

func (*NetworkAddressReservation) GetNote

func (x *NetworkAddressReservation) GetNote() string

func (*NetworkAddressReservation) GetStartAddress

func (x *NetworkAddressReservation) GetStartAddress() string

func (*NetworkAddressReservation) ProtoMessage

func (*NetworkAddressReservation) ProtoMessage()

func (*NetworkAddressReservation) ProtoReflect

func (*NetworkAddressReservation) Reset

func (x *NetworkAddressReservation) Reset()

func (*NetworkAddressReservation) String

func (x *NetworkAddressReservation) String() string

NetworkUsage

type NetworkUsage struct {

	// Network.
	Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// All used IP addresses in this network.
	UsedIps []string `protobuf:"bytes,2,rep,name=used_ips,json=usedIps,proto3" json:"used_ips,omitempty"`
	// contains filtered or unexported fields
}

Network with all used IP addresses.

func (*NetworkUsage) Descriptor

func (*NetworkUsage) Descriptor() ([]byte, []int)

Deprecated: Use NetworkUsage.ProtoReflect.Descriptor instead.

func (*NetworkUsage) GetNetwork

func (x *NetworkUsage) GetNetwork() *Network

func (*NetworkUsage) GetUsedIps

func (x *NetworkUsage) GetUsedIps() []string

func (*NetworkUsage) ProtoMessage

func (*NetworkUsage) ProtoMessage()

func (*NetworkUsage) ProtoReflect

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

func (*NetworkUsage) Reset

func (x *NetworkUsage) Reset()

func (*NetworkUsage) String

func (x *NetworkUsage) String() string

Network_State

type Network_State int32

The possible states for this Network.

Network_STATE_UNSPECIFIED, Network_PROVISIONING, Network_PROVISIONED

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

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

Network_Type

type Network_Type int32

Network type.

Network_TYPE_UNSPECIFIED, Network_CLIENT, Network_PRIVATE

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

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

NfsShare

type NfsShare struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	NfsShareId string `protobuf:"bytes,2,opt,name=nfs_share_id,json=nfsShareId,proto3" json:"nfs_share_id,omitempty"`

	State NfsShare_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.NfsShare_State" json:"state,omitempty"`

	Volume string `protobuf:"bytes,4,opt,name=volume,proto3" json:"volume,omitempty"`

	AllowedClients []*NfsShare_AllowedClient `protobuf:"bytes,5,rep,name=allowed_clients,json=allowedClients,proto3" json:"allowed_clients,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

}

An NFS share.

func (*NfsShare) Descriptor

func (*NfsShare) Descriptor() ([]byte, []int)

Deprecated: Use NfsShare.ProtoReflect.Descriptor instead.

func (*NfsShare) GetAllowedClients

func (x *NfsShare) GetAllowedClients() []*NfsShare_AllowedClient

func (*NfsShare) GetLabels

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

func (*NfsShare) GetName

func (x *NfsShare) GetName() string

func (*NfsShare) GetNfsShareId

func (x *NfsShare) GetNfsShareId() string

func (*NfsShare) GetState

func (x *NfsShare) GetState() NfsShare_State

func (*NfsShare) GetVolume

func (x *NfsShare) GetVolume() string

func (*NfsShare) ProtoMessage

func (*NfsShare) ProtoMessage()

func (*NfsShare) ProtoReflect

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

func (*NfsShare) Reset

func (x *NfsShare) Reset()

func (*NfsShare) String

func (x *NfsShare) String() string

NfsShare_AllowedClient

type NfsShare_AllowedClient struct {
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`

	ShareIp string `protobuf:"bytes,2,opt,name=share_ip,json=shareIp,proto3" json:"share_ip,omitempty"`

	AllowedClientsCidr string `protobuf:"bytes,3,opt,name=allowed_clients_cidr,json=allowedClientsCidr,proto3" json:"allowed_clients_cidr,omitempty"`

	MountPermissions NfsShare_MountPermissions "" /* 175 byte string literal not displayed */

	AllowDev bool `protobuf:"varint,5,opt,name=allow_dev,json=allowDev,proto3" json:"allow_dev,omitempty"`

	AllowSuid bool `protobuf:"varint,6,opt,name=allow_suid,json=allowSuid,proto3" json:"allow_suid,omitempty"`

	NoRootSquash bool `protobuf:"varint,7,opt,name=no_root_squash,json=noRootSquash,proto3" json:"no_root_squash,omitempty"`

}

Represents an 'access point' for the share.

func (*NfsShare_AllowedClient) Descriptor

func (*NfsShare_AllowedClient) Descriptor() ([]byte, []int)

Deprecated: Use NfsShare_AllowedClient.ProtoReflect.Descriptor instead.

func (*NfsShare_AllowedClient) GetAllowDev

func (x *NfsShare_AllowedClient) GetAllowDev() bool

func (*NfsShare_AllowedClient) GetAllowSuid

func (x *NfsShare_AllowedClient) GetAllowSuid() bool

func (*NfsShare_AllowedClient) GetAllowedClientsCidr

func (x *NfsShare_AllowedClient) GetAllowedClientsCidr() string

func (*NfsShare_AllowedClient) GetMountPermissions

func (x *NfsShare_AllowedClient) GetMountPermissions() NfsShare_MountPermissions

func (*NfsShare_AllowedClient) GetNetwork

func (x *NfsShare_AllowedClient) GetNetwork() string

func (*NfsShare_AllowedClient) GetNoRootSquash

func (x *NfsShare_AllowedClient) GetNoRootSquash() bool

func (*NfsShare_AllowedClient) GetShareIp

func (x *NfsShare_AllowedClient) GetShareIp() string

func (*NfsShare_AllowedClient) ProtoMessage

func (*NfsShare_AllowedClient) ProtoMessage()

func (*NfsShare_AllowedClient) ProtoReflect

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

func (*NfsShare_AllowedClient) Reset

func (x *NfsShare_AllowedClient) Reset()

func (*NfsShare_AllowedClient) String

func (x *NfsShare_AllowedClient) String() string

NfsShare_MountPermissions

type NfsShare_MountPermissions int32

The possible mount permissions.

NfsShare_MOUNT_PERMISSIONS_UNSPECIFIED, NfsShare_READ, NfsShare_READ_WRITE

const (
	// Permissions were not specified.
	NfsShare_MOUNT_PERMISSIONS_UNSPECIFIED NfsShare_MountPermissions = 0
	// NFS share can be mount with read-only permissions.
	NfsShare_READ NfsShare_MountPermissions = 1
	// NFS share can be mount with read-write permissions.
	NfsShare_READ_WRITE NfsShare_MountPermissions = 2
)

func (NfsShare_MountPermissions) Descriptor

func (NfsShare_MountPermissions) Enum

func (NfsShare_MountPermissions) EnumDescriptor

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

Deprecated: Use NfsShare_MountPermissions.Descriptor instead.

func (NfsShare_MountPermissions) Number

func (NfsShare_MountPermissions) String

func (x NfsShare_MountPermissions) String() string

func (NfsShare_MountPermissions) Type

NfsShare_State

type NfsShare_State int32

The possible states for this NFS share.

NfsShare_STATE_UNSPECIFIED, NfsShare_PROVISIONED

const (
	// The share is in an unknown state.
	NfsShare_STATE_UNSPECIFIED NfsShare_State = 0
	// The share has been provisioned.
	NfsShare_PROVISIONED NfsShare_State = 1
)

func (NfsShare_State) Descriptor

func (NfsShare_State) Enum

func (x NfsShare_State) Enum() *NfsShare_State

func (NfsShare_State) EnumDescriptor

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

Deprecated: Use NfsShare_State.Descriptor instead.

func (NfsShare_State) Number

func (NfsShare_State) String

func (x NfsShare_State) String() string

func (NfsShare_State) 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

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

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

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

ResetInstanceResponse

type ResetInstanceResponse struct {
	// contains filtered or unexported fields
}

Response message from resetting a server.

func (*ResetInstanceResponse) Descriptor

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

ResizeVolumeRequest

type ResizeVolumeRequest struct {

	// Required. Volume to resize.
	Volume string `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	// New Volume size, in GiB.
	SizeGib int64 `protobuf:"varint,2,opt,name=size_gib,json=sizeGib,proto3" json:"size_gib,omitempty"`
	// contains filtered or unexported fields
}

Request for emergency resize Volume.

func (*ResizeVolumeRequest) Descriptor

func (*ResizeVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead.

func (*ResizeVolumeRequest) GetSizeGib

func (x *ResizeVolumeRequest) GetSizeGib() int64

func (*ResizeVolumeRequest) GetVolume

func (x *ResizeVolumeRequest) GetVolume() string

func (*ResizeVolumeRequest) ProtoMessage

func (*ResizeVolumeRequest) ProtoMessage()

func (*ResizeVolumeRequest) ProtoReflect

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

func (*ResizeVolumeRequest) Reset

func (x *ResizeVolumeRequest) Reset()

func (*ResizeVolumeRequest) String

func (x *ResizeVolumeRequest) String() string

ServerNetworkTemplate

type ServerNetworkTemplate struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	ApplicableInstanceTypes []string "" /* 132 byte string literal not displayed */

	LogicalInterfaces []*ServerNetworkTemplate_LogicalInterface `protobuf:"bytes,3,rep,name=logical_interfaces,json=logicalInterfaces,proto3" json:"logical_interfaces,omitempty"`

}

Network template.

func (*ServerNetworkTemplate) Descriptor

func (*ServerNetworkTemplate) Descriptor() ([]byte, []int)

Deprecated: Use ServerNetworkTemplate.ProtoReflect.Descriptor instead.

func (*ServerNetworkTemplate) GetApplicableInstanceTypes

func (x *ServerNetworkTemplate) GetApplicableInstanceTypes() []string

func (*ServerNetworkTemplate) GetLogicalInterfaces

func (*ServerNetworkTemplate) GetName

func (x *ServerNetworkTemplate) GetName() string

func (*ServerNetworkTemplate) ProtoMessage

func (*ServerNetworkTemplate) ProtoMessage()

func (*ServerNetworkTemplate) ProtoReflect

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

func (*ServerNetworkTemplate) Reset

func (x *ServerNetworkTemplate) Reset()

func (*ServerNetworkTemplate) String

func (x *ServerNetworkTemplate) String() string

ServerNetworkTemplate_LogicalInterface

type ServerNetworkTemplate_LogicalInterface struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	Type ServerNetworkTemplate_LogicalInterface_InterfaceType "" /* 154 byte string literal not displayed */

	Required bool `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`

}

Logical interface.

func (*ServerNetworkTemplate_LogicalInterface) Descriptor

func (*ServerNetworkTemplate_LogicalInterface) Descriptor() ([]byte, []int)

Deprecated: Use ServerNetworkTemplate_LogicalInterface.ProtoReflect.Descriptor instead.

func (*ServerNetworkTemplate_LogicalInterface) GetName

func (*ServerNetworkTemplate_LogicalInterface) GetRequired

func (*ServerNetworkTemplate_LogicalInterface) GetType

func (*ServerNetworkTemplate_LogicalInterface) ProtoMessage

func (*ServerNetworkTemplate_LogicalInterface) ProtoReflect

func (*ServerNetworkTemplate_LogicalInterface) Reset

func (*ServerNetworkTemplate_LogicalInterface) String

ServerNetworkTemplate_LogicalInterface_InterfaceType

type ServerNetworkTemplate_LogicalInterface_InterfaceType int32

Interface type.

ServerNetworkTemplate_LogicalInterface_INTERFACE_TYPE_UNSPECIFIED, ServerNetworkTemplate_LogicalInterface_BOND, ServerNetworkTemplate_LogicalInterface_NIC

const (
	// Unspecified value.
	ServerNetworkTemplate_LogicalInterface_INTERFACE_TYPE_UNSPECIFIED ServerNetworkTemplate_LogicalInterface_InterfaceType = 0
	// Bond interface type.
	ServerNetworkTemplate_LogicalInterface_BOND ServerNetworkTemplate_LogicalInterface_InterfaceType = 1
	// NIC interface type.
	ServerNetworkTemplate_LogicalInterface_NIC ServerNetworkTemplate_LogicalInterface_InterfaceType = 2
)

func (ServerNetworkTemplate_LogicalInterface_InterfaceType) Descriptor

func (ServerNetworkTemplate_LogicalInterface_InterfaceType) Enum

func (ServerNetworkTemplate_LogicalInterface_InterfaceType) EnumDescriptor

Deprecated: Use ServerNetworkTemplate_LogicalInterface_InterfaceType.Descriptor instead.

func (ServerNetworkTemplate_LogicalInterface_InterfaceType) Number

func (ServerNetworkTemplate_LogicalInterface_InterfaceType) String

func (ServerNetworkTemplate_LogicalInterface_InterfaceType) Type

StartInstanceRequest

type StartInstanceRequest 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 start a server.

func (*StartInstanceRequest) Descriptor

func (*StartInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartInstanceRequest.ProtoReflect.Descriptor instead.

func (*StartInstanceRequest) GetName

func (x *StartInstanceRequest) GetName() string

func (*StartInstanceRequest) ProtoMessage

func (*StartInstanceRequest) ProtoMessage()

func (*StartInstanceRequest) ProtoReflect

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

func (*StartInstanceRequest) Reset

func (x *StartInstanceRequest) Reset()

func (*StartInstanceRequest) String

func (x *StartInstanceRequest) String() string

StartInstanceResponse

type StartInstanceResponse struct {
	// contains filtered or unexported fields
}

Response message from starting a server.

func (*StartInstanceResponse) Descriptor

func (*StartInstanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use StartInstanceResponse.ProtoReflect.Descriptor instead.

func (*StartInstanceResponse) ProtoMessage

func (*StartInstanceResponse) ProtoMessage()

func (*StartInstanceResponse) ProtoReflect

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

func (*StartInstanceResponse) Reset

func (x *StartInstanceResponse) Reset()

func (*StartInstanceResponse) String

func (x *StartInstanceResponse) String() string

StopInstanceRequest

type StopInstanceRequest 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 stop a server.

func (*StopInstanceRequest) Descriptor

func (*StopInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopInstanceRequest.ProtoReflect.Descriptor instead.

func (*StopInstanceRequest) GetName

func (x *StopInstanceRequest) GetName() string

func (*StopInstanceRequest) ProtoMessage

func (*StopInstanceRequest) ProtoMessage()

func (*StopInstanceRequest) ProtoReflect

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

func (*StopInstanceRequest) Reset

func (x *StopInstanceRequest) Reset()

func (*StopInstanceRequest) String

func (x *StopInstanceRequest) String() string

StopInstanceResponse

type StopInstanceResponse struct {
	// contains filtered or unexported fields
}

Response message from stopping a server.

func (*StopInstanceResponse) Descriptor

func (*StopInstanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use StopInstanceResponse.ProtoReflect.Descriptor instead.

func (*StopInstanceResponse) ProtoMessage

func (*StopInstanceResponse) ProtoMessage()

func (*StopInstanceResponse) ProtoReflect

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

func (*StopInstanceResponse) Reset

func (x *StopInstanceResponse) Reset()

func (*StopInstanceResponse) String

func (x *StopInstanceResponse) String() string

UnimplementedBareMetalSolutionServer

type UnimplementedBareMetalSolutionServer struct {
}

UnimplementedBareMetalSolutionServer can be embedded to have forward compatible implementations.

func (*UnimplementedBareMetalSolutionServer) DetachLun

func (*UnimplementedBareMetalSolutionServer) GetInstance

func (*UnimplementedBareMetalSolutionServer) GetLun

func (*UnimplementedBareMetalSolutionServer) GetNetwork

func (*UnimplementedBareMetalSolutionServer) GetNfsShare

func (*UnimplementedBareMetalSolutionServer) GetVolume

func (*UnimplementedBareMetalSolutionServer) ListInstances

func (*UnimplementedBareMetalSolutionServer) ListLuns

func (*UnimplementedBareMetalSolutionServer) ListNetworkUsage

func (*UnimplementedBareMetalSolutionServer) ListNetworks

func (*UnimplementedBareMetalSolutionServer) ListNfsShares

func (*UnimplementedBareMetalSolutionServer) ListVolumes

func (*UnimplementedBareMetalSolutionServer) ResetInstance

func (*UnimplementedBareMetalSolutionServer) ResizeVolume

func (*UnimplementedBareMetalSolutionServer) StartInstance

func (*UnimplementedBareMetalSolutionServer) StopInstance

func (*UnimplementedBareMetalSolutionServer) UpdateInstance

func (*UnimplementedBareMetalSolutionServer) UpdateNetwork

func (*UnimplementedBareMetalSolutionServer) UpdateNfsShare

func (*UnimplementedBareMetalSolutionServer) UpdateVolume

UpdateInstanceRequest

type UpdateInstanceRequest struct {

	// Required. The server to update.
	//
	// The `name` field is used to identify the instance to update.
	// Format: projects/{project}/locations/{location}/instances/{instance}
	Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// The list of fields to update.
	// The currently supported fields are:
	//
	//	`labels`
	//	`hyperthreading_enabled`
	//	`os_image`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Message requesting to updating a server.

func (*UpdateInstanceRequest) Descriptor

func (*UpdateInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateInstanceRequest.ProtoReflect.Descriptor instead.

func (*UpdateInstanceRequest) GetInstance

func (x *UpdateInstanceRequest) GetInstance() *Instance

func (*UpdateInstanceRequest) GetUpdateMask

func (x *UpdateInstanceRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateInstanceRequest) ProtoMessage

func (*UpdateInstanceRequest) ProtoMessage()

func (*UpdateInstanceRequest) ProtoReflect

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

func (*UpdateInstanceRequest) Reset

func (x *UpdateInstanceRequest) Reset()

func (*UpdateInstanceRequest) String

func (x *UpdateInstanceRequest) String() string

UpdateNetworkRequest

type UpdateNetworkRequest struct {

	// Required. The network to update.
	//
	// The `name` field is used to identify the instance to update.
	// Format: projects/{project}/locations/{location}/networks/{network}
	Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// The list of fields to update.
	// The only currently supported fields are:
	//
	//	`labels`, `reservations`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Message requesting to updating a network.

func (*UpdateNetworkRequest) Descriptor

func (*UpdateNetworkRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNetworkRequest.ProtoReflect.Descriptor instead.

func (*UpdateNetworkRequest) GetNetwork

func (x *UpdateNetworkRequest) GetNetwork() *Network

func (*UpdateNetworkRequest) GetUpdateMask

func (x *UpdateNetworkRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateNetworkRequest) ProtoMessage

func (*UpdateNetworkRequest) ProtoMessage()

func (*UpdateNetworkRequest) ProtoReflect

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

func (*UpdateNetworkRequest) Reset

func (x *UpdateNetworkRequest) Reset()

func (*UpdateNetworkRequest) String

func (x *UpdateNetworkRequest) String() string

UpdateNfsShareRequest

type UpdateNfsShareRequest struct {

	// Required. The NFS share to update.
	//
	// The `name` field is used to identify the NFS share to update.
	// Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}
	NfsShare *NfsShare `protobuf:"bytes,1,opt,name=nfs_share,json=nfsShare,proto3" json:"nfs_share,omitempty"`
	// The list of fields to update.
	// The only currently supported fields are:
	//
	//	`labels`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Message requesting to updating a NFS share.

func (*UpdateNfsShareRequest) Descriptor

func (*UpdateNfsShareRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNfsShareRequest.ProtoReflect.Descriptor instead.

func (*UpdateNfsShareRequest) GetNfsShare

func (x *UpdateNfsShareRequest) GetNfsShare() *NfsShare

func (*UpdateNfsShareRequest) GetUpdateMask

func (x *UpdateNfsShareRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateNfsShareRequest) ProtoMessage

func (*UpdateNfsShareRequest) ProtoMessage()

func (*UpdateNfsShareRequest) ProtoReflect

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

func (*UpdateNfsShareRequest) Reset

func (x *UpdateNfsShareRequest) Reset()

func (*UpdateNfsShareRequest) String

func (x *UpdateNfsShareRequest) String() string

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`
	//	'labels'
	//	'snapshot_enabled'
	//	'snapshot_reservation_detail.reserved_space_percent'
	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

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

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

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

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

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

VRF_State

type VRF_State int32

The possible states for this VRF.

VRF_STATE_UNSPECIFIED, VRF_PROVISIONING, VRF_PROVISIONED

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