From 66ce8f6567df27bf181d073c353ec55da31888c2 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Wed, 18 Sep 2019 00:37:20 +0000 Subject: [PATCH] Autogenerated update (2019-09-18) Update: - doubleclickbidmanager_v1 - securitycenter_v1 - testing_v1 --- .../google/apis/dataflow_v1b3/classes.rb | 55 +++---------------- .../apis/dataflow_v1b3/representations.rb | 6 +- .../google/apis/doubleclickbidmanager_v1.rb | 2 +- generated/google/apis/securitycenter_v1.rb | 2 +- .../google/apis/securitycenter_v1/classes.rb | 4 +- generated/google/apis/testing_v1.rb | 2 +- 6 files changed, 14 insertions(+), 57 deletions(-) diff --git a/generated/google/apis/dataflow_v1b3/classes.rb b/generated/google/apis/dataflow_v1b3/classes.rb index 7bed9fc42..a46a568d1 100644 --- a/generated/google/apis/dataflow_v1b3/classes.rb +++ b/generated/google/apis/dataflow_v1b3/classes.rb @@ -1186,24 +1186,6 @@ module Google # @return [Array] 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 @@ -1222,8 +1204,6 @@ 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 @@ -3333,11 +3313,6 @@ module Google attr_accessor :bypass_temp_dir_validation alias_method :bypass_temp_dir_validation?, :bypass_temp_dir_validation - # Configuration for VM IPs. - # Corresponds to the JSON property `ipConfiguration` - # @return [String] - attr_accessor :ip_configuration - # Optional. Name for the Cloud KMS key for the job. # Key format is: # projects//locations//keyRings//cryptoKeys/ @@ -3385,29 +3360,17 @@ module Google # @return [String] attr_accessor :temp_location - # 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 + # Optional. Specifies whether worker pools should be started with private IP + # addresses. + # False by default. + # Corresponds to the JSON property `usePrivateIps` + # @return [Boolean] + attr_accessor :use_private_ips + alias_method :use_private_ips?, :use_private_ips # 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 @@ -3421,7 +3384,6 @@ module Google @additional_experiments = args[:additional_experiments] if args.key?(:additional_experiments) @additional_user_labels = args[:additional_user_labels] if args.key?(:additional_user_labels) @bypass_temp_dir_validation = args[:bypass_temp_dir_validation] if args.key?(:bypass_temp_dir_validation) - @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration) @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) @machine_type = args[:machine_type] if args.key?(:machine_type) @max_workers = args[:max_workers] if args.key?(:max_workers) @@ -3430,8 +3392,7 @@ module Google @service_account_email = args[:service_account_email] if args.key?(:service_account_email) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @temp_location = args[:temp_location] if args.key?(:temp_location) - @worker_region = args[:worker_region] if args.key?(:worker_region) - @worker_zone = args[:worker_zone] if args.key?(:worker_zone) + @use_private_ips = args[:use_private_ips] if args.key?(:use_private_ips) @zone = args[:zone] if args.key?(:zone) end end diff --git a/generated/google/apis/dataflow_v1b3/representations.rb b/generated/google/apis/dataflow_v1b3/representations.rb index b91acc3a4..03a35e5bd 100644 --- a/generated/google/apis/dataflow_v1b3/representations.rb +++ b/generated/google/apis/dataflow_v1b3/representations.rb @@ -1156,8 +1156,6 @@ 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 @@ -1736,7 +1734,6 @@ module Google collection :additional_experiments, as: 'additionalExperiments' hash :additional_user_labels, as: 'additionalUserLabels' property :bypass_temp_dir_validation, as: 'bypassTempDirValidation' - property :ip_configuration, as: 'ipConfiguration' property :kms_key_name, as: 'kmsKeyName' property :machine_type, as: 'machineType' property :max_workers, as: 'maxWorkers' @@ -1745,8 +1742,7 @@ module Google property :service_account_email, as: 'serviceAccountEmail' property :subnetwork, as: 'subnetwork' property :temp_location, as: 'tempLocation' - property :worker_region, as: 'workerRegion' - property :worker_zone, as: 'workerZone' + property :use_private_ips, as: 'usePrivateIps' property :zone, as: 'zone' end end diff --git a/generated/google/apis/doubleclickbidmanager_v1.rb b/generated/google/apis/doubleclickbidmanager_v1.rb index 510d572e4..21acb77a2 100644 --- a/generated/google/apis/doubleclickbidmanager_v1.rb +++ b/generated/google/apis/doubleclickbidmanager_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/bid-manager/ module DoubleclickbidmanagerV1 VERSION = 'V1' - REVISION = '20190807' + REVISION = '20190917' # View and manage your reports in DoubleClick Bid Manager AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager' diff --git a/generated/google/apis/securitycenter_v1.rb b/generated/google/apis/securitycenter_v1.rb index ab82ba212..966b09e33 100644 --- a/generated/google/apis/securitycenter_v1.rb +++ b/generated/google/apis/securitycenter_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview module SecuritycenterV1 VERSION = 'V1' - REVISION = '20190906' + REVISION = '20190913' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/securitycenter_v1/classes.rb b/generated/google/apis/securitycenter_v1/classes.rb index 9781ccc4b..01fbdc677 100644 --- a/generated/google/apis/securitycenter_v1/classes.rb +++ b/generated/google/apis/securitycenter_v1/classes.rb @@ -602,7 +602,7 @@ module Google # "create_time = 1560208038000" # * iam_policy.policy_blob: `=`, `:` # * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` - # * security_marks: `=`, `:` + # * security_marks.marks: `=`, `:` # * security_center_properties.resource_name: `=`, `:` # * security_center_properties.resource_type: `=`, `:` # * security_center_properties.resource_parent: `=`, `:` @@ -762,7 +762,7 @@ module Google # Examples: # "event_time = \"2019-06-10T16:07:18-07:00\"" # "event_time = 1560208038000" - # * security_marks: `=`, `:` + # * security_marks.marks: `=`, `:` # * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` # For example, `source_properties.size = 100` is a valid filter string. # Corresponds to the JSON property `filter` diff --git a/generated/google/apis/testing_v1.rb b/generated/google/apis/testing_v1.rb index 1ede0deb5..89a6a7dd1 100644 --- a/generated/google/apis/testing_v1.rb +++ b/generated/google/apis/testing_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/cloud-test-lab/ module TestingV1 VERSION = 'V1' - REVISION = '20190905' + REVISION = '20190915' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'