Autogenerated update (2018-01-14)
Update: - cloudtasks_v2beta2
This commit is contained in:
		
							parent
							
								
									1d4bc85829
								
							
						
					
					
						commit
						794b2e4b24
					
				| 
						 | 
					@ -26,7 +26,7 @@ module Google
 | 
				
			||||||
    # @see https://cloud.google.com/cloud-tasks/
 | 
					    # @see https://cloud.google.com/cloud-tasks/
 | 
				
			||||||
    module CloudtasksV2beta2
 | 
					    module CloudtasksV2beta2
 | 
				
			||||||
      VERSION = 'V2beta2'
 | 
					      VERSION = 'V2beta2'
 | 
				
			||||||
      REVISION = '20180104'
 | 
					      REVISION = '20180113'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # View and manage your data across Google Cloud Platform services
 | 
					      # View and manage your data across Google Cloud Platform services
 | 
				
			||||||
      AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
 | 
					      AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -551,7 +551,7 @@ module Google
 | 
				
			||||||
        end
 | 
					        end
 | 
				
			||||||
      end
 | 
					      end
 | 
				
			||||||
      
 | 
					      
 | 
				
			||||||
      # Request message for pulling tasks using CloudTasks.LeaseTasks.
 | 
					      # Request message for leasing tasks using CloudTasks.LeaseTasks.
 | 
				
			||||||
      class LeaseTasksRequest
 | 
					      class LeaseTasksRequest
 | 
				
			||||||
        include Google::Apis::Core::Hashable
 | 
					        include Google::Apis::Core::Hashable
 | 
				
			||||||
      
 | 
					      
 | 
				
			||||||
| 
						 | 
					@ -964,7 +964,7 @@ module Google
 | 
				
			||||||
        # python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue)
 | 
					        # python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue)
 | 
				
			||||||
        # .
 | 
					        # .
 | 
				
			||||||
        # Purge time will be truncated to the nearest microsecond. Purge
 | 
					        # Purge time will be truncated to the nearest microsecond. Purge
 | 
				
			||||||
        # time will be zero if the queue has never been purged.
 | 
					        # time will be unset if the queue has never been purged.
 | 
				
			||||||
        # Corresponds to the JSON property `purgeTime`
 | 
					        # Corresponds to the JSON property `purgeTime`
 | 
				
			||||||
        # @return [String]
 | 
					        # @return [String]
 | 
				
			||||||
        attr_accessor :purge_time
 | 
					        attr_accessor :purge_time
 | 
				
			||||||
| 
						 | 
					@ -985,7 +985,7 @@ module Google
 | 
				
			||||||
        # Output only. The state of the queue.
 | 
					        # Output only. The state of the queue.
 | 
				
			||||||
        # `state` can only be changed by called
 | 
					        # `state` can only be changed by called
 | 
				
			||||||
        # CloudTasks.PauseQueue, CloudTasks.ResumeQueue, or uploading
 | 
					        # CloudTasks.PauseQueue, CloudTasks.ResumeQueue, or uploading
 | 
				
			||||||
        # [queue.yaml](/appengine/docs/python/config/queueref).
 | 
					        # [queue.yaml/xml](/appengine/docs/python/config/queueref).
 | 
				
			||||||
        # CloudTasks.UpdateQueue cannot be used to change `state`.
 | 
					        # CloudTasks.UpdateQueue cannot be used to change `state`.
 | 
				
			||||||
        # Corresponds to the JSON property `state`
 | 
					        # Corresponds to the JSON property `state`
 | 
				
			||||||
        # @return [String]
 | 
					        # @return [String]
 | 
				
			||||||
