- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
ancestors
Type: UNORDERED_LIST_STRING
app_engine_routing_override
Type: STRUCT
Provider name: appEngineRoutingOverride
Description: Overrides for task-level app_engine_routing. These settings apply only to App Engine tasks in this queue. Http tasks are not affected. If set, app_engine_routing_override
is used for all App Engine tasks in the queue, no matter what the setting is for the task-level app_engine_routing.
host
STRING
host
instance
STRING
instance
service
STRING
service
version
STRING
version
http_target
Type: STRUCT
Provider name: httpTarget
Description: Modifies HTTP target for HTTP tasks.
header_overrides
UNORDERED_LIST_STRUCT
headerOverrides
Content-Type
won’t be set by Cloud Tasks. You can explicitly set Content-Type
to a media type when the task is created. For example,Content-Type
can be set to "application/octet-stream"
or "application/json"
. The default value is set to “application/json”. * User-Agent: This will be set to
“Google-Cloud-Tasks”`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB. Queue-level headers to override headers of all the tasks in the queue. Do not put business sensitive or personally identifying data in the HTTP Header Override Configuration or other similar fields in accordance with Section 12 (Resource Fields) of the Service Specific Terms.header
STRUCT
header
key
STRING
key
value
STRING
value
http_method
STRING
httpMethod
HTTP_METHOD_UNSPECIFIED
- HTTP method unspecifiedPOST
- HTTP POSTGET
- HTTP GETHEAD
- HTTP HEADPUT
- HTTP PUTDELETE
- HTTP DELETEPATCH
- HTTP PATCHOPTIONS
- HTTP OPTIONSoauth_token
STRUCT
oauthToken
Authorization
header in the HTTP request. This type of authorization should generally be used only when calling Google APIs hosted on *.googleapis.com. Note that both the service account email and the scope MUST be specified when using the queue-level authorization override.scope
STRING
scope
service_account_email
STRING
serviceAccountEmail
oidc_token
STRUCT
oidcToken
Authorization
header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. Note that both the service account email and the audience MUST be specified when using the queue-level authorization override.audience
STRING
audience
service_account_email
STRING
serviceAccountEmail
uri_override
STRUCT
uriOverride
host
STRING
host
path_override
STRUCT
pathOverride
path
STRING
path
port
INT64
port
query_override
STRUCT
queryOverride
query_params
STRING
queryParams
scheme
STRING
scheme
SCHEME_UNSPECIFIED
- Scheme unspecified. Defaults to HTTPS.HTTP
- Convert the scheme to HTTP, e.g., https://www.google.ca will change to http://www.google.ca.HTTPS
- Convert the scheme to HTTPS, e.g., http://www.google.ca will change to https://www.google.ca.uri_override_enforce_mode
STRING
uriOverrideEnforceMode
URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED
- UriOverrideEnforceMode Unspecified. Defaults to ALWAYS.IF_NOT_EXISTS
- In the IF_NOT_EXISTS mode, queue-level configuration is only applied where task-level configuration does not exist.ALWAYS
- In the ALWAYS mode, queue-level configuration overrides all task-level configurationlabels
Type: UNORDERED_LIST_STRING
name
Type: STRING
Provider name: name
Description: Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID
* PROJECT_ID
can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see Identifying projects * LOCATION_ID
is the canonical ID for the queue’s location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * QUEUE_ID
can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters.
organization_id
Type: STRING
parent
Type: STRING
project_id
Type: STRING
project_number
Type: STRING
purge_time
Type: TIMESTAMP
Provider name: purgeTime
Description: Output only. The last time this queue was purged. 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. Purge time will be truncated to the nearest microsecond. Purge time will be unset if the queue has never been purged.
rate_limits
Type: STRUCT
Provider name: rateLimits
Description: Rate limits for task dispatches. rate_limits and retry_config are related because they both control task attempts. However they control task attempts in different ways: * rate_limits controls the total rate of dispatches from a queue (i.e. all traffic dispatched from the queue, regardless of whether the dispatch is from a first attempt or a retry). * retry_config controls what happens to particular a task after its first attempt fails. That is, retry_config controls task retries (the second attempt, third attempt, etc). The queue’s actual dispatch rate is the result of: * Number of tasks in the queue * User-specified throttling: rate_limits, retry_config, and the queue’s state. * System throttling due to 429
(Too Many Requests) or 503
(Service Unavailable) responses from the worker, high error rates, or to smooth sudden large traffic spikes.
max_burst_size
INT32
maxBurstSize
max_burst_size
. Each time a task is dispatched, a token is removed from the bucket. Tasks will be dispatched until the queue’s bucket runs out of tokens. The bucket will be continuously refilled with new tokens based on max_dispatches_per_second. Cloud Tasks will pick the value of max_burst_size
based on the value of max_dispatches_per_second. For queues that were created or updated using queue.yaml/xml
, max_burst_size
is equal to bucket_size. Since max_burst_size
is output only, if UpdateQueue is called on a queue created by queue.yaml/xml
, max_burst_size
will be reset based on the value of max_dispatches_per_second, regardless of whether max_dispatches_per_second is updated.max_concurrent_dispatches
INT32
maxConcurrentDispatches
max_dispatches_per_second
DOUBLE
maxDispatchesPerSecond
resource_name
Type: STRING
retry_config
Type: STRUCT
Provider name: retryConfig
Description: Settings that determine the retry behavior. * For tasks created using Cloud Tasks: the queue-level retry settings apply to all tasks in the queue that were created using Cloud Tasks. Retry settings cannot be set on individual tasks. * For tasks created using the App Engine SDK: the queue-level retry settings apply to all tasks in the queue which do not have retry settings explicitly set on the task and were created by the App Engine SDK. See App Engine documentation.
max_attempts
INT32
maxAttempts
max_attempts
times (that is, if the first attempt fails, then there will be max_attempts - 1
retries). Must be >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts. This field has the same meaning as task_retry_limit in queue.yaml/xml. Note: Cloud Tasks stops retrying only when max_attempts
and max_retry_duration
are both satisfied. When the task has been attempted max_attempts
times and when the max_retry_duration
time has passed, no further attempts are made, and the task is deleted. If you want your task to retry infinitely, you must set max_attempts
to -1 and max_retry_duration
to 0.max_backoff
STRING
maxBackoff
s
(for “seconds”). For more information on the format, see the documentation for Duration. max_backoff
will be truncated to the nearest second. This field has the same meaning as max_backoff_seconds in queue.yaml/xml.max_doublings
INT32
maxDoublings
max_doublings
times. A task’s retry interval starts at min_backoff, then doubles max_doublings
times, then increases linearly, and finally retries at intervals of max_backoff up to max_attempts times. For example, if min_backoff is 10s, max_backoff is 300s, and max_doublings
is 3, then the a task will first be retried in 10s. The retry interval will double three times, and then increase linearly by 2^3 * 10s. Finally, the task will retry at intervals of max_backoff until the task has been attempted max_attempts times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, …. If unspecified when the queue is created, Cloud Tasks will pick the default. This field has the same meaning as max_doublings in queue.yaml/xml.max_retry_duration
STRING
maxRetryDuration
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 max_attempts times, no further attempts will be made and the task will be deleted. If zero, then the task age is unlimited. If unspecified when the queue is created, Cloud Tasks will pick the default. The value must be given as a string that indicates the length of time (in seconds) followed by s
(for “seconds”). For the maximum possible value or the format, see the documentation for Duration. max_retry_duration
will be truncated to the nearest second. This field has the same meaning as task_age_limit in queue.yaml/xml.min_backoff
STRING
minBackoff
s
(for “seconds”). For more information on the format, see the documentation for Duration. min_backoff
will be truncated to the nearest second. This field has the same meaning as min_backoff_seconds in queue.yaml/xml.stackdriver_logging_config
Type: STRUCT
Provider name: stackdriverLoggingConfig
Description: Configuration options for writing logs to Stackdriver Logging. If this field is unset, then no logs are written.
sampling_ratio
DOUBLE
samplingRatio
state
Type: STRING
Provider name: state
Description: Output only. The state of the queue. state
can only be changed by calling PauseQueue, ResumeQueue, or uploading queue.yaml/xml. UpdateQueue cannot be used to change state
.
Possible values:
STATE_UNSPECIFIED
- Unspecified state.RUNNING
- The queue is running. Tasks can be dispatched. If the queue was created using Cloud Tasks and the queue has had no activity (method calls or task dispatches) for 30 days, the queue may take a few minutes to re-activate. Some method calls may return NOT_FOUND and tasks may not be dispatched for a few minutes until the queue has been re-activated.PAUSED
- Tasks are paused by the user. If the queue is paused then Cloud Tasks will stop delivering tasks from it, but more tasks can still be added to it by the user.DISABLED
- The queue is disabled. A queue becomes DISABLED
when queue.yaml or queue.xml is uploaded which does not contain the queue. You cannot directly disable a queue. When a queue is disabled, tasks can still be added to a queue but the tasks are not dispatched. To permanently delete this queue and all of its tasks, call DeleteQueue.tags
Type: UNORDERED_LIST_STRING