From 848ea3d361f543642baadfa3343b6441d762ade1 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Sat, 19 Jan 2019 00:36:40 +0000 Subject: [PATCH] Autogenerated update (2019-01-19) Update: - alertcenter_v1beta1 - bigquery_v2 - servicecontrol_v1 --- api_names_out.yaml | 2 ++ generated/google/apis/alertcenter_v1beta1.rb | 2 +- generated/google/apis/bigquery_v2.rb | 2 +- generated/google/apis/bigquery_v2/classes.rb | 20 +++++++++++++++++++ .../apis/bigquery_v2/representations.rb | 2 ++ generated/google/apis/servicecontrol_v1.rb | 2 +- .../google/apis/servicecontrol_v1/classes.rb | 1 + 7 files changed, 28 insertions(+), 3 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 61fdecabd..612393c8a 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -10758,6 +10758,7 @@ "/bigquery:v2/ExternalDataConfiguration/compression": compression "/bigquery:v2/ExternalDataConfiguration/csvOptions": csv_options "/bigquery:v2/ExternalDataConfiguration/googleSheetsOptions": google_sheets_options +"/bigquery:v2/ExternalDataConfiguration/hivePartitioningMode": hive_partitioning_mode "/bigquery:v2/ExternalDataConfiguration/ignoreUnknownValues": ignore_unknown_values "/bigquery:v2/ExternalDataConfiguration/maxBadRecords": max_bad_records "/bigquery:v2/ExternalDataConfiguration/schema": schema @@ -10834,6 +10835,7 @@ "/bigquery:v2/JobConfigurationLoad/destinationTableProperties": destination_table_properties "/bigquery:v2/JobConfigurationLoad/encoding": encoding "/bigquery:v2/JobConfigurationLoad/fieldDelimiter": field_delimiter +"/bigquery:v2/JobConfigurationLoad/hivePartitioningMode": hive_partitioning_mode "/bigquery:v2/JobConfigurationLoad/ignoreUnknownValues": ignore_unknown_values "/bigquery:v2/JobConfigurationLoad/maxBadRecords": max_bad_records "/bigquery:v2/JobConfigurationLoad/nullMarker": null_marker diff --git a/generated/google/apis/alertcenter_v1beta1.rb b/generated/google/apis/alertcenter_v1beta1.rb index 126da162e..47548f461 100644 --- a/generated/google/apis/alertcenter_v1beta1.rb +++ b/generated/google/apis/alertcenter_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/admin-sdk/alertcenter/ module AlertcenterV1beta1 VERSION = 'V1beta1' - REVISION = '20190110' + REVISION = '20190116' # See and delete your domain's G Suite alerts, and send alert feedback AUTH_APPS_ALERTS = 'https://www.googleapis.com/auth/apps.alerts' diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index 8a8b60e08..4ff472e5b 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 = '20181221' + REVISION = '20190108' # 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 df08a597a..4f6857d35 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -973,6 +973,15 @@ module Google # @return [Google::Apis::BigqueryV2::GoogleSheetsOptions] attr_accessor :google_sheets_options + # [Optional, Experimental] If hive partitioning is enabled, which mode to use. + # Two modes are supported: - AUTO: automatically infer partition key name(s) and + # type(s). - STRINGS: automatic infer partition key name(s). All types are + # strings. Not all storage formats support hive partitioning -- requesting hive + # partitioning on an unsupported format will lead to an error. + # Corresponds to the JSON property `hivePartitioningMode` + # @return [String] + attr_accessor :hive_partitioning_mode + # [Optional] Indicates if BigQuery should allow extra values that are not # represented in the table schema. If true, the extra values are ignored. If # false, records with extra columns are treated as bad records, and if there are @@ -1035,6 +1044,7 @@ module Google @compression = args[:compression] if args.key?(:compression) @csv_options = args[:csv_options] if args.key?(:csv_options) @google_sheets_options = args[:google_sheets_options] if args.key?(:google_sheets_options) + @hive_partitioning_mode = args[:hive_partitioning_mode] if args.key?(:hive_partitioning_mode) @ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values) @max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records) @schema = args[:schema] if args.key?(:schema) @@ -1562,6 +1572,15 @@ module Google # @return [String] attr_accessor :field_delimiter + # [Optional, Experimental] If hive partitioning is enabled, which mode to use. + # Two modes are supported: - AUTO: automatically infer partition key name(s) and + # type(s). - STRINGS: automatic infer partition key name(s). All types are + # strings. Not all storage formats support hive partitioning -- requesting hive + # partitioning on an unsupported format will lead to an error. + # Corresponds to the JSON property `hivePartitioningMode` + # @return [String] + attr_accessor :hive_partitioning_mode + # [Optional] Indicates if BigQuery should allow extra values that are not # represented in the table schema. If true, the extra values are ignored. If # false, records with extra columns are treated as bad records, and if there are @@ -1717,6 +1736,7 @@ module Google @destination_table_properties = args[:destination_table_properties] if args.key?(:destination_table_properties) @encoding = args[:encoding] if args.key?(:encoding) @field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter) + @hive_partitioning_mode = args[:hive_partitioning_mode] if args.key?(:hive_partitioning_mode) @ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values) @max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records) @null_marker = args[:null_marker] if args.key?(:null_marker) diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index 573422456..62d57a31b 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -669,6 +669,7 @@ module Google property :google_sheets_options, as: 'googleSheetsOptions', class: Google::Apis::BigqueryV2::GoogleSheetsOptions, decorator: Google::Apis::BigqueryV2::GoogleSheetsOptions::Representation + property :hive_partitioning_mode, as: 'hivePartitioningMode' property :ignore_unknown_values, as: 'ignoreUnknownValues' property :max_bad_records, as: 'maxBadRecords' property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation @@ -804,6 +805,7 @@ module Google property :encoding, as: 'encoding' property :field_delimiter, as: 'fieldDelimiter' + property :hive_partitioning_mode, as: 'hivePartitioningMode' property :ignore_unknown_values, as: 'ignoreUnknownValues' property :max_bad_records, as: 'maxBadRecords' property :null_marker, as: 'nullMarker' diff --git a/generated/google/apis/servicecontrol_v1.rb b/generated/google/apis/servicecontrol_v1.rb index 178fb4926..24ff21c20 100644 --- a/generated/google/apis/servicecontrol_v1.rb +++ b/generated/google/apis/servicecontrol_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-control/ module ServicecontrolV1 VERSION = 'V1' - REVISION = '20181229' + REVISION = '20190114' # 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/servicecontrol_v1/classes.rb b/generated/google/apis/servicecontrol_v1/classes.rb index 7f8373982..20f60c540 100644 --- a/generated/google/apis/servicecontrol_v1/classes.rb +++ b/generated/google/apis/servicecontrol_v1/classes.rb @@ -547,6 +547,7 @@ module Google # Indicates if service activation check should be skipped for this request. # Default behavior is to perform the check and apply relevant quota. + # WARNING: Setting this flag to "true" will disable quota enforcement. # Corresponds to the JSON property `skipActivationCheck` # @return [Boolean] attr_accessor :skip_activation_check