Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::ComputeInstanceRestoreProperties (v0.4.0)

Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::ComputeInstanceRestoreProperties.

ComputeInstanceRestoreProperties represents Compute Engine instance properties to be overridden during restore.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#advanced_machine_features

def advanced_machine_features() -> ::Google::Cloud::BackupDR::V1::AdvancedMachineFeatures
Returns

#advanced_machine_features=

def advanced_machine_features=(value) -> ::Google::Cloud::BackupDR::V1::AdvancedMachineFeatures
Parameter
Returns

#allocation_affinity

def allocation_affinity() -> ::Google::Cloud::BackupDR::V1::AllocationAffinity
Returns

#allocation_affinity=

def allocation_affinity=(value) -> ::Google::Cloud::BackupDR::V1::AllocationAffinity
Parameter
Returns

#can_ip_forward

def can_ip_forward() -> ::Boolean
Returns
  • (::Boolean) — Optional. Allows this instance to send and receive packets with non-matching destination or source IPs.

#can_ip_forward=

def can_ip_forward=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Allows this instance to send and receive packets with non-matching destination or source IPs.
Returns
  • (::Boolean) — Optional. Allows this instance to send and receive packets with non-matching destination or source IPs.

#confidential_instance_config

def confidential_instance_config() -> ::Google::Cloud::BackupDR::V1::ConfidentialInstanceConfig
Returns

#confidential_instance_config=

def confidential_instance_config=(value) -> ::Google::Cloud::BackupDR::V1::ConfidentialInstanceConfig
Parameter
Returns

#deletion_protection

def deletion_protection() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether the resource should be protected against deletion.

#deletion_protection=

def deletion_protection=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Whether the resource should be protected against deletion.
Returns
  • (::Boolean) — Optional. Whether the resource should be protected against deletion.

#description

def description() -> ::String
Returns
  • (::String) — Optional. An optional description of this resource. Provide this property when you create the resource.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. An optional description of this resource. Provide this property when you create the resource.
Returns
  • (::String) — Optional. An optional description of this resource. Provide this property when you create the resource.

#disks

def disks() -> ::Array<::Google::Cloud::BackupDR::V1::AttachedDisk>
Returns

#disks=

def disks=(value) -> ::Array<::Google::Cloud::BackupDR::V1::AttachedDisk>
Parameter
Returns

#display_device

def display_device() -> ::Google::Cloud::BackupDR::V1::DisplayDevice
Returns

#display_device=

def display_device=(value) -> ::Google::Cloud::BackupDR::V1::DisplayDevice
Parameter
Returns

#guest_accelerators

def guest_accelerators() -> ::Array<::Google::Cloud::BackupDR::V1::AcceleratorConfig>
Returns

#guest_accelerators=

def guest_accelerators=(value) -> ::Array<::Google::Cloud::BackupDR::V1::AcceleratorConfig>
Parameter
Returns

#hostname

def hostname() -> ::String
Returns
  • (::String) — 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.

#hostname=

def hostname=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#instance_encryption_key

def instance_encryption_key() -> ::Google::Cloud::BackupDR::V1::CustomerEncryptionKey
Returns

#instance_encryption_key=

def instance_encryption_key=(value) -> ::Google::Cloud::BackupDR::V1::CustomerEncryptionKey
Parameter
Returns

#key_revocation_action_type

def key_revocation_action_type() -> ::Google::Cloud::BackupDR::V1::KeyRevocationActionType
Returns

#key_revocation_action_type=

def key_revocation_action_type=(value) -> ::Google::Cloud::BackupDR::V1::KeyRevocationActionType
Parameter
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to apply to this instance.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to apply to this instance.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to apply to this instance.

#machine_type

def machine_type() -> ::String
Returns
  • (::String) — Optional. Full or partial URL of the machine type resource to use for this instance.

#machine_type=

def machine_type=(value) -> ::String
Parameter
  • value (::String) — Optional. Full or partial URL of the machine type resource to use for this instance.
Returns
  • (::String) — Optional. Full or partial URL of the machine type resource to use for this instance.

#metadata

def metadata() -> ::Google::Cloud::BackupDR::V1::Metadata
Returns

#metadata=

def metadata=(value) -> ::Google::Cloud::BackupDR::V1::Metadata
Parameter
Returns

#min_cpu_platform

def min_cpu_platform() -> ::String
Returns
  • (::String) — Optional. Minimum CPU platform to use for this instance.

#min_cpu_platform=

def min_cpu_platform=(value) -> ::String
Parameter
  • value (::String) — Optional. Minimum CPU platform to use for this instance.
Returns
  • (::String) — Optional. Minimum CPU platform to use for this instance.

#name

def name() -> ::String
Returns
  • (::String) — Required. Name of the compute instance.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the compute instance.
Returns
  • (::String) — Required. Name of the compute instance.

#network_interfaces

def network_interfaces() -> ::Array<::Google::Cloud::BackupDR::V1::NetworkInterface>
Returns
  • (::Array<::Google::Cloud::BackupDR::V1::NetworkInterface>) — 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.

#network_interfaces=

def network_interfaces=(value) -> ::Array<::Google::Cloud::BackupDR::V1::NetworkInterface>
Parameter
  • value (::Array<::Google::Cloud::BackupDR::V1::NetworkInterface>) — 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.
Returns
  • (::Array<::Google::Cloud::BackupDR::V1::NetworkInterface>) — 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.

#network_performance_config

def network_performance_config() -> ::Google::Cloud::BackupDR::V1::NetworkPerformanceConfig
Returns

#network_performance_config=

def network_performance_config=(value) -> ::Google::Cloud::BackupDR::V1::NetworkPerformanceConfig
Parameter
Returns

#params

def params() -> ::Google::Cloud::BackupDR::V1::InstanceParams
Returns

#params=

def params=(value) -> ::Google::Cloud::BackupDR::V1::InstanceParams
Parameter
Returns

#private_ipv6_google_access

def private_ipv6_google_access() -> ::Google::Cloud::BackupDR::V1::ComputeInstanceRestoreProperties::InstancePrivateIpv6GoogleAccess
Returns

#private_ipv6_google_access=

def private_ipv6_google_access=(value) -> ::Google::Cloud::BackupDR::V1::ComputeInstanceRestoreProperties::InstancePrivateIpv6GoogleAccess
Parameter
Returns

#resource_policies

def resource_policies() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. Resource policies applied to this instance.

#resource_policies=

def resource_policies=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. Resource policies applied to this instance.
Returns
  • (::Array<::String>) — Optional. Resource policies applied to this instance.

#scheduling

def scheduling() -> ::Google::Cloud::BackupDR::V1::Scheduling
Returns

#scheduling=

def scheduling=(value) -> ::Google::Cloud::BackupDR::V1::Scheduling
Parameter
Returns

#service_accounts

def service_accounts() -> ::Array<::Google::Cloud::BackupDR::V1::ServiceAccount>
Returns

#service_accounts=

def service_accounts=(value) -> ::Array<::Google::Cloud::BackupDR::V1::ServiceAccount>
Parameter
Returns

#tags

def tags() -> ::Google::Cloud::BackupDR::V1::Tags
Returns
  • (::Google::Cloud::BackupDR::V1::Tags) — 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.

#tags=

def tags=(value) -> ::Google::Cloud::BackupDR::V1::Tags
Parameter
  • value (::Google::Cloud::BackupDR::V1::Tags) — 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.
Returns
  • (::Google::Cloud::BackupDR::V1::Tags) — 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.