Autogenerated update (2019-08-07)

Update:
- accessapproval_v1beta1
- cloudprivatecatalogproducer_v1beta1
- dlp_v2
- iam_v1
- ml_v1
- remotebuildexecution_v2
- run_v1alpha1
- runtimeconfig_v1beta1
- servicebroker_v1
- servicebroker_v1alpha1
- servicebroker_v1beta1
This commit is contained in:
Google APIs committed 2019-08-07 00:38:02 +00:00
1 parent 2099860e5a
commit d77f2b6534
28 files changed
+333 -43

No files matched your search

@@ -2270,6 +2270,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
@@ -2617,6 +2643,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::RemotebuildexecutionV2::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`
@@ -2670,6 +2701,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)
@@ -292,6 +292,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
@@ -1012,6 +1018,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
@@ -1113,6 +1127,8 @@ module Google
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :accelerator, as: 'accelerator', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig::Representation
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
property :disk_type, as: 'diskType'
hash :labels, as: 'labels'