generated/google/apis/genomics_v2alpha1/classes.rb in google-api-client-0.23.0 vs generated/google/apis/genomics_v2alpha1/classes.rb in google-api-client-0.23.1
- old
+ new
@@ -456,11 +456,11 @@
# An optional image to put on the disk before attaching it to the VM.
# Corresponds to the JSON property `sourceImage`
# @return [String]
attr_accessor :source_image
- # The Compute Engine disk type. If unspecified, 'standard-pd' is used.
+ # The Compute Engine disk type. If unspecified, 'pd-standard' is used.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
@@ -703,16 +703,29 @@
# VM networking options.
class Network
include Google::Apis::Core::Hashable
- # The network name to attach the VM's network interface to. If unspecified,
- # the global default network is used.
+ # The network name to attach the VM's network interface to. The value will
+ # be prefixed with "global/networks/" unless it contains a "/" in which case
+ # it is assumed to be a fully specified network resource URL.
+ # If unspecified, the global default network is used.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
+ # If the specified network is configured for custom subnet creation, the
+ # name of the subnetwork to attach the instance to must be specified here.
+ # The value is prefixed with "regions/*/subnetworks/" unless it contains a
+ # "/" in which case it is assumed to be a full specified subnetwork resource
+ # URL.
+ # If the '*' character appears in the value, it is replaced with the region
+ # that the virtual machine has been allocated in.
+ # Corresponds to the JSON property `subnetwork`
+ # @return [String]
+ attr_accessor :subnetwork
+
# If set to true, do not attach a public IP address to the VM. Note that
# without an public IP address, additional configuration is required to
# allow the VM to access Google services.
# See https://cloud.google.com/vpc/docs/configure-private-google-access
# for more information.
@@ -726,9 +739,10 @@
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
@use_private_address = args[:use_private_address] if args.key?(:use_private_address)
end
end
# This resource represents a long-running operation that is the result of a