From 8011e2287a6623ffb74186348eae31b8e0edee11 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Sat, 31 Mar 2018 00:36:19 +0000 Subject: [PATCH] Autogenerated update (2018-03-31) Update: - bigquery_v2 - bigquerydatatransfer_v1 - cloudkms_v1 - doubleclicksearch_v2 - serviceconsumermanagement_v1 - serviceusage_v1beta1 - tpu_v1alpha1 --- api_names_out.yaml | 3 +++ generated/google/apis/bigquery_v2.rb | 2 +- generated/google/apis/bigquery_v2/classes.rb | 23 ++++++++++--------- .../apis/bigquery_v2/representations.rb | 6 ++--- .../google/apis/bigquerydatatransfer_v1.rb | 2 +- .../apis/bigquerydatatransfer_v1/classes.rb | 4 +--- generated/google/apis/cloudkms_v1.rb | 2 +- generated/google/apis/cloudkms_v1/classes.rb | 1 - generated/google/apis/doubleclicksearch_v2.rb | 2 +- .../apis/doubleclicksearch_v2/classes.rb | 4 ++++ .../apis/serviceconsumermanagement_v1.rb | 2 +- .../serviceconsumermanagement_v1/classes.rb | 10 +++----- generated/google/apis/serviceusage_v1beta1.rb | 2 +- .../apis/serviceusage_v1beta1/classes.rb | 7 +----- generated/google/apis/tpu_v1alpha1.rb | 2 +- generated/google/apis/tpu_v1alpha1/service.rb | 4 ++-- 16 files changed, 36 insertions(+), 40 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index f5011c70e..0b17f74df 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -9660,10 +9660,13 @@ "/bigquery:v2/QueryResponse/totalRows": total_rows "/bigquery:v2/QueryTimelineSample": query_timeline_sample "/bigquery:v2/QueryTimelineSample/activeInputs": active_inputs +"/bigquery:v2/QueryTimelineSample/activeUnits": active_units "/bigquery:v2/QueryTimelineSample/completedInputs": completed_inputs "/bigquery:v2/QueryTimelineSample/completedInputsForActiveStages": completed_inputs_for_active_stages +"/bigquery:v2/QueryTimelineSample/completedUnits": completed_units "/bigquery:v2/QueryTimelineSample/elapsedMs": elapsed_ms "/bigquery:v2/QueryTimelineSample/pendingInputs": pending_inputs +"/bigquery:v2/QueryTimelineSample/pendingUnits": pending_units "/bigquery:v2/QueryTimelineSample/totalSlotMs": total_slot_ms "/bigquery:v2/Streamingbuffer": streamingbuffer "/bigquery:v2/Streamingbuffer/estimatedBytes": estimated_bytes diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index ff4e7cbff..512594ac7 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 = '20180311' + REVISION = '20180325' # 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 5f7c91862..23ba36098 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -2701,16 +2701,17 @@ module Google class QueryTimelineSample include Google::Apis::Core::Hashable - # Total number of active workers. This does not correspond directly to slot - # usage. This is the largest value observed since the last sample. - # Corresponds to the JSON property `activeInputs` + # Total number of units currently being processed by workers. This does not + # correspond directly to slot usage. This is the largest value observed since + # the last sample. + # Corresponds to the JSON property `activeUnits` # @return [Fixnum] - attr_accessor :active_inputs + attr_accessor :active_units # Total parallel units of work completed by this query. - # Corresponds to the JSON property `completedInputs` + # Corresponds to the JSON property `completedUnits` # @return [Fixnum] - attr_accessor :completed_inputs + attr_accessor :completed_units # Milliseconds elapsed since the start of query execution. # Corresponds to the JSON property `elapsedMs` @@ -2718,9 +2719,9 @@ module Google attr_accessor :elapsed_ms # Total parallel units of work remaining for the active stages. - # Corresponds to the JSON property `pendingInputs` + # Corresponds to the JSON property `pendingUnits` # @return [Fixnum] - attr_accessor :pending_inputs + attr_accessor :pending_units # Cumulative slot-ms consumed by the query. # Corresponds to the JSON property `totalSlotMs` @@ -2733,10 +2734,10 @@ module Google # Update properties of this object def update!(**args) - @active_inputs = args[:active_inputs] if args.key?(:active_inputs) - @completed_inputs = args[:completed_inputs] if args.key?(:completed_inputs) + @active_units = args[:active_units] if args.key?(:active_units) + @completed_units = args[:completed_units] if args.key?(:completed_units) @elapsed_ms = args[:elapsed_ms] if args.key?(:elapsed_ms) - @pending_inputs = args[:pending_inputs] if args.key?(:pending_inputs) + @pending_units = args[:pending_units] if args.key?(:pending_units) @total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms) end end diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index acb395922..22499bc53 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -1000,10 +1000,10 @@ module Google class QueryTimelineSample # @private class Representation < Google::Apis::Core::JsonRepresentation - property :active_inputs, :numeric_string => true, as: 'activeInputs' - property :completed_inputs, :numeric_string => true, as: 'completedInputs' + property :active_units, :numeric_string => true, as: 'activeUnits' + property :completed_units, :numeric_string => true, as: 'completedUnits' property :elapsed_ms, :numeric_string => true, as: 'elapsedMs' - property :pending_inputs, :numeric_string => true, as: 'pendingInputs' + property :pending_units, :numeric_string => true, as: 'pendingUnits' property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs' end end diff --git a/generated/google/apis/bigquerydatatransfer_v1.rb b/generated/google/apis/bigquerydatatransfer_v1.rb index c44d6fcea..05eb69ced 100644 --- a/generated/google/apis/bigquerydatatransfer_v1.rb +++ b/generated/google/apis/bigquerydatatransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigquerydatatransferV1 VERSION = 'V1' - REVISION = '20180317' + REVISION = '20180329' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquerydatatransfer_v1/classes.rb b/generated/google/apis/bigquerydatatransfer_v1/classes.rb index 31b314fce..aae0a3795 100644 --- a/generated/google/apis/bigquerydatatransfer_v1/classes.rb +++ b/generated/google/apis/bigquerydatatransfer_v1/classes.rb @@ -131,7 +131,7 @@ module Google # @return [String] attr_accessor :minimum_schedule_interval - # Data source resource name. + # Output only. Data source resource name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -643,7 +643,6 @@ module Google # When a new transfer configuration is created, the specified # `destination_dataset_id` is created when needed and shared with the # appropriate data source service account. - # Next id: 21 class TransferConfig include Google::Apis::Core::Hashable @@ -794,7 +793,6 @@ module Google end # Represents a data transfer run. - # Next id: 27 class TransferRun include Google::Apis::Core::Hashable diff --git a/generated/google/apis/cloudkms_v1.rb b/generated/google/apis/cloudkms_v1.rb index 199334fdc..b424c0be5 100644 --- a/generated/google/apis/cloudkms_v1.rb +++ b/generated/google/apis/cloudkms_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/kms/ module CloudkmsV1 VERSION = 'V1' - REVISION = '20180316' + REVISION = '20180329' # 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/cloudkms_v1/classes.rb b/generated/google/apis/cloudkms_v1/classes.rb index 1221a1137..b8d9f2c86 100644 --- a/generated/google/apis/cloudkms_v1/classes.rb +++ b/generated/google/apis/cloudkms_v1/classes.rb @@ -73,7 +73,6 @@ module Google include Google::Apis::Core::Hashable # The configuration for logging of each type of permission. - # Next ID: 4 # Corresponds to the JSON property `auditLogConfigs` # @return [Array] attr_accessor :audit_log_configs diff --git a/generated/google/apis/doubleclicksearch_v2.rb b/generated/google/apis/doubleclicksearch_v2.rb index 308cbf120..0239a4449 100644 --- a/generated/google/apis/doubleclicksearch_v2.rb +++ b/generated/google/apis/doubleclicksearch_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/doubleclick-search/ module DoubleclicksearchV2 VERSION = 'V2' - REVISION = '20170905' + REVISION = '20180329' # View and manage your advertising data in DoubleClick Search AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch' diff --git a/generated/google/apis/doubleclicksearch_v2/classes.rb b/generated/google/apis/doubleclicksearch_v2/classes.rb index bfd4a79f4..9f760a667 100644 --- a/generated/google/apis/doubleclicksearch_v2/classes.rb +++ b/generated/google/apis/doubleclicksearch_v2/classes.rb @@ -592,6 +592,7 @@ module Google # columns and saved columns. For DoubleClick Search columns, only the columnName # parameter is required. For saved columns only the savedColumnName parameter is # required. Both columnName and savedColumnName cannot be set in the same stanza. + # The maximum number of columns per request is 300. # Corresponds to the JSON property `columns` # @return [Array] attr_accessor :columns @@ -603,6 +604,7 @@ module Google attr_accessor :download_format # A list of filters to be applied to the report. + # The maximum number of filters per request is 300. # Corresponds to the JSON property `filters` # @return [Array] attr_accessor :filters @@ -630,6 +632,7 @@ module Google # Synchronous report only. A list of columns and directions defining sorting to # be performed on the report rows. + # The maximum number of orderings per request is 300. # Corresponds to the JSON property `orderBy` # @return [Array] attr_accessor :order_by @@ -720,6 +723,7 @@ module Google attr_accessor :operator # A list of values to filter the column value against. + # The maximum number of filter values per request is 300. # Corresponds to the JSON property `values` # @return [Array] attr_accessor :values diff --git a/generated/google/apis/serviceconsumermanagement_v1.rb b/generated/google/apis/serviceconsumermanagement_v1.rb index 37ac3bc31..f25f0aca3 100644 --- a/generated/google/apis/serviceconsumermanagement_v1.rb +++ b/generated/google/apis/serviceconsumermanagement_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-consumer-management/docs/overview module ServiceconsumermanagementV1 VERSION = 'V1' - REVISION = '20180317' + REVISION = '20180330' # 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/classes.rb b/generated/google/apis/serviceconsumermanagement_v1/classes.rb index 5edd3c812..1088b11c5 100644 --- a/generated/google/apis/serviceconsumermanagement_v1/classes.rb +++ b/generated/google/apis/serviceconsumermanagement_v1/classes.rb @@ -296,12 +296,7 @@ module Google class AuthenticationRule include Google::Apis::Core::Hashable - # Whether to allow requests without a credential. The credential can be - # an OAuth token, Google cookies (first-party auth) or EndUserCreds. - # For requests without credentials, if the service control environment is - # specified, each incoming request **must** be associated with a service - # consumer. This can be done by passing an API key that belongs to a consumer - # project. + # If true, the service accepts API keys without any other credential. # Corresponds to the JSON property `allowWithoutCredential` # @return [Boolean] attr_accessor :allow_without_credential @@ -3324,7 +3319,8 @@ module Google # The email format of the service account will be # "@.iam.gserviceaccount.com". # This account id has to be unique within tenant project and producers - # have to guarantee it. + # have to guarantee it. And it must be 6-30 characters long, and matches the + # regular expression `[a-z]([-a-z0-9]*[a-z0-9])`. # Corresponds to the JSON property `accountId` # @return [String] attr_accessor :account_id diff --git a/generated/google/apis/serviceusage_v1beta1.rb b/generated/google/apis/serviceusage_v1beta1.rb index d61fe90ae..84b4e9ee1 100644 --- a/generated/google/apis/serviceusage_v1beta1.rb +++ b/generated/google/apis/serviceusage_v1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-usage/ module ServiceusageV1beta1 VERSION = 'V1beta1' - REVISION = '20180317' + REVISION = '20180329' # 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/serviceusage_v1beta1/classes.rb b/generated/google/apis/serviceusage_v1beta1/classes.rb index ca622e67c..077e6c762 100644 --- a/generated/google/apis/serviceusage_v1beta1/classes.rb +++ b/generated/google/apis/serviceusage_v1beta1/classes.rb @@ -266,12 +266,7 @@ module Google class AuthenticationRule include Google::Apis::Core::Hashable - # Whether to allow requests without a credential. The credential can be - # an OAuth token, Google cookies (first-party auth) or EndUserCreds. - # For requests without credentials, if the service control environment is - # specified, each incoming request **must** be associated with a service - # consumer. This can be done by passing an API key that belongs to a consumer - # project. + # If true, the service accepts API keys without any other credential. # Corresponds to the JSON property `allowWithoutCredential` # @return [Boolean] attr_accessor :allow_without_credential diff --git a/generated/google/apis/tpu_v1alpha1.rb b/generated/google/apis/tpu_v1alpha1.rb index aefea9f1f..d1c267941 100644 --- a/generated/google/apis/tpu_v1alpha1.rb +++ b/generated/google/apis/tpu_v1alpha1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/tpu/ module TpuV1alpha1 VERSION = 'V1alpha1' - REVISION = '20180303' + REVISION = '20180330' # 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/tpu_v1alpha1/service.rb b/generated/google/apis/tpu_v1alpha1/service.rb index fbc1efa64..cee444e15 100644 --- a/generated/google/apis/tpu_v1alpha1/service.rb +++ b/generated/google/apis/tpu_v1alpha1/service.rb @@ -43,11 +43,11 @@ module Google attr_accessor :quota_user def initialize - super('https://content-tpu.googleapis.com/', '') + super('https://tpu.googleapis.com/', '') @batch_path = 'batch' end - # Get information about a location. + # Gets information about a location. # @param [String] name # Resource name for the location. # @param [String] fields