Constants
BareMetalSolution_ListInstances_FullMethodName, BareMetalSolution_GetInstance_FullMethodName, BareMetalSolution_UpdateInstance_FullMethodName, BareMetalSolution_RenameInstance_FullMethodName, BareMetalSolution_ResetInstance_FullMethodName, BareMetalSolution_StartInstance_FullMethodName, BareMetalSolution_StopInstance_FullMethodName, BareMetalSolution_EnableInteractiveSerialConsole_FullMethodName, BareMetalSolution_DisableInteractiveSerialConsole_FullMethodName, BareMetalSolution_DetachLun_FullMethodName, BareMetalSolution_ListSSHKeys_FullMethodName, BareMetalSolution_CreateSSHKey_FullMethodName, BareMetalSolution_DeleteSSHKey_FullMethodName, BareMetalSolution_ListVolumes_FullMethodName, BareMetalSolution_GetVolume_FullMethodName, BareMetalSolution_UpdateVolume_FullMethodName, BareMetalSolution_RenameVolume_FullMethodName, BareMetalSolution_EvictVolume_FullMethodName, BareMetalSolution_ResizeVolume_FullMethodName, BareMetalSolution_ListNetworks_FullMethodName, BareMetalSolution_ListNetworkUsage_FullMethodName, BareMetalSolution_GetNetwork_FullMethodName, BareMetalSolution_UpdateNetwork_FullMethodName, BareMetalSolution_CreateVolumeSnapshot_FullMethodName, BareMetalSolution_RestoreVolumeSnapshot_FullMethodName, BareMetalSolution_DeleteVolumeSnapshot_FullMethodName, BareMetalSolution_GetVolumeSnapshot_FullMethodName, BareMetalSolution_ListVolumeSnapshots_FullMethodName, BareMetalSolution_GetLun_FullMethodName, BareMetalSolution_ListLuns_FullMethodName, BareMetalSolution_EvictLun_FullMethodName, BareMetalSolution_GetNfsShare_FullMethodName, BareMetalSolution_ListNfsShares_FullMethodName, BareMetalSolution_UpdateNfsShare_FullMethodName, BareMetalSolution_CreateNfsShare_FullMethodName, BareMetalSolution_RenameNfsShare_FullMethodName, BareMetalSolution_DeleteNfsShare_FullMethodName, BareMetalSolution_ListProvisioningQuotas_FullMethodName, BareMetalSolution_SubmitProvisioningConfig_FullMethodName, BareMetalSolution_GetProvisioningConfig_FullMethodName, BareMetalSolution_CreateProvisioningConfig_FullMethodName, BareMetalSolution_UpdateProvisioningConfig_FullMethodName, BareMetalSolution_RenameNetwork_FullMethodName, BareMetalSolution_ListOSImages_FullMethodName
const (
BareMetalSolution_ListInstances_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/ListInstances"
BareMetalSolution_GetInstance_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/GetInstance"
BareMetalSolution_UpdateInstance_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/UpdateInstance"
BareMetalSolution_RenameInstance_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/RenameInstance"
BareMetalSolution_ResetInstance_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/ResetInstance"
BareMetalSolution_StartInstance_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/StartInstance"
BareMetalSolution_StopInstance_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/StopInstance"
BareMetalSolution_EnableInteractiveSerialConsole_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/EnableInteractiveSerialConsole"
BareMetalSolution_DisableInteractiveSerialConsole_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/DisableInteractiveSerialConsole"
BareMetalSolution_DetachLun_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/DetachLun"
BareMetalSolution_ListSSHKeys_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/ListSSHKeys"
BareMetalSolution_CreateSSHKey_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/CreateSSHKey"
BareMetalSolution_DeleteSSHKey_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/DeleteSSHKey"
BareMetalSolution_ListVolumes_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/ListVolumes"
BareMetalSolution_GetVolume_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/GetVolume"
BareMetalSolution_UpdateVolume_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/UpdateVolume"
BareMetalSolution_RenameVolume_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/RenameVolume"
BareMetalSolution_EvictVolume_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/EvictVolume"
BareMetalSolution_ResizeVolume_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/ResizeVolume"
BareMetalSolution_ListNetworks_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/ListNetworks"
BareMetalSolution_ListNetworkUsage_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/ListNetworkUsage"
BareMetalSolution_GetNetwork_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/GetNetwork"
BareMetalSolution_UpdateNetwork_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/UpdateNetwork"
BareMetalSolution_CreateVolumeSnapshot_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/CreateVolumeSnapshot"
BareMetalSolution_RestoreVolumeSnapshot_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/RestoreVolumeSnapshot"
BareMetalSolution_DeleteVolumeSnapshot_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/DeleteVolumeSnapshot"
BareMetalSolution_GetVolumeSnapshot_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/GetVolumeSnapshot"
BareMetalSolution_ListVolumeSnapshots_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/ListVolumeSnapshots"
BareMetalSolution_GetLun_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/GetLun"
BareMetalSolution_ListLuns_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/ListLuns"
BareMetalSolution_EvictLun_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/EvictLun"
BareMetalSolution_GetNfsShare_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/GetNfsShare"
BareMetalSolution_ListNfsShares_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/ListNfsShares"
BareMetalSolution_UpdateNfsShare_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/UpdateNfsShare"
BareMetalSolution_CreateNfsShare_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/CreateNfsShare"
BareMetalSolution_RenameNfsShare_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/RenameNfsShare"
BareMetalSolution_DeleteNfsShare_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/DeleteNfsShare"
BareMetalSolution_ListProvisioningQuotas_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/ListProvisioningQuotas"
BareMetalSolution_SubmitProvisioningConfig_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/SubmitProvisioningConfig"
BareMetalSolution_GetProvisioningConfig_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/GetProvisioningConfig"
BareMetalSolution_CreateProvisioningConfig_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/CreateProvisioningConfig"
BareMetalSolution_UpdateProvisioningConfig_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/UpdateProvisioningConfig"
BareMetalSolution_RenameNetwork_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/RenameNetwork"
BareMetalSolution_ListOSImages_FullMethodName = "/google.cloud.baremetalsolution.v2.BareMetalSolution/ListOSImages"
)Variables
VolumePerformanceTier_name, VolumePerformanceTier_value
var (
VolumePerformanceTier_name = map[int32]string{
0: "VOLUME_PERFORMANCE_TIER_UNSPECIFIED",
1: "VOLUME_PERFORMANCE_TIER_SHARED",
2: "VOLUME_PERFORMANCE_TIER_ASSIGNED",
3: "VOLUME_PERFORMANCE_TIER_HT",
}
VolumePerformanceTier_value = map[string]int32{
"VOLUME_PERFORMANCE_TIER_UNSPECIFIED": 0,
"VOLUME_PERFORMANCE_TIER_SHARED": 1,
"VOLUME_PERFORMANCE_TIER_ASSIGNED": 2,
"VOLUME_PERFORMANCE_TIER_HT": 3,
}
)Enum value maps for VolumePerformanceTier.
WorkloadProfile_name, WorkloadProfile_value
var (
WorkloadProfile_name = map[int32]string{
0: "WORKLOAD_PROFILE_UNSPECIFIED",
1: "WORKLOAD_PROFILE_GENERIC",
2: "WORKLOAD_PROFILE_HANA",
}
WorkloadProfile_value = map[string]int32{
"WORKLOAD_PROFILE_UNSPECIFIED": 0,
"WORKLOAD_PROFILE_GENERIC": 1,
"WORKLOAD_PROFILE_HANA": 2,
}
)Enum value maps for WorkloadProfile.
Instance_State_name, Instance_State_value
var (
Instance_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "PROVISIONING",
2: "RUNNING",
3: "DELETED",
4: "UPDATING",
5: "STARTING",
6: "STOPPING",
7: "SHUTDOWN",
}
Instance_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PROVISIONING": 1,
"RUNNING": 2,
"DELETED": 3,
"UPDATING": 4,
"STARTING": 5,
"STOPPING": 6,
"SHUTDOWN": 7,
}
)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",
5: "COOL_OFF",
}
Lun_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"UPDATING": 2,
"READY": 3,
"DELETING": 4,
"COOL_OFF": 5,
}
)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",
3: "DEPROVISIONING",
4: "UPDATING",
}
Network_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PROVISIONING": 1,
"PROVISIONED": 2,
"DEPROVISIONING": 3,
"UPDATING": 4,
}
)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",
2: "CREATING",
3: "UPDATING",
4: "DELETING",
}
NfsShare_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PROVISIONED": 1,
"CREATING": 2,
"UPDATING": 3,
"DELETING": 4,
}
)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.
NfsShare_StorageType_name, NfsShare_StorageType_value
var (
NfsShare_StorageType_name = map[int32]string{
0: "STORAGE_TYPE_UNSPECIFIED",
1: "SSD",
2: "HDD",
}
NfsShare_StorageType_value = map[string]int32{
"STORAGE_TYPE_UNSPECIFIED": 0,
"SSD": 1,
"HDD": 2,
}
)Enum value maps for NfsShare_StorageType.
ProvisioningConfig_State_name, ProvisioningConfig_State_value
var (
ProvisioningConfig_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "DRAFT",
2: "SUBMITTED",
3: "PROVISIONING",
4: "PROVISIONED",
5: "VALIDATED",
6: "CANCELLED",
7: "FAILED",
}
ProvisioningConfig_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"DRAFT": 1,
"SUBMITTED": 2,
"PROVISIONING": 3,
"PROVISIONED": 4,
"VALIDATED": 5,
"CANCELLED": 6,
"FAILED": 7,
}
)Enum value maps for ProvisioningConfig_State.
ProvisioningQuota_AssetType_name, ProvisioningQuota_AssetType_value
var (
ProvisioningQuota_AssetType_name = map[int32]string{
0: "ASSET_TYPE_UNSPECIFIED",
1: "ASSET_TYPE_SERVER",
2: "ASSET_TYPE_STORAGE",
3: "ASSET_TYPE_NETWORK",
}
ProvisioningQuota_AssetType_value = map[string]int32{
"ASSET_TYPE_UNSPECIFIED": 0,
"ASSET_TYPE_SERVER": 1,
"ASSET_TYPE_STORAGE": 2,
"ASSET_TYPE_NETWORK": 3,
}
)Enum value maps for ProvisioningQuota_AssetType.
InstanceConfig_NetworkConfig_name, InstanceConfig_NetworkConfig_value
var (
InstanceConfig_NetworkConfig_name = map[int32]string{
0: "NETWORKCONFIG_UNSPECIFIED",
1: "SINGLE_VLAN",
2: "MULTI_VLAN",
}
InstanceConfig_NetworkConfig_value = map[string]int32{
"NETWORKCONFIG_UNSPECIFIED": 0,
"SINGLE_VLAN": 1,
"MULTI_VLAN": 2,
}
)Enum value maps for InstanceConfig_NetworkConfig.
VolumeConfig_Type_name, VolumeConfig_Type_value
var (
VolumeConfig_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "FLASH",
2: "DISK",
}
VolumeConfig_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"FLASH": 1,
"DISK": 2,
}
)Enum value maps for VolumeConfig_Type.
VolumeConfig_Protocol_name, VolumeConfig_Protocol_value
var (
VolumeConfig_Protocol_name = map[int32]string{
0: "PROTOCOL_UNSPECIFIED",
1: "PROTOCOL_FC",
2: "PROTOCOL_NFS",
}
VolumeConfig_Protocol_value = map[string]int32{
"PROTOCOL_UNSPECIFIED": 0,
"PROTOCOL_FC": 1,
"PROTOCOL_NFS": 2,
}
)Enum value maps for VolumeConfig_Protocol.
VolumeConfig_NfsExport_Permissions_name, VolumeConfig_NfsExport_Permissions_value
var (
VolumeConfig_NfsExport_Permissions_name = map[int32]string{
0: "PERMISSIONS_UNSPECIFIED",
1: "READ_ONLY",
2: "READ_WRITE",
}
VolumeConfig_NfsExport_Permissions_value = map[string]int32{
"PERMISSIONS_UNSPECIFIED": 0,
"READ_ONLY": 1,
"READ_WRITE": 2,
}
)Enum value maps for VolumeConfig_NfsExport_Permissions.
NetworkConfig_Type_name, NetworkConfig_Type_value
var (
NetworkConfig_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "CLIENT",
2: "PRIVATE",
}
NetworkConfig_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"CLIENT": 1,
"PRIVATE": 2,
}
)Enum value maps for NetworkConfig_Type.
NetworkConfig_Bandwidth_name, NetworkConfig_Bandwidth_value
var (
NetworkConfig_Bandwidth_name = map[int32]string{
0: "BANDWIDTH_UNSPECIFIED",
1: "BW_1_GBPS",
2: "BW_2_GBPS",
3: "BW_5_GBPS",
4: "BW_10_GBPS",
}
NetworkConfig_Bandwidth_value = map[string]int32{
"BANDWIDTH_UNSPECIFIED": 0,
"BW_1_GBPS": 1,
"BW_2_GBPS": 2,
"BW_5_GBPS": 3,
"BW_10_GBPS": 4,
}
)Enum value maps for NetworkConfig_Bandwidth.
NetworkConfig_ServiceCidr_name, NetworkConfig_ServiceCidr_value
var (
NetworkConfig_ServiceCidr_name = map[int32]string{
0: "SERVICE_CIDR_UNSPECIFIED",
1: "DISABLED",
2: "HIGH_26",
3: "HIGH_27",
4: "HIGH_28",
}
NetworkConfig_ServiceCidr_value = map[string]int32{
"SERVICE_CIDR_UNSPECIFIED": 0,
"DISABLED": 1,
"HIGH_26": 2,
"HIGH_27": 3,
"HIGH_28": 4,
}
)Enum value maps for NetworkConfig_ServiceCidr.
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",
4: "UPDATING",
5: "COOL_OFF",
}
Volume_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"READY": 2,
"DELETING": 3,
"UPDATING": 4,
"COOL_OFF": 5,
}
)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.
Volume_Protocol_name, Volume_Protocol_value
var (
Volume_Protocol_name = map[int32]string{
0: "PROTOCOL_UNSPECIFIED",
1: "FIBRE_CHANNEL",
2: "NFS",
}
Volume_Protocol_value = map[string]int32{
"PROTOCOL_UNSPECIFIED": 0,
"FIBRE_CHANNEL": 1,
"NFS": 2,
}
)Enum value maps for Volume_Protocol.
Volume_WorkloadProfile_name, Volume_WorkloadProfile_value
var (
Volume_WorkloadProfile_name = map[int32]string{
0: "WORKLOAD_PROFILE_UNSPECIFIED",
1: "GENERIC",
2: "HANA",
}
Volume_WorkloadProfile_value = map[string]int32{
"WORKLOAD_PROFILE_UNSPECIFIED": 0,
"GENERIC": 1,
"HANA": 2,
}
)Enum value maps for Volume_WorkloadProfile.
VolumeSnapshot_SnapshotType_name, VolumeSnapshot_SnapshotType_value
var (
VolumeSnapshot_SnapshotType_name = map[int32]string{
0: "SNAPSHOT_TYPE_UNSPECIFIED",
1: "AD_HOC",
2: "SCHEDULED",
}
VolumeSnapshot_SnapshotType_value = map[string]int32{
"SNAPSHOT_TYPE_UNSPECIFIED": 0,
"AD_HOC": 1,
"SCHEDULED": 2,
}
)Enum value maps for VolumeSnapshot_SnapshotType.
BareMetalSolution_ServiceDesc
var BareMetalSolution_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.baremetalsolution.v2.BareMetalSolution",
HandlerType: (*BareMetalSolutionServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListInstances",
Handler: _BareMetalSolution_ListInstances_Handler,
},
{
MethodName: "GetInstance",
Handler: _BareMetalSolution_GetInstance_Handler,
},
{
MethodName: "UpdateInstance",
Handler: _BareMetalSolution_UpdateInstance_Handler,
},
{
MethodName: "RenameInstance",
Handler: _BareMetalSolution_RenameInstance_Handler,
},
{
MethodName: "ResetInstance",
Handler: _BareMetalSolution_ResetInstance_Handler,
},
{
MethodName: "StartInstance",
Handler: _BareMetalSolution_StartInstance_Handler,
},
{
MethodName: "StopInstance",
Handler: _BareMetalSolution_StopInstance_Handler,
},
{
MethodName: "EnableInteractiveSerialConsole",
Handler: _BareMetalSolution_EnableInteractiveSerialConsole_Handler,
},
{
MethodName: "DisableInteractiveSerialConsole",
Handler: _BareMetalSolution_DisableInteractiveSerialConsole_Handler,
},
{
MethodName: "DetachLun",
Handler: _BareMetalSolution_DetachLun_Handler,
},
{
MethodName: "ListSSHKeys",
Handler: _BareMetalSolution_ListSSHKeys_Handler,
},
{
MethodName: "CreateSSHKey",
Handler: _BareMetalSolution_CreateSSHKey_Handler,
},
{
MethodName: "DeleteSSHKey",
Handler: _BareMetalSolution_DeleteSSHKey_Handler,
},
{
MethodName: "ListVolumes",
Handler: _BareMetalSolution_ListVolumes_Handler,
},
{
MethodName: "GetVolume",
Handler: _BareMetalSolution_GetVolume_Handler,
},
{
MethodName: "UpdateVolume",
Handler: _BareMetalSolution_UpdateVolume_Handler,
},
{
MethodName: "RenameVolume",
Handler: _BareMetalSolution_RenameVolume_Handler,
},
{
MethodName: "EvictVolume",
Handler: _BareMetalSolution_EvictVolume_Handler,
},
{
MethodName: "ResizeVolume",
Handler: _BareMetalSolution_ResizeVolume_Handler,
},
{
MethodName: "ListNetworks",
Handler: _BareMetalSolution_ListNetworks_Handler,
},
{
MethodName: "ListNetworkUsage",
Handler: _BareMetalSolution_ListNetworkUsage_Handler,
},
{
MethodName: "GetNetwork",
Handler: _BareMetalSolution_GetNetwork_Handler,
},
{
MethodName: "UpdateNetwork",
Handler: _BareMetalSolution_UpdateNetwork_Handler,
},
{
MethodName: "CreateVolumeSnapshot",
Handler: _BareMetalSolution_CreateVolumeSnapshot_Handler,
},
{
MethodName: "RestoreVolumeSnapshot",
Handler: _BareMetalSolution_RestoreVolumeSnapshot_Handler,
},
{
MethodName: "DeleteVolumeSnapshot",
Handler: _BareMetalSolution_DeleteVolumeSnapshot_Handler,
},
{
MethodName: "GetVolumeSnapshot",
Handler: _BareMetalSolution_GetVolumeSnapshot_Handler,
},
{
MethodName: "ListVolumeSnapshots",
Handler: _BareMetalSolution_ListVolumeSnapshots_Handler,
},
{
MethodName: "GetLun",
Handler: _BareMetalSolution_GetLun_Handler,
},
{
MethodName: "ListLuns",
Handler: _BareMetalSolution_ListLuns_Handler,
},
{
MethodName: "EvictLun",
Handler: _BareMetalSolution_EvictLun_Handler,
},
{
MethodName: "GetNfsShare",
Handler: _BareMetalSolution_GetNfsShare_Handler,
},
{
MethodName: "ListNfsShares",
Handler: _BareMetalSolution_ListNfsShares_Handler,
},
{
MethodName: "UpdateNfsShare",
Handler: _BareMetalSolution_UpdateNfsShare_Handler,
},
{
MethodName: "CreateNfsShare",
Handler: _BareMetalSolution_CreateNfsShare_Handler,
},
{
MethodName: "RenameNfsShare",
Handler: _BareMetalSolution_RenameNfsShare_Handler,
},
{
MethodName: "DeleteNfsShare",
Handler: _BareMetalSolution_DeleteNfsShare_Handler,
},
{
MethodName: "ListProvisioningQuotas",
Handler: _BareMetalSolution_ListProvisioningQuotas_Handler,
},
{
MethodName: "SubmitProvisioningConfig",
Handler: _BareMetalSolution_SubmitProvisioningConfig_Handler,
},
{
MethodName: "GetProvisioningConfig",
Handler: _BareMetalSolution_GetProvisioningConfig_Handler,
},
{
MethodName: "CreateProvisioningConfig",
Handler: _BareMetalSolution_CreateProvisioningConfig_Handler,
},
{
MethodName: "UpdateProvisioningConfig",
Handler: _BareMetalSolution_UpdateProvisioningConfig_Handler,
},
{
MethodName: "RenameNetwork",
Handler: _BareMetalSolution_RenameNetwork_Handler,
},
{
MethodName: "ListOSImages",
Handler: _BareMetalSolution_ListOSImages_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/baremetalsolution/v2/baremetalsolution.proto",
}BareMetalSolution_ServiceDesc is the grpc.ServiceDesc for BareMetalSolution service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_baremetalsolution_v2_baremetalsolution_proto
var File_google_cloud_baremetalsolution_v2_baremetalsolution_proto protoreflect.FileDescriptorFile_google_cloud_baremetalsolution_v2_common_proto
var File_google_cloud_baremetalsolution_v2_common_proto protoreflect.FileDescriptorFile_google_cloud_baremetalsolution_v2_instance_proto
var File_google_cloud_baremetalsolution_v2_instance_proto protoreflect.FileDescriptorFile_google_cloud_baremetalsolution_v2_lun_proto
var File_google_cloud_baremetalsolution_v2_lun_proto protoreflect.FileDescriptorFile_google_cloud_baremetalsolution_v2_network_proto
var File_google_cloud_baremetalsolution_v2_network_proto protoreflect.FileDescriptorFile_google_cloud_baremetalsolution_v2_nfs_share_proto
var File_google_cloud_baremetalsolution_v2_nfs_share_proto protoreflect.FileDescriptorFile_google_cloud_baremetalsolution_v2_osimage_proto
var File_google_cloud_baremetalsolution_v2_osimage_proto protoreflect.FileDescriptorFile_google_cloud_baremetalsolution_v2_provisioning_proto
var File_google_cloud_baremetalsolution_v2_provisioning_proto protoreflect.FileDescriptorFile_google_cloud_baremetalsolution_v2_ssh_key_proto
var File_google_cloud_baremetalsolution_v2_ssh_key_proto protoreflect.FileDescriptorFile_google_cloud_baremetalsolution_v2_volume_proto
var File_google_cloud_baremetalsolution_v2_volume_proto protoreflect.FileDescriptorFile_google_cloud_baremetalsolution_v2_volume_snapshot_proto
var File_google_cloud_baremetalsolution_v2_volume_snapshot_proto protoreflect.FileDescriptorFunctions
func RegisterBareMetalSolutionServer
func RegisterBareMetalSolutionServer(s grpc.ServiceRegistrar, 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) (*longrunningpb.Operation, error)
// RenameInstance sets a new name for an instance.
// Use with caution, previous names become immediately invalidated.
RenameInstance(ctx context.Context, in *RenameInstanceRequest, 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) (*longrunningpb.Operation, error)
// Starts a server that was shutdown.
StartInstance(ctx context.Context, in *StartInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Stop a running server.
StopInstance(ctx context.Context, in *StopInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Enable the interactive serial console feature on an instance.
EnableInteractiveSerialConsole(ctx context.Context, in *EnableInteractiveSerialConsoleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Disable the interactive serial console feature on an instance.
DisableInteractiveSerialConsole(ctx context.Context, in *DisableInteractiveSerialConsoleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Detach LUN from Instance.
DetachLun(ctx context.Context, in *DetachLunRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists the public SSH keys registered for the specified project.
// These SSH keys are used only for the interactive serial console feature.
ListSSHKeys(ctx context.Context, in *ListSSHKeysRequest, opts ...grpc.CallOption) (*ListSSHKeysResponse, error)
// Register a public SSH key in the specified project for use with the
// interactive serial console feature.
CreateSSHKey(ctx context.Context, in *CreateSSHKeyRequest, opts ...grpc.CallOption) (*SSHKey, error)
// Deletes a public SSH key registered in the specified project.
DeleteSSHKey(ctx context.Context, in *DeleteSSHKeyRequest, opts ...grpc.CallOption) (*emptypb.Empty, 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) (*longrunningpb.Operation, error)
// RenameVolume sets a new name for a volume.
// Use with caution, previous names become immediately invalidated.
RenameVolume(ctx context.Context, in *RenameVolumeRequest, opts ...grpc.CallOption) (*Volume, error)
// Skips volume's cooloff and deletes it now.
// Volume must be in cooloff state.
EvictVolume(ctx context.Context, in *EvictVolumeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Emergency Volume resize.
ResizeVolume(ctx context.Context, in *ResizeVolumeRequest, opts ...grpc.CallOption) (*longrunningpb.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) (*longrunningpb.Operation, error)
// Takes a snapshot of a boot volume.
// Returns INVALID_ARGUMENT if called for a non-boot volume.
CreateVolumeSnapshot(ctx context.Context, in *CreateVolumeSnapshotRequest, opts ...grpc.CallOption) (*VolumeSnapshot, error)
// Uses the specified snapshot to restore its parent volume.
// Returns INVALID_ARGUMENT if called for a non-boot volume.
RestoreVolumeSnapshot(ctx context.Context, in *RestoreVolumeSnapshotRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a volume snapshot.
// Returns INVALID_ARGUMENT if called for a non-boot volume.
DeleteVolumeSnapshot(ctx context.Context, in *DeleteVolumeSnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Returns the specified snapshot resource.
// Returns INVALID_ARGUMENT if called for a non-boot volume.
GetVolumeSnapshot(ctx context.Context, in *GetVolumeSnapshotRequest, opts ...grpc.CallOption) (*VolumeSnapshot, error)
// Retrieves the list of snapshots for the specified volume.
// Returns a response with an empty list of snapshots if called
// for a non-boot 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)
// Skips lun's cooloff and deletes it now.
// Lun must be in cooloff state.
EvictLun(ctx context.Context, in *EvictLunRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, 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) (*longrunningpb.Operation, error)
// Create an NFS share.
CreateNfsShare(ctx context.Context, in *CreateNfsShareRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// RenameNfsShare sets a new name for an nfsshare.
// Use with caution, previous names become immediately invalidated.
RenameNfsShare(ctx context.Context, in *RenameNfsShareRequest, opts ...grpc.CallOption) (*NfsShare, error)
// Delete an NFS share. The underlying volume is automatically deleted.
DeleteNfsShare(ctx context.Context, in *DeleteNfsShareRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// List the budget details to provision resources on a given project.
ListProvisioningQuotas(ctx context.Context, in *ListProvisioningQuotasRequest, opts ...grpc.CallOption) (*ListProvisioningQuotasResponse, error)
// Submit a provisiong configuration for a given project.
SubmitProvisioningConfig(ctx context.Context, in *SubmitProvisioningConfigRequest, opts ...grpc.CallOption) (*SubmitProvisioningConfigResponse, error)
// Get ProvisioningConfig by name.
GetProvisioningConfig(ctx context.Context, in *GetProvisioningConfigRequest, opts ...grpc.CallOption) (*ProvisioningConfig, error)
// Create new ProvisioningConfig.
CreateProvisioningConfig(ctx context.Context, in *CreateProvisioningConfigRequest, opts ...grpc.CallOption) (*ProvisioningConfig, error)
// Update existing ProvisioningConfig.
UpdateProvisioningConfig(ctx context.Context, in *UpdateProvisioningConfigRequest, opts ...grpc.CallOption) (*ProvisioningConfig, error)
// RenameNetwork sets a new name for a network.
// Use with caution, previous names become immediately invalidated.
RenameNetwork(ctx context.Context, in *RenameNetworkRequest, opts ...grpc.CallOption) (*Network, error)
// Retrieves the list of OS images which are currently approved.
ListOSImages(ctx context.Context, in *ListOSImagesRequest, opts ...grpc.CallOption) (*ListOSImagesResponse, error)
}BareMetalSolutionClient is the client API for BareMetalSolution service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBareMetalSolutionClient
func NewBareMetalSolutionClient(cc grpc.ClientConnInterface) BareMetalSolutionClientBareMetalSolutionServer
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) (*longrunningpb.Operation, error)
// RenameInstance sets a new name for an instance.
// Use with caution, previous names become immediately invalidated.
RenameInstance(context.Context, *RenameInstanceRequest) (*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) (*longrunningpb.Operation, error)
// Starts a server that was shutdown.
StartInstance(context.Context, *StartInstanceRequest) (*longrunningpb.Operation, error)
// Stop a running server.
StopInstance(context.Context, *StopInstanceRequest) (*longrunningpb.Operation, error)
// Enable the interactive serial console feature on an instance.
EnableInteractiveSerialConsole(context.Context, *EnableInteractiveSerialConsoleRequest) (*longrunningpb.Operation, error)
// Disable the interactive serial console feature on an instance.
DisableInteractiveSerialConsole(context.Context, *DisableInteractiveSerialConsoleRequest) (*longrunningpb.Operation, error)
// Detach LUN from Instance.
DetachLun(context.Context, *DetachLunRequest) (*longrunningpb.Operation, error)
// Lists the public SSH keys registered for the specified project.
// These SSH keys are used only for the interactive serial console feature.
ListSSHKeys(context.Context, *ListSSHKeysRequest) (*ListSSHKeysResponse, error)
// Register a public SSH key in the specified project for use with the
// interactive serial console feature.
CreateSSHKey(context.Context, *CreateSSHKeyRequest) (*SSHKey, error)
// Deletes a public SSH key registered in the specified project.
DeleteSSHKey(context.Context, *DeleteSSHKeyRequest) (*emptypb.Empty, 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) (*longrunningpb.Operation, error)
// RenameVolume sets a new name for a volume.
// Use with caution, previous names become immediately invalidated.
RenameVolume(context.Context, *RenameVolumeRequest) (*Volume, error)
// Skips volume's cooloff and deletes it now.
// Volume must be in cooloff state.
EvictVolume(context.Context, *EvictVolumeRequest) (*longrunningpb.Operation, error)
// Emergency Volume resize.
ResizeVolume(context.Context, *ResizeVolumeRequest) (*longrunningpb.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) (*longrunningpb.Operation, error)
// Takes a snapshot of a boot volume.
// Returns INVALID_ARGUMENT if called for a non-boot volume.
CreateVolumeSnapshot(context.Context, *CreateVolumeSnapshotRequest) (*VolumeSnapshot, error)
// Uses the specified snapshot to restore its parent volume.
// Returns INVALID_ARGUMENT if called for a non-boot volume.
RestoreVolumeSnapshot(context.Context, *RestoreVolumeSnapshotRequest) (*longrunningpb.Operation, error)
// Deletes a volume snapshot.
// Returns INVALID_ARGUMENT if called for a non-boot volume.
DeleteVolumeSnapshot(context.Context, *DeleteVolumeSnapshotRequest) (*emptypb.Empty, error)
// Returns the specified snapshot resource.
// Returns INVALID_ARGUMENT if called for a non-boot volume.
GetVolumeSnapshot(context.Context, *GetVolumeSnapshotRequest) (*VolumeSnapshot, error)
// Retrieves the list of snapshots for the specified volume.
// Returns a response with an empty list of snapshots if called
// for a non-boot 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)
// Skips lun's cooloff and deletes it now.
// Lun must be in cooloff state.
EvictLun(context.Context, *EvictLunRequest) (*longrunningpb.Operation, 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) (*longrunningpb.Operation, error)
// Create an NFS share.
CreateNfsShare(context.Context, *CreateNfsShareRequest) (*longrunningpb.Operation, error)
// RenameNfsShare sets a new name for an nfsshare.
// Use with caution, previous names become immediately invalidated.
RenameNfsShare(context.Context, *RenameNfsShareRequest) (*NfsShare, error)
// Delete an NFS share. The underlying volume is automatically deleted.
DeleteNfsShare(context.Context, *DeleteNfsShareRequest) (*longrunningpb.Operation, error)
// List the budget details to provision resources on a given project.
ListProvisioningQuotas(context.Context, *ListProvisioningQuotasRequest) (*ListProvisioningQuotasResponse, error)
// Submit a provisiong configuration for a given project.
SubmitProvisioningConfig(context.Context, *SubmitProvisioningConfigRequest) (*SubmitProvisioningConfigResponse, error)
// Get ProvisioningConfig by name.
GetProvisioningConfig(context.Context, *GetProvisioningConfigRequest) (*ProvisioningConfig, error)
// Create new ProvisioningConfig.
CreateProvisioningConfig(context.Context, *CreateProvisioningConfigRequest) (*ProvisioningConfig, error)
// Update existing ProvisioningConfig.
UpdateProvisioningConfig(context.Context, *UpdateProvisioningConfigRequest) (*ProvisioningConfig, error)
// RenameNetwork sets a new name for a network.
// Use with caution, previous names become immediately invalidated.
RenameNetwork(context.Context, *RenameNetworkRequest) (*Network, error)
// Retrieves the list of OS images which are currently approved.
ListOSImages(context.Context, *ListOSImagesRequest) (*ListOSImagesResponse, error)
}BareMetalSolutionServer is the server API for BareMetalSolution service. All implementations should embed UnimplementedBareMetalSolutionServer for forward compatibility
CreateNfsShareRequest
type CreateNfsShareRequest struct {
// Required. The parent project and location.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The NfsShare to create.
NfsShare *NfsShare `protobuf:"bytes,2,opt,name=nfs_share,json=nfsShare,proto3" json:"nfs_share,omitempty"`
// contains filtered or unexported fields
}Message for creating an NFS share.
func (*CreateNfsShareRequest) Descriptor
func (*CreateNfsShareRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateNfsShareRequest.ProtoReflect.Descriptor instead.
func (*CreateNfsShareRequest) GetNfsShare
func (x *CreateNfsShareRequest) GetNfsShare() *NfsSharefunc (*CreateNfsShareRequest) GetParent
func (x *CreateNfsShareRequest) GetParent() stringfunc (*CreateNfsShareRequest) ProtoMessage
func (*CreateNfsShareRequest) ProtoMessage()func (*CreateNfsShareRequest) ProtoReflect
func (x *CreateNfsShareRequest) ProtoReflect() protoreflect.Messagefunc (*CreateNfsShareRequest) Reset
func (x *CreateNfsShareRequest) Reset()func (*CreateNfsShareRequest) String
func (x *CreateNfsShareRequest) String() stringCreateProvisioningConfigRequest
type CreateProvisioningConfigRequest struct {
// Required. The parent project and location containing the
// ProvisioningConfig.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ProvisioningConfig to create.
ProvisioningConfig *ProvisioningConfig `protobuf:"bytes,2,opt,name=provisioning_config,json=provisioningConfig,proto3" json:"provisioning_config,omitempty"`
// Optional. Email provided to send a confirmation with provisioning config
// to.
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
// contains filtered or unexported fields
}Request for CreateProvisioningConfig.
func (*CreateProvisioningConfigRequest) Descriptor
func (*CreateProvisioningConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateProvisioningConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateProvisioningConfigRequest) GetEmail
func (x *CreateProvisioningConfigRequest) GetEmail() stringfunc (*CreateProvisioningConfigRequest) GetParent
func (x *CreateProvisioningConfigRequest) GetParent() stringfunc (*CreateProvisioningConfigRequest) GetProvisioningConfig
func (x *CreateProvisioningConfigRequest) GetProvisioningConfig() *ProvisioningConfigfunc (*CreateProvisioningConfigRequest) ProtoMessage
func (*CreateProvisioningConfigRequest) ProtoMessage()func (*CreateProvisioningConfigRequest) ProtoReflect
func (x *CreateProvisioningConfigRequest) ProtoReflect() protoreflect.Messagefunc (*CreateProvisioningConfigRequest) Reset
func (x *CreateProvisioningConfigRequest) Reset()func (*CreateProvisioningConfigRequest) String
func (x *CreateProvisioningConfigRequest) String() stringCreateSSHKeyRequest
type CreateSSHKeyRequest struct {
// Required. The parent containing the SSH keys.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The SSH key to register.
SshKey *SSHKey `protobuf:"bytes,2,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"`
// Required. The ID to use for the key, which will become the final component
// of the key's resource name.
//
// This value must match the regex:
//
// [a-zA-Z0-9@.\-_]{1,64}
SshKeyId string `protobuf:"bytes,3,opt,name=ssh_key_id,json=sshKeyId,proto3" json:"ssh_key_id,omitempty"`
// contains filtered or unexported fields
}Message for registering a public SSH key in a project.
func (*CreateSSHKeyRequest) Descriptor
func (*CreateSSHKeyRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateSSHKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateSSHKeyRequest) GetParent
func (x *CreateSSHKeyRequest) GetParent() stringfunc (*CreateSSHKeyRequest) GetSshKey
func (x *CreateSSHKeyRequest) GetSshKey() *SSHKeyfunc (*CreateSSHKeyRequest) GetSshKeyId
func (x *CreateSSHKeyRequest) GetSshKeyId() stringfunc (*CreateSSHKeyRequest) ProtoMessage
func (*CreateSSHKeyRequest) ProtoMessage()func (*CreateSSHKeyRequest) ProtoReflect
func (x *CreateSSHKeyRequest) ProtoReflect() protoreflect.Messagefunc (*CreateSSHKeyRequest) Reset
func (x *CreateSSHKeyRequest) Reset()func (*CreateSSHKeyRequest) String
func (x *CreateSSHKeyRequest) String() stringCreateVolumeSnapshotRequest
type CreateVolumeSnapshotRequest struct {
// Required. The volume to snapshot.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The snapshot to create.
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
func (*CreateVolumeSnapshotRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateVolumeSnapshotRequest.ProtoReflect.Descriptor instead.
func (*CreateVolumeSnapshotRequest) GetParent
func (x *CreateVolumeSnapshotRequest) GetParent() stringfunc (*CreateVolumeSnapshotRequest) GetVolumeSnapshot
func (x *CreateVolumeSnapshotRequest) GetVolumeSnapshot() *VolumeSnapshotfunc (*CreateVolumeSnapshotRequest) ProtoMessage
func (*CreateVolumeSnapshotRequest) ProtoMessage()func (*CreateVolumeSnapshotRequest) ProtoReflect
func (x *CreateVolumeSnapshotRequest) ProtoReflect() protoreflect.Messagefunc (*CreateVolumeSnapshotRequest) Reset
func (x *CreateVolumeSnapshotRequest) Reset()func (*CreateVolumeSnapshotRequest) String
func (x *CreateVolumeSnapshotRequest) String() stringDeleteNfsShareRequest
type DeleteNfsShareRequest struct {
// Required. The name of the NFS share to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for deleting an NFS share.
func (*DeleteNfsShareRequest) Descriptor
func (*DeleteNfsShareRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteNfsShareRequest.ProtoReflect.Descriptor instead.
func (*DeleteNfsShareRequest) GetName
func (x *DeleteNfsShareRequest) GetName() stringfunc (*DeleteNfsShareRequest) ProtoMessage
func (*DeleteNfsShareRequest) ProtoMessage()func (*DeleteNfsShareRequest) ProtoReflect
func (x *DeleteNfsShareRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteNfsShareRequest) Reset
func (x *DeleteNfsShareRequest) Reset()func (*DeleteNfsShareRequest) String
func (x *DeleteNfsShareRequest) String() stringDeleteSSHKeyRequest
type DeleteSSHKeyRequest struct {
// Required. The name of the SSH key to delete.
// Currently, the only valid value for the location is "global".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for deleting an SSH key from a project.
func (*DeleteSSHKeyRequest) Descriptor
func (*DeleteSSHKeyRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteSSHKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteSSHKeyRequest) GetName
func (x *DeleteSSHKeyRequest) GetName() stringfunc (*DeleteSSHKeyRequest) ProtoMessage
func (*DeleteSSHKeyRequest) ProtoMessage()func (*DeleteSSHKeyRequest) ProtoReflect
func (x *DeleteSSHKeyRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteSSHKeyRequest) Reset
func (x *DeleteSSHKeyRequest) Reset()func (*DeleteSSHKeyRequest) String
func (x *DeleteSSHKeyRequest) String() stringDeleteVolumeSnapshotRequest
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
func (*DeleteVolumeSnapshotRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteVolumeSnapshotRequest.ProtoReflect.Descriptor instead.
func (*DeleteVolumeSnapshotRequest) GetName
func (x *DeleteVolumeSnapshotRequest) GetName() stringfunc (*DeleteVolumeSnapshotRequest) ProtoMessage
func (*DeleteVolumeSnapshotRequest) ProtoMessage()func (*DeleteVolumeSnapshotRequest) ProtoReflect
func (x *DeleteVolumeSnapshotRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteVolumeSnapshotRequest) Reset
func (x *DeleteVolumeSnapshotRequest) Reset()func (*DeleteVolumeSnapshotRequest) String
func (x *DeleteVolumeSnapshotRequest) String() stringDetachLunRequest
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"`
// If true, performs lun unmapping without instance reboot.
SkipReboot bool `protobuf:"varint,3,opt,name=skip_reboot,json=skipReboot,proto3" json:"skip_reboot,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() stringfunc (*DetachLunRequest) GetLun
func (x *DetachLunRequest) GetLun() stringfunc (*DetachLunRequest) GetSkipReboot
func (x *DetachLunRequest) GetSkipReboot() boolfunc (*DetachLunRequest) ProtoMessage
func (*DetachLunRequest) ProtoMessage()func (*DetachLunRequest) ProtoReflect
func (x *DetachLunRequest) ProtoReflect() protoreflect.Messagefunc (*DetachLunRequest) Reset
func (x *DetachLunRequest) Reset()func (*DetachLunRequest) String
func (x *DetachLunRequest) String() stringDisableInteractiveSerialConsoleRequest
type DisableInteractiveSerialConsoleRequest 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 disabling the interactive serial console on an instance.
func (*DisableInteractiveSerialConsoleRequest) Descriptor
func (*DisableInteractiveSerialConsoleRequest) Descriptor() ([]byte, []int)Deprecated: Use DisableInteractiveSerialConsoleRequest.ProtoReflect.Descriptor instead.
func (*DisableInteractiveSerialConsoleRequest) GetName
func (x *DisableInteractiveSerialConsoleRequest) GetName() stringfunc (*DisableInteractiveSerialConsoleRequest) ProtoMessage
func (*DisableInteractiveSerialConsoleRequest) ProtoMessage()func (*DisableInteractiveSerialConsoleRequest) ProtoReflect
func (x *DisableInteractiveSerialConsoleRequest) ProtoReflect() protoreflect.Messagefunc (*DisableInteractiveSerialConsoleRequest) Reset
func (x *DisableInteractiveSerialConsoleRequest) Reset()func (*DisableInteractiveSerialConsoleRequest) String
func (x *DisableInteractiveSerialConsoleRequest) String() stringDisableInteractiveSerialConsoleResponse
type DisableInteractiveSerialConsoleResponse struct {
// contains filtered or unexported fields
}Message for response of DisableInteractiveSerialConsole.
func (*DisableInteractiveSerialConsoleResponse) Descriptor
func (*DisableInteractiveSerialConsoleResponse) Descriptor() ([]byte, []int)Deprecated: Use DisableInteractiveSerialConsoleResponse.ProtoReflect.Descriptor instead.
func (*DisableInteractiveSerialConsoleResponse) ProtoMessage
func (*DisableInteractiveSerialConsoleResponse) ProtoMessage()func (*DisableInteractiveSerialConsoleResponse) ProtoReflect
func (x *DisableInteractiveSerialConsoleResponse) ProtoReflect() protoreflect.Messagefunc (*DisableInteractiveSerialConsoleResponse) Reset
func (x *DisableInteractiveSerialConsoleResponse) Reset()func (*DisableInteractiveSerialConsoleResponse) String
func (x *DisableInteractiveSerialConsoleResponse) String() stringEnableInteractiveSerialConsoleRequest
type EnableInteractiveSerialConsoleRequest 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 enabling the interactive serial console on an instance.
func (*EnableInteractiveSerialConsoleRequest) Descriptor
func (*EnableInteractiveSerialConsoleRequest) Descriptor() ([]byte, []int)Deprecated: Use EnableInteractiveSerialConsoleRequest.ProtoReflect.Descriptor instead.
func (*EnableInteractiveSerialConsoleRequest) GetName
func (x *EnableInteractiveSerialConsoleRequest) GetName() stringfunc (*EnableInteractiveSerialConsoleRequest) ProtoMessage
func (*EnableInteractiveSerialConsoleRequest) ProtoMessage()func (*EnableInteractiveSerialConsoleRequest) ProtoReflect
func (x *EnableInteractiveSerialConsoleRequest) ProtoReflect() protoreflect.Messagefunc (*EnableInteractiveSerialConsoleRequest) Reset
func (x *EnableInteractiveSerialConsoleRequest) Reset()func (*EnableInteractiveSerialConsoleRequest) String
func (x *EnableInteractiveSerialConsoleRequest) String() stringEnableInteractiveSerialConsoleResponse
type EnableInteractiveSerialConsoleResponse struct {
// contains filtered or unexported fields
}Message for response of EnableInteractiveSerialConsole.
func (*EnableInteractiveSerialConsoleResponse) Descriptor
func (*EnableInteractiveSerialConsoleResponse) Descriptor() ([]byte, []int)Deprecated: Use EnableInteractiveSerialConsoleResponse.ProtoReflect.Descriptor instead.
func (*EnableInteractiveSerialConsoleResponse) ProtoMessage
func (*EnableInteractiveSerialConsoleResponse) ProtoMessage()func (*EnableInteractiveSerialConsoleResponse) ProtoReflect
func (x *EnableInteractiveSerialConsoleResponse) ProtoReflect() protoreflect.Messagefunc (*EnableInteractiveSerialConsoleResponse) Reset
func (x *EnableInteractiveSerialConsoleResponse) Reset()func (*EnableInteractiveSerialConsoleResponse) String
func (x *EnableInteractiveSerialConsoleResponse) String() stringEvictLunRequest
type EvictLunRequest struct {
// Required. The name of the lun.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request for skip lun cooloff and delete it.
func (*EvictLunRequest) Descriptor
func (*EvictLunRequest) Descriptor() ([]byte, []int)Deprecated: Use EvictLunRequest.ProtoReflect.Descriptor instead.
func (*EvictLunRequest) GetName
func (x *EvictLunRequest) GetName() stringfunc (*EvictLunRequest) ProtoMessage
func (*EvictLunRequest) ProtoMessage()func (*EvictLunRequest) ProtoReflect
func (x *EvictLunRequest) ProtoReflect() protoreflect.Messagefunc (*EvictLunRequest) Reset
func (x *EvictLunRequest) Reset()func (*EvictLunRequest) String
func (x *EvictLunRequest) String() stringEvictVolumeRequest
type EvictVolumeRequest struct {
// Required. The name of the Volume.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request for skip volume cooloff and delete it.
func (*EvictVolumeRequest) Descriptor
func (*EvictVolumeRequest) Descriptor() ([]byte, []int)Deprecated: Use EvictVolumeRequest.ProtoReflect.Descriptor instead.
func (*EvictVolumeRequest) GetName
func (x *EvictVolumeRequest) GetName() stringfunc (*EvictVolumeRequest) ProtoMessage
func (*EvictVolumeRequest) ProtoMessage()func (*EvictVolumeRequest) ProtoReflect
func (x *EvictVolumeRequest) ProtoReflect() protoreflect.Messagefunc (*EvictVolumeRequest) Reset
func (x *EvictVolumeRequest) Reset()func (*EvictVolumeRequest) String
func (x *EvictVolumeRequest) String() stringGetInstanceRequest
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() stringfunc (*GetInstanceRequest) ProtoMessage
func (*GetInstanceRequest) ProtoMessage()func (*GetInstanceRequest) ProtoReflect
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*GetInstanceRequest) Reset
func (x *GetInstanceRequest) Reset()func (*GetInstanceRequest) String
func (x *GetInstanceRequest) String() stringGetLunRequest
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() stringfunc (*GetLunRequest) ProtoMessage
func (*GetLunRequest) ProtoMessage()func (*GetLunRequest) ProtoReflect
func (x *GetLunRequest) ProtoReflect() protoreflect.Messagefunc (*GetLunRequest) Reset
func (x *GetLunRequest) Reset()func (*GetLunRequest) String
func (x *GetLunRequest) String() stringGetNetworkRequest
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() stringfunc (*GetNetworkRequest) ProtoMessage
func (*GetNetworkRequest) ProtoMessage()func (*GetNetworkRequest) ProtoReflect
func (x *GetNetworkRequest) ProtoReflect() protoreflect.Messagefunc (*GetNetworkRequest) Reset
func (x *GetNetworkRequest) Reset()func (*GetNetworkRequest) String
func (x *GetNetworkRequest) String() stringGetNfsShareRequest
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() stringfunc (*GetNfsShareRequest) ProtoMessage
func (*GetNfsShareRequest) ProtoMessage()func (*GetNfsShareRequest) ProtoReflect
func (x *GetNfsShareRequest) ProtoReflect() protoreflect.Messagefunc (*GetNfsShareRequest) Reset
func (x *GetNfsShareRequest) Reset()func (*GetNfsShareRequest) String
func (x *GetNfsShareRequest) String() stringGetProvisioningConfigRequest
type GetProvisioningConfigRequest struct {
// Required. Name of the ProvisioningConfig.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request for GetProvisioningConfig.
func (*GetProvisioningConfigRequest) Descriptor
func (*GetProvisioningConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use GetProvisioningConfigRequest.ProtoReflect.Descriptor instead.
func (*GetProvisioningConfigRequest) GetName
func (x *GetProvisioningConfigRequest) GetName() stringfunc (*GetProvisioningConfigRequest) ProtoMessage
func (*GetProvisioningConfigRequest) ProtoMessage()func (*GetProvisioningConfigRequest) ProtoReflect
func (x *GetProvisioningConfigRequest) ProtoReflect() protoreflect.Messagefunc (*GetProvisioningConfigRequest) Reset
func (x *GetProvisioningConfigRequest) Reset()func (*GetProvisioningConfigRequest) String
func (x *GetProvisioningConfigRequest) String() stringGetVolumeRequest
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() stringfunc (*GetVolumeRequest) ProtoMessage
func (*GetVolumeRequest) ProtoMessage()func (*GetVolumeRequest) ProtoReflect
func (x *GetVolumeRequest) ProtoReflect() protoreflect.Messagefunc (*GetVolumeRequest) Reset
func (x *GetVolumeRequest) Reset()func (*GetVolumeRequest) String
func (x *GetVolumeRequest) String() stringGetVolumeSnapshotRequest
type GetVolumeSnapshotRequest struct {
// Required. The name of the snapshot.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for requesting volume snapshot information.
func (*GetVolumeSnapshotRequest) Descriptor
func (*GetVolumeSnapshotRequest) Descriptor() ([]byte, []int)Deprecated: Use GetVolumeSnapshotRequest.ProtoReflect.Descriptor instead.
func (*GetVolumeSnapshotRequest) GetName
func (x *GetVolumeSnapshotRequest) GetName() stringfunc (*GetVolumeSnapshotRequest) ProtoMessage
func (*GetVolumeSnapshotRequest) ProtoMessage()func (*GetVolumeSnapshotRequest) ProtoReflect
func (x *GetVolumeSnapshotRequest) ProtoReflect() protoreflect.Messagefunc (*GetVolumeSnapshotRequest) Reset
func (x *GetVolumeSnapshotRequest) Reset()func (*GetVolumeSnapshotRequest) String
func (x *GetVolumeSnapshotRequest) String() stringInstance
type Instance struct {
// Immutable. 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. An identifier for the `Instance`, generated by the backend.
Id string `protobuf:"bytes,11,opt,name=id,proto3" json:"id,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"`
// Immutable. 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"`
// Output only. 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 `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Immutable. List of LUNs associated with this server.
Luns []*Lun `protobuf:"bytes,8,rep,name=luns,proto3" json:"luns,omitempty"`
// Input only. List of Volumes to attach to this Instance on creation.
// This field won't be populated in Get/List responses.
Volumes []*Volume `protobuf:"bytes,16,rep,name=volumes,proto3" json:"volumes,omitempty"`
// Output only. List of networks associated with this server.
Networks []*Network `protobuf:"bytes,9,rep,name=networks,proto3" json:"networks,omitempty"`
// Output only. True if the interactive serial console feature is enabled for
// the instance, false otherwise. The default value is false.
InteractiveSerialConsoleEnabled bool `protobuf:"varint,10,opt,name=interactive_serial_console_enabled,json=interactiveSerialConsoleEnabled,proto3" json:"interactive_serial_console_enabled,omitempty"`
// The OS image currently installed on the server.
OsImage string `protobuf:"bytes,12,opt,name=os_image,json=osImage,proto3" json:"os_image,omitempty"`
// Immutable. Pod name.
// Pod is an independent part of infrastructure.
// Instance can be connected to the assets (networks, volumes) allocated
// in the same pod only.
Pod string `protobuf:"bytes,13,opt,name=pod,proto3" json:"pod,omitempty"`
// Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc.
// Generally, the template name follows the syntax of
// "bondA server.
func (*Instance) Descriptor
Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (*Instance) GetCreateTime
func (x *Instance) GetCreateTime() *timestamppb.Timestampfunc (*Instance) GetFirmwareVersion
func (*Instance) GetHyperthreadingEnabled
func (*Instance) GetId
func (*Instance) GetInteractiveSerialConsoleEnabled
func (*Instance) GetLabels
func (*Instance) GetLogicalInterfaces
func (x *Instance) GetLogicalInterfaces() []*LogicalInterfacefunc (*Instance) GetLoginInfo
func (*Instance) GetLuns
func (*Instance) GetMachineType
func (*Instance) GetName
func (*Instance) GetNetworkTemplate
func (*Instance) GetNetworks
func (*Instance) GetOsImage
func (*Instance) GetPod
func (*Instance) GetState
func (x *Instance) GetState() Instance_Statefunc (*Instance) GetUpdateTime
func (x *Instance) GetUpdateTime() *timestamppb.Timestampfunc (*Instance) GetVolumes
func (*Instance) GetWorkloadProfile
func (x *Instance) GetWorkloadProfile() WorkloadProfilefunc (*Instance) ProtoMessage
func (*Instance) ProtoMessage()func (*Instance) ProtoReflect
func (x *Instance) ProtoReflect() protoreflect.Messagefunc (*Instance) Reset
func (x *Instance) Reset()func (*Instance) String
InstanceConfig
type InstanceConfig struct {
// Output only. The name of the instance config.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A transient unique identifier to idenfity an instance within an
// ProvisioningConfig request.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Instance type.
// [Available
// types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
InstanceType string `protobuf:"bytes,3,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"`
// Whether the instance should be provisioned with Hyperthreading enabled.
Hyperthreading bool `protobuf:"varint,4,opt,name=hyperthreading,proto3" json:"hyperthreading,omitempty"`
// OS image to initialize the instance.
// [Available
// images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
OsImage string `protobuf:"bytes,5,opt,name=os_image,json=osImage,proto3" json:"os_image,omitempty"`
// Client network address. Filled if InstanceConfig.multivlan_config is false.
//
// Deprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/provisioning.proto.
ClientNetwork *InstanceConfig_NetworkAddress `protobuf:"bytes,6,opt,name=client_network,json=clientNetwork,proto3" json:"client_network,omitempty"`
// Private network address, if any. Filled if InstanceConfig.multivlan_config
// is false.
//
// Deprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/provisioning.proto.
PrivateNetwork *InstanceConfig_NetworkAddress `protobuf:"bytes,7,opt,name=private_network,json=privateNetwork,proto3" json:"private_network,omitempty"`
// User note field, it can be used by customers to add additional information
// for the BMS Ops team .
UserNote string `protobuf:"bytes,8,opt,name=user_note,json=userNote,proto3" json:"user_note,omitempty"`
// If true networks can be from different projects of the same vendor account.
AccountNetworksEnabled bool `protobuf:"varint,9,opt,name=account_networks_enabled,json=accountNetworksEnabled,proto3" json:"account_networks_enabled,omitempty"`
// The type of network configuration on the instance.
NetworkConfig InstanceConfig_NetworkConfig `protobuf:"varint,10,opt,name=network_config,json=networkConfig,proto3,enum=google.cloud.baremetalsolution.v2.InstanceConfig_NetworkConfig" json:"network_config,omitempty"`
// Server network template name. Filled if InstanceConfig.multivlan_config is
// true.
NetworkTemplate string `protobuf:"bytes,11,opt,name=network_template,json=networkTemplate,proto3" json:"network_template,omitempty"`
// List of logical interfaces for the instance. The number of logical
// interfaces will be the same as number of hardware bond/nic on the chosen
// network template. Filled if InstanceConfig.multivlan_config is true.
LogicalInterfaces []*LogicalInterface `protobuf:"bytes,12,rep,name=logical_interfaces,json=logicalInterfaces,proto3" json:"logical_interfaces,omitempty"`
// List of names of ssh keys used to provision the instance.
SshKeyNames []string `protobuf:"bytes,13,rep,name=ssh_key_names,json=sshKeyNames,proto3" json:"ssh_key_names,omitempty"`
// contains filtered or unexported fields
}Configuration parameters for a new instance.
func (*InstanceConfig) Descriptor
func (*InstanceConfig) Descriptor() ([]byte, []int)Deprecated: Use InstanceConfig.ProtoReflect.Descriptor instead.
func (*InstanceConfig) GetAccountNetworksEnabled
func (x *InstanceConfig) GetAccountNetworksEnabled() boolfunc (*InstanceConfig) GetClientNetwork
func (x *InstanceConfig) GetClientNetwork() *InstanceConfig_NetworkAddressDeprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/provisioning.proto.
func (*InstanceConfig) GetHyperthreading
func (x *InstanceConfig) GetHyperthreading() boolfunc (*InstanceConfig) GetId
func (x *InstanceConfig) GetId() stringfunc (*InstanceConfig) GetInstanceType
func (x *InstanceConfig) GetInstanceType() stringfunc (*InstanceConfig) GetLogicalInterfaces
func (x *InstanceConfig) GetLogicalInterfaces() []*LogicalInterfacefunc (*InstanceConfig) GetName
func (x *InstanceConfig) GetName() stringfunc (*InstanceConfig) GetNetworkConfig
func (x *InstanceConfig) GetNetworkConfig() InstanceConfig_NetworkConfigfunc (*InstanceConfig) GetNetworkTemplate
func (x *InstanceConfig) GetNetworkTemplate() stringfunc (*InstanceConfig) GetOsImage
func (x *InstanceConfig) GetOsImage() stringfunc (*InstanceConfig) GetPrivateNetwork
func (x *InstanceConfig) GetPrivateNetwork() *InstanceConfig_NetworkAddressDeprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/provisioning.proto.
func (*InstanceConfig) GetSshKeyNames
func (x *InstanceConfig) GetSshKeyNames() []stringfunc (*InstanceConfig) GetUserNote
func (x *InstanceConfig) GetUserNote() stringfunc (*InstanceConfig) ProtoMessage
func (*InstanceConfig) ProtoMessage()func (*InstanceConfig) ProtoReflect
func (x *InstanceConfig) ProtoReflect() protoreflect.Messagefunc (*InstanceConfig) Reset
func (x *InstanceConfig) Reset()func (*InstanceConfig) String
func (x *InstanceConfig) String() stringInstanceConfig_NetworkAddress
type InstanceConfig_NetworkAddress struct {
// Id of the network to use, within the same ProvisioningConfig request.
NetworkId string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
// IPv4 address to be assigned to the server.
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// Name of the existing network to use.
ExistingNetworkId string `protobuf:"bytes,3,opt,name=existing_network_id,json=existingNetworkId,proto3" json:"existing_network_id,omitempty"`
// contains filtered or unexported fields
}A network.
func (*InstanceConfig_NetworkAddress) Descriptor
func (*InstanceConfig_NetworkAddress) Descriptor() ([]byte, []int)Deprecated: Use InstanceConfig_NetworkAddress.ProtoReflect.Descriptor instead.
func (*InstanceConfig_NetworkAddress) GetAddress
func (x *InstanceConfig_NetworkAddress) GetAddress() stringfunc (*InstanceConfig_NetworkAddress) GetExistingNetworkId
func (x *InstanceConfig_NetworkAddress) GetExistingNetworkId() stringfunc (*InstanceConfig_NetworkAddress) GetNetworkId
func (x *InstanceConfig_NetworkAddress) GetNetworkId() stringfunc (*InstanceConfig_NetworkAddress) ProtoMessage
func (*InstanceConfig_NetworkAddress) ProtoMessage()func (*InstanceConfig_NetworkAddress) ProtoReflect
func (x *InstanceConfig_NetworkAddress) ProtoReflect() protoreflect.Messagefunc (*InstanceConfig_NetworkAddress) Reset
func (x *InstanceConfig_NetworkAddress) Reset()func (*InstanceConfig_NetworkAddress) String
func (x *InstanceConfig_NetworkAddress) String() stringInstanceConfig_NetworkConfig
type InstanceConfig_NetworkConfig int32The network configuration of the instance.
InstanceConfig_NETWORKCONFIG_UNSPECIFIED, InstanceConfig_SINGLE_VLAN, InstanceConfig_MULTI_VLAN
const (
// The unspecified network configuration.
InstanceConfig_NETWORKCONFIG_UNSPECIFIED InstanceConfig_NetworkConfig = 0
// Instance part of single client network and single private network.
InstanceConfig_SINGLE_VLAN InstanceConfig_NetworkConfig = 1
// Instance part of multiple (or single) client networks and private
// networks.
InstanceConfig_MULTI_VLAN InstanceConfig_NetworkConfig = 2
)func (InstanceConfig_NetworkConfig) Descriptor
func (InstanceConfig_NetworkConfig) Descriptor() protoreflect.EnumDescriptorfunc (InstanceConfig_NetworkConfig) Enum
func (x InstanceConfig_NetworkConfig) Enum() *InstanceConfig_NetworkConfigfunc (InstanceConfig_NetworkConfig) EnumDescriptor
func (InstanceConfig_NetworkConfig) EnumDescriptor() ([]byte, []int)Deprecated: Use InstanceConfig_NetworkConfig.Descriptor instead.
func (InstanceConfig_NetworkConfig) Number
func (x InstanceConfig_NetworkConfig) Number() protoreflect.EnumNumberfunc (InstanceConfig_NetworkConfig) String
func (x InstanceConfig_NetworkConfig) String() stringfunc (InstanceConfig_NetworkConfig) Type
func (InstanceConfig_NetworkConfig) Type() protoreflect.EnumTypeInstanceQuota
type InstanceQuota struct {
// Output only. The name of the instance quota.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Instance type.
// Deprecated: use gcp_service.
//
// Deprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/provisioning.proto.
InstanceType string `protobuf:"bytes,2,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"`
// The gcp service of the provisioning quota.
GcpService string `protobuf:"bytes,5,opt,name=gcp_service,json=gcpService,proto3" json:"gcp_service,omitempty"`
// Location where the quota applies.
Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
// Number of machines than can be created for the given location and
// instance_type.
AvailableMachineCount int32 `protobuf:"varint,4,opt,name=available_machine_count,json=availableMachineCount,proto3" json:"available_machine_count,omitempty"`
// contains filtered or unexported fields
}A resource budget.
func (*InstanceQuota) Descriptor
func (*InstanceQuota) Descriptor() ([]byte, []int)Deprecated: Use InstanceQuota.ProtoReflect.Descriptor instead.
func (*InstanceQuota) GetAvailableMachineCount
func (x *InstanceQuota) GetAvailableMachineCount() int32func (*InstanceQuota) GetGcpService
func (x *InstanceQuota) GetGcpService() stringfunc (*InstanceQuota) GetInstanceType
func (x *InstanceQuota) GetInstanceType() stringDeprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/provisioning.proto.
func (*InstanceQuota) GetLocation
func (x *InstanceQuota) GetLocation() stringfunc (*InstanceQuota) GetName
func (x *InstanceQuota) GetName() stringfunc (*InstanceQuota) ProtoMessage
func (*InstanceQuota) ProtoMessage()func (*InstanceQuota) ProtoReflect
func (x *InstanceQuota) ProtoReflect() protoreflect.Messagefunc (*InstanceQuota) Reset
func (x *InstanceQuota) Reset()func (*InstanceQuota) String
func (x *InstanceQuota) String() stringInstance_State
type Instance_State int32The possible states for this server.
Instance_STATE_UNSPECIFIED, Instance_PROVISIONING, Instance_RUNNING, Instance_DELETED, Instance_UPDATING, Instance_STARTING, Instance_STOPPING, Instance_SHUTDOWN
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
// The server is being updated.
Instance_UPDATING Instance_State = 4
// The server is starting.
Instance_STARTING Instance_State = 5
// The server is stopping.
Instance_STOPPING Instance_State = 6
// The server is shutdown.
Instance_SHUTDOWN Instance_State = 7
)func (Instance_State) Descriptor
func (Instance_State) Descriptor() protoreflect.EnumDescriptorfunc (Instance_State) Enum
func (x Instance_State) Enum() *Instance_Statefunc (Instance_State) EnumDescriptor
func (Instance_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Instance_State.Descriptor instead.
func (Instance_State) Number
func (x Instance_State) Number() protoreflect.EnumNumberfunc (Instance_State) String
func (x Instance_State) String() stringfunc (Instance_State) Type
func (Instance_State) Type() protoreflect.EnumTypeListInstancesRequest
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() stringfunc (*ListInstancesRequest) GetPageSize
func (x *ListInstancesRequest) GetPageSize() int32func (*ListInstancesRequest) GetPageToken
func (x *ListInstancesRequest) GetPageToken() stringfunc (*ListInstancesRequest) GetParent
func (x *ListInstancesRequest) GetParent() stringfunc (*ListInstancesRequest) ProtoMessage
func (*ListInstancesRequest) ProtoMessage()func (*ListInstancesRequest) ProtoReflect
func (x *ListInstancesRequest) ProtoReflect() protoreflect.Messagefunc (*ListInstancesRequest) Reset
func (x *ListInstancesRequest) Reset()func (*ListInstancesRequest) String
func (x *ListInstancesRequest) String() stringListInstancesResponse
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() []*Instancefunc (*ListInstancesResponse) GetNextPageToken
func (x *ListInstancesResponse) GetNextPageToken() stringfunc (*ListInstancesResponse) GetUnreachable
func (x *ListInstancesResponse) GetUnreachable() []stringfunc (*ListInstancesResponse) ProtoMessage
func (*ListInstancesResponse) ProtoMessage()func (*ListInstancesResponse) ProtoReflect
func (x *ListInstancesResponse) ProtoReflect() protoreflect.Messagefunc (*ListInstancesResponse) Reset
func (x *ListInstancesResponse) Reset()func (*ListInstancesResponse) String
func (x *ListInstancesResponse) String() stringListLunsRequest
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() int32func (*ListLunsRequest) GetPageToken
func (x *ListLunsRequest) GetPageToken() stringfunc (*ListLunsRequest) GetParent
func (x *ListLunsRequest) GetParent() stringfunc (*ListLunsRequest) ProtoMessage
func (*ListLunsRequest) ProtoMessage()func (*ListLunsRequest) ProtoReflect
func (x *ListLunsRequest) ProtoReflect() protoreflect.Messagefunc (*ListLunsRequest) Reset
func (x *ListLunsRequest) Reset()func (*ListLunsRequest) String
func (x *ListLunsRequest) String() stringListLunsResponse
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() []*Lunfunc (*ListLunsResponse) GetNextPageToken
func (x *ListLunsResponse) GetNextPageToken() stringfunc (*ListLunsResponse) GetUnreachable
func (x *ListLunsResponse) GetUnreachable() []stringfunc (*ListLunsResponse) ProtoMessage
func (*ListLunsResponse) ProtoMessage()func (*ListLunsResponse) ProtoReflect
func (x *ListLunsResponse) ProtoReflect() protoreflect.Messagefunc (*ListLunsResponse) Reset
func (x *ListLunsResponse) Reset()func (*ListLunsResponse) String
func (x *ListLunsResponse) String() stringListNetworkUsageRequest
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() stringfunc (*ListNetworkUsageRequest) ProtoMessage
func (*ListNetworkUsageRequest) ProtoMessage()func (*ListNetworkUsageRequest) ProtoReflect
func (x *ListNetworkUsageRequest) ProtoReflect() protoreflect.Messagefunc (*ListNetworkUsageRequest) Reset
func (x *ListNetworkUsageRequest) Reset()func (*ListNetworkUsageRequest) String
func (x *ListNetworkUsageRequest) String() stringListNetworkUsageResponse
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() []*NetworkUsagefunc (*ListNetworkUsageResponse) ProtoMessage
func (*ListNetworkUsageResponse) ProtoMessage()func (*ListNetworkUsageResponse) ProtoReflect
func (x *ListNetworkUsageResponse) ProtoReflect() protoreflect.Messagefunc (*ListNetworkUsageResponse) Reset
func (x *ListNetworkUsageResponse) Reset()func (*ListNetworkUsageResponse) String
func (x *ListNetworkUsageResponse) String() stringListNetworksRequest
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() stringfunc (*ListNetworksRequest) GetPageSize
func (x *ListNetworksRequest) GetPageSize() int32func (*ListNetworksRequest) GetPageToken
func (x *ListNetworksRequest) GetPageToken() stringfunc (*ListNetworksRequest) GetParent
func (x *ListNetworksRequest) GetParent() stringfunc (*ListNetworksRequest) ProtoMessage
func (*ListNetworksRequest) ProtoMessage()func (*ListNetworksRequest) ProtoReflect
func (x *ListNetworksRequest) ProtoReflect() protoreflect.Messagefunc (*ListNetworksRequest) Reset
func (x *ListNetworksRequest) Reset()func (*ListNetworksRequest) String
func (x *ListNetworksRequest) String() stringListNetworksResponse
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() []*Networkfunc (*ListNetworksResponse) GetNextPageToken
func (x *ListNetworksResponse) GetNextPageToken() stringfunc (*ListNetworksResponse) GetUnreachable
func (x *ListNetworksResponse) GetUnreachable() []stringfunc (*ListNetworksResponse) ProtoMessage
func (*ListNetworksResponse) ProtoMessage()func (*ListNetworksResponse) ProtoReflect
func (x *ListNetworksResponse) ProtoReflect() protoreflect.Messagefunc (*ListNetworksResponse) Reset
func (x *ListNetworksResponse) Reset()func (*ListNetworksResponse) String
func (x *ListNetworksResponse) String() stringListNfsSharesRequest
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() stringfunc (*ListNfsSharesRequest) GetPageSize
func (x *ListNfsSharesRequest) GetPageSize() int32func (*ListNfsSharesRequest) GetPageToken
func (x *ListNfsSharesRequest) GetPageToken() stringfunc (*ListNfsSharesRequest) GetParent
func (x *ListNfsSharesRequest) GetParent() stringfunc (*ListNfsSharesRequest) ProtoMessage
func (*ListNfsSharesRequest) ProtoMessage()func (*ListNfsSharesRequest) ProtoReflect
func (x *ListNfsSharesRequest) ProtoReflect() protoreflect.Messagefunc (*ListNfsSharesRequest) Reset
func (x *ListNfsSharesRequest) Reset()func (*ListNfsSharesRequest) String
func (x *ListNfsSharesRequest) String() stringListNfsSharesResponse
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() stringfunc (*ListNfsSharesResponse) GetNfsShares
func (x *ListNfsSharesResponse) GetNfsShares() []*NfsSharefunc (*ListNfsSharesResponse) GetUnreachable
func (x *ListNfsSharesResponse) GetUnreachable() []stringfunc (*ListNfsSharesResponse) ProtoMessage
func (*ListNfsSharesResponse) ProtoMessage()func (*ListNfsSharesResponse) ProtoReflect
func (x *ListNfsSharesResponse) ProtoReflect() protoreflect.Messagefunc (*ListNfsSharesResponse) Reset
func (x *ListNfsSharesResponse) Reset()func (*ListNfsSharesResponse) String
func (x *ListNfsSharesResponse) String() stringListOSImagesRequest
type ListOSImagesRequest struct {
// Required. Parent value for ListProvisioningQuotasRequest.
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.
// Notice that page_size field is not supported and won't be respected in
// the API request for now, will be updated when pagination is supported.
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
}Request for getting all available OS images.
func (*ListOSImagesRequest) Descriptor
func (*ListOSImagesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListOSImagesRequest.ProtoReflect.Descriptor instead.
func (*ListOSImagesRequest) GetPageSize
func (x *ListOSImagesRequest) GetPageSize() int32func (*ListOSImagesRequest) GetPageToken
func (x *ListOSImagesRequest) GetPageToken() stringfunc (*ListOSImagesRequest) GetParent
func (x *ListOSImagesRequest) GetParent() stringfunc (*ListOSImagesRequest) ProtoMessage
func (*ListOSImagesRequest) ProtoMessage()func (*ListOSImagesRequest) ProtoReflect
func (x *ListOSImagesRequest) ProtoReflect() protoreflect.Messagefunc (*ListOSImagesRequest) Reset
func (x *ListOSImagesRequest) Reset()func (*ListOSImagesRequest) String
func (x *ListOSImagesRequest) String() stringListOSImagesResponse
type ListOSImagesResponse struct {
// The OS images available.
OsImages []*OSImage `protobuf:"bytes,1,rep,name=os_images,json=osImages,proto3" json:"os_images,omitempty"`
// 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
}Request for getting all available OS images.
func (*ListOSImagesResponse) Descriptor
func (*ListOSImagesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListOSImagesResponse.ProtoReflect.Descriptor instead.
func (*ListOSImagesResponse) GetNextPageToken
func (x *ListOSImagesResponse) GetNextPageToken() stringfunc (*ListOSImagesResponse) GetOsImages
func (x *ListOSImagesResponse) GetOsImages() []*OSImagefunc (*ListOSImagesResponse) ProtoMessage
func (*ListOSImagesResponse) ProtoMessage()func (*ListOSImagesResponse) ProtoReflect
func (x *ListOSImagesResponse) ProtoReflect() protoreflect.Messagefunc (*ListOSImagesResponse) Reset
func (x *ListOSImagesResponse) Reset()func (*ListOSImagesResponse) String
func (x *ListOSImagesResponse) String() stringListProvisioningQuotasRequest
type ListProvisioningQuotasRequest struct {
// Required. Parent value for ListProvisioningQuotasRequest.
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.
// Notice that page_size field is not supported and won't be respected in
// the API request for now, will be updated when pagination is supported.
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 provisioning quotas.
func (*ListProvisioningQuotasRequest) Descriptor
func (*ListProvisioningQuotasRequest) Descriptor() ([]byte, []int)Deprecated: Use ListProvisioningQuotasRequest.ProtoReflect.Descriptor instead.
func (*ListProvisioningQuotasRequest) GetPageSize
func (x *ListProvisioningQuotasRequest) GetPageSize() int32func (*ListProvisioningQuotasRequest) GetPageToken
func (x *ListProvisioningQuotasRequest) GetPageToken() stringfunc (*ListProvisioningQuotasRequest) GetParent
func (x *ListProvisioningQuotasRequest) GetParent() stringfunc (*ListProvisioningQuotasRequest) ProtoMessage
func (*ListProvisioningQuotasRequest) ProtoMessage()func (*ListProvisioningQuotasRequest) ProtoReflect
func (x *ListProvisioningQuotasRequest) ProtoReflect() protoreflect.Messagefunc (*ListProvisioningQuotasRequest) Reset
func (x *ListProvisioningQuotasRequest) Reset()func (*ListProvisioningQuotasRequest) String
func (x *ListProvisioningQuotasRequest) String() stringListProvisioningQuotasResponse
type ListProvisioningQuotasResponse struct {
// The provisioning quotas registered in this project.
ProvisioningQuotas []*ProvisioningQuota `protobuf:"bytes,1,rep,name=provisioning_quotas,json=provisioningQuotas,proto3" json:"provisioning_quotas,omitempty"`
// 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 for the list of provisioning quotas.
func (*ListProvisioningQuotasResponse) Descriptor
func (*ListProvisioningQuotasResponse) Descriptor() ([]byte, []int)Deprecated: Use ListProvisioningQuotasResponse.ProtoReflect.Descriptor instead.
func (*ListProvisioningQuotasResponse) GetNextPageToken
func (x *ListProvisioningQuotasResponse) GetNextPageToken() stringfunc (*ListProvisioningQuotasResponse) GetProvisioningQuotas
func (x *ListProvisioningQuotasResponse) GetProvisioningQuotas() []*ProvisioningQuotafunc (*ListProvisioningQuotasResponse) ProtoMessage
func (*ListProvisioningQuotasResponse) ProtoMessage()func (*ListProvisioningQuotasResponse) ProtoReflect
func (x *ListProvisioningQuotasResponse) ProtoReflect() protoreflect.Messagefunc (*ListProvisioningQuotasResponse) Reset
func (x *ListProvisioningQuotasResponse) Reset()func (*ListProvisioningQuotasResponse) String
func (x *ListProvisioningQuotasResponse) String() stringListSSHKeysRequest
type ListSSHKeysRequest struct {
// Required. The parent containing the SSH keys.
// Currently, the only valid value for the location is "global".
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 listing the public SSH keys in a project.
func (*ListSSHKeysRequest) Descriptor
func (*ListSSHKeysRequest) Descriptor() ([]byte, []int)Deprecated: Use ListSSHKeysRequest.ProtoReflect.Descriptor instead.
func (*ListSSHKeysRequest) GetPageSize
func (x *ListSSHKeysRequest) GetPageSize() int32func (*ListSSHKeysRequest) GetPageToken
func (x *ListSSHKeysRequest) GetPageToken() stringfunc (*ListSSHKeysRequest) GetParent
func (x *ListSSHKeysRequest) GetParent() stringfunc (*ListSSHKeysRequest) ProtoMessage
func (*ListSSHKeysRequest) ProtoMessage()func (*ListSSHKeysRequest) ProtoReflect
func (x *ListSSHKeysRequest) ProtoReflect() protoreflect.Messagefunc (*ListSSHKeysRequest) Reset
func (x *ListSSHKeysRequest) Reset()func (*ListSSHKeysRequest) String
func (x *ListSSHKeysRequest) String() stringListSSHKeysResponse
type ListSSHKeysResponse struct {
// The SSH keys registered in the project.
SshKeys []*SSHKey `protobuf:"bytes,1,rep,name=ssh_keys,json=sshKeys,proto3" json:"ssh_keys,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,90,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Message for response of ListSSHKeys.
func (*ListSSHKeysResponse) Descriptor
func (*ListSSHKeysResponse) Descriptor() ([]byte, []int)Deprecated: Use ListSSHKeysResponse.ProtoReflect.Descriptor instead.
func (*ListSSHKeysResponse) GetNextPageToken
func (x *ListSSHKeysResponse) GetNextPageToken() stringfunc (*ListSSHKeysResponse) GetSshKeys
func (x *ListSSHKeysResponse) GetSshKeys() []*SSHKeyfunc (*ListSSHKeysResponse) ProtoMessage
func (*ListSSHKeysResponse) ProtoMessage()func (*ListSSHKeysResponse) ProtoReflect
func (x *ListSSHKeysResponse) ProtoReflect() protoreflect.Messagefunc (*ListSSHKeysResponse) Reset
func (x *ListSSHKeysResponse) Reset()func (*ListSSHKeysResponse) String
func (x *ListSSHKeysResponse) String() stringListVolumeSnapshotsRequest
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 volume snapshots.
func (*ListVolumeSnapshotsRequest) Descriptor
func (*ListVolumeSnapshotsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListVolumeSnapshotsRequest.ProtoReflect.Descriptor instead.
func (*ListVolumeSnapshotsRequest) GetPageSize
func (x *ListVolumeSnapshotsRequest) GetPageSize() int32func (*ListVolumeSnapshotsRequest) GetPageToken
func (x *ListVolumeSnapshotsRequest) GetPageToken() stringfunc (*ListVolumeSnapshotsRequest) GetParent
func (x *ListVolumeSnapshotsRequest) GetParent() stringfunc (*ListVolumeSnapshotsRequest) ProtoMessage
func (*ListVolumeSnapshotsRequest) ProtoMessage()func (*ListVolumeSnapshotsRequest) ProtoReflect
func (x *ListVolumeSnapshotsRequest) ProtoReflect() protoreflect.Messagefunc (*ListVolumeSnapshotsRequest) Reset
func (x *ListVolumeSnapshotsRequest) Reset()func (*ListVolumeSnapshotsRequest) String
func (x *ListVolumeSnapshotsRequest) String() stringListVolumeSnapshotsResponse
type ListVolumeSnapshotsResponse struct {
// The list of snapshots.
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 volume snapshots.
func (*ListVolumeSnapshotsResponse) Descriptor
func (*ListVolumeSnapshotsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListVolumeSnapshotsResponse.ProtoReflect.Descriptor instead.
func (*ListVolumeSnapshotsResponse) GetNextPageToken
func (x *ListVolumeSnapshotsResponse) GetNextPageToken() stringfunc (*ListVolumeSnapshotsResponse) GetUnreachable
func (x *ListVolumeSnapshotsResponse) GetUnreachable() []stringfunc (*ListVolumeSnapshotsResponse) GetVolumeSnapshots
func (x *ListVolumeSnapshotsResponse) GetVolumeSnapshots() []*VolumeSnapshotfunc (*ListVolumeSnapshotsResponse) ProtoMessage
func (*ListVolumeSnapshotsResponse) ProtoMessage()func (*ListVolumeSnapshotsResponse) ProtoReflect
func (x *ListVolumeSnapshotsResponse) ProtoReflect() protoreflect.Messagefunc (*ListVolumeSnapshotsResponse) Reset
func (x *ListVolumeSnapshotsResponse) Reset()func (*ListVolumeSnapshotsResponse) String
func (x *ListVolumeSnapshotsResponse) String() stringListVolumesRequest
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() stringfunc (*ListVolumesRequest) GetPageSize
func (x *ListVolumesRequest) GetPageSize() int32func (*ListVolumesRequest) GetPageToken
func (x *ListVolumesRequest) GetPageToken() stringfunc (*ListVolumesRequest) GetParent
func (x *ListVolumesRequest) GetParent() stringfunc (*ListVolumesRequest) ProtoMessage
func (*ListVolumesRequest) ProtoMessage()func (*ListVolumesRequest) ProtoReflect
func (x *ListVolumesRequest) ProtoReflect() protoreflect.Messagefunc (*ListVolumesRequest) Reset
func (x *ListVolumesRequest) Reset()func (*ListVolumesRequest) String
func (x *ListVolumesRequest) String() stringListVolumesResponse
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() stringfunc (*ListVolumesResponse) GetUnreachable
func (x *ListVolumesResponse) GetUnreachable() []stringfunc (*ListVolumesResponse) GetVolumes
func (x *ListVolumesResponse) GetVolumes() []*Volumefunc (*ListVolumesResponse) ProtoMessage
func (*ListVolumesResponse) ProtoMessage()func (*ListVolumesResponse) ProtoReflect
func (x *ListVolumesResponse) ProtoReflect() protoreflect.Messagefunc (*ListVolumesResponse) Reset
func (x *ListVolumesResponse) Reset()func (*ListVolumesResponse) String
func (x *ListVolumesResponse) String() stringLogicalInterface
type LogicalInterface struct {
// List of logical network interfaces within a logical interface.
LogicalNetworkInterfaces []*LogicalInterface_LogicalNetworkInterface `protobuf:"bytes,1,rep,name=logical_network_interfaces,json=logicalNetworkInterfaces,proto3" json:"logical_network_interfaces,omitempty"`
// Interface name. This is of syntax 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() int32Deprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/network.proto.
func (*LogicalInterface) GetLogicalNetworkInterfaces
func (x *LogicalInterface) GetLogicalNetworkInterfaces() []*LogicalInterface_LogicalNetworkInterfacefunc (*LogicalInterface) GetName
func (x *LogicalInterface) GetName() stringfunc (*LogicalInterface) ProtoMessage
func (*LogicalInterface) ProtoMessage()func (*LogicalInterface) ProtoReflect
func (x *LogicalInterface) ProtoReflect() protoreflect.Messagefunc (*LogicalInterface) Reset
func (x *LogicalInterface) Reset()func (*LogicalInterface) String
func (x *LogicalInterface) String() stringLogicalInterface_LogicalNetworkInterface
type LogicalInterface_LogicalNetworkInterface struct {
// Name of the network
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
// IP address in the network
IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
// Whether this interface is the default gateway for the instance. Only
// one interface can be the default gateway for the instance.
DefaultGateway bool `protobuf:"varint,3,opt,name=default_gateway,json=defaultGateway,proto3" json:"default_gateway,omitempty"`
// Type of network.
NetworkType Network_Type `protobuf:"varint,4,opt,name=network_type,json=networkType,proto3,enum=google.cloud.baremetalsolution.v2.Network_Type" json:"network_type,omitempty"`
// An identifier for the `Network`, generated by the backend.
Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}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() boolfunc (*LogicalInterface_LogicalNetworkInterface) GetId
func (x *LogicalInterface_LogicalNetworkInterface) GetId() stringfunc (*LogicalInterface_LogicalNetworkInterface) GetIpAddress
func (x *LogicalInterface_LogicalNetworkInterface) GetIpAddress() stringfunc (*LogicalInterface_LogicalNetworkInterface) GetNetwork
func (x *LogicalInterface_LogicalNetworkInterface) GetNetwork() stringfunc (*LogicalInterface_LogicalNetworkInterface) GetNetworkType
func (x *LogicalInterface_LogicalNetworkInterface) GetNetworkType() Network_Typefunc (*LogicalInterface_LogicalNetworkInterface) ProtoMessage
func (*LogicalInterface_LogicalNetworkInterface) ProtoMessage()func (*LogicalInterface_LogicalNetworkInterface) ProtoReflect
func (x *LogicalInterface_LogicalNetworkInterface) ProtoReflect() protoreflect.Messagefunc (*LogicalInterface_LogicalNetworkInterface) Reset
func (x *LogicalInterface_LogicalNetworkInterface) Reset()func (*LogicalInterface_LogicalNetworkInterface) String
func (x *LogicalInterface_LogicalNetworkInterface) String() stringLun
type Lun struct {
// Output only. The name of the LUN.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// An identifier for the LUN, generated by the backend.
Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,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 `protobuf:"varint,4,opt,name=multiprotocol_type,json=multiprotocolType,proto3,enum=google.cloud.baremetalsolution.v2.Lun_MultiprotocolType" json:"multiprotocol_type,omitempty"`
// 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 `protobuf:"varint,8,opt,name=storage_type,json=storageType,proto3,enum=google.cloud.baremetalsolution.v2.Lun_StorageType" json:"storage_type,omitempty"`
// The WWID for this LUN.
Wwid string `protobuf:"bytes,9,opt,name=wwid,proto3" json:"wwid,omitempty"`
// Output only. Time after which LUN will be fully deleted.
// It is filled only for LUNs in COOL_OFF state.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// Output only. Instances this Lun is attached to.
Instances []string `protobuf:"bytes,12,rep,name=instances,proto3" json:"instances,omitempty"`
// contains filtered or unexported fields
}A storage volume logical unit number (LUN).
func (*Lun) Descriptor
Deprecated: Use Lun.ProtoReflect.Descriptor instead.
func (*Lun) GetBootLun
func (*Lun) GetExpireTime
func (x *Lun) GetExpireTime() *timestamppb.Timestampfunc (*Lun) GetId
func (*Lun) GetInstances
func (*Lun) GetMultiprotocolType
func (x *Lun) GetMultiprotocolType() Lun_MultiprotocolTypefunc (*Lun) GetName
func (*Lun) GetShareable
func (*Lun) GetSizeGb
func (*Lun) GetState
func (*Lun) GetStorageType
func (x *Lun) GetStorageType() Lun_StorageTypefunc (*Lun) GetStorageVolume
func (*Lun) GetWwid
func (*Lun) ProtoMessage
func (*Lun) ProtoMessage()func (*Lun) ProtoReflect
func (x *Lun) ProtoReflect() protoreflect.Messagefunc (*Lun) Reset
func (x *Lun) Reset()func (*Lun) String
Lun_MultiprotocolType
type Lun_MultiprotocolType int32Display 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) Descriptor() protoreflect.EnumDescriptorfunc (Lun_MultiprotocolType) Enum
func (x Lun_MultiprotocolType) Enum() *Lun_MultiprotocolTypefunc (Lun_MultiprotocolType) EnumDescriptor
func (Lun_MultiprotocolType) EnumDescriptor() ([]byte, []int)Deprecated: Use Lun_MultiprotocolType.Descriptor instead.
func (Lun_MultiprotocolType) Number
func (x Lun_MultiprotocolType) Number() protoreflect.EnumNumberfunc (Lun_MultiprotocolType) String
func (x Lun_MultiprotocolType) String() stringfunc (Lun_MultiprotocolType) Type
func (Lun_MultiprotocolType) Type() protoreflect.EnumTypeLun_State
type Lun_State int32The possible states for the LUN.
Lun_STATE_UNSPECIFIED, Lun_CREATING, Lun_UPDATING, Lun_READY, Lun_DELETING, Lun_COOL_OFF
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
// The LUN is in cool off state. It will be deleted after `expire_time`.
Lun_COOL_OFF Lun_State = 5
)func (Lun_State) Descriptor
func (Lun_State) Descriptor() protoreflect.EnumDescriptorfunc (Lun_State) Enum
func (Lun_State) EnumDescriptor
Deprecated: Use Lun_State.Descriptor instead.
func (Lun_State) Number
func (x Lun_State) Number() protoreflect.EnumNumberfunc (Lun_State) String
func (Lun_State) Type
func (Lun_State) Type() protoreflect.EnumTypeLun_StorageType
type Lun_StorageType int32The 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) Descriptor() protoreflect.EnumDescriptorfunc (Lun_StorageType) Enum
func (x Lun_StorageType) Enum() *Lun_StorageTypefunc (Lun_StorageType) EnumDescriptor
func (Lun_StorageType) EnumDescriptor() ([]byte, []int)Deprecated: Use Lun_StorageType.Descriptor instead.
func (Lun_StorageType) Number
func (x Lun_StorageType) Number() protoreflect.EnumNumberfunc (Lun_StorageType) String
func (x Lun_StorageType) String() stringfunc (Lun_StorageType) Type
func (Lun_StorageType) Type() protoreflect.EnumTypeNetwork
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}`
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
// An identifier for the `Network`, generated by the backend.
Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,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"`
// Labels as key value pairs.
Labels map[string]string `protobuf:"bytes,11,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// IP range for reserved for services (e.g. NFS).
ServicesCidr string `protobuf:"bytes,12,opt,name=services_cidr,json=servicesCidr,proto3" json:"services_cidr,omitempty"`
// List of IP address reservations in this network.
// When updating this field, an error will be generated if a reservation
// conflicts with an IP address already allocated to a physical server.
Reservations []*NetworkAddressReservation `protobuf:"bytes,13,rep,name=reservations,proto3" json:"reservations,omitempty"`
// Output only. Pod name.
Pod string `protobuf:"bytes,14,opt,name=pod,proto3" json:"pod,omitempty"`
// Input only. List of mount points to attach the network to.
MountPoints []*NetworkMountPoint `protobuf:"bytes,15,rep,name=mount_points,json=mountPoints,proto3" json:"mount_points,omitempty"`
// Whether network uses standard frames or jumbo ones.
JumboFramesEnabled bool `protobuf:"varint,16,opt,name=jumbo_frames_enabled,json=jumboFramesEnabled,proto3" json:"jumbo_frames_enabled,omitempty"`
// Output only. Gateway ip address.
GatewayIp string `protobuf:"bytes,17,opt,name=gateway_ip,json=gatewayIp,proto3" json:"gateway_ip,omitempty"`
// contains filtered or unexported fields
}A Network.
func (*Network) Descriptor
Deprecated: Use Network.ProtoReflect.Descriptor instead.
func (*Network) GetCidr
func (*Network) GetGatewayIp
func (*Network) GetId
func (*Network) GetIpAddress
func (*Network) GetJumboFramesEnabled
func (*Network) GetLabels
func (*Network) GetMacAddress
func (*Network) GetMountPoints
func (x *Network) GetMountPoints() []*NetworkMountPointfunc (*Network) GetName
func (*Network) GetPod
func (*Network) GetReservations
func (x *Network) GetReservations() []*NetworkAddressReservationfunc (*Network) GetServicesCidr
func (*Network) GetState
func (x *Network) GetState() Network_Statefunc (*Network) GetType
func (x *Network) GetType() Network_Typefunc (*Network) GetVlanId
func (*Network) GetVrf
func (*Network) ProtoMessage
func (*Network) ProtoMessage()func (*Network) ProtoReflect
func (x *Network) ProtoReflect() protoreflect.Messagefunc (*Network) Reset
func (x *Network) Reset()func (*Network) 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() stringfunc (*NetworkAddressReservation) GetNote
func (x *NetworkAddressReservation) GetNote() stringfunc (*NetworkAddressReservation) GetStartAddress
func (x *NetworkAddressReservation) GetStartAddress() stringfunc (*NetworkAddressReservation) ProtoMessage
func (*NetworkAddressReservation) ProtoMessage()func (*NetworkAddressReservation) ProtoReflect
func (x *NetworkAddressReservation) ProtoReflect() protoreflect.Messagefunc (*NetworkAddressReservation) Reset
func (x *NetworkAddressReservation) Reset()func (*NetworkAddressReservation) String
func (x *NetworkAddressReservation) String() stringNetworkConfig
type NetworkConfig struct {
// Output only. The name of the network config.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A transient unique identifier to identify a volume within an
// ProvisioningConfig request.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// The type of this network, either Client or Private.
Type NetworkConfig_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.baremetalsolution.v2.NetworkConfig_Type" json:"type,omitempty"`
// Interconnect bandwidth. Set only when type is CLIENT.
Bandwidth NetworkConfig_Bandwidth `protobuf:"varint,4,opt,name=bandwidth,proto3,enum=google.cloud.baremetalsolution.v2.NetworkConfig_Bandwidth" json:"bandwidth,omitempty"`
// List of VLAN attachments. As of now there are always 2 attachments, but it
// is going to change in the future (multi vlan).
VlanAttachments []*NetworkConfig_IntakeVlanAttachment `protobuf:"bytes,5,rep,name=vlan_attachments,json=vlanAttachments,proto3" json:"vlan_attachments,omitempty"`
// CIDR range of the network.
Cidr string `protobuf:"bytes,6,opt,name=cidr,proto3" json:"cidr,omitempty"`
// Service CIDR, if any.
ServiceCidr NetworkConfig_ServiceCidr `protobuf:"varint,7,opt,name=service_cidr,json=serviceCidr,proto3,enum=google.cloud.baremetalsolution.v2.NetworkConfig_ServiceCidr" json:"service_cidr,omitempty"`
// User note field, it can be used by customers to add additional information
// for the BMS Ops team .
UserNote string `protobuf:"bytes,8,opt,name=user_note,json=userNote,proto3" json:"user_note,omitempty"`
// The GCP service of the network. Available gcp_service are in
// https://cloud.google.com/bare-metal/docs/bms-planning.
GcpService string `protobuf:"bytes,9,opt,name=gcp_service,json=gcpService,proto3" json:"gcp_service,omitempty"`
// Whether the VLAN attachment pair is located in the same project.
VlanSameProject bool `protobuf:"varint,10,opt,name=vlan_same_project,json=vlanSameProject,proto3" json:"vlan_same_project,omitempty"`
// The JumboFramesEnabled option for customer to set.
JumboFramesEnabled bool `protobuf:"varint,11,opt,name=jumbo_frames_enabled,json=jumboFramesEnabled,proto3" json:"jumbo_frames_enabled,omitempty"`
// contains filtered or unexported fields
}Configuration parameters for a new network.
func (*NetworkConfig) Descriptor
func (*NetworkConfig) Descriptor() ([]byte, []int)Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.
func (*NetworkConfig) GetBandwidth
func (x *NetworkConfig) GetBandwidth() NetworkConfig_Bandwidthfunc (*NetworkConfig) GetCidr
func (x *NetworkConfig) GetCidr() stringfunc (*NetworkConfig) GetGcpService
func (x *NetworkConfig) GetGcpService() stringfunc (*NetworkConfig) GetId
func (x *NetworkConfig) GetId() stringfunc (*NetworkConfig) GetJumboFramesEnabled
func (x *NetworkConfig) GetJumboFramesEnabled() boolfunc (*NetworkConfig) GetName
func (x *NetworkConfig) GetName() stringfunc (*NetworkConfig) GetServiceCidr
func (x *NetworkConfig) GetServiceCidr() NetworkConfig_ServiceCidrfunc (*NetworkConfig) GetType
func (x *NetworkConfig) GetType() NetworkConfig_Typefunc (*NetworkConfig) GetUserNote
func (x *NetworkConfig) GetUserNote() stringfunc (*NetworkConfig) GetVlanAttachments
func (x *NetworkConfig) GetVlanAttachments() []*NetworkConfig_IntakeVlanAttachmentfunc (*NetworkConfig) GetVlanSameProject
func (x *NetworkConfig) GetVlanSameProject() boolfunc (*NetworkConfig) ProtoMessage
func (*NetworkConfig) ProtoMessage()func (*NetworkConfig) ProtoReflect
func (x *NetworkConfig) ProtoReflect() protoreflect.Messagefunc (*NetworkConfig) Reset
func (x *NetworkConfig) Reset()func (*NetworkConfig) String
func (x *NetworkConfig) String() stringNetworkConfig_Bandwidth
type NetworkConfig_Bandwidth int32Interconnect bandwidth.
NetworkConfig_BANDWIDTH_UNSPECIFIED, NetworkConfig_BW_1_GBPS, NetworkConfig_BW_2_GBPS, NetworkConfig_BW_5_GBPS, NetworkConfig_BW_10_GBPS
const (
// Unspecified value.
NetworkConfig_BANDWIDTH_UNSPECIFIED NetworkConfig_Bandwidth = 0
// 1 Gbps.
NetworkConfig_BW_1_GBPS NetworkConfig_Bandwidth = 1
// 2 Gbps.
NetworkConfig_BW_2_GBPS NetworkConfig_Bandwidth = 2
// 5 Gbps.
NetworkConfig_BW_5_GBPS NetworkConfig_Bandwidth = 3
// 10 Gbps.
NetworkConfig_BW_10_GBPS NetworkConfig_Bandwidth = 4
)func (NetworkConfig_Bandwidth) Descriptor
func (NetworkConfig_Bandwidth) Descriptor() protoreflect.EnumDescriptorfunc (NetworkConfig_Bandwidth) Enum
func (x NetworkConfig_Bandwidth) Enum() *NetworkConfig_Bandwidthfunc (NetworkConfig_Bandwidth) EnumDescriptor
func (NetworkConfig_Bandwidth) EnumDescriptor() ([]byte, []int)Deprecated: Use NetworkConfig_Bandwidth.Descriptor instead.
func (NetworkConfig_Bandwidth) Number
func (x NetworkConfig_Bandwidth) Number() protoreflect.EnumNumberfunc (NetworkConfig_Bandwidth) String
func (x NetworkConfig_Bandwidth) String() stringfunc (NetworkConfig_Bandwidth) Type
func (NetworkConfig_Bandwidth) Type() protoreflect.EnumTypeNetworkConfig_IntakeVlanAttachment
type NetworkConfig_IntakeVlanAttachment struct {
// Identifier of the VLAN attachment.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Attachment pairing key.
PairingKey string `protobuf:"bytes,2,opt,name=pairing_key,json=pairingKey,proto3" json:"pairing_key,omitempty"`
// contains filtered or unexported fields
}A GCP vlan attachment.
func (*NetworkConfig_IntakeVlanAttachment) Descriptor
func (*NetworkConfig_IntakeVlanAttachment) Descriptor() ([]byte, []int)Deprecated: Use NetworkConfig_IntakeVlanAttachment.ProtoReflect.Descriptor instead.
func (*NetworkConfig_IntakeVlanAttachment) GetId
func (x *NetworkConfig_IntakeVlanAttachment) GetId() stringfunc (*NetworkConfig_IntakeVlanAttachment) GetPairingKey
func (x *NetworkConfig_IntakeVlanAttachment) GetPairingKey() stringfunc (*NetworkConfig_IntakeVlanAttachment) ProtoMessage
func (*NetworkConfig_IntakeVlanAttachment) ProtoMessage()func (*NetworkConfig_IntakeVlanAttachment) ProtoReflect
func (x *NetworkConfig_IntakeVlanAttachment) ProtoReflect() protoreflect.Messagefunc (*NetworkConfig_IntakeVlanAttachment) Reset
func (x *NetworkConfig_IntakeVlanAttachment) Reset()func (*NetworkConfig_IntakeVlanAttachment) String
func (x *NetworkConfig_IntakeVlanAttachment) String() stringNetworkConfig_ServiceCidr
type NetworkConfig_ServiceCidr int32Service network block.
NetworkConfig_SERVICE_CIDR_UNSPECIFIED, NetworkConfig_DISABLED, NetworkConfig_HIGH_26, NetworkConfig_HIGH_27, NetworkConfig_HIGH_28
const (
// Unspecified value.
NetworkConfig_SERVICE_CIDR_UNSPECIFIED NetworkConfig_ServiceCidr = 0
// Services are disabled for the given network.
NetworkConfig_DISABLED NetworkConfig_ServiceCidr = 1
// Use the highest /26 block of the network to host services.
NetworkConfig_HIGH_26 NetworkConfig_ServiceCidr = 2
// Use the highest /27 block of the network to host services.
NetworkConfig_HIGH_27 NetworkConfig_ServiceCidr = 3
// Use the highest /28 block of the network to host services.
NetworkConfig_HIGH_28 NetworkConfig_ServiceCidr = 4
)func (NetworkConfig_ServiceCidr) Descriptor
func (NetworkConfig_ServiceCidr) Descriptor() protoreflect.EnumDescriptorfunc (NetworkConfig_ServiceCidr) Enum
func (x NetworkConfig_ServiceCidr) Enum() *NetworkConfig_ServiceCidrfunc (NetworkConfig_ServiceCidr) EnumDescriptor
func (NetworkConfig_ServiceCidr) EnumDescriptor() ([]byte, []int)Deprecated: Use NetworkConfig_ServiceCidr.Descriptor instead.
func (NetworkConfig_ServiceCidr) Number
func (x NetworkConfig_ServiceCidr) Number() protoreflect.EnumNumberfunc (NetworkConfig_ServiceCidr) String
func (x NetworkConfig_ServiceCidr) String() stringfunc (NetworkConfig_ServiceCidr) Type
func (NetworkConfig_ServiceCidr) Type() protoreflect.EnumTypeNetworkConfig_Type
type NetworkConfig_Type int32Network type.
NetworkConfig_TYPE_UNSPECIFIED, NetworkConfig_CLIENT, NetworkConfig_PRIVATE
const (
// Unspecified value.
NetworkConfig_TYPE_UNSPECIFIED NetworkConfig_Type = 0
// Client network, that is a network peered to a GCP VPC.
NetworkConfig_CLIENT NetworkConfig_Type = 1
// Private network, that is a network local to the BMS POD.
NetworkConfig_PRIVATE NetworkConfig_Type = 2
)func (NetworkConfig_Type) Descriptor
func (NetworkConfig_Type) Descriptor() protoreflect.EnumDescriptorfunc (NetworkConfig_Type) Enum
func (x NetworkConfig_Type) Enum() *NetworkConfig_Typefunc (NetworkConfig_Type) EnumDescriptor
func (NetworkConfig_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use NetworkConfig_Type.Descriptor instead.
func (NetworkConfig_Type) Number
func (x NetworkConfig_Type) Number() protoreflect.EnumNumberfunc (NetworkConfig_Type) String
func (x NetworkConfig_Type) String() stringfunc (NetworkConfig_Type) Type
func (NetworkConfig_Type) Type() protoreflect.EnumTypeNetworkMountPoint
type NetworkMountPoint struct {
// Instance to attach network to.
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
// Logical interface to detach from.
LogicalInterface string `protobuf:"bytes,2,opt,name=logical_interface,json=logicalInterface,proto3" json:"logical_interface,omitempty"`
// Network should be a default gateway.
DefaultGateway bool `protobuf:"varint,3,opt,name=default_gateway,json=defaultGateway,proto3" json:"default_gateway,omitempty"`
// Ip address of the server.
IpAddress string `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
// contains filtered or unexported fields
}Mount point for a network.
func (*NetworkMountPoint) Descriptor
func (*NetworkMountPoint) Descriptor() ([]byte, []int)Deprecated: Use NetworkMountPoint.ProtoReflect.Descriptor instead.
func (*NetworkMountPoint) GetDefaultGateway
func (x *NetworkMountPoint) GetDefaultGateway() boolfunc (*NetworkMountPoint) GetInstance
func (x *NetworkMountPoint) GetInstance() stringfunc (*NetworkMountPoint) GetIpAddress
func (x *NetworkMountPoint) GetIpAddress() stringfunc (*NetworkMountPoint) GetLogicalInterface
func (x *NetworkMountPoint) GetLogicalInterface() stringfunc (*NetworkMountPoint) ProtoMessage
func (*NetworkMountPoint) ProtoMessage()func (*NetworkMountPoint) ProtoReflect
func (x *NetworkMountPoint) ProtoReflect() protoreflect.Messagefunc (*NetworkMountPoint) Reset
func (x *NetworkMountPoint) Reset()func (*NetworkMountPoint) String
func (x *NetworkMountPoint) String() stringNetworkUsage
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() *Networkfunc (*NetworkUsage) GetUsedIps
func (x *NetworkUsage) GetUsedIps() []stringfunc (*NetworkUsage) ProtoMessage
func (*NetworkUsage) ProtoMessage()func (*NetworkUsage) ProtoReflect
func (x *NetworkUsage) ProtoReflect() protoreflect.Messagefunc (*NetworkUsage) Reset
func (x *NetworkUsage) Reset()func (*NetworkUsage) String
func (x *NetworkUsage) String() stringNetwork_State
type Network_State int32The possible states for this Network.
Network_STATE_UNSPECIFIED, Network_PROVISIONING, Network_PROVISIONED, Network_DEPROVISIONING, Network_UPDATING
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
// The Network is being deprovisioned.
Network_DEPROVISIONING Network_State = 3
// The Network is being updated.
Network_UPDATING Network_State = 4
)func (Network_State) Descriptor
func (Network_State) Descriptor() protoreflect.EnumDescriptorfunc (Network_State) Enum
func (x Network_State) Enum() *Network_Statefunc (Network_State) EnumDescriptor
func (Network_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Network_State.Descriptor instead.
func (Network_State) Number
func (x Network_State) Number() protoreflect.EnumNumberfunc (Network_State) String
func (x Network_State) String() stringfunc (Network_State) Type
func (Network_State) Type() protoreflect.EnumTypeNetwork_Type
type Network_Type int32Network 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) Descriptor() protoreflect.EnumDescriptorfunc (Network_Type) Enum
func (x Network_Type) Enum() *Network_Typefunc (Network_Type) EnumDescriptor
func (Network_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use Network_Type.Descriptor instead.
func (Network_Type) Number
func (x Network_Type) Number() protoreflect.EnumNumberfunc (Network_Type) String
func (x Network_Type) String() stringfunc (Network_Type) Type
func (Network_Type) Type() protoreflect.EnumTypeNfsShare
type NfsShare struct {
// Immutable. The name of the NFS share.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. An identifier for the NFS share, generated by the backend.
// This field will be deprecated in the future, use `id` instead.
NfsShareId string `protobuf:"bytes,2,opt,name=nfs_share_id,json=nfsShareId,proto3" json:"nfs_share_id,omitempty"`
// Output only. An identifier for the NFS share, generated by the backend.
// This is the same value as nfs_share_id and will replace it in the future.
Id string `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"`
// Output only. The state of the NFS share.
State NfsShare_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.NfsShare_State" json:"state,omitempty"`
// Output only. The underlying volume of the share. Created automatically
// during provisioning.
Volume string `protobuf:"bytes,4,opt,name=volume,proto3" json:"volume,omitempty"`
// List of allowed access points.
AllowedClients []*NfsShare_AllowedClient `protobuf:"bytes,5,rep,name=allowed_clients,json=allowedClients,proto3" json:"allowed_clients,omitempty"`
// Labels as key value pairs.
Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// The requested size, in GiB.
RequestedSizeGib int64 `protobuf:"varint,7,opt,name=requested_size_gib,json=requestedSizeGib,proto3" json:"requested_size_gib,omitempty"`
// Immutable. The storage type of the underlying volume.
StorageType NfsShare_StorageType `protobuf:"varint,9,opt,name=storage_type,json=storageType,proto3,enum=google.cloud.baremetalsolution.v2.NfsShare_StorageType" json:"storage_type,omitempty"`
// contains filtered or unexported fields
}An NFS share.
func (*NfsShare) Descriptor
Deprecated: Use NfsShare.ProtoReflect.Descriptor instead.
func (*NfsShare) GetAllowedClients
func (x *NfsShare) GetAllowedClients() []*NfsShare_AllowedClientfunc (*NfsShare) GetId
func (*NfsShare) GetLabels
func (*NfsShare) GetName
func (*NfsShare) GetNfsShareId
func (*NfsShare) GetRequestedSizeGib
func (*NfsShare) GetState
func (x *NfsShare) GetState() NfsShare_Statefunc (*NfsShare) GetStorageType
func (x *NfsShare) GetStorageType() NfsShare_StorageTypefunc (*NfsShare) GetVolume
func (*NfsShare) ProtoMessage
func (*NfsShare) ProtoMessage()func (*NfsShare) ProtoReflect
func (x *NfsShare) ProtoReflect() protoreflect.Messagefunc (*NfsShare) Reset
func (x *NfsShare) Reset()func (*NfsShare) String
NfsShare_AllowedClient
type NfsShare_AllowedClient struct {
// The network the access point sits on.
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
// Output only. The IP address of the share on this network. Assigned
// automatically during provisioning based on the network's services_cidr.
ShareIp string `protobuf:"bytes,2,opt,name=share_ip,json=shareIp,proto3" json:"share_ip,omitempty"`
// The subnet of IP addresses permitted to access the share.
AllowedClientsCidr string `protobuf:"bytes,3,opt,name=allowed_clients_cidr,json=allowedClientsCidr,proto3" json:"allowed_clients_cidr,omitempty"`
// Mount permissions.
MountPermissions NfsShare_MountPermissions `protobuf:"varint,4,opt,name=mount_permissions,json=mountPermissions,proto3,enum=google.cloud.baremetalsolution.v2.NfsShare_MountPermissions" json:"mount_permissions,omitempty"`
// Allow dev flag. Which controls whether to allow creation of devices.
AllowDev bool `protobuf:"varint,5,opt,name=allow_dev,json=allowDev,proto3" json:"allow_dev,omitempty"`
// Allow the setuid flag.
AllowSuid bool `protobuf:"varint,6,opt,name=allow_suid,json=allowSuid,proto3" json:"allow_suid,omitempty"`
// Disable root squashing, which is a feature of NFS.
// Root squash is a special mapping of the remote superuser (root) identity
// when using identity authentication.
NoRootSquash bool `protobuf:"varint,7,opt,name=no_root_squash,json=noRootSquash,proto3" json:"no_root_squash,omitempty"`
// Output only. The path to access NFS, in format shareIP:/InstanceID
// InstanceID is the generated ID instead of customer provided name.
// example like "10.0.0.0:/g123456789-nfs001"
NfsPath string `protobuf:"bytes,8,opt,name=nfs_path,json=nfsPath,proto3" json:"nfs_path,omitempty"`
// contains filtered or unexported fields
}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() boolfunc (*NfsShare_AllowedClient) GetAllowSuid
func (x *NfsShare_AllowedClient) GetAllowSuid() boolfunc (*NfsShare_AllowedClient) GetAllowedClientsCidr
func (x *NfsShare_AllowedClient) GetAllowedClientsCidr() stringfunc (*NfsShare_AllowedClient) GetMountPermissions
func (x *NfsShare_AllowedClient) GetMountPermissions() NfsShare_MountPermissionsfunc (*NfsShare_AllowedClient) GetNetwork
func (x *NfsShare_AllowedClient) GetNetwork() stringfunc (*NfsShare_AllowedClient) GetNfsPath
func (x *NfsShare_AllowedClient) GetNfsPath() stringfunc (*NfsShare_AllowedClient) GetNoRootSquash
func (x *NfsShare_AllowedClient) GetNoRootSquash() boolfunc (*NfsShare_AllowedClient) GetShareIp
func (x *NfsShare_AllowedClient) GetShareIp() stringfunc (*NfsShare_AllowedClient) ProtoMessage
func (*NfsShare_AllowedClient) ProtoMessage()func (*NfsShare_AllowedClient) ProtoReflect
func (x *NfsShare_AllowedClient) ProtoReflect() protoreflect.Messagefunc (*NfsShare_AllowedClient) Reset
func (x *NfsShare_AllowedClient) Reset()func (*NfsShare_AllowedClient) String
func (x *NfsShare_AllowedClient) String() stringNfsShare_MountPermissions
type NfsShare_MountPermissions int32The 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) Descriptor() protoreflect.EnumDescriptorfunc (NfsShare_MountPermissions) Enum
func (x NfsShare_MountPermissions) Enum() *NfsShare_MountPermissionsfunc (NfsShare_MountPermissions) EnumDescriptor
func (NfsShare_MountPermissions) EnumDescriptor() ([]byte, []int)Deprecated: Use NfsShare_MountPermissions.Descriptor instead.
func (NfsShare_MountPermissions) Number
func (x NfsShare_MountPermissions) Number() protoreflect.EnumNumberfunc (NfsShare_MountPermissions) String
func (x NfsShare_MountPermissions) String() stringfunc (NfsShare_MountPermissions) Type
func (NfsShare_MountPermissions) Type() protoreflect.EnumTypeNfsShare_State
type NfsShare_State int32The possible states for this NFS share.
NfsShare_STATE_UNSPECIFIED, NfsShare_PROVISIONED, NfsShare_CREATING, NfsShare_UPDATING, NfsShare_DELETING
const (
// The share is in an unknown state.
NfsShare_STATE_UNSPECIFIED NfsShare_State = 0
// The share has been provisioned.
NfsShare_PROVISIONED NfsShare_State = 1
// The NFS Share is being created.
NfsShare_CREATING NfsShare_State = 2
// The NFS Share is being updated.
NfsShare_UPDATING NfsShare_State = 3
// The NFS Share has been requested to be deleted.
NfsShare_DELETING NfsShare_State = 4
)func (NfsShare_State) Descriptor
func (NfsShare_State) Descriptor() protoreflect.EnumDescriptorfunc (NfsShare_State) Enum
func (x NfsShare_State) Enum() *NfsShare_Statefunc (NfsShare_State) EnumDescriptor
func (NfsShare_State) EnumDescriptor() ([]byte, []int)Deprecated: Use NfsShare_State.Descriptor instead.
func (NfsShare_State) Number
func (x NfsShare_State) Number() protoreflect.EnumNumberfunc (NfsShare_State) String
func (x NfsShare_State) String() stringfunc (NfsShare_State) Type
func (NfsShare_State) Type() protoreflect.EnumTypeNfsShare_StorageType
type NfsShare_StorageType int32The storage type for a volume.
NfsShare_STORAGE_TYPE_UNSPECIFIED, NfsShare_SSD, NfsShare_HDD
const (
// The storage type for this volume is unknown.
NfsShare_STORAGE_TYPE_UNSPECIFIED NfsShare_StorageType = 0
// The storage type for this volume is SSD.
NfsShare_SSD NfsShare_StorageType = 1
// This storage type for this volume is HDD.
NfsShare_HDD NfsShare_StorageType = 2
)func (NfsShare_StorageType) Descriptor
func (NfsShare_StorageType) Descriptor() protoreflect.EnumDescriptorfunc (NfsShare_StorageType) Enum
func (x NfsShare_StorageType) Enum() *NfsShare_StorageTypefunc (NfsShare_StorageType) EnumDescriptor
func (NfsShare_StorageType) EnumDescriptor() ([]byte, []int)Deprecated: Use NfsShare_StorageType.Descriptor instead.
func (NfsShare_StorageType) Number
func (x NfsShare_StorageType) Number() protoreflect.EnumNumberfunc (NfsShare_StorageType) String
func (x NfsShare_StorageType) String() stringfunc (NfsShare_StorageType) Type
func (NfsShare_StorageType) Type() protoreflect.EnumTypeOSImage
type OSImage struct {
// Output only. OS Image's unique name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// OS Image code.
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
// OS Image description.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Instance types this image is applicable to.
// [Available
// types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
ApplicableInstanceTypes []string `protobuf:"bytes,4,rep,name=applicable_instance_types,json=applicableInstanceTypes,proto3" json:"applicable_instance_types,omitempty"`
// Network templates that can be used with this OS Image.
SupportedNetworkTemplates []string `protobuf:"bytes,5,rep,name=supported_network_templates,json=supportedNetworkTemplates,proto3" json:"supported_network_templates,omitempty"`
// contains filtered or unexported fields
}Operation System image.
func (*OSImage) Descriptor
Deprecated: Use OSImage.ProtoReflect.Descriptor instead.
func (*OSImage) GetApplicableInstanceTypes
func (*OSImage) GetCode
func (*OSImage) GetDescription
func (*OSImage) GetName
func (*OSImage) GetSupportedNetworkTemplates
func (*OSImage) ProtoMessage
func (*OSImage) ProtoMessage()func (*OSImage) ProtoReflect
func (x *OSImage) ProtoReflect() protoreflect.Messagefunc (*OSImage) Reset
func (x *OSImage) Reset()func (*OSImage) String
OperationMetadata
type OperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the action executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. 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][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"`
// Output only. 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() stringfunc (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() boolfunc (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() stringfunc (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() stringfunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringProvisioningConfig
type ProvisioningConfig struct {
// Output only. The system-generated name of the provisioning config. This
// follows the UUID format.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Instances to be created.
Instances []*InstanceConfig `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"`
// Networks to be created.
Networks []*NetworkConfig `protobuf:"bytes,3,rep,name=networks,proto3" json:"networks,omitempty"`
// Volumes to be created.
Volumes []*VolumeConfig `protobuf:"bytes,4,rep,name=volumes,proto3" json:"volumes,omitempty"`
// A generated ticket id to track provisioning request.
TicketId string `protobuf:"bytes,5,opt,name=ticket_id,json=ticketId,proto3" json:"ticket_id,omitempty"`
// A service account to enable customers to access instance credentials upon
// handover.
HandoverServiceAccount string `protobuf:"bytes,6,opt,name=handover_service_account,json=handoverServiceAccount,proto3" json:"handover_service_account,omitempty"`
// Email provided to send a confirmation with provisioning config to.
// Deprecated in favour of email field in request messages.
//
// Deprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/provisioning.proto.
Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"`
// Output only. State of ProvisioningConfig.
State ProvisioningConfig_State `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.ProvisioningConfig_State" json:"state,omitempty"`
// Optional. Location name of this ProvisioningConfig.
// It is optional only for Intake UI transition period.
Location string `protobuf:"bytes,9,opt,name=location,proto3" json:"location,omitempty"`
// Output only. Last update timestamp.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. URI to Cloud Console UI view of this provisioning config.
CloudConsoleUri string `protobuf:"bytes,11,opt,name=cloud_console_uri,json=cloudConsoleUri,proto3" json:"cloud_console_uri,omitempty"`
// If true, VPC SC is enabled for the cluster.
VpcScEnabled bool `protobuf:"varint,12,opt,name=vpc_sc_enabled,json=vpcScEnabled,proto3" json:"vpc_sc_enabled,omitempty"`
// Optional status messages associated with the FAILED state.
StatusMessage string `protobuf:"bytes,13,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Optional. The user-defined identifier of the provisioning config.
CustomId string `protobuf:"bytes,14,opt,name=custom_id,json=customId,proto3" json:"custom_id,omitempty"`
// contains filtered or unexported fields
}A provisioning configuration.
func (*ProvisioningConfig) Descriptor
func (*ProvisioningConfig) Descriptor() ([]byte, []int)Deprecated: Use ProvisioningConfig.ProtoReflect.Descriptor instead.
func (*ProvisioningConfig) GetCloudConsoleUri
func (x *ProvisioningConfig) GetCloudConsoleUri() stringfunc (*ProvisioningConfig) GetCustomId
func (x *ProvisioningConfig) GetCustomId() stringfunc (*ProvisioningConfig) GetEmail
func (x *ProvisioningConfig) GetEmail() stringDeprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/provisioning.proto.
func (*ProvisioningConfig) GetHandoverServiceAccount
func (x *ProvisioningConfig) GetHandoverServiceAccount() stringfunc (*ProvisioningConfig) GetInstances
func (x *ProvisioningConfig) GetInstances() []*InstanceConfigfunc (*ProvisioningConfig) GetLocation
func (x *ProvisioningConfig) GetLocation() stringfunc (*ProvisioningConfig) GetName
func (x *ProvisioningConfig) GetName() stringfunc (*ProvisioningConfig) GetNetworks
func (x *ProvisioningConfig) GetNetworks() []*NetworkConfigfunc (*ProvisioningConfig) GetState
func (x *ProvisioningConfig) GetState() ProvisioningConfig_Statefunc (*ProvisioningConfig) GetStatusMessage
func (x *ProvisioningConfig) GetStatusMessage() stringfunc (*ProvisioningConfig) GetTicketId
func (x *ProvisioningConfig) GetTicketId() stringfunc (*ProvisioningConfig) GetUpdateTime
func (x *ProvisioningConfig) GetUpdateTime() *timestamppb.Timestampfunc (*ProvisioningConfig) GetVolumes
func (x *ProvisioningConfig) GetVolumes() []*VolumeConfigfunc (*ProvisioningConfig) GetVpcScEnabled
func (x *ProvisioningConfig) GetVpcScEnabled() boolfunc (*ProvisioningConfig) ProtoMessage
func (*ProvisioningConfig) ProtoMessage()func (*ProvisioningConfig) ProtoReflect
func (x *ProvisioningConfig) ProtoReflect() protoreflect.Messagefunc (*ProvisioningConfig) Reset
func (x *ProvisioningConfig) Reset()func (*ProvisioningConfig) String
func (x *ProvisioningConfig) String() stringProvisioningConfig_State
type ProvisioningConfig_State int32The possible states for this ProvisioningConfig.
ProvisioningConfig_STATE_UNSPECIFIED, ProvisioningConfig_DRAFT, ProvisioningConfig_SUBMITTED, ProvisioningConfig_PROVISIONING, ProvisioningConfig_PROVISIONED, ProvisioningConfig_VALIDATED, ProvisioningConfig_CANCELLED, ProvisioningConfig_FAILED
const (
// State wasn't specified.
ProvisioningConfig_STATE_UNSPECIFIED ProvisioningConfig_State = 0
// ProvisioningConfig is a draft and can be freely modified.
ProvisioningConfig_DRAFT ProvisioningConfig_State = 1
// ProvisioningConfig was already submitted and cannot be modified.
ProvisioningConfig_SUBMITTED ProvisioningConfig_State = 2
// ProvisioningConfig was in the provisioning state. Initially this state
// comes from the work order table in big query when SNOW is used. Later
// this field can be set by the work order API.
ProvisioningConfig_PROVISIONING ProvisioningConfig_State = 3
// ProvisioningConfig was provisioned, meaning the resources exist.
ProvisioningConfig_PROVISIONED ProvisioningConfig_State = 4
// ProvisioningConfig was validated. A validation tool will be run to
// set this state.
ProvisioningConfig_VALIDATED ProvisioningConfig_State = 5
// ProvisioningConfig was canceled.
ProvisioningConfig_CANCELLED ProvisioningConfig_State = 6
// The request is submitted for provisioning, with error return.
ProvisioningConfig_FAILED ProvisioningConfig_State = 7
)func (ProvisioningConfig_State) Descriptor
func (ProvisioningConfig_State) Descriptor() protoreflect.EnumDescriptorfunc (ProvisioningConfig_State) Enum
func (x ProvisioningConfig_State) Enum() *ProvisioningConfig_Statefunc (ProvisioningConfig_State) EnumDescriptor
func (ProvisioningConfig_State) EnumDescriptor() ([]byte, []int)Deprecated: Use ProvisioningConfig_State.Descriptor instead.
func (ProvisioningConfig_State) Number
func (x ProvisioningConfig_State) Number() protoreflect.EnumNumberfunc (ProvisioningConfig_State) String
func (x ProvisioningConfig_State) String() stringfunc (ProvisioningConfig_State) Type
func (ProvisioningConfig_State) Type() protoreflect.EnumTypeProvisioningQuota
type ProvisioningQuota struct {
// Output only. The name of the provisioning quota.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The asset type of this provisioning quota.
AssetType ProvisioningQuota_AssetType `protobuf:"varint,2,opt,name=asset_type,json=assetType,proto3,enum=google.cloud.baremetalsolution.v2.ProvisioningQuota_AssetType" json:"asset_type,omitempty"`
// The gcp service of the provisioning quota.
GcpService string `protobuf:"bytes,3,opt,name=gcp_service,json=gcpService,proto3" json:"gcp_service,omitempty"`
// The specific location of the provisioining quota.
Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
// The available count of the provisioning quota.
AvailableCount int32 `protobuf:"varint,5,opt,name=available_count,json=availableCount,proto3" json:"available_count,omitempty"`
// The quota of one asset type.
//
// Types that are assignable to Quota:
//
// *ProvisioningQuota_InstanceQuota
Quota isProvisioningQuota_Quota `protobuf_oneof:"quota"`
// Available quantity based on asset type.
//
// Types that are assignable to Availability:
//
// *ProvisioningQuota_ServerCount
// *ProvisioningQuota_NetworkBandwidth
// *ProvisioningQuota_StorageGib
Availability isProvisioningQuota_Availability `protobuf_oneof:"availability"`
// contains filtered or unexported fields
}A provisioning quota for a given project.
func (*ProvisioningQuota) Descriptor
func (*ProvisioningQuota) Descriptor() ([]byte, []int)Deprecated: Use ProvisioningQuota.ProtoReflect.Descriptor instead.
func (*ProvisioningQuota) GetAssetType
func (x *ProvisioningQuota) GetAssetType() ProvisioningQuota_AssetTypefunc (*ProvisioningQuota) GetAvailability
func (m *ProvisioningQuota) GetAvailability() isProvisioningQuota_Availabilityfunc (*ProvisioningQuota) GetAvailableCount
func (x *ProvisioningQuota) GetAvailableCount() int32func (*ProvisioningQuota) GetGcpService
func (x *ProvisioningQuota) GetGcpService() stringfunc (*ProvisioningQuota) GetInstanceQuota
func (x *ProvisioningQuota) GetInstanceQuota() *InstanceQuotafunc (*ProvisioningQuota) GetLocation
func (x *ProvisioningQuota) GetLocation() stringfunc (*ProvisioningQuota) GetName
func (x *ProvisioningQuota) GetName() stringfunc (*ProvisioningQuota) GetNetworkBandwidth
func (x *ProvisioningQuota) GetNetworkBandwidth() int64func (*ProvisioningQuota) GetQuota
func (m *ProvisioningQuota) GetQuota() isProvisioningQuota_Quotafunc (*ProvisioningQuota) GetServerCount
func (x *ProvisioningQuota) GetServerCount() int64func (*ProvisioningQuota) GetStorageGib
func (x *ProvisioningQuota) GetStorageGib() int64func (*ProvisioningQuota) ProtoMessage
func (*ProvisioningQuota) ProtoMessage()func (*ProvisioningQuota) ProtoReflect
func (x *ProvisioningQuota) ProtoReflect() protoreflect.Messagefunc (*ProvisioningQuota) Reset
func (x *ProvisioningQuota) Reset()func (*ProvisioningQuota) String
func (x *ProvisioningQuota) String() stringProvisioningQuota_AssetType
type ProvisioningQuota_AssetType int32The available asset types for intake.
ProvisioningQuota_ASSET_TYPE_UNSPECIFIED, ProvisioningQuota_ASSET_TYPE_SERVER, ProvisioningQuota_ASSET_TYPE_STORAGE, ProvisioningQuota_ASSET_TYPE_NETWORK
const (
// The unspecified type.
ProvisioningQuota_ASSET_TYPE_UNSPECIFIED ProvisioningQuota_AssetType = 0
// The server asset type.
ProvisioningQuota_ASSET_TYPE_SERVER ProvisioningQuota_AssetType = 1
// The storage asset type.
ProvisioningQuota_ASSET_TYPE_STORAGE ProvisioningQuota_AssetType = 2
// The network asset type.
ProvisioningQuota_ASSET_TYPE_NETWORK ProvisioningQuota_AssetType = 3
)func (ProvisioningQuota_AssetType) Descriptor
func (ProvisioningQuota_AssetType) Descriptor() protoreflect.EnumDescriptorfunc (ProvisioningQuota_AssetType) Enum
func (x ProvisioningQuota_AssetType) Enum() *ProvisioningQuota_AssetTypefunc (ProvisioningQuota_AssetType) EnumDescriptor
func (ProvisioningQuota_AssetType) EnumDescriptor() ([]byte, []int)Deprecated: Use ProvisioningQuota_AssetType.Descriptor instead.
func (ProvisioningQuota_AssetType) Number
func (x ProvisioningQuota_AssetType) Number() protoreflect.EnumNumberfunc (ProvisioningQuota_AssetType) String
func (x ProvisioningQuota_AssetType) String() stringfunc (ProvisioningQuota_AssetType) Type
func (ProvisioningQuota_AssetType) Type() protoreflect.EnumTypeProvisioningQuota_InstanceQuota
type ProvisioningQuota_InstanceQuota struct {
// Instance quota.
InstanceQuota *InstanceQuota `protobuf:"bytes,6,opt,name=instance_quota,json=instanceQuota,proto3,oneof"`
}ProvisioningQuota_NetworkBandwidth
type ProvisioningQuota_NetworkBandwidth struct {
// Network bandwidth, Gbps
NetworkBandwidth int64 `protobuf:"varint,8,opt,name=network_bandwidth,json=networkBandwidth,proto3,oneof"`
}ProvisioningQuota_ServerCount
type ProvisioningQuota_ServerCount struct {
// Server count.
ServerCount int64 `protobuf:"varint,7,opt,name=server_count,json=serverCount,proto3,oneof"`
}ProvisioningQuota_StorageGib
type ProvisioningQuota_StorageGib struct {
// Storage size (GB).
StorageGib int64 `protobuf:"varint,9,opt,name=storage_gib,json=storageGib,proto3,oneof"`
}RenameInstanceRequest
type RenameInstanceRequest struct {
// Required. The `name` field is used to identify the instance.
// Format: projects/{project}/locations/{location}/instances/{instance}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The new `id` of the instance.
NewInstanceId string `protobuf:"bytes,2,opt,name=new_instance_id,json=newInstanceId,proto3" json:"new_instance_id,omitempty"`
// contains filtered or unexported fields
}Message requesting rename of a server.
func (*RenameInstanceRequest) Descriptor
func (*RenameInstanceRequest) Descriptor() ([]byte, []int)Deprecated: Use RenameInstanceRequest.ProtoReflect.Descriptor instead.
func (*RenameInstanceRequest) GetName
func (x *RenameInstanceRequest) GetName() stringfunc (*RenameInstanceRequest) GetNewInstanceId
func (x *RenameInstanceRequest) GetNewInstanceId() stringfunc (*RenameInstanceRequest) ProtoMessage
func (*RenameInstanceRequest) ProtoMessage()func (*RenameInstanceRequest) ProtoReflect
func (x *RenameInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*RenameInstanceRequest) Reset
func (x *RenameInstanceRequest) Reset()func (*RenameInstanceRequest) String
func (x *RenameInstanceRequest) String() stringRenameNetworkRequest
type RenameNetworkRequest struct {
// Required. The `name` field is used to identify the network.
// Format: projects/{project}/locations/{location}/networks/{network}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The new `id` of the network.
NewNetworkId string `protobuf:"bytes,2,opt,name=new_network_id,json=newNetworkId,proto3" json:"new_network_id,omitempty"`
// contains filtered or unexported fields
}Message requesting rename of a server.
func (*RenameNetworkRequest) Descriptor
func (*RenameNetworkRequest) Descriptor() ([]byte, []int)Deprecated: Use RenameNetworkRequest.ProtoReflect.Descriptor instead.
func (*RenameNetworkRequest) GetName
func (x *RenameNetworkRequest) GetName() stringfunc (*RenameNetworkRequest) GetNewNetworkId
func (x *RenameNetworkRequest) GetNewNetworkId() stringfunc (*RenameNetworkRequest) ProtoMessage
func (*RenameNetworkRequest) ProtoMessage()func (*RenameNetworkRequest) ProtoReflect
func (x *RenameNetworkRequest) ProtoReflect() protoreflect.Messagefunc (*RenameNetworkRequest) Reset
func (x *RenameNetworkRequest) Reset()func (*RenameNetworkRequest) String
func (x *RenameNetworkRequest) String() stringRenameNfsShareRequest
type RenameNfsShareRequest struct {
// Required. The `name` field is used to identify the nfsshare.
// Format: projects/{project}/locations/{location}/nfsshares/{nfsshare}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The new `id` of the nfsshare.
NewNfsshareId string `protobuf:"bytes,2,opt,name=new_nfsshare_id,json=newNfsshareId,proto3" json:"new_nfsshare_id,omitempty"`
// contains filtered or unexported fields
}Message requesting rename of a server.
func (*RenameNfsShareRequest) Descriptor
func (*RenameNfsShareRequest) Descriptor() ([]byte, []int)Deprecated: Use RenameNfsShareRequest.ProtoReflect.Descriptor instead.
func (*RenameNfsShareRequest) GetName
func (x *RenameNfsShareRequest) GetName() stringfunc (*RenameNfsShareRequest) GetNewNfsshareId
func (x *RenameNfsShareRequest) GetNewNfsshareId() stringfunc (*RenameNfsShareRequest) ProtoMessage
func (*RenameNfsShareRequest) ProtoMessage()func (*RenameNfsShareRequest) ProtoReflect
func (x *RenameNfsShareRequest) ProtoReflect() protoreflect.Messagefunc (*RenameNfsShareRequest) Reset
func (x *RenameNfsShareRequest) Reset()func (*RenameNfsShareRequest) String
func (x *RenameNfsShareRequest) String() stringRenameVolumeRequest
type RenameVolumeRequest struct {
// Required. The `name` field is used to identify the volume.
// Format: projects/{project}/locations/{location}/volumes/{volume}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The new `id` of the volume.
NewVolumeId string `protobuf:"bytes,2,opt,name=new_volume_id,json=newVolumeId,proto3" json:"new_volume_id,omitempty"`
// contains filtered or unexported fields
}Message requesting rename of a server.
func (*RenameVolumeRequest) Descriptor
func (*RenameVolumeRequest) Descriptor() ([]byte, []int)Deprecated: Use RenameVolumeRequest.ProtoReflect.Descriptor instead.
func (*RenameVolumeRequest) GetName
func (x *RenameVolumeRequest) GetName() stringfunc (*RenameVolumeRequest) GetNewVolumeId
func (x *RenameVolumeRequest) GetNewVolumeId() stringfunc (*RenameVolumeRequest) ProtoMessage
func (*RenameVolumeRequest) ProtoMessage()func (*RenameVolumeRequest) ProtoReflect
func (x *RenameVolumeRequest) ProtoReflect() protoreflect.Messagefunc (*RenameVolumeRequest) Reset
func (x *RenameVolumeRequest) Reset()func (*RenameVolumeRequest) String
func (x *RenameVolumeRequest) String() stringResetInstanceRequest
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() stringfunc (*ResetInstanceRequest) ProtoMessage
func (*ResetInstanceRequest) ProtoMessage()func (*ResetInstanceRequest) ProtoReflect
func (x *ResetInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*ResetInstanceRequest) Reset
func (x *ResetInstanceRequest) Reset()func (*ResetInstanceRequest) String
func (x *ResetInstanceRequest) String() stringResetInstanceResponse
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.Messagefunc (*ResetInstanceResponse) Reset
func (x *ResetInstanceResponse) Reset()func (*ResetInstanceResponse) String
func (x *ResetInstanceResponse) String() stringResizeVolumeRequest
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() int64func (*ResizeVolumeRequest) GetVolume
func (x *ResizeVolumeRequest) GetVolume() stringfunc (*ResizeVolumeRequest) ProtoMessage
func (*ResizeVolumeRequest) ProtoMessage()func (*ResizeVolumeRequest) ProtoReflect
func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Messagefunc (*ResizeVolumeRequest) Reset
func (x *ResizeVolumeRequest) Reset()func (*ResizeVolumeRequest) String
func (x *ResizeVolumeRequest) String() stringRestoreVolumeSnapshotRequest
type RestoreVolumeSnapshotRequest struct {
// Required. Name of the snapshot which will be used to restore its parent
// volume.
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
func (*RestoreVolumeSnapshotRequest) Descriptor() ([]byte, []int)Deprecated: Use RestoreVolumeSnapshotRequest.ProtoReflect.Descriptor instead.
func (*RestoreVolumeSnapshotRequest) GetVolumeSnapshot
func (x *RestoreVolumeSnapshotRequest) GetVolumeSnapshot() stringfunc (*RestoreVolumeSnapshotRequest) ProtoMessage
func (*RestoreVolumeSnapshotRequest) ProtoMessage()func (*RestoreVolumeSnapshotRequest) ProtoReflect
func (x *RestoreVolumeSnapshotRequest) ProtoReflect() protoreflect.Messagefunc (*RestoreVolumeSnapshotRequest) Reset
func (x *RestoreVolumeSnapshotRequest) Reset()func (*RestoreVolumeSnapshotRequest) String
func (x *RestoreVolumeSnapshotRequest) String() stringSSHKey
type SSHKey struct {
// Output only. The name of this SSH key.
// Currently, the only valid value for the location is "global".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The public SSH key. This must be in OpenSSH .authorized_keys format.
PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
// contains filtered or unexported fields
}An SSH key, used for authorizing with the interactive serial console feature.
func (*SSHKey) Descriptor
Deprecated: Use SSHKey.ProtoReflect.Descriptor instead.
func (*SSHKey) GetName
func (*SSHKey) GetPublicKey
func (*SSHKey) ProtoMessage
func (*SSHKey) ProtoMessage()func (*SSHKey) ProtoReflect
func (x *SSHKey) ProtoReflect() protoreflect.Messagefunc (*SSHKey) Reset
func (x *SSHKey) Reset()func (*SSHKey) String
ServerNetworkTemplate
type ServerNetworkTemplate struct {
// Output only. Template's unique name. The full resource name follows the
// pattern:
// `projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}`
// Generally, the {server_network_template} follows the syntax of
// "bondNetwork template.
func (*ServerNetworkTemplate) Descriptor
func (*ServerNetworkTemplate) Descriptor() ([]byte, []int)Deprecated: Use ServerNetworkTemplate.ProtoReflect.Descriptor instead.
func (*ServerNetworkTemplate) GetApplicableInstanceTypes
func (x *ServerNetworkTemplate) GetApplicableInstanceTypes() []stringfunc (*ServerNetworkTemplate) GetLogicalInterfaces
func (x *ServerNetworkTemplate) GetLogicalInterfaces() []*ServerNetworkTemplate_LogicalInterfacefunc (*ServerNetworkTemplate) GetName
func (x *ServerNetworkTemplate) GetName() stringfunc (*ServerNetworkTemplate) ProtoMessage
func (*ServerNetworkTemplate) ProtoMessage()func (*ServerNetworkTemplate) ProtoReflect
func (x *ServerNetworkTemplate) ProtoReflect() protoreflect.Messagefunc (*ServerNetworkTemplate) Reset
func (x *ServerNetworkTemplate) Reset()func (*ServerNetworkTemplate) String
func (x *ServerNetworkTemplate) String() stringServerNetworkTemplate_LogicalInterface
type ServerNetworkTemplate_LogicalInterface struct {
// Interface name.
// This is not a globally unique identifier.
// Name is unique only inside the ServerNetworkTemplate. This is of syntax
// Logical interface.
func (*ServerNetworkTemplate_LogicalInterface) Descriptor
func (*ServerNetworkTemplate_LogicalInterface) Descriptor() ([]byte, []int)Deprecated: Use ServerNetworkTemplate_LogicalInterface.ProtoReflect.Descriptor instead.
func (*ServerNetworkTemplate_LogicalInterface) GetName
func (x *ServerNetworkTemplate_LogicalInterface) GetName() stringfunc (*ServerNetworkTemplate_LogicalInterface) GetRequired
func (x *ServerNetworkTemplate_LogicalInterface) GetRequired() boolfunc (*ServerNetworkTemplate_LogicalInterface) GetType
func (x *ServerNetworkTemplate_LogicalInterface) GetType() ServerNetworkTemplate_LogicalInterface_InterfaceTypefunc (*ServerNetworkTemplate_LogicalInterface) ProtoMessage
func (*ServerNetworkTemplate_LogicalInterface) ProtoMessage()func (*ServerNetworkTemplate_LogicalInterface) ProtoReflect
func (x *ServerNetworkTemplate_LogicalInterface) ProtoReflect() protoreflect.Messagefunc (*ServerNetworkTemplate_LogicalInterface) Reset
func (x *ServerNetworkTemplate_LogicalInterface) Reset()func (*ServerNetworkTemplate_LogicalInterface) String
func (x *ServerNetworkTemplate_LogicalInterface) String() stringServerNetworkTemplate_LogicalInterface_InterfaceType
type ServerNetworkTemplate_LogicalInterface_InterfaceType int32Interface 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) Descriptor() protoreflect.EnumDescriptorfunc (ServerNetworkTemplate_LogicalInterface_InterfaceType) Enum
func (x ServerNetworkTemplate_LogicalInterface_InterfaceType) Enum() *ServerNetworkTemplate_LogicalInterface_InterfaceTypefunc (ServerNetworkTemplate_LogicalInterface_InterfaceType) EnumDescriptor
func (ServerNetworkTemplate_LogicalInterface_InterfaceType) EnumDescriptor() ([]byte, []int)Deprecated: Use ServerNetworkTemplate_LogicalInterface_InterfaceType.Descriptor instead.
func (ServerNetworkTemplate_LogicalInterface_InterfaceType) Number
func (x ServerNetworkTemplate_LogicalInterface_InterfaceType) Number() protoreflect.EnumNumberfunc (ServerNetworkTemplate_LogicalInterface_InterfaceType) String
func (x ServerNetworkTemplate_LogicalInterface_InterfaceType) String() stringfunc (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() stringfunc (*StartInstanceRequest) ProtoMessage
func (*StartInstanceRequest) ProtoMessage()func (*StartInstanceRequest) ProtoReflect
func (x *StartInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*StartInstanceRequest) Reset
func (x *StartInstanceRequest) Reset()func (*StartInstanceRequest) String
func (x *StartInstanceRequest) String() stringStartInstanceResponse
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.Messagefunc (*StartInstanceResponse) Reset
func (x *StartInstanceResponse) Reset()func (*StartInstanceResponse) String
func (x *StartInstanceResponse) String() stringStopInstanceRequest
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() stringfunc (*StopInstanceRequest) ProtoMessage
func (*StopInstanceRequest) ProtoMessage()func (*StopInstanceRequest) ProtoReflect
func (x *StopInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*StopInstanceRequest) Reset
func (x *StopInstanceRequest) Reset()func (*StopInstanceRequest) String
func (x *StopInstanceRequest) String() stringStopInstanceResponse
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.Messagefunc (*StopInstanceResponse) Reset
func (x *StopInstanceResponse) Reset()func (*StopInstanceResponse) String
func (x *StopInstanceResponse) String() stringSubmitProvisioningConfigRequest
type SubmitProvisioningConfigRequest struct {
// Required. The parent project and location containing the
// ProvisioningConfig.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ProvisioningConfig to create.
ProvisioningConfig *ProvisioningConfig `protobuf:"bytes,2,opt,name=provisioning_config,json=provisioningConfig,proto3" json:"provisioning_config,omitempty"`
// Optional. Email provided to send a confirmation with provisioning config
// to.
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
// contains filtered or unexported fields
}Request for SubmitProvisioningConfig.
func (*SubmitProvisioningConfigRequest) Descriptor
func (*SubmitProvisioningConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use SubmitProvisioningConfigRequest.ProtoReflect.Descriptor instead.
func (*SubmitProvisioningConfigRequest) GetEmail
func (x *SubmitProvisioningConfigRequest) GetEmail() stringfunc (*SubmitProvisioningConfigRequest) GetParent
func (x *SubmitProvisioningConfigRequest) GetParent() stringfunc (*SubmitProvisioningConfigRequest) GetProvisioningConfig
func (x *SubmitProvisioningConfigRequest) GetProvisioningConfig() *ProvisioningConfigfunc (*SubmitProvisioningConfigRequest) ProtoMessage
func (*SubmitProvisioningConfigRequest) ProtoMessage()func (*SubmitProvisioningConfigRequest) ProtoReflect
func (x *SubmitProvisioningConfigRequest) ProtoReflect() protoreflect.Messagefunc (*SubmitProvisioningConfigRequest) Reset
func (x *SubmitProvisioningConfigRequest) Reset()func (*SubmitProvisioningConfigRequest) String
func (x *SubmitProvisioningConfigRequest) String() stringSubmitProvisioningConfigResponse
type SubmitProvisioningConfigResponse struct {
// The submitted provisioning config.
ProvisioningConfig *ProvisioningConfig `protobuf:"bytes,1,opt,name=provisioning_config,json=provisioningConfig,proto3" json:"provisioning_config,omitempty"`
// contains filtered or unexported fields
}Response for SubmitProvisioningConfig.
func (*SubmitProvisioningConfigResponse) Descriptor
func (*SubmitProvisioningConfigResponse) Descriptor() ([]byte, []int)Deprecated: Use SubmitProvisioningConfigResponse.ProtoReflect.Descriptor instead.
func (*SubmitProvisioningConfigResponse) GetProvisioningConfig
func (x *SubmitProvisioningConfigResponse) GetProvisioningConfig() *ProvisioningConfigfunc (*SubmitProvisioningConfigResponse) ProtoMessage
func (*SubmitProvisioningConfigResponse) ProtoMessage()func (*SubmitProvisioningConfigResponse) ProtoReflect
func (x *SubmitProvisioningConfigResponse) ProtoReflect() protoreflect.Messagefunc (*SubmitProvisioningConfigResponse) Reset
func (x *SubmitProvisioningConfigResponse) Reset()func (*SubmitProvisioningConfigResponse) String
func (x *SubmitProvisioningConfigResponse) String() stringUnimplementedBareMetalSolutionServer
type UnimplementedBareMetalSolutionServer struct {
}UnimplementedBareMetalSolutionServer should be embedded to have forward compatible implementations.
func (UnimplementedBareMetalSolutionServer) CreateNfsShare
func (UnimplementedBareMetalSolutionServer) CreateNfsShare(context.Context, *CreateNfsShareRequest) (*longrunningpb.Operation, error)func (UnimplementedBareMetalSolutionServer) CreateProvisioningConfig
func (UnimplementedBareMetalSolutionServer) CreateProvisioningConfig(context.Context, *CreateProvisioningConfigRequest) (*ProvisioningConfig, error)func (UnimplementedBareMetalSolutionServer) CreateSSHKey
func (UnimplementedBareMetalSolutionServer) CreateSSHKey(context.Context, *CreateSSHKeyRequest) (*SSHKey, error)func (UnimplementedBareMetalSolutionServer) CreateVolumeSnapshot
func (UnimplementedBareMetalSolutionServer) CreateVolumeSnapshot(context.Context, *CreateVolumeSnapshotRequest) (*VolumeSnapshot, error)func (UnimplementedBareMetalSolutionServer) DeleteNfsShare
func (UnimplementedBareMetalSolutionServer) DeleteNfsShare(context.Context, *DeleteNfsShareRequest) (*longrunningpb.Operation, error)func (UnimplementedBareMetalSolutionServer) DeleteSSHKey
func (UnimplementedBareMetalSolutionServer) DeleteSSHKey(context.Context, *DeleteSSHKeyRequest) (*emptypb.Empty, error)func (UnimplementedBareMetalSolutionServer) DeleteVolumeSnapshot
func (UnimplementedBareMetalSolutionServer) DeleteVolumeSnapshot(context.Context, *DeleteVolumeSnapshotRequest) (*emptypb.Empty, error)func (UnimplementedBareMetalSolutionServer) DetachLun
func (UnimplementedBareMetalSolutionServer) DetachLun(context.Context, *DetachLunRequest) (*longrunningpb.Operation, error)func (UnimplementedBareMetalSolutionServer) DisableInteractiveSerialConsole
func (UnimplementedBareMetalSolutionServer) DisableInteractiveSerialConsole(context.Context, *DisableInteractiveSerialConsoleRequest) (*longrunningpb.Operation, error)func (UnimplementedBareMetalSolutionServer) EnableInteractiveSerialConsole
func (UnimplementedBareMetalSolutionServer) EnableInteractiveSerialConsole(context.Context, *EnableInteractiveSerialConsoleRequest) (*longrunningpb.Operation, error)func (UnimplementedBareMetalSolutionServer) EvictLun
func (UnimplementedBareMetalSolutionServer) EvictLun(context.Context, *EvictLunRequest) (*longrunningpb.Operation, error)func (UnimplementedBareMetalSolutionServer) EvictVolume
func (UnimplementedBareMetalSolutionServer) EvictVolume(context.Context, *EvictVolumeRequest) (*longrunningpb.Operation, error)func (UnimplementedBareMetalSolutionServer) GetInstance
func (UnimplementedBareMetalSolutionServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)func (UnimplementedBareMetalSolutionServer) GetLun
func (UnimplementedBareMetalSolutionServer) GetLun(context.Context, *GetLunRequest) (*Lun, error)func (UnimplementedBareMetalSolutionServer) GetNetwork
func (UnimplementedBareMetalSolutionServer) GetNetwork(context.Context, *GetNetworkRequest) (*Network, error)func (UnimplementedBareMetalSolutionServer) GetNfsShare
func (UnimplementedBareMetalSolutionServer) GetNfsShare(context.Context, *GetNfsShareRequest) (*NfsShare, error)func (UnimplementedBareMetalSolutionServer) GetProvisioningConfig
func (UnimplementedBareMetalSolutionServer) GetProvisioningConfig(context.Context, *GetProvisioningConfigRequest) (*ProvisioningConfig, error)func (UnimplementedBareMetalSolutionServer) GetVolume
func (UnimplementedBareMetalSolutionServer) GetVolume(context.Context, *GetVolumeRequest) (*Volume, error)func (UnimplementedBareMetalSolutionServer) GetVolumeSnapshot
func (UnimplementedBareMetalSolutionServer) GetVolumeSnapshot(context.Context, *GetVolumeSnapshotRequest) (*VolumeSnapshot, error)func (UnimplementedBareMetalSolutionServer) ListInstances
func (UnimplementedBareMetalSolutionServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)func (UnimplementedBareMetalSolutionServer) ListLuns
func (UnimplementedBareMetalSolutionServer) ListLuns(context.Context, *ListLunsRequest) (*ListLunsResponse, error)func (UnimplementedBareMetalSolutionServer) ListNetworkUsage
func (UnimplementedBareMetalSolutionServer) ListNetworkUsage(context.Context, *ListNetworkUsageRequest) (*ListNetworkUsageResponse, error)func (UnimplementedBareMetalSolutionServer) ListNetworks
func (UnimplementedBareMetalSolutionServer) ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error)func (UnimplementedBareMetalSolutionServer) ListNfsShares
func (UnimplementedBareMetalSolutionServer) ListNfsShares(context.Context, *ListNfsSharesRequest) (*ListNfsSharesResponse, error)func (UnimplementedBareMetalSolutionServer) ListOSImages
func (UnimplementedBareMetalSolutionServer) ListOSImages(context.Context, *ListOSImagesRequest) (*ListOSImagesResponse, error)func (UnimplementedBareMetalSolutionServer) ListProvisioningQuotas
func (UnimplementedBareMetalSolutionServer) ListProvisioningQuotas(context.Context, *ListProvisioningQuotasRequest) (*ListProvisioningQuotasResponse, error)func (UnimplementedBareMetalSolutionServer) ListSSHKeys
func (UnimplementedBareMetalSolutionServer) ListSSHKeys(context.Context, *ListSSHKeysRequest) (*ListSSHKeysResponse, error)func (UnimplementedBareMetalSolutionServer) ListVolumeSnapshots
func (UnimplementedBareMetalSolutionServer) ListVolumeSnapshots(context.Context, *ListVolumeSnapshotsRequest) (*ListVolumeSnapshotsResponse, error)func (UnimplementedBareMetalSolutionServer) ListVolumes
func (UnimplementedBareMetalSolutionServer) ListVolumes(context.Context, *ListVolumesRequest) (*ListVolumesResponse, error)func (UnimplementedBareMetalSolutionServer) RenameInstance
func (UnimplementedBareMetalSolutionServer) RenameInstance(context.Context, *RenameInstanceRequest) (*Instance, error)func (UnimplementedBareMetalSolutionServer) RenameNetwork
func (UnimplementedBareMetalSolutionServer) RenameNetwork(context.Context, *RenameNetworkRequest) (*Network, error)func (UnimplementedBareMetalSolutionServer) RenameNfsShare
func (UnimplementedBareMetalSolutionServer) RenameNfsShare(context.Context, *RenameNfsShareRequest) (*NfsShare, error)func (UnimplementedBareMetalSolutionServer) RenameVolume
func (UnimplementedBareMetalSolutionServer) RenameVolume(context.Context, *RenameVolumeRequest) (*Volume, error)func (UnimplementedBareMetalSolutionServer) ResetInstance
func (UnimplementedBareMetalSolutionServer) ResetInstance(context.Context, *ResetInstanceRequest) (*longrunningpb.Operation, error)func (UnimplementedBareMetalSolutionServer) ResizeVolume
func (UnimplementedBareMetalSolutionServer) ResizeVolume(context.Context, *ResizeVolumeRequest) (*longrunningpb.Operation, error)func (UnimplementedBareMetalSolutionServer) RestoreVolumeSnapshot
func (UnimplementedBareMetalSolutionServer) RestoreVolumeSnapshot(context.Context, *RestoreVolumeSnapshotRequest) (*longrunningpb.Operation, error)func (UnimplementedBareMetalSolutionServer) StartInstance
func (UnimplementedBareMetalSolutionServer) StartInstance(context.Context, *StartInstanceRequest) (*longrunningpb.Operation, error)func (UnimplementedBareMetalSolutionServer) StopInstance
func (UnimplementedBareMetalSolutionServer) StopInstance(context.Context, *StopInstanceRequest) (*longrunningpb.Operation, error)func (UnimplementedBareMetalSolutionServer) SubmitProvisioningConfig
func (UnimplementedBareMetalSolutionServer) SubmitProvisioningConfig(context.Context, *SubmitProvisioningConfigRequest) (*SubmitProvisioningConfigResponse, error)func (UnimplementedBareMetalSolutionServer) UpdateInstance
func (UnimplementedBareMetalSolutionServer) UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunningpb.Operation, error)func (UnimplementedBareMetalSolutionServer) UpdateNetwork
func (UnimplementedBareMetalSolutionServer) UpdateNetwork(context.Context, *UpdateNetworkRequest) (*longrunningpb.Operation, error)func (UnimplementedBareMetalSolutionServer) UpdateNfsShare
func (UnimplementedBareMetalSolutionServer) UpdateNfsShare(context.Context, *UpdateNfsShareRequest) (*longrunningpb.Operation, error)func (UnimplementedBareMetalSolutionServer) UpdateProvisioningConfig
func (UnimplementedBareMetalSolutionServer) UpdateProvisioningConfig(context.Context, *UpdateProvisioningConfigRequest) (*ProvisioningConfig, error)func (UnimplementedBareMetalSolutionServer) UpdateVolume
func (UnimplementedBareMetalSolutionServer) UpdateVolume(context.Context, *UpdateVolumeRequest) (*longrunningpb.Operation, error)UnsafeBareMetalSolutionServer
type UnsafeBareMetalSolutionServer interface {
// contains filtered or unexported methods
}UnsafeBareMetalSolutionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BareMetalSolutionServer will result in compilation errors.
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() *Instancefunc (*UpdateInstanceRequest) GetUpdateMask
func (x *UpdateInstanceRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateInstanceRequest) ProtoMessage
func (*UpdateInstanceRequest) ProtoMessage()func (*UpdateInstanceRequest) ProtoReflect
func (x *UpdateInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateInstanceRequest) Reset
func (x *UpdateInstanceRequest) Reset()func (*UpdateInstanceRequest) String
func (x *UpdateInstanceRequest) String() stringUpdateNetworkRequest
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`, `vrf.vlan_attachments`
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() *Networkfunc (*UpdateNetworkRequest) GetUpdateMask
func (x *UpdateNetworkRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateNetworkRequest) ProtoMessage
func (*UpdateNetworkRequest) ProtoMessage()func (*UpdateNetworkRequest) ProtoReflect
func (x *UpdateNetworkRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateNetworkRequest) Reset
func (x *UpdateNetworkRequest) Reset()func (*UpdateNetworkRequest) String
func (x *UpdateNetworkRequest) String() stringUpdateNfsShareRequest
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`
// `allowed_clients`
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 an NFS share.
func (*UpdateNfsShareRequest) Descriptor
func (*UpdateNfsShareRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateNfsShareRequest.ProtoReflect.Descriptor instead.
func (*UpdateNfsShareRequest) GetNfsShare
func (x *UpdateNfsShareRequest) GetNfsShare() *NfsSharefunc (*UpdateNfsShareRequest) GetUpdateMask
func (x *UpdateNfsShareRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateNfsShareRequest) ProtoMessage
func (*UpdateNfsShareRequest) ProtoMessage()func (*UpdateNfsShareRequest) ProtoReflect
func (x *UpdateNfsShareRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateNfsShareRequest) Reset
func (x *UpdateNfsShareRequest) Reset()func (*UpdateNfsShareRequest) String
func (x *UpdateNfsShareRequest) String() stringUpdateProvisioningConfigRequest
type UpdateProvisioningConfigRequest struct {
// Required. The ProvisioningConfig to update.
ProvisioningConfig *ProvisioningConfig `protobuf:"bytes,1,opt,name=provisioning_config,json=provisioningConfig,proto3" json:"provisioning_config,omitempty"`
// Required. The list of fields to update.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. Email provided to send a confirmation with provisioning config
// to.
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
// contains filtered or unexported fields
}Message for updating a ProvisioningConfig.
func (*UpdateProvisioningConfigRequest) Descriptor
func (*UpdateProvisioningConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateProvisioningConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateProvisioningConfigRequest) GetEmail
func (x *UpdateProvisioningConfigRequest) GetEmail() stringfunc (*UpdateProvisioningConfigRequest) GetProvisioningConfig
func (x *UpdateProvisioningConfigRequest) GetProvisioningConfig() *ProvisioningConfigfunc (*UpdateProvisioningConfigRequest) GetUpdateMask
func (x *UpdateProvisioningConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateProvisioningConfigRequest) ProtoMessage
func (*UpdateProvisioningConfigRequest) ProtoMessage()func (*UpdateProvisioningConfigRequest) ProtoReflect
func (x *UpdateProvisioningConfigRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateProvisioningConfigRequest) Reset
func (x *UpdateProvisioningConfigRequest) Reset()func (*UpdateProvisioningConfigRequest) String
func (x *UpdateProvisioningConfigRequest) String() stringUpdateVolumeRequest
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:
//
// 'labels'
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.FieldMaskfunc (*UpdateVolumeRequest) GetVolume
func (x *UpdateVolumeRequest) GetVolume() *Volumefunc (*UpdateVolumeRequest) ProtoMessage
func (*UpdateVolumeRequest) ProtoMessage()func (*UpdateVolumeRequest) ProtoReflect
func (x *UpdateVolumeRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateVolumeRequest) Reset
func (x *UpdateVolumeRequest) Reset()func (*UpdateVolumeRequest) String
func (x *UpdateVolumeRequest) String() stringVRF
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.
// The value is only meaningful when all the vlan attachments have the same
// QoS. This field should not be used for new integrations, use vlan
// attachment level qos instead. The field is left for backward-compatibility.
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: Use VRF.ProtoReflect.Descriptor instead.
func (*VRF) GetName
func (*VRF) GetQosPolicy
func (x *VRF) GetQosPolicy() *VRF_QosPolicyfunc (*VRF) GetState
func (*VRF) GetVlanAttachments
func (x *VRF) GetVlanAttachments() []*VRF_VlanAttachmentfunc (*VRF) ProtoMessage
func (*VRF) ProtoMessage()func (*VRF) ProtoReflect
func (x *VRF) ProtoReflect() protoreflect.Messagefunc (*VRF) Reset
func (x *VRF) Reset()func (*VRF) 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() float64func (*VRF_QosPolicy) ProtoMessage
func (*VRF_QosPolicy) ProtoMessage()func (*VRF_QosPolicy) ProtoReflect
func (x *VRF_QosPolicy) ProtoReflect() protoreflect.Messagefunc (*VRF_QosPolicy) Reset
func (x *VRF_QosPolicy) Reset()func (*VRF_QosPolicy) String
func (x *VRF_QosPolicy) String() stringVRF_State
type VRF_State int32The 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.EnumDescriptorfunc (VRF_State) Enum
func (VRF_State) EnumDescriptor
Deprecated: Use VRF_State.Descriptor instead.
func (VRF_State) Number
func (x VRF_State) Number() protoreflect.EnumNumberfunc (VRF_State) String
func (VRF_State) Type
func (VRF_State) Type() protoreflect.EnumTypeVRF_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"`
// Input only. Pairing key.
PairingKey string `protobuf:"bytes,4,opt,name=pairing_key,json=pairingKey,proto3" json:"pairing_key,omitempty"`
// The QOS policy applied to this VLAN attachment.
// This value should be preferred to using qos at vrf level.
QosPolicy *VRF_QosPolicy `protobuf:"bytes,5,opt,name=qos_policy,json=qosPolicy,proto3" json:"qos_policy,omitempty"`
// Immutable. The identifier of the attachment within vrf.
Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
// Optional. The name of the vlan attachment within vrf. This is of the form
// projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}
InterconnectAttachment string `protobuf:"bytes,7,opt,name=interconnect_attachment,json=interconnectAttachment,proto3" json:"interconnect_attachment,omitempty"`
// contains filtered or unexported fields
}VLAN attachment details.
func (*VRF_VlanAttachment) Descriptor
func (*VRF_VlanAttachment) Descriptor() ([]byte, []int)Deprecated: Use VRF_VlanAttachment.ProtoReflect.Descriptor instead.
func (*VRF_VlanAttachment) GetId
func (x *VRF_VlanAttachment) GetId() stringfunc (*VRF_VlanAttachment) GetInterconnectAttachment
func (x *VRF_VlanAttachment) GetInterconnectAttachment() stringfunc (*VRF_VlanAttachment) GetPairingKey
func (x *VRF_VlanAttachment) GetPairingKey() stringfunc (*VRF_VlanAttachment) GetPeerIp
func (x *VRF_VlanAttachment) GetPeerIp() stringfunc (*VRF_VlanAttachment) GetPeerVlanId
func (x *VRF_VlanAttachment) GetPeerVlanId() int64func (*VRF_VlanAttachment) GetQosPolicy
func (x *VRF_VlanAttachment) GetQosPolicy() *VRF_QosPolicyfunc (*VRF_VlanAttachment) GetRouterIp
func (x *VRF_VlanAttachment) GetRouterIp() stringfunc (*VRF_VlanAttachment) ProtoMessage
func (*VRF_VlanAttachment) ProtoMessage()func (*VRF_VlanAttachment) ProtoReflect
func (x *VRF_VlanAttachment) ProtoReflect() protoreflect.Messagefunc (*VRF_VlanAttachment) Reset
func (x *VRF_VlanAttachment) Reset()func (*VRF_VlanAttachment) String
func (x *VRF_VlanAttachment) String() stringVolume
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"`
// An identifier for the `Volume`, generated by the backend.
Id string `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"`
// The storage type for this volume.
StorageType Volume_StorageType `protobuf:"varint,2,opt,name=storage_type,json=storageType,proto3,enum=google.cloud.baremetalsolution.v2.Volume_StorageType" json:"storage_type,omitempty"`
// 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"`
// Originally requested size, in GiB.
OriginallyRequestedSizeGib int64 `protobuf:"varint,16,opt,name=originally_requested_size_gib,json=originallyRequestedSizeGib,proto3" json:"originally_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"`
// Additional emergency size that was requested for this Volume, in GiB.
// current_size_gib includes this value.
EmergencySizeGib int64 `protobuf:"varint,14,opt,name=emergency_size_gib,json=emergencySizeGib,proto3" json:"emergency_size_gib,omitempty"`
// Maximum size volume can be expanded to in case of evergency, in GiB.
MaxSizeGib int64 `protobuf:"varint,17,opt,name=max_size_gib,json=maxSizeGib,proto3" json:"max_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 `protobuf:"bytes,8,opt,name=snapshot_reservation_detail,json=snapshotReservationDetail,proto3" json:"snapshot_reservation_detail,omitempty"`
// The behavior to use when snapshot reserved space is full.
SnapshotAutoDeleteBehavior Volume_SnapshotAutoDeleteBehavior `protobuf:"varint,9,opt,name=snapshot_auto_delete_behavior,json=snapshotAutoDeleteBehavior,proto3,enum=google.cloud.baremetalsolution.v2.Volume_SnapshotAutoDeleteBehavior" json:"snapshot_auto_delete_behavior,omitempty"`
// Labels as key value pairs.
Labels map[string]string `protobuf:"bytes,12,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Whether snapshots are enabled.
SnapshotEnabled bool `protobuf:"varint,13,opt,name=snapshot_enabled,json=snapshotEnabled,proto3" json:"snapshot_enabled,omitempty"`
// Immutable. Pod name.
Pod string `protobuf:"bytes,15,opt,name=pod,proto3" json:"pod,omitempty"`
// Output only. Storage protocol for the Volume.
Protocol Volume_Protocol `protobuf:"varint,18,opt,name=protocol,proto3,enum=google.cloud.baremetalsolution.v2.Volume_Protocol" json:"protocol,omitempty"`
// Output only. Whether this volume is a boot volume. A boot volume is one
// which contains a boot LUN.
BootVolume bool `protobuf:"varint,19,opt,name=boot_volume,json=bootVolume,proto3" json:"boot_volume,omitempty"`
// Immutable. Performance tier of the Volume.
// Default is SHARED.
PerformanceTier VolumePerformanceTier `protobuf:"varint,20,opt,name=performance_tier,json=performanceTier,proto3,enum=google.cloud.baremetalsolution.v2.VolumePerformanceTier" json:"performance_tier,omitempty"`
// Input only. User-specified notes for new Volume.
// Used to provision Volumes that require manual intervention.
Notes string `protobuf:"bytes,21,opt,name=notes,proto3" json:"notes,omitempty"`
// The workload profile for the volume.
WorkloadProfile Volume_WorkloadProfile `protobuf:"varint,22,opt,name=workload_profile,json=workloadProfile,proto3,enum=google.cloud.baremetalsolution.v2.Volume_WorkloadProfile" json:"workload_profile,omitempty"`
// Output only. Time after which volume will be fully deleted.
// It is filled only for volumes in COOLOFF state.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// Output only. Instances this Volume is attached to.
// This field is set only in Get requests.
Instances []string `protobuf:"bytes,25,rep,name=instances,proto3" json:"instances,omitempty"`
// Output only. Is the Volume attached at at least one instance.
// This field is a lightweight counterpart of `instances` field.
// It is filled in List responses as well.
Attached bool `protobuf:"varint,26,opt,name=attached,proto3" json:"attached,omitempty"`
// contains filtered or unexported fields
}A storage volume.
func (*Volume) Descriptor
Deprecated: Use Volume.ProtoReflect.Descriptor instead.
func (*Volume) GetAttached
func (*Volume) GetAutoGrownSizeGib
func (*Volume) GetBootVolume
func (*Volume) GetCurrentSizeGib
func (*Volume) GetEmergencySizeGib
func (*Volume) GetExpireTime
func (x *Volume) GetExpireTime() *timestamppb.Timestampfunc (*Volume) GetId
func (*Volume) GetInstances
func (*Volume) GetLabels
func (*Volume) GetMaxSizeGib
func (*Volume) GetName
func (*Volume) GetNotes
func (*Volume) GetOriginallyRequestedSizeGib
func (*Volume) GetPerformanceTier
func (x *Volume) GetPerformanceTier() VolumePerformanceTierfunc (*Volume) GetPod
func (*Volume) GetProtocol
func (x *Volume) GetProtocol() Volume_Protocolfunc (*Volume) GetRemainingSpaceGib
func (*Volume) GetRequestedSizeGib
func (*Volume) GetSnapshotAutoDeleteBehavior
func (x *Volume) GetSnapshotAutoDeleteBehavior() Volume_SnapshotAutoDeleteBehaviorfunc (*Volume) GetSnapshotEnabled
func (*Volume) GetSnapshotReservationDetail
func (x *Volume) GetSnapshotReservationDetail() *Volume_SnapshotReservationDetailfunc (*Volume) GetState
func (x *Volume) GetState() Volume_Statefunc (*Volume) GetStorageType
func (x *Volume) GetStorageType() Volume_StorageTypefunc (*Volume) GetWorkloadProfile
func (x *Volume) GetWorkloadProfile() Volume_WorkloadProfilefunc (*Volume) ProtoMessage
func (*Volume) ProtoMessage()func (*Volume) ProtoReflect
func (x *Volume) ProtoReflect() protoreflect.Messagefunc (*Volume) Reset
func (x *Volume) Reset()func (*Volume) String
VolumeConfig
type VolumeConfig struct {
// Output only. The name of the volume config.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A transient unique identifier to identify a volume within an
// ProvisioningConfig request.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Whether snapshots should be enabled.
SnapshotsEnabled bool `protobuf:"varint,3,opt,name=snapshots_enabled,json=snapshotsEnabled,proto3" json:"snapshots_enabled,omitempty"`
// The type of this Volume.
Type VolumeConfig_Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.baremetalsolution.v2.VolumeConfig_Type" json:"type,omitempty"`
// Volume protocol.
Protocol VolumeConfig_Protocol `protobuf:"varint,5,opt,name=protocol,proto3,enum=google.cloud.baremetalsolution.v2.VolumeConfig_Protocol" json:"protocol,omitempty"`
// The requested size of this volume, in GB.
SizeGb int32 `protobuf:"varint,6,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
// LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
LunRanges []*VolumeConfig_LunRange `protobuf:"bytes,7,rep,name=lun_ranges,json=lunRanges,proto3" json:"lun_ranges,omitempty"`
// Machine ids connected to this volume. Set only when protocol is
// PROTOCOL_FC.
MachineIds []string `protobuf:"bytes,8,rep,name=machine_ids,json=machineIds,proto3" json:"machine_ids,omitempty"`
// NFS exports. Set only when protocol is PROTOCOL_NFS.
NfsExports []*VolumeConfig_NfsExport `protobuf:"bytes,9,rep,name=nfs_exports,json=nfsExports,proto3" json:"nfs_exports,omitempty"`
// User note field, it can be used by customers to add additional information
// for the BMS Ops team .
UserNote string `protobuf:"bytes,10,opt,name=user_note,json=userNote,proto3" json:"user_note,omitempty"`
// The GCP service of the storage volume. Available gcp_service are in
// https://cloud.google.com/bare-metal/docs/bms-planning.
GcpService string `protobuf:"bytes,11,opt,name=gcp_service,json=gcpService,proto3" json:"gcp_service,omitempty"`
// Performance tier of the Volume.
// Default is SHARED.
PerformanceTier VolumePerformanceTier `protobuf:"varint,12,opt,name=performance_tier,json=performanceTier,proto3,enum=google.cloud.baremetalsolution.v2.VolumePerformanceTier" json:"performance_tier,omitempty"`
// contains filtered or unexported fields
}Configuration parameters for a new volume.
func (*VolumeConfig) Descriptor
func (*VolumeConfig) Descriptor() ([]byte, []int)Deprecated: Use VolumeConfig.ProtoReflect.Descriptor instead.
func (*VolumeConfig) GetGcpService
func (x *VolumeConfig) GetGcpService() stringfunc (*VolumeConfig) GetId
func (x *VolumeConfig) GetId() stringfunc (*VolumeConfig) GetLunRanges
func (x *VolumeConfig) GetLunRanges() []*VolumeConfig_LunRangefunc (*VolumeConfig) GetMachineIds
func (x *VolumeConfig) GetMachineIds() []stringfunc (*VolumeConfig) GetName
func (x *VolumeConfig) GetName() stringfunc (*VolumeConfig) GetNfsExports
func (x *VolumeConfig) GetNfsExports() []*VolumeConfig_NfsExportfunc (*VolumeConfig) GetPerformanceTier
func (x *VolumeConfig) GetPerformanceTier() VolumePerformanceTierfunc (*VolumeConfig) GetProtocol
func (x *VolumeConfig) GetProtocol() VolumeConfig_Protocolfunc (*VolumeConfig) GetSizeGb
func (x *VolumeConfig) GetSizeGb() int32func (*VolumeConfig) GetSnapshotsEnabled
func (x *VolumeConfig) GetSnapshotsEnabled() boolfunc (*VolumeConfig) GetType
func (x *VolumeConfig) GetType() VolumeConfig_Typefunc (*VolumeConfig) GetUserNote
func (x *VolumeConfig) GetUserNote() stringfunc (*VolumeConfig) ProtoMessage
func (*VolumeConfig) ProtoMessage()func (*VolumeConfig) ProtoReflect
func (x *VolumeConfig) ProtoReflect() protoreflect.Messagefunc (*VolumeConfig) Reset
func (x *VolumeConfig) Reset()func (*VolumeConfig) String
func (x *VolumeConfig) String() stringVolumeConfig_LunRange
type VolumeConfig_LunRange struct {
// Number of LUNs to create.
Quantity int32 `protobuf:"varint,1,opt,name=quantity,proto3" json:"quantity,omitempty"`
// The requested size of each LUN, in GB.
SizeGb int32 `protobuf:"varint,2,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
// contains filtered or unexported fields
}A LUN(Logical Unit Number) range.
func (*VolumeConfig_LunRange) Descriptor
func (*VolumeConfig_LunRange) Descriptor() ([]byte, []int)Deprecated: Use VolumeConfig_LunRange.ProtoReflect.Descriptor instead.
func (*VolumeConfig_LunRange) GetQuantity
func (x *VolumeConfig_LunRange) GetQuantity() int32func (*VolumeConfig_LunRange) GetSizeGb
func (x *VolumeConfig_LunRange) GetSizeGb() int32func (*VolumeConfig_LunRange) ProtoMessage
func (*VolumeConfig_LunRange) ProtoMessage()func (*VolumeConfig_LunRange) ProtoReflect
func (x *VolumeConfig_LunRange) ProtoReflect() protoreflect.Messagefunc (*VolumeConfig_LunRange) Reset
func (x *VolumeConfig_LunRange) Reset()func (*VolumeConfig_LunRange) String
func (x *VolumeConfig_LunRange) String() stringVolumeConfig_NfsExport
type VolumeConfig_NfsExport struct {
// Network to use to publish the export.
NetworkId string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
// A client object.
//
// Types that are assignable to Client:
//
// *VolumeConfig_NfsExport_MachineId
// *VolumeConfig_NfsExport_Cidr
Client isVolumeConfig_NfsExport_Client `protobuf_oneof:"client"`
// Export permissions.
Permissions VolumeConfig_NfsExport_Permissions `protobuf:"varint,4,opt,name=permissions,proto3,enum=google.cloud.baremetalsolution.v2.VolumeConfig_NfsExport_Permissions" json:"permissions,omitempty"`
// Disable root squashing, which is a feature of NFS.
// Root squash is a special mapping of the remote superuser (root) identity
// when using identity authentication.
NoRootSquash bool `protobuf:"varint,5,opt,name=no_root_squash,json=noRootSquash,proto3" json:"no_root_squash,omitempty"`
// Allow the setuid flag.
AllowSuid bool `protobuf:"varint,6,opt,name=allow_suid,json=allowSuid,proto3" json:"allow_suid,omitempty"`
// Allow dev flag in NfsShare AllowedClientsRequest.
AllowDev bool `protobuf:"varint,7,opt,name=allow_dev,json=allowDev,proto3" json:"allow_dev,omitempty"`
// contains filtered or unexported fields
}A NFS export entry.
func (*VolumeConfig_NfsExport) Descriptor
func (*VolumeConfig_NfsExport) Descriptor() ([]byte, []int)Deprecated: Use VolumeConfig_NfsExport.ProtoReflect.Descriptor instead.
func (*VolumeConfig_NfsExport) GetAllowDev
func (x *VolumeConfig_NfsExport) GetAllowDev() boolfunc (*VolumeConfig_NfsExport) GetAllowSuid
func (x *VolumeConfig_NfsExport) GetAllowSuid() boolfunc (*VolumeConfig_NfsExport) GetCidr
func (x *VolumeConfig_NfsExport) GetCidr() stringfunc (*VolumeConfig_NfsExport) GetClient
func (m *VolumeConfig_NfsExport) GetClient() isVolumeConfig_NfsExport_Clientfunc (*VolumeConfig_NfsExport) GetMachineId
func (x *VolumeConfig_NfsExport) GetMachineId() stringfunc (*VolumeConfig_NfsExport) GetNetworkId
func (x *VolumeConfig_NfsExport) GetNetworkId() stringfunc (*VolumeConfig_NfsExport) GetNoRootSquash
func (x *VolumeConfig_NfsExport) GetNoRootSquash() boolfunc (*VolumeConfig_NfsExport) GetPermissions
func (x *VolumeConfig_NfsExport) GetPermissions() VolumeConfig_NfsExport_Permissionsfunc (*VolumeConfig_NfsExport) ProtoMessage
func (*VolumeConfig_NfsExport) ProtoMessage()func (*VolumeConfig_NfsExport) ProtoReflect
func (x *VolumeConfig_NfsExport) ProtoReflect() protoreflect.Messagefunc (*VolumeConfig_NfsExport) Reset
func (x *VolumeConfig_NfsExport) Reset()func (*VolumeConfig_NfsExport) String
func (x *VolumeConfig_NfsExport) String() stringVolumeConfig_NfsExport_Cidr
type VolumeConfig_NfsExport_Cidr struct {
// A CIDR range.
Cidr string `protobuf:"bytes,3,opt,name=cidr,proto3,oneof"`
}VolumeConfig_NfsExport_MachineId
type VolumeConfig_NfsExport_MachineId struct {
// Either a single machine, identified by an ID, or a comma-separated
// list of machine IDs.
MachineId string `protobuf:"bytes,2,opt,name=machine_id,json=machineId,proto3,oneof"`
}VolumeConfig_NfsExport_Permissions
type VolumeConfig_NfsExport_Permissions int32Permissions that can granted for an export.
VolumeConfig_NfsExport_PERMISSIONS_UNSPECIFIED, VolumeConfig_NfsExport_READ_ONLY, VolumeConfig_NfsExport_READ_WRITE
const (
// Unspecified value.
VolumeConfig_NfsExport_PERMISSIONS_UNSPECIFIED VolumeConfig_NfsExport_Permissions = 0
// Read-only permission.
VolumeConfig_NfsExport_READ_ONLY VolumeConfig_NfsExport_Permissions = 1
// Read-write permission.
VolumeConfig_NfsExport_READ_WRITE VolumeConfig_NfsExport_Permissions = 2
)func (VolumeConfig_NfsExport_Permissions) Descriptor
func (VolumeConfig_NfsExport_Permissions) Descriptor() protoreflect.EnumDescriptorfunc (VolumeConfig_NfsExport_Permissions) Enum
func (x VolumeConfig_NfsExport_Permissions) Enum() *VolumeConfig_NfsExport_Permissionsfunc (VolumeConfig_NfsExport_Permissions) EnumDescriptor
func (VolumeConfig_NfsExport_Permissions) EnumDescriptor() ([]byte, []int)Deprecated: Use VolumeConfig_NfsExport_Permissions.Descriptor instead.
func (VolumeConfig_NfsExport_Permissions) Number
func (x VolumeConfig_NfsExport_Permissions) Number() protoreflect.EnumNumberfunc (VolumeConfig_NfsExport_Permissions) String
func (x VolumeConfig_NfsExport_Permissions) String() stringfunc (VolumeConfig_NfsExport_Permissions) Type
func (VolumeConfig_NfsExport_Permissions) Type() protoreflect.EnumTypeVolumeConfig_Protocol
type VolumeConfig_Protocol int32The protocol used to access the volume.
VolumeConfig_PROTOCOL_UNSPECIFIED, VolumeConfig_PROTOCOL_FC, VolumeConfig_PROTOCOL_NFS
const (
// Unspecified value.
VolumeConfig_PROTOCOL_UNSPECIFIED VolumeConfig_Protocol = 0
// Fibre channel.
VolumeConfig_PROTOCOL_FC VolumeConfig_Protocol = 1
// Network file system.
VolumeConfig_PROTOCOL_NFS VolumeConfig_Protocol = 2
)func (VolumeConfig_Protocol) Descriptor
func (VolumeConfig_Protocol) Descriptor() protoreflect.EnumDescriptorfunc (VolumeConfig_Protocol) Enum
func (x VolumeConfig_Protocol) Enum() *VolumeConfig_Protocolfunc (VolumeConfig_Protocol) EnumDescriptor
func (VolumeConfig_Protocol) EnumDescriptor() ([]byte, []int)Deprecated: Use VolumeConfig_Protocol.Descriptor instead.
func (VolumeConfig_Protocol) Number
func (x VolumeConfig_Protocol) Number() protoreflect.EnumNumberfunc (VolumeConfig_Protocol) String
func (x VolumeConfig_Protocol) String() stringfunc (VolumeConfig_Protocol) Type
func (VolumeConfig_Protocol) Type() protoreflect.EnumTypeVolumeConfig_Type
type VolumeConfig_Type int32The types of Volumes.
VolumeConfig_TYPE_UNSPECIFIED, VolumeConfig_FLASH, VolumeConfig_DISK
const (
// The unspecified type.
VolumeConfig_TYPE_UNSPECIFIED VolumeConfig_Type = 0
// This Volume is on flash.
VolumeConfig_FLASH VolumeConfig_Type = 1
// This Volume is on disk.
VolumeConfig_DISK VolumeConfig_Type = 2
)func (VolumeConfig_Type) Descriptor
func (VolumeConfig_Type) Descriptor() protoreflect.EnumDescriptorfunc (VolumeConfig_Type) Enum
func (x VolumeConfig_Type) Enum() *VolumeConfig_Typefunc (VolumeConfig_Type) EnumDescriptor
func (VolumeConfig_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use VolumeConfig_Type.Descriptor instead.
func (VolumeConfig_Type) Number
func (x VolumeConfig_Type) Number() protoreflect.EnumNumberfunc (VolumeConfig_Type) String
func (x VolumeConfig_Type) String() stringfunc (VolumeConfig_Type) Type
func (VolumeConfig_Type) Type() protoreflect.EnumTypeVolumePerformanceTier
type VolumePerformanceTier int32Performance tier of the Volume.
VolumePerformanceTier_VOLUME_PERFORMANCE_TIER_UNSPECIFIED, VolumePerformanceTier_VOLUME_PERFORMANCE_TIER_SHARED, VolumePerformanceTier_VOLUME_PERFORMANCE_TIER_ASSIGNED, VolumePerformanceTier_VOLUME_PERFORMANCE_TIER_HT
const (
// Value is not specified.
VolumePerformanceTier_VOLUME_PERFORMANCE_TIER_UNSPECIFIED VolumePerformanceTier = 0
// Regular volumes, shared aggregates.
VolumePerformanceTier_VOLUME_PERFORMANCE_TIER_SHARED VolumePerformanceTier = 1
// Assigned aggregates.
VolumePerformanceTier_VOLUME_PERFORMANCE_TIER_ASSIGNED VolumePerformanceTier = 2
// High throughput aggregates.
VolumePerformanceTier_VOLUME_PERFORMANCE_TIER_HT VolumePerformanceTier = 3
)func (VolumePerformanceTier) Descriptor
func (VolumePerformanceTier) Descriptor() protoreflect.EnumDescriptorfunc (VolumePerformanceTier) Enum
func (x VolumePerformanceTier) Enum() *VolumePerformanceTierfunc (VolumePerformanceTier) EnumDescriptor
func (VolumePerformanceTier) EnumDescriptor() ([]byte, []int)Deprecated: Use VolumePerformanceTier.Descriptor instead.
func (VolumePerformanceTier) Number
func (x VolumePerformanceTier) Number() protoreflect.EnumNumberfunc (VolumePerformanceTier) String
func (x VolumePerformanceTier) String() stringfunc (VolumePerformanceTier) Type
func (VolumePerformanceTier) Type() protoreflect.EnumTypeVolumeSnapshot
type VolumeSnapshot struct {
// The name of the snapshot.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. An identifier for the snapshot, generated by the backend.
Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
// The description of the snapshot.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The creation time of the snapshot.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The name of the volume which this snapshot belongs to.
StorageVolume string `protobuf:"bytes,5,opt,name=storage_volume,json=storageVolume,proto3" json:"storage_volume,omitempty"`
// Output only. The type of the snapshot which indicates whether it was
// scheduled or manual/ad-hoc.
Type VolumeSnapshot_SnapshotType `protobuf:"varint,7,opt,name=type,proto3,enum=google.cloud.baremetalsolution.v2.VolumeSnapshot_SnapshotType" json:"type,omitempty"`
// contains filtered or unexported fields
}A snapshot of a volume. Only boot volumes can have snapshots.
func (*VolumeSnapshot) Descriptor
func (*VolumeSnapshot) Descriptor() ([]byte, []int)Deprecated: Use VolumeSnapshot.ProtoReflect.Descriptor instead.
func (*VolumeSnapshot) GetCreateTime
func (x *VolumeSnapshot) GetCreateTime() *timestamppb.Timestampfunc (*VolumeSnapshot) GetDescription
func (x *VolumeSnapshot) GetDescription() stringfunc (*VolumeSnapshot) GetId
func (x *VolumeSnapshot) GetId() stringfunc (*VolumeSnapshot) GetName
func (x *VolumeSnapshot) GetName() stringfunc (*VolumeSnapshot) GetStorageVolume
func (x *VolumeSnapshot) GetStorageVolume() stringfunc (*VolumeSnapshot) GetType
func (x *VolumeSnapshot) GetType() VolumeSnapshot_SnapshotTypefunc (*VolumeSnapshot) ProtoMessage
func (*VolumeSnapshot) ProtoMessage()func (*VolumeSnapshot) ProtoReflect
func (x *VolumeSnapshot) ProtoReflect() protoreflect.Messagefunc (*VolumeSnapshot) Reset
func (x *VolumeSnapshot) Reset()func (*VolumeSnapshot) String
func (x *VolumeSnapshot) String() stringVolumeSnapshot_SnapshotType
type VolumeSnapshot_SnapshotType int32Represents the type of a snapshot.
VolumeSnapshot_SNAPSHOT_TYPE_UNSPECIFIED, VolumeSnapshot_AD_HOC, VolumeSnapshot_SCHEDULED
const (
// Type is not specified.
VolumeSnapshot_SNAPSHOT_TYPE_UNSPECIFIED VolumeSnapshot_SnapshotType = 0
// Snapshot was taken manually by user.
VolumeSnapshot_AD_HOC VolumeSnapshot_SnapshotType = 1
// Snapshot was taken automatically as a part of a snapshot schedule.
VolumeSnapshot_SCHEDULED VolumeSnapshot_SnapshotType = 2
)func (VolumeSnapshot_SnapshotType) Descriptor
func (VolumeSnapshot_SnapshotType) Descriptor() protoreflect.EnumDescriptorfunc (VolumeSnapshot_SnapshotType) Enum
func (x VolumeSnapshot_SnapshotType) Enum() *VolumeSnapshot_SnapshotTypefunc (VolumeSnapshot_SnapshotType) EnumDescriptor
func (VolumeSnapshot_SnapshotType) EnumDescriptor() ([]byte, []int)Deprecated: Use VolumeSnapshot_SnapshotType.Descriptor instead.
func (VolumeSnapshot_SnapshotType) Number
func (x VolumeSnapshot_SnapshotType) Number() protoreflect.EnumNumberfunc (VolumeSnapshot_SnapshotType) String
func (x VolumeSnapshot_SnapshotType) String() stringfunc (VolumeSnapshot_SnapshotType) Type
func (VolumeSnapshot_SnapshotType) Type() protoreflect.EnumTypeVolume_Protocol
type Volume_Protocol int32Storage protocol.
Volume_PROTOCOL_UNSPECIFIED, Volume_FIBRE_CHANNEL, Volume_NFS
const (
// Value is not specified.
Volume_PROTOCOL_UNSPECIFIED Volume_Protocol = 0
// Fibre Channel protocol.
Volume_FIBRE_CHANNEL Volume_Protocol = 1
// NFS protocol means Volume is a NFS Share volume.
// Such volumes cannot be manipulated via Volumes API.
Volume_NFS Volume_Protocol = 2
)func (Volume_Protocol) Descriptor
func (Volume_Protocol) Descriptor() protoreflect.EnumDescriptorfunc (Volume_Protocol) Enum
func (x Volume_Protocol) Enum() *Volume_Protocolfunc (Volume_Protocol) EnumDescriptor
func (Volume_Protocol) EnumDescriptor() ([]byte, []int)Deprecated: Use Volume_Protocol.Descriptor instead.
func (Volume_Protocol) Number
func (x Volume_Protocol) Number() protoreflect.EnumNumberfunc (Volume_Protocol) String
func (x Volume_Protocol) String() stringfunc (Volume_Protocol) Type
func (Volume_Protocol) Type() protoreflect.EnumTypeVolume_SnapshotAutoDeleteBehavior
type Volume_SnapshotAutoDeleteBehavior int32The kinds of auto delete behavior to use when snapshot reserved space is full.
Volume_SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED, Volume_DISABLED, Volume_OLDEST_FIRST, Volume_NEWEST_FIRST
const (
// The unspecified behavior.
Volume_SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED Volume_SnapshotAutoDeleteBehavior = 0
// Don't delete any snapshots. This disables new snapshot creation, as
// long as the snapshot reserved space is full.
Volume_DISABLED Volume_SnapshotAutoDeleteBehavior = 1
// Delete the oldest snapshots first.
Volume_OLDEST_FIRST Volume_SnapshotAutoDeleteBehavior = 2
// Delete the newest snapshots first.
Volume_NEWEST_FIRST Volume_SnapshotAutoDeleteBehavior = 3
)func (Volume_SnapshotAutoDeleteBehavior) Descriptor
func (Volume_SnapshotAutoDeleteBehavior) Descriptor() protoreflect.EnumDescriptorfunc (Volume_SnapshotAutoDeleteBehavior) Enum
func (x Volume_SnapshotAutoDeleteBehavior) Enum() *Volume_SnapshotAutoDeleteBehaviorfunc (Volume_SnapshotAutoDeleteBehavior) EnumDescriptor
func (Volume_SnapshotAutoDeleteBehavior) EnumDescriptor() ([]byte, []int)Deprecated: Use Volume_SnapshotAutoDeleteBehavior.Descriptor instead.
func (Volume_SnapshotAutoDeleteBehavior) Number
func (x Volume_SnapshotAutoDeleteBehavior) Number() protoreflect.EnumNumberfunc (Volume_SnapshotAutoDeleteBehavior) String
func (x Volume_SnapshotAutoDeleteBehavior) String() stringfunc (Volume_SnapshotAutoDeleteBehavior) Type
func (Volume_SnapshotAutoDeleteBehavior) Type() protoreflect.EnumTypeVolume_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 `protobuf:"varint,2,opt,name=reserved_space_used_percent,json=reservedSpaceUsedPercent,proto3" json:"reserved_space_used_percent,omitempty"`
// The amount, in GiB, of available space in this storage volume's reserved
// snapshot space.
ReservedSpaceRemainingGib int64 `protobuf:"varint,3,opt,name=reserved_space_remaining_gib,json=reservedSpaceRemainingGib,proto3" json:"reserved_space_remaining_gib,omitempty"`
// Percent of the total Volume size reserved for snapshot copies.
// Enabling snapshots requires reserving 20% or more of
// the storage volume space for snapshots. Maximum reserved space for
// snapshots is 40%.
// Setting this field will effectively set snapshot_enabled to true.
ReservedSpacePercent int32 `protobuf:"varint,4,opt,name=reserved_space_percent,json=reservedSpacePercent,proto3" json:"reserved_space_percent,omitempty"`
// contains filtered or unexported fields
}Details about snapshot space reservation and usage on the storage volume.
func (*Volume_SnapshotReservationDetail) Descriptor
func (*Volume_SnapshotReservationDetail) Descriptor() ([]byte, []int)Deprecated: Use Volume_SnapshotReservationDetail.ProtoReflect.Descriptor instead.
func (*Volume_SnapshotReservationDetail) GetReservedSpaceGib
func (x *Volume_SnapshotReservationDetail) GetReservedSpaceGib() int64func (*Volume_SnapshotReservationDetail) GetReservedSpacePercent
func (x *Volume_SnapshotReservationDetail) GetReservedSpacePercent() int32func (*Volume_SnapshotReservationDetail) GetReservedSpaceRemainingGib
func (x *Volume_SnapshotReservationDetail) GetReservedSpaceRemainingGib() int64func (*Volume_SnapshotReservationDetail) GetReservedSpaceUsedPercent
func (x *Volume_SnapshotReservationDetail) GetReservedSpaceUsedPercent() int32func (*Volume_SnapshotReservationDetail) ProtoMessage
func (*Volume_SnapshotReservationDetail) ProtoMessage()func (*Volume_SnapshotReservationDetail) ProtoReflect
func (x *Volume_SnapshotReservationDetail) ProtoReflect() protoreflect.Messagefunc (*Volume_SnapshotReservationDetail) Reset
func (x *Volume_SnapshotReservationDetail) Reset()func (*Volume_SnapshotReservationDetail) String
func (x *Volume_SnapshotReservationDetail) String() stringVolume_State
type Volume_State int32The possible states for a storage volume.
Volume_STATE_UNSPECIFIED, Volume_CREATING, Volume_READY, Volume_DELETING, Volume_UPDATING, Volume_COOL_OFF
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
// The storage volume is being updated.
Volume_UPDATING Volume_State = 4
// The storage volume is in cool off state. It will be deleted after
// `expire_time`.
Volume_COOL_OFF Volume_State = 5
)func (Volume_State) Descriptor
func (Volume_State) Descriptor() protoreflect.EnumDescriptorfunc (Volume_State) Enum
func (x Volume_State) Enum() *Volume_Statefunc (Volume_State) EnumDescriptor
func (Volume_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Volume_State.Descriptor instead.
func (Volume_State) Number
func (x Volume_State) Number() protoreflect.EnumNumberfunc (Volume_State) String
func (x Volume_State) String() stringfunc (Volume_State) Type
func (Volume_State) Type() protoreflect.EnumTypeVolume_StorageType
type Volume_StorageType int32The storage type for a volume.
Volume_STORAGE_TYPE_UNSPECIFIED, Volume_SSD, Volume_HDD
const (
// The storage type for this volume is unknown.
Volume_STORAGE_TYPE_UNSPECIFIED Volume_StorageType = 0
// The storage type for this volume is SSD.
Volume_SSD Volume_StorageType = 1
// This storage type for this volume is HDD.
Volume_HDD Volume_StorageType = 2
)func (Volume_StorageType) Descriptor
func (Volume_StorageType) Descriptor() protoreflect.EnumDescriptorfunc (Volume_StorageType) Enum
func (x Volume_StorageType) Enum() *Volume_StorageTypefunc (Volume_StorageType) EnumDescriptor
func (Volume_StorageType) EnumDescriptor() ([]byte, []int)Deprecated: Use Volume_StorageType.Descriptor instead.
func (Volume_StorageType) Number
func (x Volume_StorageType) Number() protoreflect.EnumNumberfunc (Volume_StorageType) String
func (x Volume_StorageType) String() stringfunc (Volume_StorageType) Type
func (Volume_StorageType) Type() protoreflect.EnumTypeVolume_WorkloadProfile
type Volume_WorkloadProfile int32The possible values for a workload profile.
Volume_WORKLOAD_PROFILE_UNSPECIFIED, Volume_GENERIC, Volume_HANA
const (
// The workload profile is in an unknown state.
Volume_WORKLOAD_PROFILE_UNSPECIFIED Volume_WorkloadProfile = 0
// The workload profile is generic.
Volume_GENERIC Volume_WorkloadProfile = 1
// The workload profile is hana.
Volume_HANA Volume_WorkloadProfile = 2
)func (Volume_WorkloadProfile) Descriptor
func (Volume_WorkloadProfile) Descriptor() protoreflect.EnumDescriptorfunc (Volume_WorkloadProfile) Enum
func (x Volume_WorkloadProfile) Enum() *Volume_WorkloadProfilefunc (Volume_WorkloadProfile) EnumDescriptor
func (Volume_WorkloadProfile) EnumDescriptor() ([]byte, []int)Deprecated: Use Volume_WorkloadProfile.Descriptor instead.
func (Volume_WorkloadProfile) Number
func (x Volume_WorkloadProfile) Number() protoreflect.EnumNumberfunc (Volume_WorkloadProfile) String
func (x Volume_WorkloadProfile) String() stringfunc (Volume_WorkloadProfile) Type
func (Volume_WorkloadProfile) Type() protoreflect.EnumTypeWorkloadProfile
type WorkloadProfile int32The possible values for a workload profile.
WorkloadProfile_WORKLOAD_PROFILE_UNSPECIFIED, WorkloadProfile_WORKLOAD_PROFILE_GENERIC, WorkloadProfile_WORKLOAD_PROFILE_HANA
const (
// The workload profile is in an unknown state.
WorkloadProfile_WORKLOAD_PROFILE_UNSPECIFIED WorkloadProfile = 0
// The workload profile is generic.
WorkloadProfile_WORKLOAD_PROFILE_GENERIC WorkloadProfile = 1
// The workload profile is hana.
WorkloadProfile_WORKLOAD_PROFILE_HANA WorkloadProfile = 2
)func (WorkloadProfile) Descriptor
func (WorkloadProfile) Descriptor() protoreflect.EnumDescriptorfunc (WorkloadProfile) Enum
func (x WorkloadProfile) Enum() *WorkloadProfilefunc (WorkloadProfile) EnumDescriptor
func (WorkloadProfile) EnumDescriptor() ([]byte, []int)Deprecated: Use WorkloadProfile.Descriptor instead.
func (WorkloadProfile) Number
func (x WorkloadProfile) Number() protoreflect.EnumNumberfunc (WorkloadProfile) String
func (x WorkloadProfile) String() stringfunc (WorkloadProfile) Type
func (WorkloadProfile) Type() protoreflect.EnumType