Autogenerated update (2020-02-23)
Update: - dataflow_v1b3 - logging_v2
This commit is contained in:
1 parent
86a9b70834
commit
a63e40b7e3
7 files changed
+855
-2
No files matched your search
@@ -3623,6 +3623,36 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Defines a SDK harness container for executing Dataflow pipelines.
|
||||
class SdkHarnessContainerImage
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A docker container image that resides in Google Container Registry.
|
||||
# Corresponds to the JSON property `containerImage`
|
||||
# @return [String]
|
||||
attr_accessor :container_image
|
||||
|
||||
# If true, recommends the Dataflow service to use only one core per SDK
|
||||
# container instance with this image. If false (or unset) recommends using
|
||||
# more than one core per SDK container instance with this image for
|
||||
# efficiency. Note that Dataflow service may choose to override this property
|
||||
# if needed.
|
||||
# Corresponds to the JSON property `useSingleCorePerContainer`
|
||||
# @return [Boolean]
|
||||
attr_accessor :use_single_core_per_container
|
||||
alias_method :use_single_core_per_container?, :use_single_core_per_container
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@container_image = args[:container_image] if args.key?(:container_image)
|
||||
@use_single_core_per_container = args[:use_single_core_per_container] if args.key?(:use_single_core_per_container)
|
||||
end
|
||||
end
|
||||
|
||||
# The version of the SDK used to run the job.
|
||||
class SdkVersion
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -5886,6 +5916,14 @@ module Google
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :pool_args
|
||||
|
||||
# Set of SDK harness containers needed to execute this pipeline. This will
|
||||
# only be set in the Fn API path. For non-cross-language pipelines this
|
||||
# should have only one entry. Cross-language pipelines will have two or more
|
||||
# entries.
|
||||
# Corresponds to the JSON property `sdkHarnessContainerImages`
|
||||
# @return [Array<Google::Apis::DataflowV1b3::SdkHarnessContainerImage>]
|
||||
attr_accessor :sdk_harness_container_images
|
||||
|
||||
# Subnetwork to which VMs will be assigned, if desired. Expected to be of
|
||||
# the form "regions/REGION/subnetworks/SUBNETWORK".
|
||||
# Corresponds to the JSON property `subnetwork`
|
||||
@@ -5917,6 +5955,7 @@ module Google
|
||||
|
||||
# Required. Docker container image that executes the Cloud Dataflow worker
|
||||
# harness, residing in Google Container Registry.
|
||||
# Deprecated for the Fn API path. Use sdk_harness_container_images instead.
|
||||
# Corresponds to the JSON property `workerHarnessContainerImage`
|
||||
# @return [String]
|
||||
attr_accessor :worker_harness_container_image
|
||||
@@ -5949,6 +5988,7 @@ module Google
|
||||
@on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
|
||||
@packages = args[:packages] if args.key?(:packages)
|
||||
@pool_args = args[:pool_args] if args.key?(:pool_args)
|
||||
@sdk_harness_container_images = args[:sdk_harness_container_images] if args.key?(:sdk_harness_container_images)
|
||||
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
||||
@taskrunner_settings = args[:taskrunner_settings] if args.key?(:taskrunner_settings)
|
||||
@teardown_policy = args[:teardown_policy] if args.key?(:teardown_policy)
|
||||
|
||||
@@ -544,6 +544,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SdkHarnessContainerImage
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SdkVersion
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -1848,6 +1854,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class SdkHarnessContainerImage
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :container_image, as: 'containerImage'
|
||||
property :use_single_core_per_container, as: 'useSingleCorePerContainer'
|
||||
end
|
||||
end
|
||||
|
||||
class SdkVersion
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -2453,6 +2467,8 @@ module Google
|
||||
collection :packages, as: 'packages', class: Google::Apis::DataflowV1b3::Package, decorator: Google::Apis::DataflowV1b3::Package::Representation
|
||||
|
||||
hash :pool_args, as: 'poolArgs'
|
||||
collection :sdk_harness_container_images, as: 'sdkHarnessContainerImages', class: Google::Apis::DataflowV1b3::SdkHarnessContainerImage, decorator: Google::Apis::DataflowV1b3::SdkHarnessContainerImage::Representation
|
||||
|
||||
property :subnetwork, as: 'subnetwork'
|
||||
property :taskrunner_settings, as: 'taskrunnerSettings', class: Google::Apis::DataflowV1b3::TaskRunnerSettings, decorator: Google::Apis::DataflowV1b3::TaskRunnerSettings::Representation
|
||||
|
||||
|
||||
Reference in new issue
Block a user