Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of lifesciences v2beta client #1538

Merged
merged 1 commit into from Nov 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions api_names_out.yaml
Expand Up @@ -114605,6 +114605,8 @@
"/lifesciences:v2beta/Mount/disk": disk
"/lifesciences:v2beta/Mount/path": path
"/lifesciences:v2beta/Mount/readOnly": read_only
"/lifesciences:v2beta/NFSMount": nfs_mount
"/lifesciences:v2beta/NFSMount/target": target
"/lifesciences:v2beta/Network": network
"/lifesciences:v2beta/Network/network": network
"/lifesciences:v2beta/Network/subnetwork": subnetwork
Expand Down Expand Up @@ -114681,6 +114683,7 @@
"/lifesciences:v2beta/VirtualMachine/volumes/volume": volume
"/lifesciences:v2beta/Volume": volume
"/lifesciences:v2beta/Volume/existingDisk": existing_disk
"/lifesciences:v2beta/Volume/nfsMount": nfs_mount
"/lifesciences:v2beta/Volume/persistentDisk": persistent_disk
"/lifesciences:v2beta/Volume/volume": volume
"/lifesciences:v2beta/WorkerAssignedEvent": worker_assigned_event
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/lifesciences_v2beta.rb
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://cloud.google.com/life-sciences
module LifesciencesV2beta
VERSION = 'V2beta'
REVISION = '20201001'
REVISION = '20201105'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
25 changes: 25 additions & 0 deletions generated/google/apis/lifesciences_v2beta/classes.rb
Expand Up @@ -770,6 +770,25 @@ def update!(**args)
end
end

# Configuration for an `NFSMount` to be attached to the VM.
class NfsMount
include Google::Apis::Core::Hashable

# A target NFS mount. The target must be specified as `address:/mount".
# Corresponds to the JSON property `target`
# @return [String]
attr_accessor :target

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@target = args[:target] if args.key?(:target)
end
end

# VM networking options.
class Network
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -1328,6 +1347,11 @@ class Volume
# @return [Google::Apis::LifesciencesV2beta::ExistingDisk]
attr_accessor :existing_disk

# Configuration for an `NFSMount` to be attached to the VM.
# Corresponds to the JSON property `nfsMount`
# @return [Google::Apis::LifesciencesV2beta::NfsMount]
attr_accessor :nfs_mount

# Configuration for a persistent disk to be attached to the VM. See https://
# cloud.google.com/compute/docs/disks/performance for more information about
# disk type, size, and performance considerations.
Expand All @@ -1349,6 +1373,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@existing_disk = args[:existing_disk] if args.key?(:existing_disk)
@nfs_mount = args[:nfs_mount] if args.key?(:nfs_mount)
@persistent_disk = args[:persistent_disk] if args.key?(:persistent_disk)
@volume = args[:volume] if args.key?(:volume)
end
Expand Down
15 changes: 15 additions & 0 deletions generated/google/apis/lifesciences_v2beta/representations.rb
Expand Up @@ -124,6 +124,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class NfsMount
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class Network
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -410,6 +416,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class NfsMount
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :target, as: 'target'
end
end

class Network
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -554,6 +567,8 @@ class Volume
class Representation < Google::Apis::Core::JsonRepresentation
property :existing_disk, as: 'existingDisk', class: Google::Apis::LifesciencesV2beta::ExistingDisk, decorator: Google::Apis::LifesciencesV2beta::ExistingDisk::Representation

property :nfs_mount, as: 'nfsMount', class: Google::Apis::LifesciencesV2beta::NfsMount, decorator: Google::Apis::LifesciencesV2beta::NfsMount::Representation

property :persistent_disk, as: 'persistentDisk', class: Google::Apis::LifesciencesV2beta::PersistentDisk, decorator: Google::Apis::LifesciencesV2beta::PersistentDisk::Representation

property :volume, as: 'volume'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/lifesciences_v2beta/synth.metadata
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "c98c719bbab68d0890524d53f8b629d7858af9c2"
"sha": "43590cf2cc7ef0b8cd2777aa01e42dd30c5db9d3"
}
}
]
Expand Down