diff --git a/api_names_out.yaml b/api_names_out.yaml index 3476dab58..dee669765 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -8990,6 +8990,8 @@ "/bigquery:v2/TableList/nextPageToken": next_page_token "/bigquery:v2/TableList/tables": tables "/bigquery:v2/TableList/tables/table": table +"/bigquery:v2/TableList/tables/table/creationTime": creation_time +"/bigquery:v2/TableList/tables/table/expirationTime": expiration_time "/bigquery:v2/TableList/tables/table/friendlyName": friendly_name "/bigquery:v2/TableList/tables/table/id": id "/bigquery:v2/TableList/tables/table/kind": kind @@ -13643,6 +13645,7 @@ "/cloudtasks:v2beta2/RetryConfig/maxAttempts": max_attempts "/cloudtasks:v2beta2/RetryConfig/maxBackoff": max_backoff "/cloudtasks:v2beta2/RetryConfig/maxDoublings": max_doublings +"/cloudtasks:v2beta2/RetryConfig/maxRetryDuration": max_retry_duration "/cloudtasks:v2beta2/RetryConfig/minBackoff": min_backoff "/cloudtasks:v2beta2/RetryConfig/taskAgeLimit": task_age_limit "/cloudtasks:v2beta2/RetryConfig/unlimitedAttempts": unlimited_attempts diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index 897fed214..1fc721c90 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 = '20170910' + REVISION = '20170930' # 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 9db21763d..28e72b10c 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -3041,6 +3041,18 @@ module Google class Table include Google::Apis::Core::Hashable + # The time when this table was created, in milliseconds since the epoch. + # Corresponds to the JSON property `creationTime` + # @return [Fixnum] + attr_accessor :creation_time + + # [Optional] The time when this table expires, in milliseconds since the epoch. + # If not present, the table will persist indefinitely. Expired tables will be + # deleted and their storage reclaimed. + # Corresponds to the JSON property `expirationTime` + # @return [Fixnum] + attr_accessor :expiration_time + # The user-friendly name for this table. # Corresponds to the JSON property `friendlyName` # @return [String] @@ -3088,6 +3100,8 @@ module Google # Update properties of this object def update!(**args) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @expiration_time = args[:expiration_time] if args.key?(:expiration_time) @friendly_name = args[:friendly_name] if args.key?(:friendly_name) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index 6dabba657..90f4e0725 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -1085,6 +1085,8 @@ module Google class Table # @private class Representation < Google::Apis::Core::JsonRepresentation + property :creation_time, :numeric_string => true, as: 'creationTime' + property :expiration_time, :numeric_string => true, as: 'expirationTime' property :friendly_name, as: 'friendlyName' property :id, as: 'id' property :kind, as: 'kind' diff --git a/generated/google/apis/classroom_v1.rb b/generated/google/apis/classroom_v1.rb index 14f264c0b..51a024318 100644 --- a/generated/google/apis/classroom_v1.rb +++ b/generated/google/apis/classroom_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/classroom/ module ClassroomV1 VERSION = 'V1' - REVISION = '20170926' + REVISION = '20171004' # View and manage announcements in Google Classroom AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements' diff --git a/generated/google/apis/cloudtasks_v2beta2/classes.rb b/generated/google/apis/cloudtasks_v2beta2/classes.rb index 51371ccff..1fe574962 100644 --- a/generated/google/apis/cloudtasks_v2beta2/classes.rb +++ b/generated/google/apis/cloudtasks_v2beta2/classes.rb @@ -1280,6 +1280,9 @@ module Google # * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this field # is output only and always 0. # `max_backoff` will be truncated to the nearest second. + # This field has the same meaning as + # [max_backoff_seconds in queue.yaml](/appengine/docs/standard/python/config/ + # queueref#retry_parameters). # Corresponds to the JSON property `maxBackoff` # @return [String] attr_accessor :max_backoff @@ -1293,10 +1296,31 @@ module Google # this field is 16 by default. # * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this field # is output only and always 0. + # This field has the same meaning as + # [max_doublings in queue.yaml](/appengine/docs/standard/python/config/queueref# + # retry_parameters). # Corresponds to the JSON property `maxDoublings` # @return [Fixnum] attr_accessor :max_doublings + # If positive, `max_retry_duration` specifies the time limit for retrying a + # failed task, measured from when the task was first attempted. Once + # `max_retry_duration` time has passed *and* the task has been attempted + # RetryConfig.max_attempts times, no further attempts will be made and + # the task will be deleted. + # If zero, then the task age is unlimited. + # * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget), + # this field is 0 seconds by default. + # * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this + # field is output only and always 0. + # `max_retry_duration` will be truncated to the nearest second. + # This field has the same meaning as + # [task_age_limit in queue.yaml](/appengine/docs/standard/python/config/queueref# + # retry_parameters). + # Corresponds to the JSON property `maxRetryDuration` + # @return [String] + attr_accessor :max_retry_duration + # The minimum amount of time to wait before retrying a task after # it fails. # * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget), @@ -1304,20 +1328,13 @@ module Google # * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this # field is output only and always 0. # `min_backoff` will be truncated to the nearest second. + # This field has the same meaning as + # [min_backoff_seconds in queue.yaml](/appengine/docs/standard/python/config/ + # queueref#retry_parameters). # Corresponds to the JSON property `minBackoff` # @return [String] attr_accessor :min_backoff - # If positive, task_age_limit specifies the time limit for retrying a failed - # task, measured from when the task was first run. If specified with - # RetryConfig.max_attempts, the task will be retried until both - # limits are reached. - # If zero, then the task age is unlimited. This field is zero by default. - # `task_age_limit` will be truncated to the nearest second. - # Corresponds to the JSON property `taskAgeLimit` - # @return [String] - attr_accessor :task_age_limit - # If true, then the number of attempts is unlimited. # Corresponds to the JSON property `unlimitedAttempts` # @return [Boolean] @@ -1333,8 +1350,8 @@ module Google @max_attempts = args[:max_attempts] if args.key?(:max_attempts) @max_backoff = args[:max_backoff] if args.key?(:max_backoff) @max_doublings = args[:max_doublings] if args.key?(:max_doublings) + @max_retry_duration = args[:max_retry_duration] if args.key?(:max_retry_duration) @min_backoff = args[:min_backoff] if args.key?(:min_backoff) - @task_age_limit = args[:task_age_limit] if args.key?(:task_age_limit) @unlimited_attempts = args[:unlimited_attempts] if args.key?(:unlimited_attempts) end end diff --git a/generated/google/apis/cloudtasks_v2beta2/representations.rb b/generated/google/apis/cloudtasks_v2beta2/representations.rb index 5f3ea714e..cb5ac0af8 100644 --- a/generated/google/apis/cloudtasks_v2beta2/representations.rb +++ b/generated/google/apis/cloudtasks_v2beta2/representations.rb @@ -505,8 +505,8 @@ module Google property :max_attempts, as: 'maxAttempts' property :max_backoff, as: 'maxBackoff' property :max_doublings, as: 'maxDoublings' + property :max_retry_duration, as: 'maxRetryDuration' property :min_backoff, as: 'minBackoff' - property :task_age_limit, as: 'taskAgeLimit' property :unlimited_attempts, as: 'unlimitedAttempts' end end diff --git a/generated/google/apis/cloudtasks_v2beta2/service.rb b/generated/google/apis/cloudtasks_v2beta2/service.rb index 92b528244..bbf485b7d 100644 --- a/generated/google/apis/cloudtasks_v2beta2/service.rb +++ b/generated/google/apis/cloudtasks_v2beta2/service.rb @@ -684,6 +684,10 @@ module Google # or the batching documentation for your client library, for example # https://developers.google.com/api-client-library/python/guide/batch. # Tasks cannot be updated after creation; there is no UpdateTask command. + # * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget), + # the maximum task size is 100KB. + # * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this + # the maximum task size is 1MB. # @param [String] parent # Required. # The queue name. For example: @@ -881,7 +885,7 @@ module Google # A maximum of 10 qps of CloudTasks.PullTasks requests are allowed per # queue. google.rpc.Code.RESOURCE_EXHAUSTED is returned when this limit # is exceeded. google.rpc.Code.RESOURCE_EXHAUSTED is also returned when - # ThrottleConfig.max_tasks_dispatched_per_second is exceeded. + # RateLimits.max_tasks_dispatched_per_second is exceeded. # @param [String] name # Required. # The queue name. For example: diff --git a/generated/google/apis/servicecontrol_v1.rb b/generated/google/apis/servicecontrol_v1.rb index 9c7f5e0e6..fec3808e4 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 = '20170925' + REVISION = '20170930' # 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 7db0958d9..5dbdfff54 100644 --- a/generated/google/apis/servicecontrol_v1/classes.rb +++ b/generated/google/apis/servicecontrol_v1/classes.rb @@ -93,18 +93,12 @@ module Google # Quota metrics to indicate the result of allocation. Depending on the # request, one or more of the following metrics will be included: - # 1. For rate quota, per quota group or per quota metric incremental usage - # will be specified using the following delta metric: + # 1. Per quota group or per quota metric incremental usage will be specified + # using the following delta metric : # "serviceruntime.googleapis.com/api/consumer/quota_used_count" - # 2. For allocation quota, per quota metric total usage will be specified - # using the following gauge metric: - # "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" - # 3. For both rate quota and allocation quota, the quota limit reached - # condition will be specified using the following boolean metric: + # 2. The quota limit reached condition will be specified using the following + # boolean metric : # "serviceruntime.googleapis.com/quota/exceeded" - # 4. For allocation quota, value for each quota limit associated with - # the metrics will be specified using the following gauge metric: - # "serviceruntime.googleapis.com/quota/limit" # Corresponds to the JSON property `quotaMetrics` # @return [Array] attr_accessor :quota_metrics @@ -147,7 +141,7 @@ module Google # Other service-specific data about the request, response, and other # information associated with the current audited event. # Corresponds to the JSON property `metadata` - # @return [Array>] + # @return [Hash] attr_accessor :metadata # The name of the service method or operation. diff --git a/generated/google/apis/servicecontrol_v1/representations.rb b/generated/google/apis/servicecontrol_v1/representations.rb index 05792faa7..a2dc6cfa1 100644 --- a/generated/google/apis/servicecontrol_v1/representations.rb +++ b/generated/google/apis/servicecontrol_v1/representations.rb @@ -281,7 +281,7 @@ module Google collection :authorization_info, as: 'authorizationInfo', class: Google::Apis::ServicecontrolV1::AuthorizationInfo, decorator: Google::Apis::ServicecontrolV1::AuthorizationInfo::Representation - collection :metadata, as: 'metadata' + hash :metadata, as: 'metadata' property :method_name, as: 'methodName' property :num_response_items, :numeric_string => true, as: 'numResponseItems' hash :request, as: 'request'