| 
						 | 
					@ -1014,23 +1014,23 @@ module Google
 | 
				
			||||||
        include Google::Apis::Core::Hashable
 | 
					        include Google::Apis::Core::Hashable
 | 
				
			||||||
      
 | 
					      
 | 
				
			||||||
        # Output only. The max burst size.
 | 
					        # Output only. The max burst size.
 | 
				
			||||||
        # Max burst size limits how fast the queue is processed when many
 | 
					        # Max burst size limits how fast tasks in queue are processed when
 | 
				
			||||||
        # tasks are in the queue and the rate is high. This field allows
 | 
					        # many tasks are in the queue and the rate is high. This field
 | 
				
			||||||
        # the queue to have a high rate so processing starts shortly after
 | 
					        # allows the queue to have a high rate so processing starts shortly
 | 
				
			||||||
        # a task is enqueued, but still limits resource usage when many
 | 
					        # after a task is enqueued, but still limits resource usage when
 | 
				
			||||||
        # tasks are enqueued in a short period of time.
 | 
					        # many tasks are enqueued in a short period of time.
 | 
				
			||||||
        # * For App Engine queues, if
 | 
					        # The [token bucket](https://wikipedia.org/wiki/Token_Bucket)
 | 
				
			||||||
        # RateLimits.max_tasks_dispatched_per_second is 1, this
 | 
					        # algorithm is used to control the rate of task dispatches. Each
 | 
				
			||||||
        # field is 10; otherwise this field is
 | 
					        # queue has a token bucket that holds tokens, up to the maximum
 | 
				
			||||||
        # RateLimits.max_tasks_dispatched_per_second / 5.
 | 
					        # specified by `max_burst_size`. Each time a task is dispatched, a
 | 
				
			||||||
        # * For pull queues, this field is output only and always 10,000.
 | 
					        # token is removed from the bucket. Tasks will be dispatched until
 | 
				
			||||||
        # Note: For App Engine queues that were created through
 | 
					        # the queue's bucket runs out of tokens. The bucket will be
 | 
				
			||||||
        # `queue.yaml/xml`, `max_burst_size` might not have the same
 | 
					        # continuously refilled with new tokens based on
 | 
				
			||||||
        # settings as specified above; CloudTasks.UpdateQueue can be
 | 
					        # RateLimits.max_tasks_dispatched_per_second.
 | 
				
			||||||
        # used to set `max_burst_size` only to the values specified above.
 | 
					        # Cloud Tasks will pick the value of `max_burst_size` when the
 | 
				
			||||||
        # This field has the same meaning as
 | 
					        # queue is created. For App Engine queues that were created or
 | 
				
			||||||
        # [bucket_size in queue.yaml](/appengine/docs/standard/python/config/queueref#
 | 
					        # updated using `queue.yaml/xml`, `max_burst_size` is equal to
 | 
				
			||||||
        # bucket_size).
 | 
					        # [bucket_size](/appengine/docs/standard/python/config/queueref#bucket_size).
 | 
				
			||||||
        # Corresponds to the JSON property `maxBurstSize`
 | 
					        # Corresponds to the JSON property `maxBurstSize`
 | 
				
			||||||
        # @return [Fixnum]
 | 
					        # @return [Fixnum]
 | 
				
			||||||
        attr_accessor :max_burst_size
 | 
					        attr_accessor :max_burst_size
 | 
				
			||||||
| 
						 | 
					@ -1040,25 +1040,27 @@ module Google
 | 
				
			||||||
        # reached, Cloud Tasks stops dispatching tasks until the number of
 | 
					        # reached, Cloud Tasks stops dispatching tasks until the number of
 | 
				
			||||||
        # concurrent requests decreases.
 | 
					        # concurrent requests decreases.
 | 
				
			||||||
        # The maximum allowed value is 5,000.
 | 
					        # The maximum allowed value is 5,000.
 | 
				
			||||||
        # * For App Engine queues, this field is 10 by default.
 | 
					        # If unspecified when the queue is created, Cloud Tasks will pick the
 | 
				
			||||||
        # * For pull queues, this field is output only and always -1, which
 | 
					        # default.
 | 
				
			||||||
        # indicates no limit.
 | 
					        # This field is output only for
 | 
				
			||||||
 | 
					        # [pull queues](google.cloud.tasks.v2beta2.PullTarget).
 | 
				
			||||||
        # This field has the same meaning as
 | 
					        # This field has the same meaning as
 | 
				
			||||||
        # [max_concurrent_requests in queue.yaml](/appengine/docs/standard/python/config/
 | 
					        # [max_concurrent_requests in queue.yaml/xml](/appengine/docs/standard/python/
 | 
				
			||||||
        # queueref#max_concurrent_requests).
 | 
					        # config/queueref#max_concurrent_requests).
 | 
				
			||||||
        # Corresponds to the JSON property `maxConcurrentTasks`
 | 
					        # Corresponds to the JSON property `maxConcurrentTasks`
 | 
				
			||||||
        # @return [Fixnum]
 | 
					        # @return [Fixnum]
 | 
				
			||||||
        attr_accessor :max_concurrent_tasks
 | 
					        attr_accessor :max_concurrent_tasks
 | 
				
			||||||
      
 | 
					      
 | 
				
			||||||
        # The maximum rate at which tasks are dispatched from this
 | 
					        # The maximum rate at which tasks are dispatched from this queue.
 | 
				
			||||||
        # queue.
 | 
					 | 
				
			||||||
        # The maximum allowed value is 500.
 | 
					        # The maximum allowed value is 500.
 | 
				
			||||||
        # * For App Engine queues, this field is 1 by default.
 | 
					        # If unspecified when the queue is created, Cloud Tasks will pick the
 | 
				
			||||||
        # * For pull queues, this field is output only and always 10,000.
 | 
					        # default.
 | 
				
			||||||
 | 
					        # This field is output only for
 | 
				
			||||||
 | 
					        # [pull queues](google.cloud.tasks.v2beta2.PullTarget).
 | 
				
			||||||
        # In addition to the `max_tasks_dispatched_per_second` limit, a maximum of
 | 
					        # In addition to the `max_tasks_dispatched_per_second` limit, a maximum of
 | 
				
			||||||
        # 10 QPS of CloudTasks.LeaseTasks requests are allowed per queue.
 | 
					        # 10 QPS of CloudTasks.LeaseTasks requests are allowed per pull queue.
 | 
				
			||||||
        # This field has the same meaning as
 | 
					        # This field has the same meaning as
 | 
				
			||||||
        # [rate in queue.yaml](/appengine/docs/standard/python/config/queueref#rate).
 | 
					        # [rate in queue.yaml/xml](/appengine/docs/standard/python/config/queueref#rate).
 | 
				
			||||||
        # Corresponds to the JSON property `maxTasksDispatchedPerSecond`
 | 
					        # Corresponds to the JSON property `maxTasksDispatchedPerSecond`
 | 
				
			||||||
        # @return [Float]
 | 
					        # @return [Float]
 | 
				
			||||||
        attr_accessor :max_tasks_dispatched_per_second
 | 
					        attr_accessor :max_tasks_dispatched_per_second
 | 
				
			||||||
| 
						 | 
					@ -1148,15 +1150,16 @@ module Google
 | 
				
			||||||
        # @return [Fixnum]
 | 
					        # @return [Fixnum]
 | 
				
			||||||
        attr_accessor :max_attempts
 | 
					        attr_accessor :max_attempts
 | 
				
			||||||
      
 | 
					      
 | 
				
			||||||
        # The maximum amount of time to wait before retrying a task after
 | 
					        # A task will be scheduled for retry between RetryConfig.min_backoff and
 | 
				
			||||||
        # it fails. The default is 1 hour.
 | 
					        # RetryConfig.max_backoff duration after it fails, if the queue's
 | 
				
			||||||
        # * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget),
 | 
					        # RetryConfig specifies that the task should be retried.
 | 
				
			||||||
        # this field is 1 hour by default.
 | 
					        # If unspecified when the queue is created, Cloud Tasks will pick the
 | 
				
			||||||
        # * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this field
 | 
					        # default.
 | 
				
			||||||
        # is output only and always 0.
 | 
					        # This field is output only for
 | 
				
			||||||
 | 
					        # [pull queues](google.cloud.tasks.v2beta2.PullTarget).
 | 
				
			||||||
        # `max_backoff` will be truncated to the nearest second.
 | 
					        # `max_backoff` will be truncated to the nearest second.
 | 
				
			||||||
        # This field has the same meaning as
 | 
					        # This field has the same meaning as
 | 
				
			||||||
        # [max_backoff_seconds in queue.yaml](/appengine/docs/standard/python/config/
 | 
					        # [max_backoff_seconds in queue.yaml/xml](/appengine/docs/standard/python/config/
 | 
				
			||||||
        # queueref#retry_parameters).
 | 
					        # queueref#retry_parameters).
 | 
				
			||||||
        # Corresponds to the JSON property `maxBackoff`
 | 
					        # Corresponds to the JSON property `maxBackoff`
 | 
				
			||||||
        # @return [String]
 | 
					        # @return [String]
 | 
				
			||||||
