Interface ComputeInstanceRestorePropertiesOrBuilder (0.39.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface ComputeInstanceRestorePropertiesOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
containsLabels(String key)
publicabstractbooleancontainsLabels(Stringkey)Optional. Labels to apply to this instance.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAdvancedMachineFeatures()
publicabstractAdvancedMachineFeaturesgetAdvancedMachineFeatures()Optional. Controls for advanced machine-related behavior features.
optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AdvancedMachineFeatures |
The advancedMachineFeatures. |
getAdvancedMachineFeaturesOrBuilder()
publicabstractAdvancedMachineFeaturesOrBuildergetAdvancedMachineFeaturesOrBuilder()Optional. Controls for advanced machine-related behavior features.
optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AdvancedMachineFeaturesOrBuilder |
|
getAllocationAffinity()
publicabstractAllocationAffinitygetAllocationAffinity()Optional. Specifies the reservations that this instance can consume from.
optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [json_name = "reservationAffinity", (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AllocationAffinity |
The allocationAffinity. |
getAllocationAffinityOrBuilder()
publicabstractAllocationAffinityOrBuildergetAllocationAffinityOrBuilder()Optional. Specifies the reservations that this instance can consume from.
optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [json_name = "reservationAffinity", (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AllocationAffinityOrBuilder |
|
getCanIpForward()
publicabstractbooleangetCanIpForward()Optional. Allows this instance to send and receive packets with non-matching destination or source IPs.
optional bool can_ip_forward = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The canIpForward. |
getConfidentialInstanceConfig()
publicabstractConfidentialInstanceConfiggetConfidentialInstanceConfig()Optional. Controls Confidential compute options on the instance
optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ConfidentialInstanceConfig |
The confidentialInstanceConfig. |
getConfidentialInstanceConfigOrBuilder()
publicabstractConfidentialInstanceConfigOrBuildergetConfidentialInstanceConfigOrBuilder()Optional. Controls Confidential compute options on the instance
optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ConfidentialInstanceConfigOrBuilder |
|
getDeletionProtection()
publicabstractbooleangetDeletionProtection()Optional. Whether the resource should be protected against deletion.
optional bool deletion_protection = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The deletionProtection. |
getDescription()
publicabstractStringgetDescription()Optional. An optional description of this resource. Provide this property when you create the resource.
optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
publicabstractByteStringgetDescriptionBytes()Optional. An optional description of this resource. Provide this property when you create the resource.
optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDisks(int index)
publicabstractAttachedDiskgetDisks(intindex)Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them. Source regional persistent disks will be restored with default replica zones if not specified.
repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttachedDisk |
|
getDisksCount()
publicabstractintgetDisksCount()Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them. Source regional persistent disks will be restored with default replica zones if not specified.
repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getDisksList()
publicabstractList<AttachedDisk>getDisksList()Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them. Source regional persistent disks will be restored with default replica zones if not specified.
repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AttachedDisk> |
|
getDisksOrBuilder(int index)
publicabstractAttachedDiskOrBuildergetDisksOrBuilder(intindex)Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them. Source regional persistent disks will be restored with default replica zones if not specified.
repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttachedDiskOrBuilder |
|
getDisksOrBuilderList()
publicabstractList<?extendsAttachedDiskOrBuilder>getDisksOrBuilderList()Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them. Source regional persistent disks will be restored with default replica zones if not specified.
repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.AttachedDiskOrBuilder> |
|
getDisplayDevice()
publicabstractDisplayDevicegetDisplayDevice()Optional. Enables display device for the instance.
optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DisplayDevice |
The displayDevice. |
getDisplayDeviceOrBuilder()
publicabstractDisplayDeviceOrBuildergetDisplayDeviceOrBuilder()Optional. Enables display device for the instance.
optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DisplayDeviceOrBuilder |
|
getGuestAccelerators(int index)
publicabstractAcceleratorConfiggetGuestAccelerators(intindex)Optional. A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AcceleratorConfig |
|
getGuestAcceleratorsCount()
publicabstractintgetGuestAcceleratorsCount()Optional. A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getGuestAcceleratorsList()
publicabstractList<AcceleratorConfig>getGuestAcceleratorsList()Optional. A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AcceleratorConfig> |
|
getGuestAcceleratorsOrBuilder(int index)
publicabstractAcceleratorConfigOrBuildergetGuestAcceleratorsOrBuilder(intindex)Optional. A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AcceleratorConfigOrBuilder |
|
getGuestAcceleratorsOrBuilderList()
publicabstractList<?extendsAcceleratorConfigOrBuilder>getGuestAcceleratorsOrBuilderList()Optional. A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.AcceleratorConfigOrBuilder> |
|
getHostname()
publicabstractStringgetHostname()Optional. Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.
optional string hostname = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The hostname. |
getHostnameBytes()
publicabstractByteStringgetHostnameBytes()Optional. Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.
optional string hostname = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for hostname. |
getInstanceEncryptionKey()
publicabstractCustomerEncryptionKeygetInstanceEncryptionKey()Optional. Encrypts suspended data for an instance with a customer-managed encryption key.
optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CustomerEncryptionKey |
The instanceEncryptionKey. |
getInstanceEncryptionKeyOrBuilder()
publicabstractCustomerEncryptionKeyOrBuildergetInstanceEncryptionKeyOrBuilder()Optional. Encrypts suspended data for an instance with a customer-managed encryption key.
optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CustomerEncryptionKeyOrBuilder |
|
getKeyRevocationActionType()
publicabstractKeyRevocationActionTypegetKeyRevocationActionType()Optional. KeyRevocationActionType of the instance.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
KeyRevocationActionType |
The keyRevocationActionType. |
getKeyRevocationActionTypeValue()
publicabstractintgetKeyRevocationActionTypeValue()Optional. KeyRevocationActionType of the instance.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for keyRevocationActionType. |
getLabels() (deprecated)
publicabstractMap<String,String>getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
publicabstractintgetLabelsCount()Optional. Labels to apply to this instance.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
publicabstractMap<String,String>getLabelsMap()Optional. Labels to apply to this instance.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
publicabstractStringgetLabelsOrDefault(Stringkey,StringdefaultValue)Optional. Labels to apply to this instance.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
publicabstractStringgetLabelsOrThrow(Stringkey)Optional. Labels to apply to this instance.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMachineType()
publicabstractStringgetMachineType()Optional. Full or partial URL of the machine type resource to use for this instance.
optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The machineType. |
getMachineTypeBytes()
publicabstractByteStringgetMachineTypeBytes()Optional. Full or partial URL of the machine type resource to use for this instance.
optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for machineType. |
getMetadata()
publicabstractMetadatagetMetadata()Optional. This includes custom metadata and predefined keys.
optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Metadata |
The metadata. |
getMetadataOrBuilder()
publicabstractMetadataOrBuildergetMetadataOrBuilder()Optional. This includes custom metadata and predefined keys.
optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MetadataOrBuilder |
|
getMinCpuPlatform()
publicabstractStringgetMinCpuPlatform()Optional. Minimum CPU platform to use for this instance.
optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The minCpuPlatform. |
getMinCpuPlatformBytes()
publicabstractByteStringgetMinCpuPlatformBytes()Optional. Minimum CPU platform to use for this instance.
optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for minCpuPlatform. |
getName()
publicabstractStringgetName()Required. Name of the compute instance.
optional string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
publicabstractByteStringgetNameBytes()Required. Name of the compute instance.
optional string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getNetworkInterfaces(int index)
publicabstractNetworkInterfacegetNetworkInterfaces(intindex)Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance. Required to restore in different project or region.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NetworkInterface |
|
getNetworkInterfacesCount()
publicabstractintgetNetworkInterfacesCount()Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance. Required to restore in different project or region.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getNetworkInterfacesList()
publicabstractList<NetworkInterface>getNetworkInterfacesList()Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance. Required to restore in different project or region.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<NetworkInterface> |
|
getNetworkInterfacesOrBuilder(int index)
publicabstractNetworkInterfaceOrBuildergetNetworkInterfacesOrBuilder(intindex)Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance. Required to restore in different project or region.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NetworkInterfaceOrBuilder |
|
getNetworkInterfacesOrBuilderList()
publicabstractList<?extendsNetworkInterfaceOrBuilder>getNetworkInterfacesOrBuilderList()Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance. Required to restore in different project or region.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.NetworkInterfaceOrBuilder> |
|
getNetworkPerformanceConfig()
publicabstractNetworkPerformanceConfiggetNetworkPerformanceConfig()Optional. Configure network performance such as egress bandwidth tier.
optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
NetworkPerformanceConfig |
The networkPerformanceConfig. |
getNetworkPerformanceConfigOrBuilder()
publicabstractNetworkPerformanceConfigOrBuildergetNetworkPerformanceConfigOrBuilder()Optional. Configure network performance such as egress bandwidth tier.
optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
NetworkPerformanceConfigOrBuilder |
|
getParams()
publicabstractInstanceParamsgetParams()Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InstanceParams |
The params. |
getParamsOrBuilder()
publicabstractInstanceParamsOrBuildergetParamsOrBuilder()Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InstanceParamsOrBuilder |
|
getPrivateIpv6GoogleAccess()
publicabstractComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccessgetPrivateIpv6GoogleAccess()Optional. The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess |
The privateIpv6GoogleAccess. |
getPrivateIpv6GoogleAccessValue()
publicabstractintgetPrivateIpv6GoogleAccessValue()Optional. The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for privateIpv6GoogleAccess. |
getResourcePolicies(int index)
publicabstractStringgetResourcePolicies(intindex)Optional. Resource policies applied to this instance. By default, no resource policies will be applied.
repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The resourcePolicies at the given index. |
getResourcePoliciesBytes(int index)
publicabstractByteStringgetResourcePoliciesBytes(intindex)Optional. Resource policies applied to this instance. By default, no resource policies will be applied.
repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the resourcePolicies at the given index. |
getResourcePoliciesCount()
publicabstractintgetResourcePoliciesCount()Optional. Resource policies applied to this instance. By default, no resource policies will be applied.
repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of resourcePolicies. |
getResourcePoliciesList()
publicabstractList<String>getResourcePoliciesList()Optional. Resource policies applied to this instance. By default, no resource policies will be applied.
repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the resourcePolicies. |
getScheduling()
publicabstractSchedulinggetScheduling()Optional. Sets the scheduling options for this instance.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Scheduling |
The scheduling. |
getSchedulingOrBuilder()
publicabstractSchedulingOrBuildergetSchedulingOrBuilder()Optional. Sets the scheduling options for this instance.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SchedulingOrBuilder |
|
getServiceAccounts(int index)
publicabstractServiceAccountgetServiceAccounts(intindex)Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.
repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ServiceAccount |
|
getServiceAccountsCount()
publicabstractintgetServiceAccountsCount()Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.
repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getServiceAccountsList()
publicabstractList<ServiceAccount>getServiceAccountsList()Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.
repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<ServiceAccount> |
|
getServiceAccountsOrBuilder(int index)
publicabstractServiceAccountOrBuildergetServiceAccountsOrBuilder(intindex)Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.
repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ServiceAccountOrBuilder |
|
getServiceAccountsOrBuilderList()
publicabstractList<?extendsServiceAccountOrBuilder>getServiceAccountsOrBuilderList()Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.
repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.ServiceAccountOrBuilder> |
|
getTags()
publicabstractTagsgetTags()Optional. Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation.
optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Tags |
The tags. |
getTagsOrBuilder()
publicabstractTagsOrBuildergetTagsOrBuilder()Optional. Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation.
optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TagsOrBuilder |
|
hasAdvancedMachineFeatures()
publicabstractbooleanhasAdvancedMachineFeatures()Optional. Controls for advanced machine-related behavior features.
optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the advancedMachineFeatures field is set. |
hasAllocationAffinity()
publicabstractbooleanhasAllocationAffinity()Optional. Specifies the reservations that this instance can consume from.
optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [json_name = "reservationAffinity", (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the allocationAffinity field is set. |
hasCanIpForward()
publicabstractbooleanhasCanIpForward()Optional. Allows this instance to send and receive packets with non-matching destination or source IPs.
optional bool can_ip_forward = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the canIpForward field is set. |
hasConfidentialInstanceConfig()
publicabstractbooleanhasConfidentialInstanceConfig()Optional. Controls Confidential compute options on the instance
optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the confidentialInstanceConfig field is set. |
hasDeletionProtection()
publicabstractbooleanhasDeletionProtection()Optional. Whether the resource should be protected against deletion.
optional bool deletion_protection = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the deletionProtection field is set. |
hasDescription()
publicabstractbooleanhasDescription()Optional. An optional description of this resource. Provide this property when you create the resource.
optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the description field is set. |
hasDisplayDevice()
publicabstractbooleanhasDisplayDevice()Optional. Enables display device for the instance.
optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayDevice field is set. |
hasHostname()
publicabstractbooleanhasHostname()Optional. Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.
optional string hostname = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the hostname field is set. |
hasInstanceEncryptionKey()
publicabstractbooleanhasInstanceEncryptionKey()Optional. Encrypts suspended data for an instance with a customer-managed encryption key.
optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the instanceEncryptionKey field is set. |
hasKeyRevocationActionType()
publicabstractbooleanhasKeyRevocationActionType()Optional. KeyRevocationActionType of the instance.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the keyRevocationActionType field is set. |
hasMachineType()
publicabstractbooleanhasMachineType()Optional. Full or partial URL of the machine type resource to use for this instance.
optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the machineType field is set. |
hasMetadata()
publicabstractbooleanhasMetadata()Optional. This includes custom metadata and predefined keys.
optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metadata field is set. |
hasMinCpuPlatform()
publicabstractbooleanhasMinCpuPlatform()Optional. Minimum CPU platform to use for this instance.
optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the minCpuPlatform field is set. |
hasName()
publicabstractbooleanhasName()Required. Name of the compute instance.
optional string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
hasNetworkPerformanceConfig()
publicabstractbooleanhasNetworkPerformanceConfig()Optional. Configure network performance such as egress bandwidth tier.
optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the networkPerformanceConfig field is set. |
hasParams()
publicabstractbooleanhasParams()Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the params field is set. |
hasPrivateIpv6GoogleAccess()
publicabstractbooleanhasPrivateIpv6GoogleAccess()Optional. The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the privateIpv6GoogleAccess field is set. |
hasScheduling()
publicabstractbooleanhasScheduling()Optional. Sets the scheduling options for this instance.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the scheduling field is set. |
hasTags()
publicabstractbooleanhasTags()Optional. Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation.
optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tags field is set. |