Autogenerated update (2019-08-02)
Update: - dataproc_v1 - dataproc_v1beta2 - firebasehosting_v1beta1 - remotebuildexecution_v1alpha
This commit is contained in:
1 parent
e40350236d
commit
ca2e21c745
12 files changed
+147
-28
No files matched your search
@@ -1573,6 +1573,32 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# AcceleratorConfig defines the accelerator cards to attach to the VM.
|
||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The number of the guest accelerator cards exposed to this VM.
|
||||
# Corresponds to the JSON property `acceleratorCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :accelerator_count
|
||||
|
||||
# The type of accelerator to attach to this VM, e.g. "nvidia-tesla-k80" for
|
||||
# nVidia Tesla K80.
|
||||
# Corresponds to the JSON property `acceleratorType`
|
||||
# @return [String]
|
||||
attr_accessor :accelerator_type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
|
||||
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
|
||||
end
|
||||
end
|
||||
|
||||
# The request used for `CreateInstance`.
|
||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -1920,6 +1946,11 @@ module Google
|
||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# AcceleratorConfig defines the accelerator cards to attach to the VM.
|
||||
# Corresponds to the JSON property `accelerator`
|
||||
# @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig]
|
||||
attr_accessor :accelerator
|
||||
|
||||
# Required. Size of the disk attached to the worker, in GB.
|
||||
# See https://cloud.google.com/compute/docs/disks/
|
||||
# Corresponds to the JSON property `diskSizeGb`
|
||||
@@ -1973,6 +2004,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@accelerator = args[:accelerator] if args.key?(:accelerator)
|
||||
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
||||
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
|
||||
@@ -166,6 +166,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -694,6 +700,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
|
||||
property :accelerator_type, as: 'acceleratorType'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -795,6 +809,8 @@ module Google
|
||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :accelerator, as: 'accelerator', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig::Representation
|
||||
|
||||
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
||||
property :disk_type, as: 'diskType'
|
||||
hash :labels, as: 'labels'
|
||||
|
||||
Reference in new issue
Block a user