Autogenerated update (2017-10-07)
Update: - bigquery_v2 - classroom_v1 - servicecontrol_v1
This commit is contained in:
parent
7b43f41f26
commit
d7333db12d
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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<Google::Apis::ServicecontrolV1::MetricValueSet>]
|
||||
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<Hash<String,Object>>]
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :metadata
|
||||
|
||||
# The name of the service method or operation.
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue