NAME

Google::Cloud::Backupdr::V1::BackupvaultGce - Compiled Protocol Buffers messages for google/cloud/backupdr/v1/backupvault_gce.proto

SYNOPSIS

use Google::Cloud::Backupdr::V1::BackupvaultGce;

my $msg = Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceBackupProperties->new({
    description => $description,
    tags => $tags,
    machine_type => $machine_type,
    can_ip_forward => $can_ip_forward,
});

# Read or update a field
my $val = $msg->description();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceBackupProperties->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/backupdr/v1/backupvault_gce.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceBackupProperties

ComputeInstanceBackupProperties represents Compute Engine instance backup properties.

Inherits from Protobuf::Message.

Accessors

  • $msg->description() / $msg->description($value)

    Type: String

    An optional text description for the instances that are created from these properties.

  • $msg->tags() / $msg->tags($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::Tags)

    A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).

  • $msg->machine_type() / $msg->machine_type($value)

    Type: String

    The machine type to use for instances that are created from these properties.

  • $msg->can_ip_forward() / $msg->can_ip_forward($value)

    Type: Bool

    Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify `true`. If unsure, leave this set to `false`. See the https://cloud.google.com/vpc/docs/using-routes#canipforward documentation for more information.

  • $msg->network_interface() / $msg->network_interface($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::NetworkInterface)

    An array of network access configurations for this interface.

  • $msg->disk() / $msg->disk($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::AttachedDisk)

    An array of disks that are associated with the instances that are created from these properties.

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::Metadata)

    The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See https://cloud.google.com/compute/docs/metadata/overview for more information.

  • $msg->service_account() / $msg->service_account($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::ServiceAccount)

    A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.

  • $msg->scheduling() / $msg->scheduling($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::Scheduling)

    Specifies the scheduling options for the instances that are created from these properties.

  • $msg->guest_accelerator() / $msg->guest_accelerator($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::AcceleratorConfig)

    A list of guest accelerator cards' type and count to use for instances created from these properties.

  • $msg->min_cpu_platform() / $msg->min_cpu_platform($value)

    Type: String

    Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: Intel Haswell` or `minCpuPlatform: Intel Sandy Bridge`. For more information, read https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.

  • $msg->key_revocation_action_type() / $msg->key_revocation_action_type($value)

    Type: Enum (Google::Cloud::Backupdr::V1::KeyRevocationActionType)

    KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.

  • $msg->source_instance() / $msg->source_instance($value)

    Type: String

    The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceBackupProperties::LabelsEntry)

    Labels to apply to instances that are created from these properties.

Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceRestoreProperties

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

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the compute instance.

  • $msg->advanced_machine_features() / $msg->advanced_machine_features($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::AdvancedMachineFeatures)

    Optional. Controls for advanced machine-related behavior features.

  • $msg->can_ip_forward() / $msg->can_ip_forward($value)

    Type: Bool

    Optional. Allows this instance to send and receive packets with non-matching destination or source IPs.

  • $msg->confidential_instance_config() / $msg->confidential_instance_config($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::ConfidentialInstanceConfig)

    Optional. Controls Confidential compute options on the instance

  • $msg->deletion_protection() / $msg->deletion_protection($value)

    Type: Bool

    Optional. Whether the resource should be protected against deletion.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. An optional description of this resource. Provide this property when you create the resource.

  • $msg->disks() / $msg->disks($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::AttachedDisk)

    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.

  • $msg->display_device() / $msg->display_device($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::DisplayDevice)

    Optional. Enables display device for the instance.

  • $msg->guest_accelerators() / $msg->guest_accelerators($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::AcceleratorConfig)

    Optional. A list of the type and count of accelerator cards attached to the instance.

  • $msg->hostname() / $msg->hostname($value)

    Type: 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.

  • $msg->instance_encryption_key() / $msg->instance_encryption_key($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::CustomerEncryptionKey)

    Optional. Encrypts suspended data for an instance with a customer-managed encryption key.

  • $msg->key_revocation_action_type() / $msg->key_revocation_action_type($value)

    Type: Enum (Google::Cloud::Backupdr::V1::KeyRevocationActionType)

    Optional. KeyRevocationActionType of the instance.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceRestoreProperties::LabelsEntry)

    Optional. Labels to apply to this instance.

  • $msg->machine_type() / $msg->machine_type($value)

    Type: String

    Optional. Full or partial URL of the machine type resource to use for this instance.

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::Metadata)

    Optional. This includes custom metadata and predefined keys.

  • $msg->min_cpu_platform() / $msg->min_cpu_platform($value)

    Type: String

    Optional. Minimum CPU platform to use for this instance.

  • $msg->network_interfaces() / $msg->network_interfaces($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::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. Required to restore in different project or region.

  • $msg->network_performance_config() / $msg->network_performance_config($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::NetworkPerformanceConfig)

    Optional. Configure network performance such as egress bandwidth tier.

  • $msg->params() / $msg->params($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::InstanceParams)

    Input only. Additional params passed with the request, but not persisted as part of resource payload.

  • $msg->private_ipv6_google_access() / $msg->private_ipv6_google_access($value)

    Type: Enum (Google::Cloud::Backupdr::V1::ComputeInstanceRestoreProperties::InstancePrivateIpv6GoogleAccess)

    Optional. The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.

  • $msg->allocation_affinity() / $msg->allocation_affinity($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::AllocationAffinity)

    Optional. Specifies the reservations that this instance can consume from.

  • $msg->resource_policies() / $msg->resource_policies($value)

    Type: String

    Optional. Resource policies applied to this instance. By default, no resource policies will be applied.

  • $msg->scheduling() / $msg->scheduling($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::Scheduling)

    Optional. Sets the scheduling options for this instance.

  • $msg->service_accounts() / $msg->service_accounts($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::ServiceAccount)

    Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

  • $msg->tags() / $msg->tags($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::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.

Enum: ComputeInstanceRestoreProperties::InstancePrivateIpv6GoogleAccess

  • INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED => 0

  • INHERIT_FROM_SUBNETWORK => 1

  • ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE => 2

  • ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE => 3

Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceTargetEnvironment

ComputeInstanceTargetEnvironment represents Compute Engine target environment to be used during restore.

Inherits from Protobuf::Message.

Accessors

  • $msg->project() / $msg->project($value)

    Type: String

    Required. Target project for the Compute Engine instance.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Required. The zone of the Compute Engine instance.

Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceDataSourceProperties

ComputeInstanceDataSourceProperties represents the properties of a ComputeEngine resource that are stored in the DataSource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Name of the compute instance backed up by the datasource.

  • $msg->description() / $msg->description($value)

    Type: String

    The description of the Compute Engine instance.

  • $msg->machine_type() / $msg->machine_type($value)

    Type: String

    The machine type of the instance.

  • $msg->total_disk_count() / $msg->total_disk_count($value)

    Type: Int64

    The total number of disks attached to the Instance.

  • $msg->total_disk_size_gb() / $msg->total_disk_size_gb($value)

    Type: Int64

    The sum of all the disk sizes.

Google::Cloud::Backupdr::V1::BackupvaultGce::AdvancedMachineFeatures

Specifies options for controlling advanced machine features.

Inherits from Protobuf::Message.

Accessors

  • $msg->enable_nested_virtualization() / $msg->enable_nested_virtualization($value)

    Type: Bool

    Optional. Whether to enable nested virtualization or not (default is false).

  • $msg->threads_per_core() / $msg->threads_per_core($value)

    Type: Int32

    Optional. The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.

  • $msg->visible_core_count() / $msg->visible_core_count($value)

    Type: Int32

    Optional. The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.

  • $msg->enable_uefi_networking() / $msg->enable_uefi_networking($value)

    Type: Bool

    Optional. Whether to enable UEFI networking for instance creation.

Google::Cloud::Backupdr::V1::BackupvaultGce::ConfidentialInstanceConfig

A set of Confidential Instance options.

Inherits from Protobuf::Message.

Accessors

  • $msg->enable_confidential_compute() / $msg->enable_confidential_compute($value)

    Type: Bool

    Optional. Defines whether the instance should have confidential compute enabled.

Google::Cloud::Backupdr::V1::BackupvaultGce::DisplayDevice

A set of Display Device options

Inherits from Protobuf::Message.

Accessors

  • $msg->enable_display() / $msg->enable_display($value)

    Type: Bool

    Optional. Enables display for the Compute Engine VM

Google::Cloud::Backupdr::V1::BackupvaultGce::AcceleratorConfig

A specification of the type and number of accelerator cards attached to the instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->accelerator_type() / $msg->accelerator_type($value)

    Type: String

    Optional. Full or partial URL of the accelerator type resource to attach to this instance.

  • $msg->accelerator_count() / $msg->accelerator_count($value)

    Type: Int32

    Optional. The number of the guest accelerator cards exposed to this instance.

Google::Cloud::Backupdr::V1::BackupvaultGce::CustomerEncryptionKey

A customer-supplied encryption key.

Inherits from Protobuf::Message.

Accessors

  • $msg->raw_key() / $msg->raw_key($value)

    Type: String

    Optional. Specifies a 256-bit customer-supplied encryption key.

  • $msg->rsa_encrypted_key() / $msg->rsa_encrypted_key($value)

    Type: String

    Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.

  • $msg->kms_key_name() / $msg->kms_key_name($value)

    Type: String

    Optional. The name of the encryption key that is stored in Google Cloud KMS.

  • $msg->kms_key_service_account() / $msg->kms_key_service_account($value)

    Type: String

    Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.

Google::Cloud::Backupdr::V1::BackupvaultGce::Entry

A key/value pair to be used for storing metadata.

Inherits from Protobuf::Message.

Accessors

  • $msg->key() / $msg->key($value)

    Type: String

    Optional. Key for the metadata entry.

  • $msg->value() / $msg->value($value)

    Type: String

    Optional. Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB).

Google::Cloud::Backupdr::V1::BackupvaultGce::Metadata

A metadata key/value entry.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Backupdr::V1::BackupvaultGce::NetworkInterface

A network interface resource attached to an instance. s

Inherits from Protobuf::Message.

Accessors

  • $msg->network() / $msg->network($value)

    Type: String

    Optional. URL of the VPC network resource for this instance.

  • $msg->subnetwork() / $msg->subnetwork($value)

    Type: String

    Optional. The URL of the Subnetwork resource for this instance.

  • $msg->ip_address() / $msg->ip_address($value)

    Type: String

    Optional. An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.

  • $msg->ipv6_address() / $msg->ipv6_address($value)

    Type: String

    Optional. An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.

  • $msg->internal_ipv6_prefix_length() / $msg->internal_ipv6_prefix_length($value)

    Type: Int32

    Optional. The prefix length of the primary internal IPv6 range.

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. [Output Only] The name of the network interface, which is generated by the server.

  • $msg->access_configs() / $msg->access_configs($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::AccessConfig)

    Optional. An array of configurations for this interface. Currently, only one access config,ONE_TO_ONE_NAT is supported. If there are no accessConfigs specified, then this instance will have no external internet access.

  • $msg->ipv6_access_configs() / $msg->ipv6_access_configs($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::AccessConfig)

    Optional. An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.

  • $msg->alias_ip_ranges() / $msg->alias_ip_ranges($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::AliasIpRange)

    Optional. An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.

  • $msg->stack_type() / $msg->stack_type($value)

    Type: Enum (Google::Cloud::Backupdr::V1::NetworkInterface::StackType)

    The stack type for this network interface.

  • $msg->ipv6_access_type() / $msg->ipv6_access_type($value)

    Type: Enum (Google::Cloud::Backupdr::V1::NetworkInterface::Ipv6AccessType)

    Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.

  • $msg->queue_count() / $msg->queue_count($value)

    Type: Int32

    Optional. The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users.

  • $msg->nic_type() / $msg->nic_type($value)

    Type: Enum (Google::Cloud::Backupdr::V1::NetworkInterface::NicType)

    Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.

  • $msg->network_attachment() / $msg->network_attachment($value)

    Type: String

    Optional. The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.

Enum: NetworkInterface::StackType

  • STACK_TYPE_UNSPECIFIED => 0

  • IPV4_ONLY => 1

  • IPV4_IPV6 => 2

Enum: NetworkInterface::Ipv6AccessType

  • UNSPECIFIED_IPV6_ACCESS_TYPE => 0

  • INTERNAL => 1

  • EXTERNAL => 2

Enum: NetworkInterface::NicType

  • NIC_TYPE_UNSPECIFIED => 0

  • VIRTIO_NET => 1

  • GVNIC => 2

Google::Cloud::Backupdr::V1::BackupvaultGce::NetworkPerformanceConfig

Network performance configuration.

Inherits from Protobuf::Message.

Accessors

Enum: NetworkPerformanceConfig::Tier

  • TIER_UNSPECIFIED => 0

  • DEFAULT => 1

  • TIER_1 => 2

Google::Cloud::Backupdr::V1::BackupvaultGce::AccessConfig

An access configuration attached to an instance's network interface. Only one access config per instance is supported.

Inherits from Protobuf::Message.

Accessors

  • $msg->type() / $msg->type($value)

    Type: Enum (Google::Cloud::Backupdr::V1::AccessConfig::AccessType)

    Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.

  • $msg->name() / $msg->name($value)

    Type: String

    Optional. The name of this access configuration.

  • $msg->external_ip() / $msg->external_ip($value)

    Type: String

    Optional. The external IP address of this access configuration.

  • $msg->external_ipv6() / $msg->external_ipv6($value)

    Type: String

    Optional. The external IPv6 address of this access configuration.

  • $msg->external_ipv6_prefix_length() / $msg->external_ipv6_prefix_length($value)

    Type: Int32

    Optional. The prefix length of the external IPv6 range.

  • $msg->set_public_ptr() / $msg->set_public_ptr($value)

    Type: Bool

    Optional. Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name.

  • $msg->public_ptr_domain_name() / $msg->public_ptr_domain_name($value)

    Type: String

    Optional. The DNS domain name for the public PTR record.

  • $msg->network_tier() / $msg->network_tier($value)

    Type: Enum (Google::Cloud::Backupdr::V1::AccessConfig::NetworkTier)

    Optional. This signifies the networking tier used for configuring this access

Enum: AccessConfig::AccessType

  • ACCESS_TYPE_UNSPECIFIED => 0

  • ONE_TO_ONE_NAT => 1

  • DIRECT_IPV6 => 2

Enum: AccessConfig::NetworkTier

  • NETWORK_TIER_UNSPECIFIED => 0

  • PREMIUM => 1

  • STANDARD => 2

Google::Cloud::Backupdr::V1::BackupvaultGce::AliasIpRange

An alias IP range attached to an instance's network interface.

Inherits from Protobuf::Message.

Accessors

  • $msg->ip_cidr_range() / $msg->ip_cidr_range($value)

    Type: String

    Optional. The IP alias ranges to allocate for this interface.

  • $msg->subnetwork_range_name() / $msg->subnetwork_range_name($value)

    Type: String

    Optional. The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used.

Google::Cloud::Backupdr::V1::BackupvaultGce::InstanceParams

Additional instance params.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Backupdr::V1::BackupvaultGce::AllocationAffinity

Specifies the reservations that this instance can consume from.

Inherits from Protobuf::Message.

Accessors

  • $msg->consume_allocation_type() / $msg->consume_allocation_type($value)

    Type: Enum (Google::Cloud::Backupdr::V1::AllocationAffinity::Type)

    Optional. Specifies the type of reservation from which this instance can consume

  • $msg->key() / $msg->key($value)

    Type: String

    Optional. Corresponds to the label key of a reservation resource.

  • $msg->values() / $msg->values($value)

    Type: String

    Optional. Corresponds to the label values of a reservation resource.

Enum: AllocationAffinity::Type

  • TYPE_UNSPECIFIED => 0

  • NO_RESERVATION => 1

  • ANY_RESERVATION => 2

  • SPECIFIC_RESERVATION => 3

Google::Cloud::Backupdr::V1::BackupvaultGce::Scheduling

Sets the scheduling options for an Instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->on_host_maintenance() / $msg->on_host_maintenance($value)

    Type: Enum (Google::Cloud::Backupdr::V1::Scheduling::OnHostMaintenance)

    Optional. Defines the maintenance behavior for this instance.

  • $msg->automatic_restart() / $msg->automatic_restart($value)

    Type: Bool

    Optional. Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).

  • $msg->preemptible() / $msg->preemptible($value)

    Type: Bool

    Optional. Defines whether the instance is preemptible.

  • $msg->node_affinities() / $msg->node_affinities($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::Scheduling::NodeAffinity)

    Optional. A set of node affinity and anti-affinity configurations. Overrides reservationAffinity.

  • $msg->min_node_cpus() / $msg->min_node_cpus($value)

    Type: Int32

    Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.

  • $msg->provisioning_model() / $msg->provisioning_model($value)

    Type: Enum (Google::Cloud::Backupdr::V1::Scheduling::ProvisioningModel)

    Optional. Specifies the provisioning model of the instance.

  • $msg->instance_termination_action() / $msg->instance_termination_action($value)

    Type: Enum (Google::Cloud::Backupdr::V1::Scheduling::InstanceTerminationAction)

    Optional. Specifies the termination action for the instance.

  • $msg->local_ssd_recovery_timeout() / $msg->local_ssd_recovery_timeout($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::SchedulingDuration)

    Optional. Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.

Enum: Scheduling::OnHostMaintenance

  • ON_HOST_MAINTENANCE_UNSPECIFIED => 0

  • TERMINATE => 1

  • MIGRATE => 1000

Enum: Scheduling::ProvisioningModel

  • PROVISIONING_MODEL_UNSPECIFIED => 0

  • STANDARD => 1

  • SPOT => 2

Enum: Scheduling::InstanceTerminationAction

  • INSTANCE_TERMINATION_ACTION_UNSPECIFIED => 0

  • DELETE => 1

  • STOP => 2

Google::Cloud::Backupdr::V1::BackupvaultGce::SchedulingDuration

A SchedulingDuration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". Range is approximately 10,000 years.

Inherits from Protobuf::Message.

Accessors

  • $msg->seconds() / $msg->seconds($value)

    Type: Int64

    Optional. Span of time at a resolution of a second.

  • $msg->nanos() / $msg->nanos($value)

    Type: Int32

    Optional. Span of time that's a fraction of a second at nanosecond resolution.

Google::Cloud::Backupdr::V1::BackupvaultGce::ServiceAccount

A service account.

Inherits from Protobuf::Message.

Accessors

  • $msg->email() / $msg->email($value)

    Type: String

    Optional. Email address of the service account.

  • $msg->scopes() / $msg->scopes($value)

    Type: String

    Optional. The list of scopes to be made available for this service account.

Google::Cloud::Backupdr::V1::BackupvaultGce::Tags

A set of instance tags.

Inherits from Protobuf::Message.

Accessors

  • $msg->items() / $msg->items($value)

    Type: String

    Optional. An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.

Google::Cloud::Backupdr::V1::BackupvaultGce::AttachedDisk

An instance-attached disk resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->initialize_params() / $msg->initialize_params($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::AttachedDisk::InitializeParams)

    Optional. Specifies the parameters to initialize this disk.

  • $msg->device_name() / $msg->device_name($value)

    Type: String

    Optional. This is used as an identifier for the disks. This is the unique name has to provided to modify disk parameters like disk_name and replica_zones (in case of RePDs)

  • $msg->kind() / $msg->kind($value)

    Type: String

    Optional. Type of the resource.

  • $msg->disk_type_deprecated() / $msg->disk_type_deprecated($value)

    Type: Enum (Google::Cloud::Backupdr::V1::AttachedDisk::DiskType)

    Specifies the type of the disk.

  • $msg->mode() / $msg->mode($value)

    Type: Enum (Google::Cloud::Backupdr::V1::AttachedDisk::DiskMode)

    Optional. The mode in which to attach this disk.

  • $msg->source() / $msg->source($value)

    Type: String

    Optional. Specifies a valid partial or full URL to an existing Persistent Disk resource.

  • $msg->index() / $msg->index($value)

    Type: Int64

    Optional. A zero-based index to this disk, where 0 is reserved for the boot disk.

  • $msg->boot() / $msg->boot($value)

    Type: Bool

    Optional. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.

  • $msg->auto_delete() / $msg->auto_delete($value)

    Type: Bool

    Optional. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).

  • $msg->license() / $msg->license($value)

    Type: String

    Optional. Any valid publicly visible licenses.

  • $msg->disk_interface() / $msg->disk_interface($value)

    Type: Enum (Google::Cloud::Backupdr::V1::AttachedDisk::DiskInterface)

    Optional. Specifies the disk interface to use for attaching this disk.

  • $msg->guest_os_feature() / $msg->guest_os_feature($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::GuestOsFeature)

    Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.

  • $msg->disk_encryption_key() / $msg->disk_encryption_key($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::CustomerEncryptionKey)

    Optional. Encrypts or decrypts a disk using a customer-supplied encryption key.

  • $msg->disk_size_gb() / $msg->disk_size_gb($value)

    Type: Int64

    Optional. The size of the disk in GB.

  • $msg->saved_state() / $msg->saved_state($value)

    Type: Enum (Google::Cloud::Backupdr::V1::AttachedDisk::DiskSavedState)

    Optional. Output only. The state of the disk.

  • $msg->disk_type() / $msg->disk_type($value)

    Type: String

    Optional. Output only. The URI of the disk type resource. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd

  • $msg->type() / $msg->type($value)

    Type: Enum (Google::Cloud::Backupdr::V1::AttachedDisk::DiskType)

    Optional. Specifies the type of the disk.

Enum: AttachedDisk::DiskType

  • DISK_TYPE_UNSPECIFIED => 0

  • SCRATCH => 1

  • PERSISTENT => 2

Enum: AttachedDisk::DiskMode

  • DISK_MODE_UNSPECIFIED => 0

  • READ_WRITE => 1

  • READ_ONLY => 2

  • LOCKED => 3

Enum: AttachedDisk::DiskInterface

  • DISK_INTERFACE_UNSPECIFIED => 0

  • SCSI => 1

  • NVME => 2

  • NVDIMM => 3

  • ISCSI => 4

Enum: AttachedDisk::DiskSavedState

  • DISK_SAVED_STATE_UNSPECIFIED => 0

  • PRESERVED => 1

Google::Cloud::Backupdr::V1::BackupvaultGce::GuestOsFeature

Feature type of the Guest OS.

Inherits from Protobuf::Message.

Accessors

Enum: GuestOsFeature::FeatureType

  • FEATURE_TYPE_UNSPECIFIED => 0

  • VIRTIO_SCSI_MULTIQUEUE => 1

  • WINDOWS => 2

  • MULTI_IP_SUBNET => 3

  • UEFI_COMPATIBLE => 4

  • SECURE_BOOT => 5

  • GVNIC => 6

  • SEV_CAPABLE => 7

  • BARE_METAL_LINUX_COMPATIBLE => 8

  • SUSPEND_RESUME_COMPATIBLE => 9

  • SEV_LIVE_MIGRATABLE => 10

  • SEV_SNP_CAPABLE => 11

  • TDX_CAPABLE => 12

  • IDPF => 13

  • SEV_LIVE_MIGRATABLE_V2 => 14

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Backupdr::V1::BackupvaultGce::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.