Autogenerated update (2019-03-25)
Update: - cloudtasks_v2beta2
This commit is contained in:
parent
d690f8f8a1
commit
39a8317550
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/tasks/
|
||||
module CloudtasksV2beta2
|
||||
VERSION = 'V2beta2'
|
||||
REVISION = '20190228'
|
||||
REVISION = '20190314'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -60,11 +60,12 @@ module Google
|
|||
# `https://www.googleapis.com/auth/cloud-platform`
|
||||
# The task will be delivered to the App Engine app which belongs to the same
|
||||
# project as the queue. For more information, see
|
||||
# [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/
|
||||
# python/how-requests-are-routed)
|
||||
# [How Requests are
|
||||
# Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
||||
# are-routed)
|
||||
# and how routing is affected by
|
||||
# [dispatch files](https://cloud.google.com/appengine/docs/python/config/
|
||||
# dispatchref).
|
||||
# [dispatch
|
||||
# files](https://cloud.google.com/appengine/docs/python/config/dispatchref).
|
||||
# Traffic is encrypted during transport and never leaves Google datacenters.
|
||||
# Because this traffic is carried over a communication mechanism internal to
|
||||
# Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS).
|
||||
|
@ -82,12 +83,13 @@ module Google
|
|||
# relative_url
|
||||
# Tasks can be dispatched to secure app handlers, unsecure app handlers, and
|
||||
# URIs restricted with
|
||||
# [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref).
|
||||
# [`login:
|
||||
# admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).
|
||||
# Because tasks are not run as any user, they cannot be dispatched to URIs
|
||||
# restricted with
|
||||
# [`login: required`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref)
|
||||
# [`login:
|
||||
# required`](https://cloud.google.com/appengine/docs/standard/python/config/
|
||||
# appref)
|
||||
# Task dispatches also do not follow redirects.
|
||||
# The task attempt has succeeded if the app's request handler returns
|
||||
# an HTTP response code in the range [`200` - `299`]. `503` is
|
||||
|
@ -103,14 +105,18 @@ module Google
|
|||
# Defines routing characteristics specific to App Engine - service, version,
|
||||
# and instance.
|
||||
# For more information about services, versions, and instances see
|
||||
# [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-
|
||||
# overview-of-app-engine),
|
||||
# [Microservices Architecture on Google App Engine](https://cloud.google.com/
|
||||
# appengine/docs/python/microservices-on-app-engine),
|
||||
# [App Engine Standard request routing](https://cloud.google.com/appengine/docs/
|
||||
# standard/python/how-requests-are-routed),
|
||||
# and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/
|
||||
# flexible/python/how-requests-are-routed).
|
||||
# [An Overview of App
|
||||
# Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-
|
||||
# engine),
|
||||
# [Microservices Architecture on Google App
|
||||
# Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-
|
||||
# engine),
|
||||
# [App Engine Standard request
|
||||
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
||||
# are-routed),
|
||||
# and [App Engine Flex request
|
||||
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
||||
# are-routed).
|
||||
# Corresponds to the JSON property `appEngineRouting`
|
||||
# @return [Google::Apis::CloudtasksV2beta2::AppEngineRouting]
|
||||
attr_accessor :app_engine_routing
|
||||
|
@ -141,8 +147,9 @@ module Google
|
|||
# * `X-AppEngine-*`
|
||||
# In addition, Cloud Tasks sets some headers when the task is dispatched,
|
||||
# such as headers containing information about the task; see
|
||||
# [request headers](https://cloud.google.com/appengine/docs/python/taskqueue/
|
||||
# push/creating-handlers#reading_request_headers).
|
||||
# [request
|
||||
# headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/
|
||||
# creating-handlers#reading_request_headers).
|
||||
# These headers are set only when the task is dispatched, so they are not
|
||||
# visible when the task is returned in a Cloud Tasks response.
|
||||
# Although there is no specific limit for the maximum number of headers or
|
||||
|
@ -156,12 +163,14 @@ module Google
|
|||
# The app's request handler for the task's target URL must be able to handle
|
||||
# HTTP requests with this http_method, otherwise the task attempt will fail
|
||||
# with error code 405 (Method Not Allowed). See
|
||||
# [Writing a push task request handler](https://cloud.google.com/appengine/docs/
|
||||
# java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
|
||||
# [Writing a push task request
|
||||
# handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-
|
||||
# handlers#writing_a_push_task_request_handler)
|
||||
# and the documentation for the request handlers in the language your app is
|
||||
# written in e.g.
|
||||
# [Python Request Handler](https://cloud.google.com/appengine/docs/python/tools/
|
||||
# webapp/requesthandlerclass).
|
||||
# [Python Request
|
||||
# Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/
|
||||
# requesthandlerclass).
|
||||
# Corresponds to the JSON property `httpMethod`
|
||||
# @return [String]
|
||||
attr_accessor :http_method
|
||||
|
@ -217,14 +226,18 @@ module Google
|
|||
# Defines routing characteristics specific to App Engine - service, version,
|
||||
# and instance.
|
||||
# For more information about services, versions, and instances see
|
||||
# [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-
|
||||
# overview-of-app-engine),
|
||||
# [Microservices Architecture on Google App Engine](https://cloud.google.com/
|
||||
# appengine/docs/python/microservices-on-app-engine),
|
||||
# [App Engine Standard request routing](https://cloud.google.com/appengine/docs/
|
||||
# standard/python/how-requests-are-routed),
|
||||
# and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/
|
||||
# flexible/python/how-requests-are-routed).
|
||||
# [An Overview of App
|
||||
# Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-
|
||||
# engine),
|
||||
# [Microservices Architecture on Google App
|
||||
# Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-
|
||||
# engine),
|
||||
# [App Engine Standard request
|
||||
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
||||
# are-routed),
|
||||
# and [App Engine Flex request
|
||||
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
||||
# are-routed).
|
||||
# Corresponds to the JSON property `appEngineRoutingOverride`
|
||||
# @return [Google::Apis::CloudtasksV2beta2::AppEngineRouting]
|
||||
attr_accessor :app_engine_routing_override
|
||||
|
@ -243,21 +256,26 @@ module Google
|
|||
# Defines routing characteristics specific to App Engine - service, version,
|
||||
# and instance.
|
||||
# For more information about services, versions, and instances see
|
||||
# [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-
|
||||
# overview-of-app-engine),
|
||||
# [Microservices Architecture on Google App Engine](https://cloud.google.com/
|
||||
# appengine/docs/python/microservices-on-app-engine),
|
||||
# [App Engine Standard request routing](https://cloud.google.com/appengine/docs/
|
||||
# standard/python/how-requests-are-routed),
|
||||
# and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/
|
||||
# flexible/python/how-requests-are-routed).
|
||||
# [An Overview of App
|
||||
# Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-
|
||||
# engine),
|
||||
# [Microservices Architecture on Google App
|
||||
# Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-
|
||||
# engine),
|
||||
# [App Engine Standard request
|
||||
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
||||
# are-routed),
|
||||
# and [App Engine Flex request
|
||||
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
||||
# are-routed).
|
||||
class AppEngineRouting
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. The host that the task is sent to.
|
||||
# For more information, see
|
||||
# [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/
|
||||
# python/how-requests-are-routed).
|
||||
# [How Requests are
|
||||
# Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
||||
# are-routed).
|
||||
# The host is constructed as:
|
||||
# * `host = [application_domain_name]`</br>
|
||||
# `| [service] + '.' + [application_domain_name]`</br>
|
||||
|
@ -307,14 +325,16 @@ module Google
|
|||
# By default, the task is sent to an instance which is available when
|
||||
# the task is attempted.
|
||||
# Requests can only be sent to a specific instance if
|
||||
# [manual scaling is used in App Engine Standard](https://cloud.google.com/
|
||||
# appengine/docs/python/an-overview-of-app-engine?hl=en_US#
|
||||
# scaling_types_and_instance_classes).
|
||||
# [manual scaling is used in App Engine
|
||||
# Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-
|
||||
# engine?hl=en_US#scaling_types_and_instance_classes).
|
||||
# App Engine Flex does not support instances. For more information, see
|
||||
# [App Engine Standard request routing](https://cloud.google.com/appengine/docs/
|
||||
# standard/python/how-requests-are-routed)
|
||||
# and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/
|
||||
# flexible/python/how-requests-are-routed).
|
||||
# [App Engine Standard request
|
||||
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
||||
# are-routed)
|
||||
# and [App Engine Flex request
|
||||
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
||||
# are-routed).
|
||||
# Corresponds to the JSON property `instance`
|
||||
# @return [String]
|
||||
attr_accessor :instance
|
||||
|
@ -378,14 +398,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :dispatch_time
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# The `Status` message contains three pieces of data: error code, error
|
||||
# message, and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
|
@ -991,8 +1011,9 @@ module Google
|
|||
# task is created.
|
||||
# The tag must be less than 500 characters.
|
||||
# SDK compatibility: Although the SDK allows tags to be either
|
||||
# string or [bytes](https://cloud.google.com/appengine/docs/standard/java/
|
||||
# javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
|
||||
# string or
|
||||
# [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/
|
||||
# google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
|
||||
# only UTF-8 encoded tags can be used in Cloud Tasks. If a tag isn't UTF-8
|
||||
# encoded, the tag will be empty when the task is returned by Cloud Tasks.
|
||||
# Corresponds to the JSON property `tag`
|
||||
|
@ -1065,8 +1086,9 @@ module Google
|
|||
# * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
||||
# hyphens (-), colons (:), or periods (.).
|
||||
# For more information, see
|
||||
# [Identifying projects](https://cloud.google.com/resource-manager/docs/
|
||||
# creating-managing-projects#identifying_projects)
|
||||
# [Identifying
|
||||
# projects](https://cloud.google.com/resource-manager/docs/creating-managing-
|
||||
# projects#identifying_projects)
|
||||
# * `LOCATION_ID` is the canonical ID for the queue's location.
|
||||
# The list of available locations can be obtained by calling
|
||||
# ListLocations.
|
||||
|
@ -1086,9 +1108,9 @@ module Google
|
|||
# All tasks that were created before this time
|
||||
# were purged.
|
||||
# A queue can be purged using PurgeQueue, the
|
||||
# [App Engine Task Queue SDK, or the Cloud Console](https://cloud.google.com/
|
||||
# appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#
|
||||
# purging_all_tasks_from_a_queue).
|
||||
# [App Engine Task Queue SDK, or the Cloud
|
||||
# Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/
|
||||
# push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
|
||||
# Purge time will be truncated to the nearest microsecond. Purge
|
||||
# time will be unset if the queue has never been purged.
|
||||
# Corresponds to the JSON property `purgeTime`
|
||||
|
@ -1189,8 +1211,9 @@ module Google
|
|||
# pull queues and always -1, which indicates no limit. No other
|
||||
# queue types can have `max_concurrent_tasks` set to -1.
|
||||
# This field has the same meaning as
|
||||
# [max_concurrent_requests in queue.yaml/xml](https://cloud.google.com/appengine/
|
||||
# docs/standard/python/config/queueref#max_concurrent_requests).
|
||||
# [max_concurrent_requests in
|
||||
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
||||
# queueref#max_concurrent_requests).
|
||||
# Corresponds to the JSON property `maxConcurrentTasks`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_concurrent_tasks
|
||||
|
@ -1204,8 +1227,9 @@ module Google
|
|||
# `max_tasks_dispatched_per_second` limit, a maximum of 10 QPS of
|
||||
# LeaseTasks requests are allowed per pull queue.
|
||||
# This field has the same meaning as
|
||||
# [rate in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/
|
||||
# python/config/queueref#rate).
|
||||
# [rate in
|
||||
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
||||
# queueref#rate).
|
||||
# Corresponds to the JSON property `maxTasksDispatchedPerSecond`
|
||||
# @return [Float]
|
||||
attr_accessor :max_tasks_dispatched_per_second
|
||||
|
@ -1307,8 +1331,9 @@ module Google
|
|||
# This field is output only for pull queues.
|
||||
# `max_backoff` will be truncated to the nearest second.
|
||||
# This field has the same meaning as
|
||||
# [max_backoff_seconds in queue.yaml/xml](https://cloud.google.com/appengine/
|
||||
# docs/standard/python/config/queueref#retry_parameters).
|
||||
# [max_backoff_seconds in
|
||||
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
||||
# queueref#retry_parameters).
|
||||
# Corresponds to the JSON property `maxBackoff`
|
||||
# @return [String]
|
||||
attr_accessor :max_backoff
|
||||
|
@ -1333,8 +1358,9 @@ module Google
|
|||
# default.
|
||||
# This field is output only for pull queues.
|
||||
# This field has the same meaning as
|
||||
# [max_doublings in queue.yaml/xml](https://cloud.google.com/appengine/docs/
|
||||
# standard/python/config/queueref#retry_parameters).
|
||||
# [max_doublings in
|
||||
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
||||
# queueref#retry_parameters).
|
||||
# Corresponds to the JSON property `maxDoublings`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_doublings
|
||||
|
@ -1351,8 +1377,9 @@ module Google
|
|||
# This field is output only for pull queues.
|
||||
# `max_retry_duration` will be truncated to the nearest second.
|
||||
# This field has the same meaning as
|
||||
# [task_age_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/
|
||||
# standard/python/config/queueref#retry_parameters).
|
||||
# [task_age_limit in
|
||||
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
||||
# queueref#retry_parameters).
|
||||
# Corresponds to the JSON property `maxRetryDuration`
|
||||
# @return [String]
|
||||
attr_accessor :max_retry_duration
|
||||
|
@ -1367,8 +1394,9 @@ module Google
|
|||
# This field is output only for pull queues.
|
||||
# `min_backoff` will be truncated to the nearest second.
|
||||
# This field has the same meaning as
|
||||
# [min_backoff_seconds in queue.yaml/xml](https://cloud.google.com/appengine/
|
||||
# docs/standard/python/config/queueref#retry_parameters).
|
||||
# [min_backoff_seconds in
|
||||
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
||||
# queueref#retry_parameters).
|
||||
# Corresponds to the JSON property `minBackoff`
|
||||
# @return [String]
|
||||
attr_accessor :min_backoff
|
||||
|
@ -1478,14 +1506,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# The `Status` message contains three pieces of data: error code, error
|
||||
# message, and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
|
@ -1567,11 +1595,12 @@ module Google
|
|||
# `https://www.googleapis.com/auth/cloud-platform`
|
||||
# The task will be delivered to the App Engine app which belongs to the same
|
||||
# project as the queue. For more information, see
|
||||
# [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/
|
||||
# python/how-requests-are-routed)
|
||||
# [How Requests are
|
||||
# Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
||||
# are-routed)
|
||||
# and how routing is affected by
|
||||
# [dispatch files](https://cloud.google.com/appengine/docs/python/config/
|
||||
# dispatchref).
|
||||
# [dispatch
|
||||
# files](https://cloud.google.com/appengine/docs/python/config/dispatchref).
|
||||
# Traffic is encrypted during transport and never leaves Google datacenters.
|
||||
# Because this traffic is carried over a communication mechanism internal to
|
||||
# Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS).
|
||||
|
@ -1589,12 +1618,13 @@ module Google
|
|||
# relative_url
|
||||
# Tasks can be dispatched to secure app handlers, unsecure app handlers, and
|
||||
# URIs restricted with
|
||||
# [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref).
|
||||
# [`login:
|
||||
# admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).
|
||||
# Because tasks are not run as any user, they cannot be dispatched to URIs
|
||||
# restricted with
|
||||
# [`login: required`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref)
|
||||
# [`login:
|
||||
# required`](https://cloud.google.com/appengine/docs/standard/python/config/
|
||||
# appref)
|
||||
# Task dispatches also do not follow redirects.
|
||||
# The task attempt has succeeded if the app's request handler returns
|
||||
# an HTTP response code in the range [`200` - `299`]. `503` is
|
||||
|
@ -1620,8 +1650,9 @@ module Google
|
|||
# * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
||||
# hyphens (-), colons (:), or periods (.).
|
||||
# For more information, see
|
||||
# [Identifying projects](https://cloud.google.com/resource-manager/docs/
|
||||
# creating-managing-projects#identifying_projects)
|
||||
# [Identifying
|
||||
# projects](https://cloud.google.com/resource-manager/docs/creating-managing-
|
||||
# projects#identifying_projects)
|
||||
# * `LOCATION_ID` is the canonical ID for the task's location.
|
||||
# The list of available locations can be obtained by calling
|
||||
# ListLocations.
|
||||
|
|
|
@ -360,8 +360,9 @@ module Google
|
|||
# * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
||||
# hyphens (-), colons (:), or periods (.).
|
||||
# For more information, see
|
||||
# [Identifying projects](https://cloud.google.com/resource-manager/docs/
|
||||
# creating-managing-projects#identifying_projects)
|
||||
# [Identifying
|
||||
# projects](https://cloud.google.com/resource-manager/docs/creating-managing-
|
||||
# projects#identifying_projects)
|
||||
# * `LOCATION_ID` is the canonical ID for the queue's location.
|
||||
# The list of available locations can be obtained by calling
|
||||
# ListLocations.
|
||||
|
|
Loading…
Reference in New Issue