From 3de255c12728ab4a844871a2a6d64a4261120f7a Mon Sep 17 00:00:00 2001 From: Google APIs Date: Thu, 1 Oct 2020 00:38:22 +0000 Subject: [PATCH] Autogenerated update (2020-10-01) Update: - appsmarket_v2 - bigquery_v2 - serviceconsumermanagement_v1 - storagetransfer_v1 - youtube_v3 --- api_names_out.yaml | 2 + generated/google/apis/appsmarket_v2.rb | 2 +- generated/google/apis/bigquery_v2.rb | 2 +- generated/google/apis/bigquery_v2/classes.rb | 56 +++++++++++++------ .../apis/bigquery_v2/representations.rb | 2 + .../apis/serviceconsumermanagement_v1.rb | 2 +- .../serviceconsumermanagement_v1/service.rb | 2 +- generated/google/apis/storagetransfer_v1.rb | 2 +- .../google/apis/storagetransfer_v1/service.rb | 2 +- generated/google/apis/youtube_v3.rb | 2 +- generated/google/apis/youtube_v3/service.rb | 2 +- 11 files changed, 50 insertions(+), 26 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index f93f9ff1f..b5915ddf9 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -14603,6 +14603,7 @@ "/bigquery:v2/Dataset/labels/label": label "/bigquery:v2/Dataset/lastModifiedTime": last_modified_time "/bigquery:v2/Dataset/location": location +"/bigquery:v2/Dataset/satisfiesPZS": satisfies_pzs "/bigquery:v2/Dataset/selfLink": self_link "/bigquery:v2/DatasetList": dataset_list "/bigquery:v2/DatasetList/datasets": datasets @@ -14730,6 +14731,7 @@ "/bigquery:v2/GoogleSheetsOptions/skipLeadingRows": skip_leading_rows "/bigquery:v2/HivePartitioningOptions": hive_partitioning_options "/bigquery:v2/HivePartitioningOptions/mode": mode +"/bigquery:v2/HivePartitioningOptions/requirePartitionFilter": require_partition_filter "/bigquery:v2/HivePartitioningOptions/sourceUriPrefix": source_uri_prefix "/bigquery:v2/IterationResult": iteration_result "/bigquery:v2/IterationResult/arimaResult": arima_result diff --git a/generated/google/apis/appsmarket_v2.rb b/generated/google/apis/appsmarket_v2.rb index dd36796e8..1cb4458cd 100644 --- a/generated/google/apis/appsmarket_v2.rb +++ b/generated/google/apis/appsmarket_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/apps-marketplace module AppsmarketV2 VERSION = 'V2' - REVISION = '20200921' + REVISION = '20200928' # View your installed application's licensing information AUTH_APPSMARKETPLACE_LICENSE = 'https://www.googleapis.com/auth/appsmarketplace.license' diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index bf0cd4a6a..8da3adf54 100644 --- a/generated/google/apis/bigquery_v2.rb +++ b/generated/google/apis/bigquery_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigqueryV2 VERSION = 'V2' - REVISION = '20200916' + REVISION = '20200925' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquery_v2/classes.rb b/generated/google/apis/bigquery_v2/classes.rb index ec2ec33ce..5859b4d7f 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -1443,6 +1443,12 @@ module Google # @return [String] attr_accessor :location + # [Output-only] Reserved for future use. + # Corresponds to the JSON property `satisfiesPZS` + # @return [Boolean] + attr_accessor :satisfies_pzs + alias_method :satisfies_pzs?, :satisfies_pzs + # [Output-only] A URL that can be used to access the resource again. You can use # this URL in Get or Update requests to the resource. # Corresponds to the JSON property `selfLink` @@ -1469,6 +1475,7 @@ module Google @labels = args[:labels] if args.key?(:labels) @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) @location = args[:location] if args.key?(:location) + @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) @self_link = args[:self_link] if args.key?(:self_link) end @@ -2472,25 +2479,36 @@ module Google class HivePartitioningOptions include Google::Apis::Core::Hashable - # [Optional, Trusted Tester] When set, what mode of hive partitioning to use - # when reading data. Two modes are supported. (1) AUTO: automatically infer - # partition key name(s) and type(s). (2) STRINGS: automatically infer partition - # key name(s). All types are interpreted as strings. Not all storage formats - # support hive partitioning. Requesting hive partitioning on an unsupported - # format will lead to an error. Currently supported types include: AVRO, CSV, - # JSON, ORC and Parquet. + # [Optional] When set, what mode of hive partitioning to use when reading data. + # The following modes are supported. (1) AUTO: automatically infer partition key + # name(s) and type(s). (2) STRINGS: automatically infer partition key name(s). + # All types are interpreted as strings. (3) CUSTOM: partition key schema is + # encoded in the source URI prefix. Not all storage formats support hive + # partitioning. Requesting hive partitioning on an unsupported format will lead + # to an error. Currently supported types include: AVRO, CSV, JSON, ORC and + # Parquet. # Corresponds to the JSON property `mode` # @return [String] attr_accessor :mode - # [Optional, Trusted Tester] When hive partition detection is requested, a - # common prefix for all source uris should be supplied. The prefix must end - # immediately before the partition key encoding begins. For example, consider - # files following this data layout. gs://bucket/path_to_table/dt=2019-01-01/ - # country=BR/id=7/file.avro gs://bucket/path_to_table/dt=2018-12-31/country=CA/ - # id=3/file.avro When hive partitioning is requested with either AUTO or STRINGS - # detection, the common prefix can be either of gs://bucket/path_to_table or gs:/ - # /bucket/path_to_table/ (trailing slash does not matter). + # [Optional] If set to true, queries over this table require a partition filter + # that can be used for partition elimination to be specified. Note that this + # field should only be true when creating a permanent external table or querying + # a temporary external table. Hive-partitioned loads with requirePartitionFilter + # explicitly set to true will fail. + # Corresponds to the JSON property `requirePartitionFilter` + # @return [Boolean] + attr_accessor :require_partition_filter + alias_method :require_partition_filter?, :require_partition_filter + + # [Optional] When hive partition detection is requested, a common prefix for all + # source uris should be supplied. The prefix must end immediately before the + # partition key encoding begins. For example, consider files following this data + # layout. gs://bucket/path_to_table/dt=2019-01-01/country=BR/id=7/file.avro gs:// + # bucket/path_to_table/dt=2018-12-31/country=CA/id=3/file.avro When hive + # partitioning is requested with either AUTO or STRINGS detection, the common + # prefix can be either of gs://bucket/path_to_table or gs://bucket/path_to_table/ + # (trailing slash does not matter). # Corresponds to the JSON property `sourceUriPrefix` # @return [String] attr_accessor :source_uri_prefix @@ -2502,6 +2520,7 @@ module Google # Update properties of this object def update!(**args) @mode = args[:mode] if args.key?(:mode) + @require_partition_filter = args[:require_partition_filter] if args.key?(:require_partition_filter) @source_uri_prefix = args[:source_uri_prefix] if args.key?(:source_uri_prefix) end end @@ -2739,7 +2758,7 @@ module Google attr_accessor :compression # [Optional] The exported file format. Possible values include CSV, - # NEWLINE_DELIMITED_JSON or AVRO for tables and ML_TF_SAVED_MODEL or + # NEWLINE_DELIMITED_JSON, PARQUET or AVRO for tables and ML_TF_SAVED_MODEL or # ML_XGBOOST_BOOSTER for models. The default value for tables is CSV. Tables # with nested or repeated fields cannot be exported as CSV. The default value # for models is ML_TF_SAVED_MODEL. @@ -6415,8 +6434,9 @@ module Google attr_accessor :require_partition_filter alias_method :require_partition_filter?, :require_partition_filter - # [Required] The only type supported is DAY, which will generate one partition - # per day. + # [Required] The supported types are DAY, HOUR, MONTH, and YEAR, which will + # generate one partition per day, hour, month, and year, respectively. When the + # type is not specified, the default behavior is DAY. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index 4e523b491..7bd5a93bb 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -1157,6 +1157,7 @@ module Google hash :labels, as: 'labels' property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime' property :location, as: 'location' + property :satisfies_pzs, as: 'satisfiesPZS' property :self_link, as: 'selfLink' end @@ -1404,6 +1405,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :mode, as: 'mode' + property :require_partition_filter, as: 'requirePartitionFilter' property :source_uri_prefix, as: 'sourceUriPrefix' end end diff --git a/generated/google/apis/serviceconsumermanagement_v1.rb b/generated/google/apis/serviceconsumermanagement_v1.rb index e291ecd3b..4de289bbb 100644 --- a/generated/google/apis/serviceconsumermanagement_v1.rb +++ b/generated/google/apis/serviceconsumermanagement_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/service-consumer-management/docs/overview module ServiceconsumermanagementV1 VERSION = 'V1' - REVISION = '20200915' + REVISION = '20200929' # 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/serviceconsumermanagement_v1/service.rb b/generated/google/apis/serviceconsumermanagement_v1/service.rb index 3bc737737..61e7e81e9 100644 --- a/generated/google/apis/serviceconsumermanagement_v1/service.rb +++ b/generated/google/apis/serviceconsumermanagement_v1/service.rb @@ -251,7 +251,7 @@ module Google execute_or_queue_command(command, &block) end - # Add a new tenant project to the tenancy unit. There can be a maximum of 512 + # Add a new tenant project to the tenancy unit. There can be a maximum of 1024 # tenant projects in a tenancy unit. If there are previously failed ` # AddTenantProject` calls, you might need to call `RemoveTenantProject` first to # resolve them before you can make another call to `AddTenantProject` with the diff --git a/generated/google/apis/storagetransfer_v1.rb b/generated/google/apis/storagetransfer_v1.rb index e54394c4b..f6927482d 100644 --- a/generated/google/apis/storagetransfer_v1.rb +++ b/generated/google/apis/storagetransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/storage-transfer/docs module StoragetransferV1 VERSION = 'V1' - REVISION = '20200827' + REVISION = '20200924' # 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/storagetransfer_v1/service.rb b/generated/google/apis/storagetransfer_v1/service.rb index 3b1cdd000..6b0619f36 100644 --- a/generated/google/apis/storagetransfer_v1/service.rb +++ b/generated/google/apis/storagetransfer_v1/service.rb @@ -117,7 +117,7 @@ module Google # Gets a transfer job. # @param [String] job_name - # Required. The job to get. + # " Required. The job to get. # @param [String] project_id # Required. The ID of the Google Cloud Platform Console project that owns the # job. diff --git a/generated/google/apis/youtube_v3.rb b/generated/google/apis/youtube_v3.rb index ab388bf0d..d8c9ad016 100644 --- a/generated/google/apis/youtube_v3.rb +++ b/generated/google/apis/youtube_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/youtube/ module YoutubeV3 VERSION = 'V3' - REVISION = '20200927' + REVISION = '20200929' # Manage your YouTube account AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' diff --git a/generated/google/apis/youtube_v3/service.rb b/generated/google/apis/youtube_v3/service.rb index 9f6b135c6..e851ea4d8 100644 --- a/generated/google/apis/youtube_v3/service.rb +++ b/generated/google/apis/youtube_v3/service.rb @@ -45,7 +45,7 @@ module Google def initialize super('https://www.googleapis.com/', '') - @batch_path = 'batch/youtube' + @batch_path = 'batch/youtube/v3' end # Inserts a new resource into this collection.