generated/google/apis/genomics_v2alpha1/classes.rb in google-api-client-0.51.0 vs generated/google/apis/genomics_v2alpha1/classes.rb in google-api-client-0.52.0
- old
+ new
@@ -130,12 +130,12 @@
# @return [Array<Google::Apis::GenomicsV2alpha1::Mount>]
attr_accessor :mounts
# An optional name for the container. The container hostname will be set to this
# name, making it useful for inter-container communication. The name must
- # contain only upper and lowercase alphanumeric characters and hypens and cannot
- # start with a hyphen.
+ # contain only upper and lowercase alphanumeric characters and hyphens and
+ # cannot start with a hyphen.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# An optional identifier for a PID namespace to run the action inside. Multiple
@@ -445,17 +445,18 @@
end
end
# Carries information about a disk that can be attached to a VM. See https://
# cloud.google.com/compute/docs/disks/performance for more information about
- # disk type, size, and performance considerations.
+ # disk type, size, and performance considerations. Specify either `Volume` or `
+ # Disk`, but not both.
class Disk
include Google::Apis::Core::Hashable
# A user-supplied name for the disk. Used when mounting the disk into actions.
# The name must contain only upper and lowercase alphanumeric characters and
- # hypens and cannot start with a hyphen.
+ # hyphens and cannot start with a hyphen.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The size, in GB, of the disk to attach. If the size is not specified, a
@@ -1355,11 +1356,12 @@
# min-cpu-platform.
# Corresponds to the JSON property `cpuPlatform`
# @return [String]
attr_accessor :cpu_platform
- # The list of disks to create and attach to the VM.
+ # The list of disks to create and attach to the VM. Specify either the `volumes[]
+ # ` field or the `disks[]` field, but not both.
# Corresponds to the JSON property `disks`
# @return [Array<Google::Apis::GenomicsV2alpha1::Disk>]
attr_accessor :disks
# The Compute Engine Disk Images to use as a Docker cache. The disks will be
@@ -1422,11 +1424,12 @@
# Carries information about a Google Cloud service account.
# Corresponds to the JSON property `serviceAccount`
# @return [Google::Apis::GenomicsV2alpha1::ServiceAccount]
attr_accessor :service_account
- # The list of disks and other storage to create or attach to the VM.
+ # The list of disks and other storage to create or attach to the VM. Specify
+ # either the `volumes[]` field or the `disks[]` field, but not both.
# Corresponds to the JSON property `volumes`
# @return [Array<Google::Apis::GenomicsV2alpha1::Volume>]
attr_accessor :volumes
def initialize(**args)
@@ -1450,10 +1453,11 @@
@service_account = args[:service_account] if args.key?(:service_account)
@volumes = args[:volumes] if args.key?(:volumes)
end
end
- # Carries information about storage that can be attached to a VM.
+ # Carries information about storage that can be attached to a VM. Specify either
+ # `Volume` or `Disk`, but not both.
class Volume
include Google::Apis::Core::Hashable
# Configuration for an existing disk to be attached to the VM.
# Corresponds to the JSON property `existingDisk`