Autogenerated update (2019-08-24)

Update:
- alertcenter_v1beta1
- cloudtasks_v2beta2
- cloudtasks_v2beta3
- containeranalysis_v1alpha1
- containeranalysis_v1beta1
- dialogflow_v2
- dialogflow_v2beta1
- jobs_v3
- jobs_v3p1beta1
- people_v1
- toolresults_v1beta3
- translate_v3beta1
This commit is contained in:
Google APIs committed 2019-08-24 00:37:50 +00:00
1 parent 8f7374dc00
commit 46bdba97bf
32 files changed
+820 -425

No files matched your search

@@ -27,8 +27,7 @@ module Google
class AcknowledgeTaskRequest
include Google::Apis::Core::Hashable
# Required.
# The task's current schedule time, available in the
# Required. The task's current schedule time, available in the
# schedule_time returned by
# LeaseTasks response or
# RenewLease response. This restriction is
@@ -456,7 +455,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` .
# account. For example, `alice@example.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
@@ -504,8 +503,7 @@ module Google
# @return [String]
attr_accessor :response_view
# Required.
# The task's current schedule time, available in the
# Required. The task's current schedule time, available in the
# schedule_time returned by
# LeaseTasks response or
# RenewLease response. This restriction is
@@ -629,12 +627,40 @@ module Google
class GetIamPolicyRequest
include Google::Apis::Core::Hashable
# Encapsulates settings provided to GetIamPolicy.
# Corresponds to the JSON property `options`
# @return [Google::Apis::CloudtasksV2beta2::GetPolicyOptions]
attr_accessor :options
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@options = args[:options] if args.key?(:options)
end
end
# Encapsulates settings provided to GetIamPolicy.
class GetPolicyOptions
include Google::Apis::Core::Hashable
# Optional. The policy format version to be returned.
# Acceptable values are 0, 1, and 3.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# Corresponds to the JSON property `requestedPolicyVersion`
# @return [Fixnum]
attr_accessor :requested_policy_version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
end
end
@@ -668,8 +694,7 @@ module Google
# @return [String]
attr_accessor :filter
# Required.
# The duration of the lease.
# Required. The duration of the lease.
# Each task returned in the response will
# have its schedule_time set to the current
# time plus the `lease_duration`. The task is leased until its
@@ -943,7 +968,7 @@ module Google
# systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten blindly.
# policy is overwritten.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
@@ -1230,8 +1255,7 @@ module Google
class RenewLeaseRequest
include Google::Apis::Core::Hashable
# Required.
# The desired new lease duration, starting from now.
# Required. The desired new lease duration, starting from now.
# The maximum lease duration is 1 week.
# `lease_duration` will be truncated to the nearest second.
# Corresponds to the JSON property `leaseDuration`
@@ -1252,8 +1276,7 @@ module Google
# @return [String]
attr_accessor :response_view
# Required.
# The task's current schedule time, available in the
# Required. The task's current schedule time, available in the
# schedule_time returned by
# LeaseTasks response or
# RenewLease response. This restriction is
@@ -88,6 +88,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GetPolicyOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LeaseTasksRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -320,6 +326,15 @@ module Google
class GetIamPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :options, as: 'options', class: Google::Apis::CloudtasksV2beta2::GetPolicyOptions, decorator: Google::Apis::CloudtasksV2beta2::GetPolicyOptions::Representation
end
end
class GetPolicyOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :requested_policy_version, as: 'requestedPolicyVersion'
end
end
@@ -128,8 +128,7 @@ module Google
# queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
# this method.
# @param [String] parent
# Required.
# The location name in which the queue will be created.
# Required. The location name in which the queue will be created.
# For example: `projects/PROJECT_ID/locations/LOCATION_ID`
# The list of allowed locations can be obtained by calling Cloud
# Tasks' implementation of
@@ -175,8 +174,7 @@ module Google
# queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
# this method.
# @param [String] name
# Required.
# The queue name. For example:
# Required. The queue name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -207,8 +205,7 @@ module Google
# Gets a queue.
# @param [String] name
# Required.
# The resource name of the queue. For example:
# Required. The resource name of the queue. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -280,8 +277,7 @@ module Google
# Lists queues.
# Queues are returned in lexicographical order.
# @param [String] parent
# Required.
# The location name.
# Required. The location name.
# For example: `projects/PROJECT_ID/locations/LOCATION_ID`
# @param [String] filter
# `filter` can be used to specify a subset of queues. Any Queue
@@ -410,8 +406,7 @@ module Google
# when the queue is paused. A queue is paused if its
# state is PAUSED.
# @param [String] name
# Required.
# The queue name. For example:
# Required. The queue name. For example:
# `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
# @param [Google::Apis::CloudtasksV2beta2::PauseQueueRequest] pause_queue_request_object
# @param [String] fields
@@ -448,8 +443,7 @@ module Google
# Purge operations can take up to one minute to take effect. Tasks
# might be dispatched before the purge takes effect. A purge is irreversible.
# @param [String] name
# Required.
# The queue name. For example:
# Required. The queue name. For example:
# `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
# @param [Google::Apis::CloudtasksV2beta2::PurgeQueueRequest] purge_queue_request_object
# @param [String] fields
@@ -493,8 +487,7 @@ module Google
# [Managing Cloud Tasks Scaling
# Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
# @param [String] name
# Required.
# The queue name. For example:
# Required. The queue name. For example:
# `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
# @param [Google::Apis::CloudtasksV2beta2::ResumeQueueRequest] resume_queue_request_object
# @param [String] fields
@@ -618,8 +611,7 @@ module Google
# GetTask, or
# ListTasks.
# @param [String] name
# Required.
# The task name. For example:
# Required. The task name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
# @param [Google::Apis::CloudtasksV2beta2::AcknowledgeTaskRequest] acknowledge_task_request_object
# @param [String] fields
@@ -657,8 +649,7 @@ module Google
# make the task available to be leased to the next caller of
# LeaseTasks.
# @param [String] name
# Required.
# The task name. For example:
# Required. The task name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
# @param [Google::Apis::CloudtasksV2beta2::CancelLeaseRequest] cancel_lease_request_object
# @param [String] fields
@@ -696,8 +687,7 @@ module Google
# 100KB.
# * For pull queues, the maximum task size is 1MB.
# @param [String] parent
# Required.
# The queue name. For example:
# Required. The queue name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
# The queue must already exist.
# @param [Google::Apis::CloudtasksV2beta2::CreateTaskRequest] create_task_request_object
@@ -735,8 +725,7 @@ module Google
# cannot be deleted if it has completed successfully or permanently
# failed.
# @param [String] name
# Required.
# The task name. For example:
# Required. The task name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -767,8 +756,7 @@ module Google
# Gets a task.
# @param [String] name
# Required.
# The task name. For example:
# Required. The task name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
# @param [String] response_view
# The response_view specifies which subset of the Task will be
@@ -829,8 +817,7 @@ module Google
# max_tasks_dispatched_per_second
# is exceeded.
# @param [String] parent
# Required.
# The queue name. For example:
# Required. The queue name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
# @param [Google::Apis::CloudtasksV2beta2::LeaseTasksRequest] lease_tasks_request_object
# @param [String] fields
@@ -870,8 +857,7 @@ module Google
# The tasks may be returned in any order. The ordering may change at any
# time.
# @param [String] parent
# Required.
# The queue name. For example:
# Required. The queue name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
# @param [Fixnum] page_size
# Maximum page size.
@@ -934,8 +920,7 @@ module Google
# duration, starting from now. The new task lease will be
# returned in the task's schedule_time.
# @param [String] name
# Required.
# The task name. For example:
# Required. The task name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
# @param [Google::Apis::CloudtasksV2beta2::RenewLeaseRequest] renew_lease_request_object
# @param [String] fields
@@ -989,8 +974,7 @@ module Google
# RunTask cannot be called on a
# pull task.
# @param [String] name
# Required.
# The task name. For example:
# Required. The task name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
# @param [Google::Apis::CloudtasksV2beta2::RunTaskRequest] run_task_request_object
# @param [String] fields