| 
						 | 
					@ -1175,13 +1178,13 @@ module Google
 | 
				
			||||||
        # RetryConfig.max_backoff until the task has been attempted
 | 
					        # RetryConfig.max_backoff until the task has been attempted
 | 
				
			||||||
        # `max_attempts` times. Thus, the requests will retry at 10s, 20s,
 | 
					        # `max_attempts` times. Thus, the requests will retry at 10s, 20s,
 | 
				
			||||||
        # 40s, 80s, 160s, 240s, 300s, 300s, ....
 | 
					        # 40s, 80s, 160s, 240s, 300s, 300s, ....
 | 
				
			||||||
        # * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget),
 | 
					        # If unspecified when the queue is created, Cloud Tasks will pick the
 | 
				
			||||||
        # this field is 16 by default.
 | 
					        # default.
 | 
				
			||||||
        # * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this field
 | 
					        # This field is output only for
 | 
				
			||||||
        # is output only and always 0.
 | 
					        # [pull queues](google.cloud.tasks.v2beta2.PullTarget).
 | 
				
			||||||
        # This field has the same meaning as
 | 
					        # This field has the same meaning as
 | 
				
			||||||
        # [max_doublings in queue.yaml](/appengine/docs/standard/python/config/queueref#
 | 
					        # [max_doublings in queue.yaml/xml](/appengine/docs/standard/python/config/
 | 
				
			||||||
        # retry_parameters).
 | 
					        # queueref#retry_parameters).
 | 
				
			||||||
        # Corresponds to the JSON property `maxDoublings`
 | 
					        # Corresponds to the JSON property `maxDoublings`
 | 
				
			||||||
        # @return [Fixnum]
 | 
					        # @return [Fixnum]
 | 
				
			||||||
        attr_accessor :max_doublings
 | 
					        attr_accessor :max_doublings
 | 
				
			||||||
| 
						 | 
					@ -1192,27 +1195,28 @@ module Google
 | 
				
			||||||
        # RetryConfig.max_attempts times, no further attempts will be made and
 | 
					        # RetryConfig.max_attempts times, no further attempts will be made and
 | 
				
			||||||
        # the task will be deleted.
 | 
					        # the task will be deleted.
 | 
				
			||||||
        # If zero, then the task age is unlimited.
 | 
					        # If zero, then the task age is unlimited.
 | 
				
			||||||
        # * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget),
 | 
					        # If unspecified when the queue is created, Cloud Tasks will pick the
 | 
				
			||||||
        # this field is 0 seconds by default.
 | 
					        # default.
 | 
				
			||||||
        # * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this
 | 
					        # This field is output only for
 | 
				
			||||||
        # field is output only and always 0.
 | 
					        # [pull queues](google.cloud.tasks.v2beta2.PullTarget).
 | 
				
			||||||
        # `max_retry_duration` will be truncated to the nearest second.
 | 
					        # `max_retry_duration` will be truncated to the nearest second.
 | 
				
			||||||
        # This field has the same meaning as
 | 
					        # This field has the same meaning as
 | 
				
			||||||
        # [task_age_limit in queue.yaml](/appengine/docs/standard/python/config/queueref#
 | 
					        # [task_age_limit in queue.yaml/xml](/appengine/docs/standard/python/config/
 | 
				
			||||||
        # retry_parameters).
 | 
					        # queueref#retry_parameters).
 | 
				
			||||||
        # Corresponds to the JSON property `maxRetryDuration`
 | 
					        # Corresponds to the JSON property `maxRetryDuration`
 | 
				
			||||||
        # @return [String]
 | 
					        # @return [String]
 | 
				
			||||||
        attr_accessor :max_retry_duration
 | 
					        attr_accessor :max_retry_duration
 | 
				
			||||||
      
 | 
					      
 | 
				
			||||||
        # The minimum amount of time to wait before retrying a task after
 | 
					        # A task will be scheduled for retry between RetryConfig.min_backoff and
 | 
				
			||||||
        # it fails.
 | 
					        # RetryConfig.max_backoff duration after it fails, if the queue's
 | 
				
			||||||
        # * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget),
 | 
					        # RetryConfig specifies that the task should be retried.
 | 
				
			||||||
        # this field is 0.1 seconds by default.
 | 
					        # If unspecified when the queue is created, Cloud Tasks will pick the
 | 
				
			||||||
        # * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this
 | 
					        # default.
 | 
				
			||||||
        # field is output only and always 0.
 | 
					        # This field is output only for
 | 
				
			||||||
 | 
					        # [pull queues](google.cloud.tasks.v2beta2.PullTarget).
 | 
				
			||||||
        # `min_backoff` will be truncated to the nearest second.
 | 
					        # `min_backoff` will be truncated to the nearest second.
 | 
				
			||||||
        # This field has the same meaning as
 | 
					        # This field has the same meaning as
 | 
				
			||||||
        # [min_backoff_seconds in queue.yaml](/appengine/docs/standard/python/config/
 | 
					        # [min_backoff_seconds in queue.yaml/xml](/appengine/docs/standard/python/config/
 | 
				
			||||||
        # queueref#retry_parameters).
 | 
					        # queueref#retry_parameters).
 | 
				
			||||||
        # Corresponds to the JSON property `minBackoff`
 | 
					        # Corresponds to the JSON property `minBackoff`
 | 
				
			||||||
        # @return [String]
 | 
					        # @return [String]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue