Autogenerated update (2019-09-27)
Update: - cloudfunctions_v1 - cloudfunctions_v1beta2 - dataflow_v1b3 - dlp_v2 - drive_v2 - drive_v3 - monitoring_v3 - run_v1 - run_v1alpha1 - runtimeconfig_v1beta1 - translate_v3beta1
This commit is contained in:
1 parent
3af076319b
commit
ea2db77fee
29 files changed
+1097
-1236
No files matched your search
@@ -1186,6 +1186,24 @@ module Google
|
||||
# @return [Array<Google::Apis::DataflowV1b3::WorkerPool>]
|
||||
attr_accessor :worker_pools
|
||||
|
||||
# The Compute Engine region
|
||||
# (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
|
||||
# which worker processing should occur, e.g. "us-west1". Mutually exclusive
|
||||
# with worker_zone. If neither worker_region nor worker_zone is specified,
|
||||
# default to the control plane's region.
|
||||
# Corresponds to the JSON property `workerRegion`
|
||||
# @return [String]
|
||||
attr_accessor :worker_region
|
||||
|
||||
# The Compute Engine zone
|
||||
# (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
|
||||
# which worker processing should occur, e.g. "us-west1-a". Mutually exclusive
|
||||
# with worker_region. If neither worker_region nor worker_zone is specified,
|
||||
# a zone in the control plane's region is chosen based on available capacity.
|
||||
# Corresponds to the JSON property `workerZone`
|
||||
# @return [String]
|
||||
attr_accessor :worker_zone
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -1204,6 +1222,8 @@ module Google
|
||||
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
||||
@version = args[:version] if args.key?(:version)
|
||||
@worker_pools = args[:worker_pools] if args.key?(:worker_pools)
|
||||
@worker_region = args[:worker_region] if args.key?(:worker_region)
|
||||
@worker_zone = args[:worker_zone] if args.key?(:worker_zone)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -3368,9 +3388,29 @@ module Google
|
||||
attr_accessor :use_private_ips
|
||||
alias_method :use_private_ips?, :use_private_ips
|
||||
|
||||
# The Compute Engine region
|
||||
# (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
|
||||
# which worker processing should occur, e.g. "us-west1". Mutually exclusive
|
||||
# with worker_zone. If neither worker_region nor worker_zone is specified,
|
||||
# default to the control plane's region.
|
||||
# Corresponds to the JSON property `workerRegion`
|
||||
# @return [String]
|
||||
attr_accessor :worker_region
|
||||
|
||||
# The Compute Engine zone
|
||||
# (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
|
||||
# which worker processing should occur, e.g. "us-west1-a". Mutually exclusive
|
||||
# with worker_region. If neither worker_region nor worker_zone is specified,
|
||||
# a zone in the control plane's region is chosen based on available capacity.
|
||||
# If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.
|
||||
# Corresponds to the JSON property `workerZone`
|
||||
# @return [String]
|
||||
attr_accessor :worker_zone
|
||||
|
||||
# The Compute Engine [availability
|
||||
# zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones)
|
||||
# for launching worker instances to run your pipeline.
|
||||
# In the future, worker_zone will take precedence.
|
||||
# Corresponds to the JSON property `zone`
|
||||
# @return [String]
|
||||
attr_accessor :zone
|
||||
@@ -3393,6 +3433,8 @@ module Google
|
||||
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
||||
@temp_location = args[:temp_location] if args.key?(:temp_location)
|
||||
@use_private_ips = args[:use_private_ips] if args.key?(:use_private_ips)
|
||||
@worker_region = args[:worker_region] if args.key?(:worker_region)
|
||||
@worker_zone = args[:worker_zone] if args.key?(:worker_zone)
|
||||
@zone = args[:zone] if args.key?(:zone)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1156,6 +1156,8 @@ module Google
|
||||
hash :version, as: 'version'
|
||||
collection :worker_pools, as: 'workerPools', class: Google::Apis::DataflowV1b3::WorkerPool, decorator: Google::Apis::DataflowV1b3::WorkerPool::Representation
|
||||
|
||||
property :worker_region, as: 'workerRegion'
|
||||
property :worker_zone, as: 'workerZone'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1743,6 +1745,8 @@ module Google
|
||||
property :subnetwork, as: 'subnetwork'
|
||||
property :temp_location, as: 'tempLocation'
|
||||
property :use_private_ips, as: 'usePrivateIps'
|
||||
property :worker_region, as: 'workerRegion'
|
||||
property :worker_zone, as: 'workerZone'
|
||||
property :zone, as: 'zone'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user