lib/google/cloud/tasks/v2beta3/cloud_tasks_client.rb in google-cloud-tasks-0.7.1 vs lib/google/cloud/tasks/v2beta3/cloud_tasks_client.rb in google-cloud-tasks-1.0.0
- old
+ new
@@ -391,11 +391,12 @@
# @param filter [String]
# `filter` can be used to specify a subset of queues. Any {Google::Cloud::Tasks::V2beta3::Queue Queue}
# field can be used as a filter and several operators as supported.
# For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
# described in
- # [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
+ # [Stackdriver's Advanced Logs
+ # Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
#
# Sample filter "state: PAUSED".
#
# Note that using filters might cause fewer queues than the
# requested page_size to be returned.
@@ -491,12 +492,13 @@
# it was dispatched or not.
#
# WARNING: Using this method may have unintended side effects if you are
# using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
# Read
- # [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml)
- # before using this method.
+ # [Overview of Queue Management and
+ # queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ # this method.
#
# @param parent [String]
# Required.
#
# The location name in which the queue will be created.
@@ -554,12 +556,13 @@
# it was dispatched or not.
#
# WARNING: Using this method may have unintended side effects if you are
# using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
# Read
- # [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml)
- # before using this method.
+ # [Overview of Queue Management and
+ # queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ # this method.
#
# @param queue [Google::Cloud::Tasks::V2beta3::Queue | Hash]
# Required.
#
# The queue to create or update.
@@ -615,12 +618,13 @@
# for 7 days.
#
# WARNING: Using this method may have unintended side effects if you are
# using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
# Read
- # [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml)
- # before using this method.
+ # [Overview of Queue Management and
+ # queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ # this method.
#
# @param name [String]
# Required.
#
# The queue name. For example:
@@ -737,11 +741,12 @@
# will be set to {Google::Cloud::Tasks::V2beta3::Queue::State::RUNNING RUNNING}.
#
# WARNING: Resuming many high-QPS queues at the same time can
# lead to target overloading. If you are resuming high-QPS
# queues, follow the 500/50/5 pattern described in
- # [Managing Cloud Tasks Scaling Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
+ # [Managing Cloud Tasks Scaling
+ # Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
#
# @param name [String]
# Required.
#
# The queue name. For example:
@@ -782,12 +787,11 @@
#
# * `cloudtasks.queues.getIamPolicy`
#
# @param resource [String]
# REQUIRED: The resource for which the policy is being requested.
- # `resource` is usually specified as a path. For example, a Project
- # resource is specified as `projects/{project}`.
+ # See the operation documentation for the appropriate value for this field.
# @param options [Google::Gax::CallOptions]
# Overrides the default settings for this call, e.g, timeout,
# retries, etc.
# @yield [result, operation] Access the result along with the RPC operation
# @yieldparam result [Google::Iam::V1::Policy]
@@ -824,12 +828,11 @@
#
# * `cloudtasks.queues.setIamPolicy`
#
# @param resource [String]
# REQUIRED: The resource for which the policy is being specified.
- # `resource` is usually specified as a path. For example, a Project
- # resource is specified as `projects/{project}`.
+ # See the operation documentation for the appropriate value for this field.
# @param policy [Google::Iam::V1::Policy | Hash]
# REQUIRED: The complete policy to be applied to the `resource`. The size of
# the policy is limited to a few 10s of KB. An empty policy is a
# valid policy but certain Cloud Platform services (such as Projects)
# might reject them.
@@ -874,12 +877,11 @@
# UIs and command-line tools, not for authorization checking. This operation
# may "fail open" without warning.
#
# @param resource [String]
# REQUIRED: The resource for which the policy detail is being requested.
- # `resource` is usually specified as a path. For example, a Project
- # resource is specified as `projects/{project}`.
+ # See the operation documentation for the appropriate value for this field.
# @param permissions [Array<String>]
# The set of permissions to check for the `resource`. Permissions with
# wildcards (such as '*' or 'storage.*') are not allowed. For more
# information see
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
@@ -1044,11 +1046,10 @@
# Creates a task and adds it to a queue.
#
# Tasks cannot be updated after creation; there is no UpdateTask command.
#
- # * For {Google::Cloud::Tasks::V2beta3::AppEngineHttpQueue App Engine queues}, the maximum task size is
- # 100KB.
+ # * The maximum task size is 100KB.
#
# @param parent [String]
# Required.
#
# The queue name. For example: