Documentation
¶
Index ¶
- Constants
- type AppEngineHttpRequest
- type AppEngineHttpRequestArgs
- func (AppEngineHttpRequestArgs) ElementType() reflect.Type
- func (i AppEngineHttpRequestArgs) ToAppEngineHttpRequestOutput() AppEngineHttpRequestOutput
- func (i AppEngineHttpRequestArgs) ToAppEngineHttpRequestOutputWithContext(ctx context.Context) AppEngineHttpRequestOutput
- func (i AppEngineHttpRequestArgs) ToAppEngineHttpRequestPtrOutput() AppEngineHttpRequestPtrOutput
- func (i AppEngineHttpRequestArgs) ToAppEngineHttpRequestPtrOutputWithContext(ctx context.Context) AppEngineHttpRequestPtrOutput
- type AppEngineHttpRequestHttpMethod
- func (AppEngineHttpRequestHttpMethod) ElementType() reflect.Type
- func (e AppEngineHttpRequestHttpMethod) ToAppEngineHttpRequestHttpMethodOutput() AppEngineHttpRequestHttpMethodOutput
- func (e AppEngineHttpRequestHttpMethod) ToAppEngineHttpRequestHttpMethodOutputWithContext(ctx context.Context) AppEngineHttpRequestHttpMethodOutput
- func (e AppEngineHttpRequestHttpMethod) ToAppEngineHttpRequestHttpMethodPtrOutput() AppEngineHttpRequestHttpMethodPtrOutput
- func (e AppEngineHttpRequestHttpMethod) ToAppEngineHttpRequestHttpMethodPtrOutputWithContext(ctx context.Context) AppEngineHttpRequestHttpMethodPtrOutput
- func (e AppEngineHttpRequestHttpMethod) ToStringOutput() pulumi.StringOutput
- func (e AppEngineHttpRequestHttpMethod) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e AppEngineHttpRequestHttpMethod) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e AppEngineHttpRequestHttpMethod) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AppEngineHttpRequestHttpMethodInput
- type AppEngineHttpRequestHttpMethodOutput
- func (AppEngineHttpRequestHttpMethodOutput) ElementType() reflect.Type
- func (o AppEngineHttpRequestHttpMethodOutput) ToAppEngineHttpRequestHttpMethodOutput() AppEngineHttpRequestHttpMethodOutput
- func (o AppEngineHttpRequestHttpMethodOutput) ToAppEngineHttpRequestHttpMethodOutputWithContext(ctx context.Context) AppEngineHttpRequestHttpMethodOutput
- func (o AppEngineHttpRequestHttpMethodOutput) ToAppEngineHttpRequestHttpMethodPtrOutput() AppEngineHttpRequestHttpMethodPtrOutput
- func (o AppEngineHttpRequestHttpMethodOutput) ToAppEngineHttpRequestHttpMethodPtrOutputWithContext(ctx context.Context) AppEngineHttpRequestHttpMethodPtrOutput
- func (o AppEngineHttpRequestHttpMethodOutput) ToStringOutput() pulumi.StringOutput
- func (o AppEngineHttpRequestHttpMethodOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o AppEngineHttpRequestHttpMethodOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o AppEngineHttpRequestHttpMethodOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AppEngineHttpRequestHttpMethodPtrInput
- type AppEngineHttpRequestHttpMethodPtrOutput
- func (o AppEngineHttpRequestHttpMethodPtrOutput) Elem() AppEngineHttpRequestHttpMethodOutput
- func (AppEngineHttpRequestHttpMethodPtrOutput) ElementType() reflect.Type
- func (o AppEngineHttpRequestHttpMethodPtrOutput) ToAppEngineHttpRequestHttpMethodPtrOutput() AppEngineHttpRequestHttpMethodPtrOutput
- func (o AppEngineHttpRequestHttpMethodPtrOutput) ToAppEngineHttpRequestHttpMethodPtrOutputWithContext(ctx context.Context) AppEngineHttpRequestHttpMethodPtrOutput
- func (o AppEngineHttpRequestHttpMethodPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o AppEngineHttpRequestHttpMethodPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AppEngineHttpRequestInput
- type AppEngineHttpRequestOutput
- func (o AppEngineHttpRequestOutput) AppEngineRouting() AppEngineRoutingPtrOutput
- func (AppEngineHttpRequestOutput) ElementType() reflect.Type
- func (o AppEngineHttpRequestOutput) Headers() pulumi.StringMapOutput
- func (o AppEngineHttpRequestOutput) HttpMethod() AppEngineHttpRequestHttpMethodPtrOutput
- func (o AppEngineHttpRequestOutput) Payload() pulumi.StringPtrOutput
- func (o AppEngineHttpRequestOutput) RelativeUrl() pulumi.StringPtrOutput
- func (o AppEngineHttpRequestOutput) ToAppEngineHttpRequestOutput() AppEngineHttpRequestOutput
- func (o AppEngineHttpRequestOutput) ToAppEngineHttpRequestOutputWithContext(ctx context.Context) AppEngineHttpRequestOutput
- func (o AppEngineHttpRequestOutput) ToAppEngineHttpRequestPtrOutput() AppEngineHttpRequestPtrOutput
- func (o AppEngineHttpRequestOutput) ToAppEngineHttpRequestPtrOutputWithContext(ctx context.Context) AppEngineHttpRequestPtrOutput
- type AppEngineHttpRequestPtrInput
- type AppEngineHttpRequestPtrOutput
- func (o AppEngineHttpRequestPtrOutput) AppEngineRouting() AppEngineRoutingPtrOutput
- func (o AppEngineHttpRequestPtrOutput) Elem() AppEngineHttpRequestOutput
- func (AppEngineHttpRequestPtrOutput) ElementType() reflect.Type
- func (o AppEngineHttpRequestPtrOutput) Headers() pulumi.StringMapOutput
- func (o AppEngineHttpRequestPtrOutput) HttpMethod() AppEngineHttpRequestHttpMethodPtrOutput
- func (o AppEngineHttpRequestPtrOutput) Payload() pulumi.StringPtrOutput
- func (o AppEngineHttpRequestPtrOutput) RelativeUrl() pulumi.StringPtrOutput
- func (o AppEngineHttpRequestPtrOutput) ToAppEngineHttpRequestPtrOutput() AppEngineHttpRequestPtrOutput
- func (o AppEngineHttpRequestPtrOutput) ToAppEngineHttpRequestPtrOutputWithContext(ctx context.Context) AppEngineHttpRequestPtrOutput
- type AppEngineHttpRequestResponse
- type AppEngineHttpRequestResponseOutput
- func (o AppEngineHttpRequestResponseOutput) AppEngineRouting() AppEngineRoutingResponseOutput
- func (AppEngineHttpRequestResponseOutput) ElementType() reflect.Type
- func (o AppEngineHttpRequestResponseOutput) Headers() pulumi.StringMapOutput
- func (o AppEngineHttpRequestResponseOutput) HttpMethod() pulumi.StringOutput
- func (o AppEngineHttpRequestResponseOutput) Payload() pulumi.StringOutput
- func (o AppEngineHttpRequestResponseOutput) RelativeUrl() pulumi.StringOutput
- func (o AppEngineHttpRequestResponseOutput) ToAppEngineHttpRequestResponseOutput() AppEngineHttpRequestResponseOutput
- func (o AppEngineHttpRequestResponseOutput) ToAppEngineHttpRequestResponseOutputWithContext(ctx context.Context) AppEngineHttpRequestResponseOutput
- type AppEngineHttpTarget
- type AppEngineHttpTargetArgs
- func (AppEngineHttpTargetArgs) ElementType() reflect.Type
- func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetOutput() AppEngineHttpTargetOutput
- func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetOutputWithContext(ctx context.Context) AppEngineHttpTargetOutput
- func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput
- func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetPtrOutput
- type AppEngineHttpTargetInput
- type AppEngineHttpTargetOutput
- func (o AppEngineHttpTargetOutput) AppEngineRoutingOverride() AppEngineRoutingPtrOutput
- func (AppEngineHttpTargetOutput) ElementType() reflect.Type
- func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetOutput() AppEngineHttpTargetOutput
- func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetOutputWithContext(ctx context.Context) AppEngineHttpTargetOutput
- func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput
- func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetPtrOutput
- type AppEngineHttpTargetPtrInput
- type AppEngineHttpTargetPtrOutput
- func (o AppEngineHttpTargetPtrOutput) AppEngineRoutingOverride() AppEngineRoutingPtrOutput
- func (o AppEngineHttpTargetPtrOutput) Elem() AppEngineHttpTargetOutput
- func (AppEngineHttpTargetPtrOutput) ElementType() reflect.Type
- func (o AppEngineHttpTargetPtrOutput) ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput
- func (o AppEngineHttpTargetPtrOutput) ToAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetPtrOutput
- type AppEngineHttpTargetResponse
- type AppEngineHttpTargetResponseOutput
- func (o AppEngineHttpTargetResponseOutput) AppEngineRoutingOverride() AppEngineRoutingResponseOutput
- func (AppEngineHttpTargetResponseOutput) ElementType() reflect.Type
- func (o AppEngineHttpTargetResponseOutput) ToAppEngineHttpTargetResponseOutput() AppEngineHttpTargetResponseOutput
- func (o AppEngineHttpTargetResponseOutput) ToAppEngineHttpTargetResponseOutputWithContext(ctx context.Context) AppEngineHttpTargetResponseOutput
- type AppEngineRouting
- type AppEngineRoutingArgs
- func (AppEngineRoutingArgs) ElementType() reflect.Type
- func (i AppEngineRoutingArgs) ToAppEngineRoutingOutput() AppEngineRoutingOutput
- func (i AppEngineRoutingArgs) ToAppEngineRoutingOutputWithContext(ctx context.Context) AppEngineRoutingOutput
- func (i AppEngineRoutingArgs) ToAppEngineRoutingPtrOutput() AppEngineRoutingPtrOutput
- func (i AppEngineRoutingArgs) ToAppEngineRoutingPtrOutputWithContext(ctx context.Context) AppEngineRoutingPtrOutput
- type AppEngineRoutingInput
- type AppEngineRoutingOutput
- func (AppEngineRoutingOutput) ElementType() reflect.Type
- func (o AppEngineRoutingOutput) Instance() pulumi.StringPtrOutput
- func (o AppEngineRoutingOutput) Service() pulumi.StringPtrOutput
- func (o AppEngineRoutingOutput) ToAppEngineRoutingOutput() AppEngineRoutingOutput
- func (o AppEngineRoutingOutput) ToAppEngineRoutingOutputWithContext(ctx context.Context) AppEngineRoutingOutput
- func (o AppEngineRoutingOutput) ToAppEngineRoutingPtrOutput() AppEngineRoutingPtrOutput
- func (o AppEngineRoutingOutput) ToAppEngineRoutingPtrOutputWithContext(ctx context.Context) AppEngineRoutingPtrOutput
- func (o AppEngineRoutingOutput) Version() pulumi.StringPtrOutput
- type AppEngineRoutingPtrInput
- type AppEngineRoutingPtrOutput
- func (o AppEngineRoutingPtrOutput) Elem() AppEngineRoutingOutput
- func (AppEngineRoutingPtrOutput) ElementType() reflect.Type
- func (o AppEngineRoutingPtrOutput) Instance() pulumi.StringPtrOutput
- func (o AppEngineRoutingPtrOutput) Service() pulumi.StringPtrOutput
- func (o AppEngineRoutingPtrOutput) ToAppEngineRoutingPtrOutput() AppEngineRoutingPtrOutput
- func (o AppEngineRoutingPtrOutput) ToAppEngineRoutingPtrOutputWithContext(ctx context.Context) AppEngineRoutingPtrOutput
- func (o AppEngineRoutingPtrOutput) Version() pulumi.StringPtrOutput
- type AppEngineRoutingResponse
- type AppEngineRoutingResponseOutput
- func (AppEngineRoutingResponseOutput) ElementType() reflect.Type
- func (o AppEngineRoutingResponseOutput) Host() pulumi.StringOutput
- func (o AppEngineRoutingResponseOutput) Instance() pulumi.StringOutput
- func (o AppEngineRoutingResponseOutput) Service() pulumi.StringOutput
- func (o AppEngineRoutingResponseOutput) ToAppEngineRoutingResponseOutput() AppEngineRoutingResponseOutput
- func (o AppEngineRoutingResponseOutput) ToAppEngineRoutingResponseOutputWithContext(ctx context.Context) AppEngineRoutingResponseOutput
- func (o AppEngineRoutingResponseOutput) Version() pulumi.StringOutput
- type AttemptStatusResponse
- type AttemptStatusResponseOutput
- func (o AttemptStatusResponseOutput) DispatchTime() pulumi.StringOutput
- func (AttemptStatusResponseOutput) ElementType() reflect.Type
- func (o AttemptStatusResponseOutput) ResponseStatus() StatusResponseOutput
- func (o AttemptStatusResponseOutput) ResponseTime() pulumi.StringOutput
- func (o AttemptStatusResponseOutput) ScheduleTime() pulumi.StringOutput
- func (o AttemptStatusResponseOutput) ToAttemptStatusResponseOutput() AttemptStatusResponseOutput
- func (o AttemptStatusResponseOutput) ToAttemptStatusResponseOutputWithContext(ctx context.Context) AttemptStatusResponseOutput
- type Binding
- type BindingArgs
- type BindingArray
- type BindingArrayInput
- type BindingArrayOutput
- type BindingInput
- type BindingOutput
- func (o BindingOutput) Condition() ExprPtrOutput
- func (BindingOutput) ElementType() reflect.Type
- func (o BindingOutput) Members() pulumi.StringArrayOutput
- func (o BindingOutput) Role() pulumi.StringPtrOutput
- func (o BindingOutput) ToBindingOutput() BindingOutput
- func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOutput
- type BindingResponse
- type BindingResponseArrayOutput
- func (BindingResponseArrayOutput) ElementType() reflect.Type
- func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput
- func (o BindingResponseArrayOutput) ToBindingResponseArrayOutput() BindingResponseArrayOutput
- func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx context.Context) BindingResponseArrayOutput
- type BindingResponseOutput
- func (o BindingResponseOutput) Condition() ExprResponseOutput
- func (BindingResponseOutput) ElementType() reflect.Type
- func (o BindingResponseOutput) Members() pulumi.StringArrayOutput
- func (o BindingResponseOutput) Role() pulumi.StringOutput
- func (o BindingResponseOutput) ToBindingResponseOutput() BindingResponseOutput
- func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Context) BindingResponseOutput
- type Expr
- type ExprArgs
- type ExprInput
- type ExprOutput
- func (o ExprOutput) Description() pulumi.StringPtrOutput
- func (ExprOutput) ElementType() reflect.Type
- func (o ExprOutput) Expression() pulumi.StringPtrOutput
- func (o ExprOutput) Location() pulumi.StringPtrOutput
- func (o ExprOutput) Title() pulumi.StringPtrOutput
- func (o ExprOutput) ToExprOutput() ExprOutput
- func (o ExprOutput) ToExprOutputWithContext(ctx context.Context) ExprOutput
- func (o ExprOutput) ToExprPtrOutput() ExprPtrOutput
- func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
- type ExprPtrInput
- type ExprPtrOutput
- func (o ExprPtrOutput) Description() pulumi.StringPtrOutput
- func (o ExprPtrOutput) Elem() ExprOutput
- func (ExprPtrOutput) ElementType() reflect.Type
- func (o ExprPtrOutput) Expression() pulumi.StringPtrOutput
- func (o ExprPtrOutput) Location() pulumi.StringPtrOutput
- func (o ExprPtrOutput) Title() pulumi.StringPtrOutput
- func (o ExprPtrOutput) ToExprPtrOutput() ExprPtrOutput
- func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
- type ExprResponse
- type ExprResponseOutput
- func (o ExprResponseOutput) Description() pulumi.StringOutput
- func (ExprResponseOutput) ElementType() reflect.Type
- func (o ExprResponseOutput) Expression() pulumi.StringOutput
- func (o ExprResponseOutput) Location() pulumi.StringOutput
- func (o ExprResponseOutput) Title() pulumi.StringOutput
- func (o ExprResponseOutput) ToExprResponseOutput() ExprResponseOutput
- func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) ExprResponseOutput
- type LookupQueueArgs
- type LookupQueueIamPolicyArgs
- type LookupQueueIamPolicyOutputArgs
- type LookupQueueIamPolicyResult
- type LookupQueueIamPolicyResultOutput
- func (o LookupQueueIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
- func (LookupQueueIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupQueueIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupQueueIamPolicyResultOutput) ToLookupQueueIamPolicyResultOutput() LookupQueueIamPolicyResultOutput
- func (o LookupQueueIamPolicyResultOutput) ToLookupQueueIamPolicyResultOutputWithContext(ctx context.Context) LookupQueueIamPolicyResultOutput
- func (o LookupQueueIamPolicyResultOutput) Version() pulumi.IntOutput
- type LookupQueueOutputArgs
- type LookupQueueResult
- type LookupQueueResultOutput
- func (o LookupQueueResultOutput) AppEngineHttpTarget() AppEngineHttpTargetResponseOutput
- func (LookupQueueResultOutput) ElementType() reflect.Type
- func (o LookupQueueResultOutput) Name() pulumi.StringOutput
- func (o LookupQueueResultOutput) PullTarget() PullTargetResponseOutput
- func (o LookupQueueResultOutput) PurgeTime() pulumi.StringOutput
- func (o LookupQueueResultOutput) RateLimits() RateLimitsResponseOutput
- func (o LookupQueueResultOutput) RetryConfig() RetryConfigResponseOutput
- func (o LookupQueueResultOutput) State() pulumi.StringOutput
- func (o LookupQueueResultOutput) Stats() QueueStatsResponseOutput
- func (o LookupQueueResultOutput) TaskTtl() pulumi.StringOutput
- func (o LookupQueueResultOutput) ToLookupQueueResultOutput() LookupQueueResultOutput
- func (o LookupQueueResultOutput) ToLookupQueueResultOutputWithContext(ctx context.Context) LookupQueueResultOutput
- func (o LookupQueueResultOutput) TombstoneTtl() pulumi.StringOutput
- type LookupTaskArgs
- type LookupTaskOutputArgs
- type LookupTaskResult
- type LookupTaskResultOutput
- func (o LookupTaskResultOutput) AppEngineHttpRequest() AppEngineHttpRequestResponseOutput
- func (o LookupTaskResultOutput) CreateTime() pulumi.StringOutput
- func (LookupTaskResultOutput) ElementType() reflect.Type
- func (o LookupTaskResultOutput) Name() pulumi.StringOutput
- func (o LookupTaskResultOutput) PullMessage() PullMessageResponseOutput
- func (o LookupTaskResultOutput) ScheduleTime() pulumi.StringOutput
- func (o LookupTaskResultOutput) Status() TaskStatusResponseOutput
- func (o LookupTaskResultOutput) ToLookupTaskResultOutput() LookupTaskResultOutput
- func (o LookupTaskResultOutput) ToLookupTaskResultOutputWithContext(ctx context.Context) LookupTaskResultOutput
- func (o LookupTaskResultOutput) View() pulumi.StringOutput
- type PullMessage
- type PullMessageArgs
- func (PullMessageArgs) ElementType() reflect.Type
- func (i PullMessageArgs) ToPullMessageOutput() PullMessageOutput
- func (i PullMessageArgs) ToPullMessageOutputWithContext(ctx context.Context) PullMessageOutput
- func (i PullMessageArgs) ToPullMessagePtrOutput() PullMessagePtrOutput
- func (i PullMessageArgs) ToPullMessagePtrOutputWithContext(ctx context.Context) PullMessagePtrOutput
- type PullMessageInput
- type PullMessageOutput
- func (PullMessageOutput) ElementType() reflect.Type
- func (o PullMessageOutput) Payload() pulumi.StringPtrOutput
- func (o PullMessageOutput) Tag() pulumi.StringPtrOutput
- func (o PullMessageOutput) ToPullMessageOutput() PullMessageOutput
- func (o PullMessageOutput) ToPullMessageOutputWithContext(ctx context.Context) PullMessageOutput
- func (o PullMessageOutput) ToPullMessagePtrOutput() PullMessagePtrOutput
- func (o PullMessageOutput) ToPullMessagePtrOutputWithContext(ctx context.Context) PullMessagePtrOutput
- type PullMessagePtrInput
- type PullMessagePtrOutput
- func (o PullMessagePtrOutput) Elem() PullMessageOutput
- func (PullMessagePtrOutput) ElementType() reflect.Type
- func (o PullMessagePtrOutput) Payload() pulumi.StringPtrOutput
- func (o PullMessagePtrOutput) Tag() pulumi.StringPtrOutput
- func (o PullMessagePtrOutput) ToPullMessagePtrOutput() PullMessagePtrOutput
- func (o PullMessagePtrOutput) ToPullMessagePtrOutputWithContext(ctx context.Context) PullMessagePtrOutput
- type PullMessageResponse
- type PullMessageResponseOutput
- func (PullMessageResponseOutput) ElementType() reflect.Type
- func (o PullMessageResponseOutput) Payload() pulumi.StringOutput
- func (o PullMessageResponseOutput) Tag() pulumi.StringOutput
- func (o PullMessageResponseOutput) ToPullMessageResponseOutput() PullMessageResponseOutput
- func (o PullMessageResponseOutput) ToPullMessageResponseOutputWithContext(ctx context.Context) PullMessageResponseOutput
- type PullTarget
- type PullTargetArgs
- func (PullTargetArgs) ElementType() reflect.Type
- func (i PullTargetArgs) ToPullTargetOutput() PullTargetOutput
- func (i PullTargetArgs) ToPullTargetOutputWithContext(ctx context.Context) PullTargetOutput
- func (i PullTargetArgs) ToPullTargetPtrOutput() PullTargetPtrOutput
- func (i PullTargetArgs) ToPullTargetPtrOutputWithContext(ctx context.Context) PullTargetPtrOutput
- type PullTargetInput
- type PullTargetOutput
- func (PullTargetOutput) ElementType() reflect.Type
- func (o PullTargetOutput) ToPullTargetOutput() PullTargetOutput
- func (o PullTargetOutput) ToPullTargetOutputWithContext(ctx context.Context) PullTargetOutput
- func (o PullTargetOutput) ToPullTargetPtrOutput() PullTargetPtrOutput
- func (o PullTargetOutput) ToPullTargetPtrOutputWithContext(ctx context.Context) PullTargetPtrOutput
- type PullTargetPtrInput
- type PullTargetPtrOutput
- type PullTargetResponse
- type PullTargetResponseOutput
- type Queue
- type QueueArgs
- type QueueIamPolicy
- type QueueIamPolicyArgs
- type QueueIamPolicyInput
- type QueueIamPolicyOutput
- type QueueIamPolicyState
- type QueueInput
- type QueueOutput
- type QueueState
- type QueueStatsResponse
- type QueueStatsResponseOutput
- func (o QueueStatsResponseOutput) ConcurrentDispatchesCount() pulumi.StringOutput
- func (o QueueStatsResponseOutput) EffectiveExecutionRate() pulumi.Float64Output
- func (QueueStatsResponseOutput) ElementType() reflect.Type
- func (o QueueStatsResponseOutput) ExecutedLastMinuteCount() pulumi.StringOutput
- func (o QueueStatsResponseOutput) OldestEstimatedArrivalTime() pulumi.StringOutput
- func (o QueueStatsResponseOutput) TasksCount() pulumi.StringOutput
- func (o QueueStatsResponseOutput) ToQueueStatsResponseOutput() QueueStatsResponseOutput
- func (o QueueStatsResponseOutput) ToQueueStatsResponseOutputWithContext(ctx context.Context) QueueStatsResponseOutput
- type RateLimits
- type RateLimitsArgs
- func (RateLimitsArgs) ElementType() reflect.Type
- func (i RateLimitsArgs) ToRateLimitsOutput() RateLimitsOutput
- func (i RateLimitsArgs) ToRateLimitsOutputWithContext(ctx context.Context) RateLimitsOutput
- func (i RateLimitsArgs) ToRateLimitsPtrOutput() RateLimitsPtrOutput
- func (i RateLimitsArgs) ToRateLimitsPtrOutputWithContext(ctx context.Context) RateLimitsPtrOutput
- type RateLimitsInput
- type RateLimitsOutput
- func (RateLimitsOutput) ElementType() reflect.Type
- func (o RateLimitsOutput) MaxBurstSize() pulumi.IntPtrOutput
- func (o RateLimitsOutput) MaxConcurrentTasks() pulumi.IntPtrOutput
- func (o RateLimitsOutput) MaxTasksDispatchedPerSecond() pulumi.Float64PtrOutput
- func (o RateLimitsOutput) ToRateLimitsOutput() RateLimitsOutput
- func (o RateLimitsOutput) ToRateLimitsOutputWithContext(ctx context.Context) RateLimitsOutput
- func (o RateLimitsOutput) ToRateLimitsPtrOutput() RateLimitsPtrOutput
- func (o RateLimitsOutput) ToRateLimitsPtrOutputWithContext(ctx context.Context) RateLimitsPtrOutput
- type RateLimitsPtrInput
- type RateLimitsPtrOutput
- func (o RateLimitsPtrOutput) Elem() RateLimitsOutput
- func (RateLimitsPtrOutput) ElementType() reflect.Type
- func (o RateLimitsPtrOutput) MaxBurstSize() pulumi.IntPtrOutput
- func (o RateLimitsPtrOutput) MaxConcurrentTasks() pulumi.IntPtrOutput
- func (o RateLimitsPtrOutput) MaxTasksDispatchedPerSecond() pulumi.Float64PtrOutput
- func (o RateLimitsPtrOutput) ToRateLimitsPtrOutput() RateLimitsPtrOutput
- func (o RateLimitsPtrOutput) ToRateLimitsPtrOutputWithContext(ctx context.Context) RateLimitsPtrOutput
- type RateLimitsResponse
- type RateLimitsResponseOutput
- func (RateLimitsResponseOutput) ElementType() reflect.Type
- func (o RateLimitsResponseOutput) MaxBurstSize() pulumi.IntOutput
- func (o RateLimitsResponseOutput) MaxConcurrentTasks() pulumi.IntOutput
- func (o RateLimitsResponseOutput) MaxTasksDispatchedPerSecond() pulumi.Float64Output
- func (o RateLimitsResponseOutput) ToRateLimitsResponseOutput() RateLimitsResponseOutput
- func (o RateLimitsResponseOutput) ToRateLimitsResponseOutputWithContext(ctx context.Context) RateLimitsResponseOutput
- type RetryConfig
- type RetryConfigArgs
- func (RetryConfigArgs) ElementType() reflect.Type
- func (i RetryConfigArgs) ToRetryConfigOutput() RetryConfigOutput
- func (i RetryConfigArgs) ToRetryConfigOutputWithContext(ctx context.Context) RetryConfigOutput
- func (i RetryConfigArgs) ToRetryConfigPtrOutput() RetryConfigPtrOutput
- func (i RetryConfigArgs) ToRetryConfigPtrOutputWithContext(ctx context.Context) RetryConfigPtrOutput
- type RetryConfigInput
- type RetryConfigOutput
- func (RetryConfigOutput) ElementType() reflect.Type
- func (o RetryConfigOutput) MaxAttempts() pulumi.IntPtrOutput
- func (o RetryConfigOutput) MaxBackoff() pulumi.StringPtrOutput
- func (o RetryConfigOutput) MaxDoublings() pulumi.IntPtrOutput
- func (o RetryConfigOutput) MaxRetryDuration() pulumi.StringPtrOutput
- func (o RetryConfigOutput) MinBackoff() pulumi.StringPtrOutput
- func (o RetryConfigOutput) ToRetryConfigOutput() RetryConfigOutput
- func (o RetryConfigOutput) ToRetryConfigOutputWithContext(ctx context.Context) RetryConfigOutput
- func (o RetryConfigOutput) ToRetryConfigPtrOutput() RetryConfigPtrOutput
- func (o RetryConfigOutput) ToRetryConfigPtrOutputWithContext(ctx context.Context) RetryConfigPtrOutput
- func (o RetryConfigOutput) UnlimitedAttempts() pulumi.BoolPtrOutput
- type RetryConfigPtrInput
- type RetryConfigPtrOutput
- func (o RetryConfigPtrOutput) Elem() RetryConfigOutput
- func (RetryConfigPtrOutput) ElementType() reflect.Type
- func (o RetryConfigPtrOutput) MaxAttempts() pulumi.IntPtrOutput
- func (o RetryConfigPtrOutput) MaxBackoff() pulumi.StringPtrOutput
- func (o RetryConfigPtrOutput) MaxDoublings() pulumi.IntPtrOutput
- func (o RetryConfigPtrOutput) MaxRetryDuration() pulumi.StringPtrOutput
- func (o RetryConfigPtrOutput) MinBackoff() pulumi.StringPtrOutput
- func (o RetryConfigPtrOutput) ToRetryConfigPtrOutput() RetryConfigPtrOutput
- func (o RetryConfigPtrOutput) ToRetryConfigPtrOutputWithContext(ctx context.Context) RetryConfigPtrOutput
- func (o RetryConfigPtrOutput) UnlimitedAttempts() pulumi.BoolPtrOutput
- type RetryConfigResponse
- type RetryConfigResponseOutput
- func (RetryConfigResponseOutput) ElementType() reflect.Type
- func (o RetryConfigResponseOutput) MaxAttempts() pulumi.IntOutput
- func (o RetryConfigResponseOutput) MaxBackoff() pulumi.StringOutput
- func (o RetryConfigResponseOutput) MaxDoublings() pulumi.IntOutput
- func (o RetryConfigResponseOutput) MaxRetryDuration() pulumi.StringOutput
- func (o RetryConfigResponseOutput) MinBackoff() pulumi.StringOutput
- func (o RetryConfigResponseOutput) ToRetryConfigResponseOutput() RetryConfigResponseOutput
- func (o RetryConfigResponseOutput) ToRetryConfigResponseOutputWithContext(ctx context.Context) RetryConfigResponseOutput
- func (o RetryConfigResponseOutput) UnlimitedAttempts() pulumi.BoolOutput
- type StatusResponse
- type StatusResponseOutput
- func (o StatusResponseOutput) Code() pulumi.IntOutput
- func (o StatusResponseOutput) Details() pulumi.StringMapArrayOutput
- func (StatusResponseOutput) ElementType() reflect.Type
- func (o StatusResponseOutput) Message() pulumi.StringOutput
- func (o StatusResponseOutput) ToStatusResponseOutput() StatusResponseOutput
- func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Context) StatusResponseOutput
- type Task
- type TaskArgs
- type TaskInput
- type TaskOutput
- type TaskResponseView
- func (TaskResponseView) ElementType() reflect.Type
- func (e TaskResponseView) ToStringOutput() pulumi.StringOutput
- func (e TaskResponseView) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e TaskResponseView) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e TaskResponseView) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- func (e TaskResponseView) ToTaskResponseViewOutput() TaskResponseViewOutput
- func (e TaskResponseView) ToTaskResponseViewOutputWithContext(ctx context.Context) TaskResponseViewOutput
- func (e TaskResponseView) ToTaskResponseViewPtrOutput() TaskResponseViewPtrOutput
- func (e TaskResponseView) ToTaskResponseViewPtrOutputWithContext(ctx context.Context) TaskResponseViewPtrOutput
- type TaskResponseViewInput
- type TaskResponseViewOutput
- func (TaskResponseViewOutput) ElementType() reflect.Type
- func (o TaskResponseViewOutput) ToStringOutput() pulumi.StringOutput
- func (o TaskResponseViewOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o TaskResponseViewOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o TaskResponseViewOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- func (o TaskResponseViewOutput) ToTaskResponseViewOutput() TaskResponseViewOutput
- func (o TaskResponseViewOutput) ToTaskResponseViewOutputWithContext(ctx context.Context) TaskResponseViewOutput
- func (o TaskResponseViewOutput) ToTaskResponseViewPtrOutput() TaskResponseViewPtrOutput
- func (o TaskResponseViewOutput) ToTaskResponseViewPtrOutputWithContext(ctx context.Context) TaskResponseViewPtrOutput
- type TaskResponseViewPtrInput
- type TaskResponseViewPtrOutput
- func (o TaskResponseViewPtrOutput) Elem() TaskResponseViewOutput
- func (TaskResponseViewPtrOutput) ElementType() reflect.Type
- func (o TaskResponseViewPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o TaskResponseViewPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- func (o TaskResponseViewPtrOutput) ToTaskResponseViewPtrOutput() TaskResponseViewPtrOutput
- func (o TaskResponseViewPtrOutput) ToTaskResponseViewPtrOutputWithContext(ctx context.Context) TaskResponseViewPtrOutput
- type TaskState
- type TaskStatusResponse
- type TaskStatusResponseOutput
- func (o TaskStatusResponseOutput) AttemptDispatchCount() pulumi.IntOutput
- func (o TaskStatusResponseOutput) AttemptResponseCount() pulumi.IntOutput
- func (TaskStatusResponseOutput) ElementType() reflect.Type
- func (o TaskStatusResponseOutput) FirstAttemptStatus() AttemptStatusResponseOutput
- func (o TaskStatusResponseOutput) LastAttemptStatus() AttemptStatusResponseOutput
- func (o TaskStatusResponseOutput) ToTaskStatusResponseOutput() TaskStatusResponseOutput
- func (o TaskStatusResponseOutput) ToTaskStatusResponseOutputWithContext(ctx context.Context) TaskStatusResponseOutput
Constants ¶
const ( // HTTP method unspecified AppEngineHttpRequestHttpMethodHttpMethodUnspecified = AppEngineHttpRequestHttpMethod("HTTP_METHOD_UNSPECIFIED") // HTTP POST AppEngineHttpRequestHttpMethodPost = AppEngineHttpRequestHttpMethod("POST") // HTTP GET AppEngineHttpRequestHttpMethodGet = AppEngineHttpRequestHttpMethod("GET") // HTTP HEAD AppEngineHttpRequestHttpMethodHead = AppEngineHttpRequestHttpMethod("HEAD") // HTTP PUT AppEngineHttpRequestHttpMethodPut = AppEngineHttpRequestHttpMethod("PUT") // HTTP DELETE AppEngineHttpRequestHttpMethodDelete = AppEngineHttpRequestHttpMethod("DELETE") )
const ( // Unspecified. Defaults to BASIC. TaskResponseViewViewUnspecified = TaskResponseView("VIEW_UNSPECIFIED") // The basic view omits fields which can be large or can contain sensitive data. This view does not include the (payload in AppEngineHttpRequest and payload in PullMessage). These payloads are desirable to return only when needed, because they can be large and because of the sensitivity of the data that you choose to store in it. TaskResponseViewBasic = TaskResponseView("BASIC") // All information is returned. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Queue resource. TaskResponseViewFull = TaskResponseView("FULL") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppEngineHttpRequest ¶
type AppEngineHttpRequest struct { // Task-level setting for App Engine routing. If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. AppEngineRouting *AppEngineRouting `pulumi:"appEngineRouting"` // HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. Repeated headers are not supported but a header value can contain commas. Cloud Tasks sets some headers to default values: * `User-Agent`: By default, this header is `"AppEngine-Google; (+http://code.google.com/appengine)"`. This header can be modified, but Cloud Tasks will append `"AppEngine-Google; (+http://code.google.com/appengine)"` to the modified `User-Agent`. If the task has a payload, Cloud Tasks sets the following headers: * `Content-Type`: By default, the `Content-Type` header is set to `"application/octet-stream"`. The default can be overridden by explicitly setting `Content-Type` to a particular media type when the task is created. For example, `Content-Type` can be set to `"application/json"`. * `Content-Length`: This is computed by Cloud Tasks. This value is output only. It cannot be changed. The headers below cannot be set or overridden: * `Host` * `X-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). 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 the size, there is a limit on the maximum size of the Task. For more information, see the CreateTask documentation. Headers map[string]string `pulumi:"headers"` // The HTTP method to use for the request. The default is POST. 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 fails 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) and the App Engine documentation for your runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled). HttpMethod *AppEngineHttpRequestHttpMethod `pulumi:"httpMethod"` // Payload. The payload will be sent as the HTTP message body. A message body, and thus a payload, is allowed only if the HTTP method is POST or PUT. It is an error to set a data payload on a task with an incompatible HttpMethod. Payload *string `pulumi:"payload"` // The relative URL. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path and query string arguments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters. RelativeUrl *string `pulumi:"relativeUrl"` }
App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when the task is dispatched. This proto can only be used for tasks in a queue which has app_engine_http_target set. Using AppEngineHttpRequest requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `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) and how routing is affected by [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). The request to the handler, however, will appear to have used the HTTP protocol. The AppEngineRouting used to construct the URL that the task is delivered to can be set at the queue-level or task-level: * If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. The `url` that the task will be sent to is: * `url =` host `+` 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). 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) 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`]. The task attempt has failed if the app's handler returns a non-2xx response code or Cloud Tasks does not receive response before the deadline. Failed tasks will be retried according to the retry configuration. `503` (Service Unavailable) is considered an App Engine system error instead of an application error and will cause Cloud Tasks' traffic congestion control to temporarily throttle the queue's dispatches. Unlike other types of task targets, a `429` (Too Many Requests) response from an app handler does not cause traffic congestion control to throttle the queue.
type AppEngineHttpRequestArgs ¶
type AppEngineHttpRequestArgs struct { // Task-level setting for App Engine routing. If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. AppEngineRouting AppEngineRoutingPtrInput `pulumi:"appEngineRouting"` // HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. Repeated headers are not supported but a header value can contain commas. Cloud Tasks sets some headers to default values: * `User-Agent`: By default, this header is `"AppEngine-Google; (+http://code.google.com/appengine)"`. This header can be modified, but Cloud Tasks will append `"AppEngine-Google; (+http://code.google.com/appengine)"` to the modified `User-Agent`. If the task has a payload, Cloud Tasks sets the following headers: * `Content-Type`: By default, the `Content-Type` header is set to `"application/octet-stream"`. The default can be overridden by explicitly setting `Content-Type` to a particular media type when the task is created. For example, `Content-Type` can be set to `"application/json"`. * `Content-Length`: This is computed by Cloud Tasks. This value is output only. It cannot be changed. The headers below cannot be set or overridden: * `Host` * `X-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). 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 the size, there is a limit on the maximum size of the Task. For more information, see the CreateTask documentation. Headers pulumi.StringMapInput `pulumi:"headers"` // The HTTP method to use for the request. The default is POST. 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 fails 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) and the App Engine documentation for your runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled). HttpMethod AppEngineHttpRequestHttpMethodPtrInput `pulumi:"httpMethod"` // Payload. The payload will be sent as the HTTP message body. A message body, and thus a payload, is allowed only if the HTTP method is POST or PUT. It is an error to set a data payload on a task with an incompatible HttpMethod. Payload pulumi.StringPtrInput `pulumi:"payload"` // The relative URL. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path and query string arguments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters. RelativeUrl pulumi.StringPtrInput `pulumi:"relativeUrl"` }
App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when the task is dispatched. This proto can only be used for tasks in a queue which has app_engine_http_target set. Using AppEngineHttpRequest requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `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) and how routing is affected by [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). The request to the handler, however, will appear to have used the HTTP protocol. The AppEngineRouting used to construct the URL that the task is delivered to can be set at the queue-level or task-level: * If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. The `url` that the task will be sent to is: * `url =` host `+` 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). 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) 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`]. The task attempt has failed if the app's handler returns a non-2xx response code or Cloud Tasks does not receive response before the deadline. Failed tasks will be retried according to the retry configuration. `503` (Service Unavailable) is considered an App Engine system error instead of an application error and will cause Cloud Tasks' traffic congestion control to temporarily throttle the queue's dispatches. Unlike other types of task targets, a `429` (Too Many Requests) response from an app handler does not cause traffic congestion control to throttle the queue.
func (AppEngineHttpRequestArgs) ElementType ¶
func (AppEngineHttpRequestArgs) ElementType() reflect.Type
func (AppEngineHttpRequestArgs) ToAppEngineHttpRequestOutput ¶
func (i AppEngineHttpRequestArgs) ToAppEngineHttpRequestOutput() AppEngineHttpRequestOutput
func (AppEngineHttpRequestArgs) ToAppEngineHttpRequestOutputWithContext ¶
func (i AppEngineHttpRequestArgs) ToAppEngineHttpRequestOutputWithContext(ctx context.Context) AppEngineHttpRequestOutput
func (AppEngineHttpRequestArgs) ToAppEngineHttpRequestPtrOutput ¶
func (i AppEngineHttpRequestArgs) ToAppEngineHttpRequestPtrOutput() AppEngineHttpRequestPtrOutput
func (AppEngineHttpRequestArgs) ToAppEngineHttpRequestPtrOutputWithContext ¶
func (i AppEngineHttpRequestArgs) ToAppEngineHttpRequestPtrOutputWithContext(ctx context.Context) AppEngineHttpRequestPtrOutput
type AppEngineHttpRequestHttpMethod ¶ added in v0.4.0
type AppEngineHttpRequestHttpMethod string
The HTTP method to use for the request. The default is POST. 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 fails 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) and the App Engine documentation for your runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
func (AppEngineHttpRequestHttpMethod) ElementType ¶ added in v0.4.0
func (AppEngineHttpRequestHttpMethod) ElementType() reflect.Type
func (AppEngineHttpRequestHttpMethod) ToAppEngineHttpRequestHttpMethodOutput ¶ added in v0.6.0
func (e AppEngineHttpRequestHttpMethod) ToAppEngineHttpRequestHttpMethodOutput() AppEngineHttpRequestHttpMethodOutput
func (AppEngineHttpRequestHttpMethod) ToAppEngineHttpRequestHttpMethodOutputWithContext ¶ added in v0.6.0
func (e AppEngineHttpRequestHttpMethod) ToAppEngineHttpRequestHttpMethodOutputWithContext(ctx context.Context) AppEngineHttpRequestHttpMethodOutput
func (AppEngineHttpRequestHttpMethod) ToAppEngineHttpRequestHttpMethodPtrOutput ¶ added in v0.6.0
func (e AppEngineHttpRequestHttpMethod) ToAppEngineHttpRequestHttpMethodPtrOutput() AppEngineHttpRequestHttpMethodPtrOutput
func (AppEngineHttpRequestHttpMethod) ToAppEngineHttpRequestHttpMethodPtrOutputWithContext ¶ added in v0.6.0
func (e AppEngineHttpRequestHttpMethod) ToAppEngineHttpRequestHttpMethodPtrOutputWithContext(ctx context.Context) AppEngineHttpRequestHttpMethodPtrOutput
func (AppEngineHttpRequestHttpMethod) ToStringOutput ¶ added in v0.4.0
func (e AppEngineHttpRequestHttpMethod) ToStringOutput() pulumi.StringOutput
func (AppEngineHttpRequestHttpMethod) ToStringOutputWithContext ¶ added in v0.4.0
func (e AppEngineHttpRequestHttpMethod) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (AppEngineHttpRequestHttpMethod) ToStringPtrOutput ¶ added in v0.4.0
func (e AppEngineHttpRequestHttpMethod) ToStringPtrOutput() pulumi.StringPtrOutput
func (AppEngineHttpRequestHttpMethod) ToStringPtrOutputWithContext ¶ added in v0.4.0
func (e AppEngineHttpRequestHttpMethod) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AppEngineHttpRequestHttpMethodInput ¶ added in v0.6.0
type AppEngineHttpRequestHttpMethodInput interface { pulumi.Input ToAppEngineHttpRequestHttpMethodOutput() AppEngineHttpRequestHttpMethodOutput ToAppEngineHttpRequestHttpMethodOutputWithContext(context.Context) AppEngineHttpRequestHttpMethodOutput }
AppEngineHttpRequestHttpMethodInput is an input type that accepts AppEngineHttpRequestHttpMethodArgs and AppEngineHttpRequestHttpMethodOutput values. You can construct a concrete instance of `AppEngineHttpRequestHttpMethodInput` via:
AppEngineHttpRequestHttpMethodArgs{...}
type AppEngineHttpRequestHttpMethodOutput ¶ added in v0.6.0
type AppEngineHttpRequestHttpMethodOutput struct{ *pulumi.OutputState }
func (AppEngineHttpRequestHttpMethodOutput) ElementType ¶ added in v0.6.0
func (AppEngineHttpRequestHttpMethodOutput) ElementType() reflect.Type
func (AppEngineHttpRequestHttpMethodOutput) ToAppEngineHttpRequestHttpMethodOutput ¶ added in v0.6.0
func (o AppEngineHttpRequestHttpMethodOutput) ToAppEngineHttpRequestHttpMethodOutput() AppEngineHttpRequestHttpMethodOutput
func (AppEngineHttpRequestHttpMethodOutput) ToAppEngineHttpRequestHttpMethodOutputWithContext ¶ added in v0.6.0
func (o AppEngineHttpRequestHttpMethodOutput) ToAppEngineHttpRequestHttpMethodOutputWithContext(ctx context.Context) AppEngineHttpRequestHttpMethodOutput
func (AppEngineHttpRequestHttpMethodOutput) ToAppEngineHttpRequestHttpMethodPtrOutput ¶ added in v0.6.0
func (o AppEngineHttpRequestHttpMethodOutput) ToAppEngineHttpRequestHttpMethodPtrOutput() AppEngineHttpRequestHttpMethodPtrOutput
func (AppEngineHttpRequestHttpMethodOutput) ToAppEngineHttpRequestHttpMethodPtrOutputWithContext ¶ added in v0.6.0
func (o AppEngineHttpRequestHttpMethodOutput) ToAppEngineHttpRequestHttpMethodPtrOutputWithContext(ctx context.Context) AppEngineHttpRequestHttpMethodPtrOutput
func (AppEngineHttpRequestHttpMethodOutput) ToStringOutput ¶ added in v0.6.0
func (o AppEngineHttpRequestHttpMethodOutput) ToStringOutput() pulumi.StringOutput
func (AppEngineHttpRequestHttpMethodOutput) ToStringOutputWithContext ¶ added in v0.6.0
func (o AppEngineHttpRequestHttpMethodOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (AppEngineHttpRequestHttpMethodOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o AppEngineHttpRequestHttpMethodOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (AppEngineHttpRequestHttpMethodOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o AppEngineHttpRequestHttpMethodOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AppEngineHttpRequestHttpMethodPtrInput ¶ added in v0.6.0
type AppEngineHttpRequestHttpMethodPtrInput interface { pulumi.Input ToAppEngineHttpRequestHttpMethodPtrOutput() AppEngineHttpRequestHttpMethodPtrOutput ToAppEngineHttpRequestHttpMethodPtrOutputWithContext(context.Context) AppEngineHttpRequestHttpMethodPtrOutput }
func AppEngineHttpRequestHttpMethodPtr ¶ added in v0.6.0
func AppEngineHttpRequestHttpMethodPtr(v string) AppEngineHttpRequestHttpMethodPtrInput
type AppEngineHttpRequestHttpMethodPtrOutput ¶ added in v0.6.0
type AppEngineHttpRequestHttpMethodPtrOutput struct{ *pulumi.OutputState }
func (AppEngineHttpRequestHttpMethodPtrOutput) ElementType ¶ added in v0.6.0
func (AppEngineHttpRequestHttpMethodPtrOutput) ElementType() reflect.Type
func (AppEngineHttpRequestHttpMethodPtrOutput) ToAppEngineHttpRequestHttpMethodPtrOutput ¶ added in v0.6.0
func (o AppEngineHttpRequestHttpMethodPtrOutput) ToAppEngineHttpRequestHttpMethodPtrOutput() AppEngineHttpRequestHttpMethodPtrOutput
func (AppEngineHttpRequestHttpMethodPtrOutput) ToAppEngineHttpRequestHttpMethodPtrOutputWithContext ¶ added in v0.6.0
func (o AppEngineHttpRequestHttpMethodPtrOutput) ToAppEngineHttpRequestHttpMethodPtrOutputWithContext(ctx context.Context) AppEngineHttpRequestHttpMethodPtrOutput
func (AppEngineHttpRequestHttpMethodPtrOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o AppEngineHttpRequestHttpMethodPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (AppEngineHttpRequestHttpMethodPtrOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o AppEngineHttpRequestHttpMethodPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AppEngineHttpRequestInput ¶
type AppEngineHttpRequestInput interface { pulumi.Input ToAppEngineHttpRequestOutput() AppEngineHttpRequestOutput ToAppEngineHttpRequestOutputWithContext(context.Context) AppEngineHttpRequestOutput }
AppEngineHttpRequestInput is an input type that accepts AppEngineHttpRequestArgs and AppEngineHttpRequestOutput values. You can construct a concrete instance of `AppEngineHttpRequestInput` via:
AppEngineHttpRequestArgs{...}
type AppEngineHttpRequestOutput ¶
type AppEngineHttpRequestOutput struct{ *pulumi.OutputState }
App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when the task is dispatched. This proto can only be used for tasks in a queue which has app_engine_http_target set. Using AppEngineHttpRequest requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `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) and how routing is affected by [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). The request to the handler, however, will appear to have used the HTTP protocol. The AppEngineRouting used to construct the URL that the task is delivered to can be set at the queue-level or task-level: * If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. The `url` that the task will be sent to is: * `url =` host `+` 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). 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) 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`]. The task attempt has failed if the app's handler returns a non-2xx response code or Cloud Tasks does not receive response before the deadline. Failed tasks will be retried according to the retry configuration. `503` (Service Unavailable) is considered an App Engine system error instead of an application error and will cause Cloud Tasks' traffic congestion control to temporarily throttle the queue's dispatches. Unlike other types of task targets, a `429` (Too Many Requests) response from an app handler does not cause traffic congestion control to throttle the queue.
func (AppEngineHttpRequestOutput) AppEngineRouting ¶
func (o AppEngineHttpRequestOutput) AppEngineRouting() AppEngineRoutingPtrOutput
Task-level setting for App Engine routing. If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.
func (AppEngineHttpRequestOutput) ElementType ¶
func (AppEngineHttpRequestOutput) ElementType() reflect.Type
func (AppEngineHttpRequestOutput) Headers ¶
func (o AppEngineHttpRequestOutput) Headers() pulumi.StringMapOutput
HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. Repeated headers are not supported but a header value can contain commas. Cloud Tasks sets some headers to default values: * `User-Agent`: By default, this header is `"AppEngine-Google; (+http://code.google.com/appengine)"`. This header can be modified, but Cloud Tasks will append `"AppEngine-Google; (+http://code.google.com/appengine)"` to the modified `User-Agent`. If the task has a payload, Cloud Tasks sets the following headers: * `Content-Type`: By default, the `Content-Type` header is set to `"application/octet-stream"`. The default can be overridden by explicitly setting `Content-Type` to a particular media type when the task is created. For example, `Content-Type` can be set to `"application/json"`. * `Content-Length`: This is computed by Cloud Tasks. This value is output only. It cannot be changed. The headers below cannot be set or overridden: * `Host` * `X-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). 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 the size, there is a limit on the maximum size of the Task. For more information, see the CreateTask documentation.
func (AppEngineHttpRequestOutput) HttpMethod ¶
func (o AppEngineHttpRequestOutput) HttpMethod() AppEngineHttpRequestHttpMethodPtrOutput
The HTTP method to use for the request. The default is POST. 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 fails 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) and the App Engine documentation for your runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
func (AppEngineHttpRequestOutput) Payload ¶
func (o AppEngineHttpRequestOutput) Payload() pulumi.StringPtrOutput
Payload. The payload will be sent as the HTTP message body. A message body, and thus a payload, is allowed only if the HTTP method is POST or PUT. It is an error to set a data payload on a task with an incompatible HttpMethod.
func (AppEngineHttpRequestOutput) RelativeUrl ¶
func (o AppEngineHttpRequestOutput) RelativeUrl() pulumi.StringPtrOutput
The relative URL. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path and query string arguments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters.
func (AppEngineHttpRequestOutput) ToAppEngineHttpRequestOutput ¶
func (o AppEngineHttpRequestOutput) ToAppEngineHttpRequestOutput() AppEngineHttpRequestOutput
func (AppEngineHttpRequestOutput) ToAppEngineHttpRequestOutputWithContext ¶
func (o AppEngineHttpRequestOutput) ToAppEngineHttpRequestOutputWithContext(ctx context.Context) AppEngineHttpRequestOutput
func (AppEngineHttpRequestOutput) ToAppEngineHttpRequestPtrOutput ¶
func (o AppEngineHttpRequestOutput) ToAppEngineHttpRequestPtrOutput() AppEngineHttpRequestPtrOutput
func (AppEngineHttpRequestOutput) ToAppEngineHttpRequestPtrOutputWithContext ¶
func (o AppEngineHttpRequestOutput) ToAppEngineHttpRequestPtrOutputWithContext(ctx context.Context) AppEngineHttpRequestPtrOutput
type AppEngineHttpRequestPtrInput ¶
type AppEngineHttpRequestPtrInput interface { pulumi.Input ToAppEngineHttpRequestPtrOutput() AppEngineHttpRequestPtrOutput ToAppEngineHttpRequestPtrOutputWithContext(context.Context) AppEngineHttpRequestPtrOutput }
AppEngineHttpRequestPtrInput is an input type that accepts AppEngineHttpRequestArgs, AppEngineHttpRequestPtr and AppEngineHttpRequestPtrOutput values. You can construct a concrete instance of `AppEngineHttpRequestPtrInput` via:
AppEngineHttpRequestArgs{...} or: nil
func AppEngineHttpRequestPtr ¶
func AppEngineHttpRequestPtr(v *AppEngineHttpRequestArgs) AppEngineHttpRequestPtrInput
type AppEngineHttpRequestPtrOutput ¶
type AppEngineHttpRequestPtrOutput struct{ *pulumi.OutputState }
func (AppEngineHttpRequestPtrOutput) AppEngineRouting ¶
func (o AppEngineHttpRequestPtrOutput) AppEngineRouting() AppEngineRoutingPtrOutput
Task-level setting for App Engine routing. If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.
func (AppEngineHttpRequestPtrOutput) Elem ¶
func (o AppEngineHttpRequestPtrOutput) Elem() AppEngineHttpRequestOutput
func (AppEngineHttpRequestPtrOutput) ElementType ¶
func (AppEngineHttpRequestPtrOutput) ElementType() reflect.Type
func (AppEngineHttpRequestPtrOutput) Headers ¶
func (o AppEngineHttpRequestPtrOutput) Headers() pulumi.StringMapOutput
HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. Repeated headers are not supported but a header value can contain commas. Cloud Tasks sets some headers to default values: * `User-Agent`: By default, this header is `"AppEngine-Google; (+http://code.google.com/appengine)"`. This header can be modified, but Cloud Tasks will append `"AppEngine-Google; (+http://code.google.com/appengine)"` to the modified `User-Agent`. If the task has a payload, Cloud Tasks sets the following headers: * `Content-Type`: By default, the `Content-Type` header is set to `"application/octet-stream"`. The default can be overridden by explicitly setting `Content-Type` to a particular media type when the task is created. For example, `Content-Type` can be set to `"application/json"`. * `Content-Length`: This is computed by Cloud Tasks. This value is output only. It cannot be changed. The headers below cannot be set or overridden: * `Host` * `X-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). 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 the size, there is a limit on the maximum size of the Task. For more information, see the CreateTask documentation.
func (AppEngineHttpRequestPtrOutput) HttpMethod ¶
func (o AppEngineHttpRequestPtrOutput) HttpMethod() AppEngineHttpRequestHttpMethodPtrOutput
The HTTP method to use for the request. The default is POST. 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 fails 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) and the App Engine documentation for your runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
func (AppEngineHttpRequestPtrOutput) Payload ¶
func (o AppEngineHttpRequestPtrOutput) Payload() pulumi.StringPtrOutput
Payload. The payload will be sent as the HTTP message body. A message body, and thus a payload, is allowed only if the HTTP method is POST or PUT. It is an error to set a data payload on a task with an incompatible HttpMethod.
func (AppEngineHttpRequestPtrOutput) RelativeUrl ¶
func (o AppEngineHttpRequestPtrOutput) RelativeUrl() pulumi.StringPtrOutput
The relative URL. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path and query string arguments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters.
func (AppEngineHttpRequestPtrOutput) ToAppEngineHttpRequestPtrOutput ¶
func (o AppEngineHttpRequestPtrOutput) ToAppEngineHttpRequestPtrOutput() AppEngineHttpRequestPtrOutput
func (AppEngineHttpRequestPtrOutput) ToAppEngineHttpRequestPtrOutputWithContext ¶
func (o AppEngineHttpRequestPtrOutput) ToAppEngineHttpRequestPtrOutputWithContext(ctx context.Context) AppEngineHttpRequestPtrOutput
type AppEngineHttpRequestResponse ¶
type AppEngineHttpRequestResponse struct { // Task-level setting for App Engine routing. If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. AppEngineRouting AppEngineRoutingResponse `pulumi:"appEngineRouting"` // HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. Repeated headers are not supported but a header value can contain commas. Cloud Tasks sets some headers to default values: * `User-Agent`: By default, this header is `"AppEngine-Google; (+http://code.google.com/appengine)"`. This header can be modified, but Cloud Tasks will append `"AppEngine-Google; (+http://code.google.com/appengine)"` to the modified `User-Agent`. If the task has a payload, Cloud Tasks sets the following headers: * `Content-Type`: By default, the `Content-Type` header is set to `"application/octet-stream"`. The default can be overridden by explicitly setting `Content-Type` to a particular media type when the task is created. For example, `Content-Type` can be set to `"application/json"`. * `Content-Length`: This is computed by Cloud Tasks. This value is output only. It cannot be changed. The headers below cannot be set or overridden: * `Host` * `X-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). 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 the size, there is a limit on the maximum size of the Task. For more information, see the CreateTask documentation. Headers map[string]string `pulumi:"headers"` // The HTTP method to use for the request. The default is POST. 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 fails 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) and the App Engine documentation for your runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled). HttpMethod string `pulumi:"httpMethod"` // Payload. The payload will be sent as the HTTP message body. A message body, and thus a payload, is allowed only if the HTTP method is POST or PUT. It is an error to set a data payload on a task with an incompatible HttpMethod. Payload string `pulumi:"payload"` // The relative URL. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path and query string arguments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters. RelativeUrl string `pulumi:"relativeUrl"` }
App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when the task is dispatched. This proto can only be used for tasks in a queue which has app_engine_http_target set. Using AppEngineHttpRequest requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `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) and how routing is affected by [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). The request to the handler, however, will appear to have used the HTTP protocol. The AppEngineRouting used to construct the URL that the task is delivered to can be set at the queue-level or task-level: * If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. The `url` that the task will be sent to is: * `url =` host `+` 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). 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) 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`]. The task attempt has failed if the app's handler returns a non-2xx response code or Cloud Tasks does not receive response before the deadline. Failed tasks will be retried according to the retry configuration. `503` (Service Unavailable) is considered an App Engine system error instead of an application error and will cause Cloud Tasks' traffic congestion control to temporarily throttle the queue's dispatches. Unlike other types of task targets, a `429` (Too Many Requests) response from an app handler does not cause traffic congestion control to throttle the queue.
type AppEngineHttpRequestResponseOutput ¶
type AppEngineHttpRequestResponseOutput struct{ *pulumi.OutputState }
App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when the task is dispatched. This proto can only be used for tasks in a queue which has app_engine_http_target set. Using AppEngineHttpRequest requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `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) and how routing is affected by [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). The request to the handler, however, will appear to have used the HTTP protocol. The AppEngineRouting used to construct the URL that the task is delivered to can be set at the queue-level or task-level: * If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. The `url` that the task will be sent to is: * `url =` host `+` 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). 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) 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`]. The task attempt has failed if the app's handler returns a non-2xx response code or Cloud Tasks does not receive response before the deadline. Failed tasks will be retried according to the retry configuration. `503` (Service Unavailable) is considered an App Engine system error instead of an application error and will cause Cloud Tasks' traffic congestion control to temporarily throttle the queue's dispatches. Unlike other types of task targets, a `429` (Too Many Requests) response from an app handler does not cause traffic congestion control to throttle the queue.
func (AppEngineHttpRequestResponseOutput) AppEngineRouting ¶
func (o AppEngineHttpRequestResponseOutput) AppEngineRouting() AppEngineRoutingResponseOutput
Task-level setting for App Engine routing. If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.
func (AppEngineHttpRequestResponseOutput) ElementType ¶
func (AppEngineHttpRequestResponseOutput) ElementType() reflect.Type
func (AppEngineHttpRequestResponseOutput) Headers ¶
func (o AppEngineHttpRequestResponseOutput) Headers() pulumi.StringMapOutput
HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. Repeated headers are not supported but a header value can contain commas. Cloud Tasks sets some headers to default values: * `User-Agent`: By default, this header is `"AppEngine-Google; (+http://code.google.com/appengine)"`. This header can be modified, but Cloud Tasks will append `"AppEngine-Google; (+http://code.google.com/appengine)"` to the modified `User-Agent`. If the task has a payload, Cloud Tasks sets the following headers: * `Content-Type`: By default, the `Content-Type` header is set to `"application/octet-stream"`. The default can be overridden by explicitly setting `Content-Type` to a particular media type when the task is created. For example, `Content-Type` can be set to `"application/json"`. * `Content-Length`: This is computed by Cloud Tasks. This value is output only. It cannot be changed. The headers below cannot be set or overridden: * `Host` * `X-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). 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 the size, there is a limit on the maximum size of the Task. For more information, see the CreateTask documentation.
func (AppEngineHttpRequestResponseOutput) HttpMethod ¶
func (o AppEngineHttpRequestResponseOutput) HttpMethod() pulumi.StringOutput
The HTTP method to use for the request. The default is POST. 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 fails 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) and the App Engine documentation for your runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
func (AppEngineHttpRequestResponseOutput) Payload ¶
func (o AppEngineHttpRequestResponseOutput) Payload() pulumi.StringOutput
Payload. The payload will be sent as the HTTP message body. A message body, and thus a payload, is allowed only if the HTTP method is POST or PUT. It is an error to set a data payload on a task with an incompatible HttpMethod.
func (AppEngineHttpRequestResponseOutput) RelativeUrl ¶
func (o AppEngineHttpRequestResponseOutput) RelativeUrl() pulumi.StringOutput
The relative URL. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path and query string arguments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters.
func (AppEngineHttpRequestResponseOutput) ToAppEngineHttpRequestResponseOutput ¶
func (o AppEngineHttpRequestResponseOutput) ToAppEngineHttpRequestResponseOutput() AppEngineHttpRequestResponseOutput
func (AppEngineHttpRequestResponseOutput) ToAppEngineHttpRequestResponseOutputWithContext ¶
func (o AppEngineHttpRequestResponseOutput) ToAppEngineHttpRequestResponseOutputWithContext(ctx context.Context) AppEngineHttpRequestResponseOutput
type AppEngineHttpTarget ¶
type AppEngineHttpTarget struct { // Overrides for the task-level app_engine_routing. If set, `app_engine_routing_override` is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. AppEngineRoutingOverride *AppEngineRouting `pulumi:"appEngineRoutingOverride"` }
App Engine HTTP target. The task will be delivered to the App Engine application hostname specified by its AppEngineHttpTarget and AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how the task's host URL is constructed. Using AppEngineHttpTarget requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform`
type AppEngineHttpTargetArgs ¶
type AppEngineHttpTargetArgs struct { // Overrides for the task-level app_engine_routing. If set, `app_engine_routing_override` is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. AppEngineRoutingOverride AppEngineRoutingPtrInput `pulumi:"appEngineRoutingOverride"` }
App Engine HTTP target. The task will be delivered to the App Engine application hostname specified by its AppEngineHttpTarget and AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how the task's host URL is constructed. Using AppEngineHttpTarget requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform`
func (AppEngineHttpTargetArgs) ElementType ¶
func (AppEngineHttpTargetArgs) ElementType() reflect.Type
func (AppEngineHttpTargetArgs) ToAppEngineHttpTargetOutput ¶
func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetOutput() AppEngineHttpTargetOutput
func (AppEngineHttpTargetArgs) ToAppEngineHttpTargetOutputWithContext ¶
func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetOutputWithContext(ctx context.Context) AppEngineHttpTargetOutput
func (AppEngineHttpTargetArgs) ToAppEngineHttpTargetPtrOutput ¶
func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput
func (AppEngineHttpTargetArgs) ToAppEngineHttpTargetPtrOutputWithContext ¶
func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetPtrOutput
type AppEngineHttpTargetInput ¶
type AppEngineHttpTargetInput interface { pulumi.Input ToAppEngineHttpTargetOutput() AppEngineHttpTargetOutput ToAppEngineHttpTargetOutputWithContext(context.Context) AppEngineHttpTargetOutput }
AppEngineHttpTargetInput is an input type that accepts AppEngineHttpTargetArgs and AppEngineHttpTargetOutput values. You can construct a concrete instance of `AppEngineHttpTargetInput` via:
AppEngineHttpTargetArgs{...}
type AppEngineHttpTargetOutput ¶
type AppEngineHttpTargetOutput struct{ *pulumi.OutputState }
App Engine HTTP target. The task will be delivered to the App Engine application hostname specified by its AppEngineHttpTarget and AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how the task's host URL is constructed. Using AppEngineHttpTarget requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform`
func (AppEngineHttpTargetOutput) AppEngineRoutingOverride ¶
func (o AppEngineHttpTargetOutput) AppEngineRoutingOverride() AppEngineRoutingPtrOutput
Overrides for the task-level app_engine_routing. If set, `app_engine_routing_override` is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.
func (AppEngineHttpTargetOutput) ElementType ¶
func (AppEngineHttpTargetOutput) ElementType() reflect.Type
func (AppEngineHttpTargetOutput) ToAppEngineHttpTargetOutput ¶
func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetOutput() AppEngineHttpTargetOutput
func (AppEngineHttpTargetOutput) ToAppEngineHttpTargetOutputWithContext ¶
func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetOutputWithContext(ctx context.Context) AppEngineHttpTargetOutput
func (AppEngineHttpTargetOutput) ToAppEngineHttpTargetPtrOutput ¶
func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput
func (AppEngineHttpTargetOutput) ToAppEngineHttpTargetPtrOutputWithContext ¶
func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetPtrOutput
type AppEngineHttpTargetPtrInput ¶
type AppEngineHttpTargetPtrInput interface { pulumi.Input ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput ToAppEngineHttpTargetPtrOutputWithContext(context.Context) AppEngineHttpTargetPtrOutput }
AppEngineHttpTargetPtrInput is an input type that accepts AppEngineHttpTargetArgs, AppEngineHttpTargetPtr and AppEngineHttpTargetPtrOutput values. You can construct a concrete instance of `AppEngineHttpTargetPtrInput` via:
AppEngineHttpTargetArgs{...} or: nil
func AppEngineHttpTargetPtr ¶
func AppEngineHttpTargetPtr(v *AppEngineHttpTargetArgs) AppEngineHttpTargetPtrInput
type AppEngineHttpTargetPtrOutput ¶
type AppEngineHttpTargetPtrOutput struct{ *pulumi.OutputState }
func (AppEngineHttpTargetPtrOutput) AppEngineRoutingOverride ¶
func (o AppEngineHttpTargetPtrOutput) AppEngineRoutingOverride() AppEngineRoutingPtrOutput
Overrides for the task-level app_engine_routing. If set, `app_engine_routing_override` is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.
func (AppEngineHttpTargetPtrOutput) Elem ¶
func (o AppEngineHttpTargetPtrOutput) Elem() AppEngineHttpTargetOutput
func (AppEngineHttpTargetPtrOutput) ElementType ¶
func (AppEngineHttpTargetPtrOutput) ElementType() reflect.Type
func (AppEngineHttpTargetPtrOutput) ToAppEngineHttpTargetPtrOutput ¶
func (o AppEngineHttpTargetPtrOutput) ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput
func (AppEngineHttpTargetPtrOutput) ToAppEngineHttpTargetPtrOutputWithContext ¶
func (o AppEngineHttpTargetPtrOutput) ToAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetPtrOutput
type AppEngineHttpTargetResponse ¶
type AppEngineHttpTargetResponse struct { // Overrides for the task-level app_engine_routing. If set, `app_engine_routing_override` is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. AppEngineRoutingOverride AppEngineRoutingResponse `pulumi:"appEngineRoutingOverride"` }
App Engine HTTP target. The task will be delivered to the App Engine application hostname specified by its AppEngineHttpTarget and AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how the task's host URL is constructed. Using AppEngineHttpTarget requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform`
type AppEngineHttpTargetResponseOutput ¶
type AppEngineHttpTargetResponseOutput struct{ *pulumi.OutputState }
App Engine HTTP target. The task will be delivered to the App Engine application hostname specified by its AppEngineHttpTarget and AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how the task's host URL is constructed. Using AppEngineHttpTarget requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform`
func (AppEngineHttpTargetResponseOutput) AppEngineRoutingOverride ¶
func (o AppEngineHttpTargetResponseOutput) AppEngineRoutingOverride() AppEngineRoutingResponseOutput
Overrides for the task-level app_engine_routing. If set, `app_engine_routing_override` is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.
func (AppEngineHttpTargetResponseOutput) ElementType ¶
func (AppEngineHttpTargetResponseOutput) ElementType() reflect.Type
func (AppEngineHttpTargetResponseOutput) ToAppEngineHttpTargetResponseOutput ¶
func (o AppEngineHttpTargetResponseOutput) ToAppEngineHttpTargetResponseOutput() AppEngineHttpTargetResponseOutput
func (AppEngineHttpTargetResponseOutput) ToAppEngineHttpTargetResponseOutputWithContext ¶
func (o AppEngineHttpTargetResponseOutput) ToAppEngineHttpTargetResponseOutputWithContext(ctx context.Context) AppEngineHttpTargetResponseOutput
type AppEngineRouting ¶
type AppEngineRouting struct { // App instance. 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). 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). Instance *string `pulumi:"instance"` // App service. By default, the task is sent to the service which is the default service when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string. Service *string `pulumi:"service"` // App version. By default, the task is sent to the version which is the default version when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string. Version *string `pulumi:"version"` }
App Engine Routing. 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).
type AppEngineRoutingArgs ¶
type AppEngineRoutingArgs struct { // App instance. 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). 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). Instance pulumi.StringPtrInput `pulumi:"instance"` // App service. By default, the task is sent to the service which is the default service when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string. Service pulumi.StringPtrInput `pulumi:"service"` // App version. By default, the task is sent to the version which is the default version when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string. Version pulumi.StringPtrInput `pulumi:"version"` }
App Engine Routing. 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).
func (AppEngineRoutingArgs) ElementType ¶
func (AppEngineRoutingArgs) ElementType() reflect.Type
func (AppEngineRoutingArgs) ToAppEngineRoutingOutput ¶
func (i AppEngineRoutingArgs) ToAppEngineRoutingOutput() AppEngineRoutingOutput
func (AppEngineRoutingArgs) ToAppEngineRoutingOutputWithContext ¶
func (i AppEngineRoutingArgs) ToAppEngineRoutingOutputWithContext(ctx context.Context) AppEngineRoutingOutput
func (AppEngineRoutingArgs) ToAppEngineRoutingPtrOutput ¶
func (i AppEngineRoutingArgs) ToAppEngineRoutingPtrOutput() AppEngineRoutingPtrOutput
func (AppEngineRoutingArgs) ToAppEngineRoutingPtrOutputWithContext ¶
func (i AppEngineRoutingArgs) ToAppEngineRoutingPtrOutputWithContext(ctx context.Context) AppEngineRoutingPtrOutput
type AppEngineRoutingInput ¶
type AppEngineRoutingInput interface { pulumi.Input ToAppEngineRoutingOutput() AppEngineRoutingOutput ToAppEngineRoutingOutputWithContext(context.Context) AppEngineRoutingOutput }
AppEngineRoutingInput is an input type that accepts AppEngineRoutingArgs and AppEngineRoutingOutput values. You can construct a concrete instance of `AppEngineRoutingInput` via:
AppEngineRoutingArgs{...}
type AppEngineRoutingOutput ¶
type AppEngineRoutingOutput struct{ *pulumi.OutputState }
App Engine Routing. 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).
func (AppEngineRoutingOutput) ElementType ¶
func (AppEngineRoutingOutput) ElementType() reflect.Type
func (AppEngineRoutingOutput) Instance ¶
func (o AppEngineRoutingOutput) Instance() pulumi.StringPtrOutput
App instance. 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). 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).
func (AppEngineRoutingOutput) Service ¶
func (o AppEngineRoutingOutput) Service() pulumi.StringPtrOutput
App service. By default, the task is sent to the service which is the default service when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.
func (AppEngineRoutingOutput) ToAppEngineRoutingOutput ¶
func (o AppEngineRoutingOutput) ToAppEngineRoutingOutput() AppEngineRoutingOutput
func (AppEngineRoutingOutput) ToAppEngineRoutingOutputWithContext ¶
func (o AppEngineRoutingOutput) ToAppEngineRoutingOutputWithContext(ctx context.Context) AppEngineRoutingOutput
func (AppEngineRoutingOutput) ToAppEngineRoutingPtrOutput ¶
func (o AppEngineRoutingOutput) ToAppEngineRoutingPtrOutput() AppEngineRoutingPtrOutput
func (AppEngineRoutingOutput) ToAppEngineRoutingPtrOutputWithContext ¶
func (o AppEngineRoutingOutput) ToAppEngineRoutingPtrOutputWithContext(ctx context.Context) AppEngineRoutingPtrOutput
func (AppEngineRoutingOutput) Version ¶
func (o AppEngineRoutingOutput) Version() pulumi.StringPtrOutput
App version. By default, the task is sent to the version which is the default version when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.
type AppEngineRoutingPtrInput ¶
type AppEngineRoutingPtrInput interface { pulumi.Input ToAppEngineRoutingPtrOutput() AppEngineRoutingPtrOutput ToAppEngineRoutingPtrOutputWithContext(context.Context) AppEngineRoutingPtrOutput }
AppEngineRoutingPtrInput is an input type that accepts AppEngineRoutingArgs, AppEngineRoutingPtr and AppEngineRoutingPtrOutput values. You can construct a concrete instance of `AppEngineRoutingPtrInput` via:
AppEngineRoutingArgs{...} or: nil
func AppEngineRoutingPtr ¶
func AppEngineRoutingPtr(v *AppEngineRoutingArgs) AppEngineRoutingPtrInput
type AppEngineRoutingPtrOutput ¶
type AppEngineRoutingPtrOutput struct{ *pulumi.OutputState }
func (AppEngineRoutingPtrOutput) Elem ¶
func (o AppEngineRoutingPtrOutput) Elem() AppEngineRoutingOutput
func (AppEngineRoutingPtrOutput) ElementType ¶
func (AppEngineRoutingPtrOutput) ElementType() reflect.Type
func (AppEngineRoutingPtrOutput) Instance ¶
func (o AppEngineRoutingPtrOutput) Instance() pulumi.StringPtrOutput
App instance. 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). 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).
func (AppEngineRoutingPtrOutput) Service ¶
func (o AppEngineRoutingPtrOutput) Service() pulumi.StringPtrOutput
App service. By default, the task is sent to the service which is the default service when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.
func (AppEngineRoutingPtrOutput) ToAppEngineRoutingPtrOutput ¶
func (o AppEngineRoutingPtrOutput) ToAppEngineRoutingPtrOutput() AppEngineRoutingPtrOutput
func (AppEngineRoutingPtrOutput) ToAppEngineRoutingPtrOutputWithContext ¶
func (o AppEngineRoutingPtrOutput) ToAppEngineRoutingPtrOutputWithContext(ctx context.Context) AppEngineRoutingPtrOutput
func (AppEngineRoutingPtrOutput) Version ¶
func (o AppEngineRoutingPtrOutput) Version() pulumi.StringPtrOutput
App version. By default, the task is sent to the version which is the default version when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.
type AppEngineRoutingResponse ¶
type AppEngineRoutingResponse struct { // 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). The host is constructed as: * `host = [application_domain_name]` `| [service] + '.' + [application_domain_name]` `| [version] + '.' + [application_domain_name]` `| [version_dot_service]+ '.' + [application_domain_name]` `| [instance] + '.' + [application_domain_name]` `| [instance_dot_service] + '.' + [application_domain_name]` `| [instance_dot_version] + '.' + [application_domain_name]` `| [instance_dot_version_dot_service] + '.' + [application_domain_name]` * `application_domain_name` = The domain name of the app, for example .appspot.com, which is associated with the queue's project ID. Some tasks which were created using the App Engine SDK use a custom domain name. * `service =` service * `version =` version * `version_dot_service =` version `+ '.' +` service * `instance =` instance * `instance_dot_service =` instance `+ '.' +` service * `instance_dot_version =` instance `+ '.' +` version * `instance_dot_version_dot_service =` instance `+ '.' +` version `+ '.' +` service If service is empty, then the task will be sent to the service which is the default service when the task is attempted. If version is empty, then the task will be sent to the version which is the default version when the task is attempted. If instance is empty, then the task will be sent to an instance which is available when the task is attempted. If service, version, or instance is invalid, then the task will be sent to the default version of the default service when the task is attempted. Host string `pulumi:"host"` // App instance. 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). 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). Instance string `pulumi:"instance"` // App service. By default, the task is sent to the service which is the default service when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string. Service string `pulumi:"service"` // App version. By default, the task is sent to the version which is the default version when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string. Version string `pulumi:"version"` }
App Engine Routing. 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).
type AppEngineRoutingResponseOutput ¶
type AppEngineRoutingResponseOutput struct{ *pulumi.OutputState }
App Engine Routing. 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).
func (AppEngineRoutingResponseOutput) ElementType ¶
func (AppEngineRoutingResponseOutput) ElementType() reflect.Type
func (AppEngineRoutingResponseOutput) Host ¶
func (o AppEngineRoutingResponseOutput) Host() pulumi.StringOutput
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). The host is constructed as: * `host = [application_domain_name]` `| [service] + '.' + [application_domain_name]` `| [version] + '.' + [application_domain_name]` `| [version_dot_service]+ '.' + [application_domain_name]` `| [instance] + '.' + [application_domain_name]` `| [instance_dot_service] + '.' + [application_domain_name]` `| [instance_dot_version] + '.' + [application_domain_name]` `| [instance_dot_version_dot_service] + '.' + [application_domain_name]` * `application_domain_name` = The domain name of the app, for example .appspot.com, which is associated with the queue's project ID. Some tasks which were created using the App Engine SDK use a custom domain name. * `service =` service * `version =` version * `version_dot_service =` version `+ '.' +` service * `instance =` instance * `instance_dot_service =` instance `+ '.' +` service * `instance_dot_version =` instance `+ '.' +` version * `instance_dot_version_dot_service =` instance `+ '.' +` version `+ '.' +` service If service is empty, then the task will be sent to the service which is the default service when the task is attempted. If version is empty, then the task will be sent to the version which is the default version when the task is attempted. If instance is empty, then the task will be sent to an instance which is available when the task is attempted. If service, version, or instance is invalid, then the task will be sent to the default version of the default service when the task is attempted.
func (AppEngineRoutingResponseOutput) Instance ¶
func (o AppEngineRoutingResponseOutput) Instance() pulumi.StringOutput
App instance. 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). 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).
func (AppEngineRoutingResponseOutput) Service ¶
func (o AppEngineRoutingResponseOutput) Service() pulumi.StringOutput
App service. By default, the task is sent to the service which is the default service when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.
func (AppEngineRoutingResponseOutput) ToAppEngineRoutingResponseOutput ¶
func (o AppEngineRoutingResponseOutput) ToAppEngineRoutingResponseOutput() AppEngineRoutingResponseOutput
func (AppEngineRoutingResponseOutput) ToAppEngineRoutingResponseOutputWithContext ¶
func (o AppEngineRoutingResponseOutput) ToAppEngineRoutingResponseOutputWithContext(ctx context.Context) AppEngineRoutingResponseOutput
func (AppEngineRoutingResponseOutput) Version ¶
func (o AppEngineRoutingResponseOutput) Version() pulumi.StringOutput
App version. By default, the task is sent to the version which is the default version when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.
type AttemptStatusResponse ¶
type AttemptStatusResponse struct { // The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond. DispatchTime string `pulumi:"dispatchTime"` // The response from the target for this attempt. If the task has not been attempted or the task is currently running then the response status is unset. ResponseStatus StatusResponse `pulumi:"responseStatus"` // The time that this attempt response was received. `response_time` will be truncated to the nearest microsecond. ResponseTime string `pulumi:"responseTime"` // The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond. ScheduleTime string `pulumi:"scheduleTime"` }
The status of a task attempt.
type AttemptStatusResponseOutput ¶
type AttemptStatusResponseOutput struct{ *pulumi.OutputState }
The status of a task attempt.
func (AttemptStatusResponseOutput) DispatchTime ¶
func (o AttemptStatusResponseOutput) DispatchTime() pulumi.StringOutput
The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond.
func (AttemptStatusResponseOutput) ElementType ¶
func (AttemptStatusResponseOutput) ElementType() reflect.Type
func (AttemptStatusResponseOutput) ResponseStatus ¶
func (o AttemptStatusResponseOutput) ResponseStatus() StatusResponseOutput
The response from the target for this attempt. If the task has not been attempted or the task is currently running then the response status is unset.
func (AttemptStatusResponseOutput) ResponseTime ¶
func (o AttemptStatusResponseOutput) ResponseTime() pulumi.StringOutput
The time that this attempt response was received. `response_time` will be truncated to the nearest microsecond.
func (AttemptStatusResponseOutput) ScheduleTime ¶
func (o AttemptStatusResponseOutput) ScheduleTime() pulumi.StringOutput
The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond.
func (AttemptStatusResponseOutput) ToAttemptStatusResponseOutput ¶
func (o AttemptStatusResponseOutput) ToAttemptStatusResponseOutput() AttemptStatusResponseOutput
func (AttemptStatusResponseOutput) ToAttemptStatusResponseOutputWithContext ¶
func (o AttemptStatusResponseOutput) ToAttemptStatusResponseOutputWithContext(ctx context.Context) AttemptStatusResponseOutput
type Binding ¶
type Binding struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition *Expr `pulumi:"condition"` // Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `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@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. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. Members []string `pulumi:"members"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role *string `pulumi:"role"` }
Associates `members`, or principals, with a `role`.
type BindingArgs ¶
type BindingArgs struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition ExprPtrInput `pulumi:"condition"` // Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `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@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. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. Members pulumi.StringArrayInput `pulumi:"members"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role pulumi.StringPtrInput `pulumi:"role"` }
Associates `members`, or principals, with a `role`.
func (BindingArgs) ElementType ¶
func (BindingArgs) ElementType() reflect.Type
func (BindingArgs) ToBindingOutput ¶
func (i BindingArgs) ToBindingOutput() BindingOutput
func (BindingArgs) ToBindingOutputWithContext ¶
func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutput
type BindingArray ¶
type BindingArray []BindingInput
func (BindingArray) ElementType ¶
func (BindingArray) ElementType() reflect.Type
func (BindingArray) ToBindingArrayOutput ¶
func (i BindingArray) ToBindingArrayOutput() BindingArrayOutput
func (BindingArray) ToBindingArrayOutputWithContext ¶
func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) BindingArrayOutput
type BindingArrayInput ¶
type BindingArrayInput interface { pulumi.Input ToBindingArrayOutput() BindingArrayOutput ToBindingArrayOutputWithContext(context.Context) BindingArrayOutput }
BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. You can construct a concrete instance of `BindingArrayInput` via:
BindingArray{ BindingArgs{...} }
type BindingArrayOutput ¶
type BindingArrayOutput struct{ *pulumi.OutputState }
func (BindingArrayOutput) ElementType ¶
func (BindingArrayOutput) ElementType() reflect.Type
func (BindingArrayOutput) Index ¶
func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput
func (BindingArrayOutput) ToBindingArrayOutput ¶
func (o BindingArrayOutput) ToBindingArrayOutput() BindingArrayOutput
func (BindingArrayOutput) ToBindingArrayOutputWithContext ¶
func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) BindingArrayOutput
type BindingInput ¶
type BindingInput interface { pulumi.Input ToBindingOutput() BindingOutput ToBindingOutputWithContext(context.Context) BindingOutput }
BindingInput is an input type that accepts BindingArgs and BindingOutput values. You can construct a concrete instance of `BindingInput` via:
BindingArgs{...}
type BindingOutput ¶
type BindingOutput struct{ *pulumi.OutputState }
Associates `members`, or principals, with a `role`.
func (BindingOutput) Condition ¶
func (o BindingOutput) Condition() ExprPtrOutput
The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
func (BindingOutput) ElementType ¶
func (BindingOutput) ElementType() reflect.Type
func (BindingOutput) Members ¶
func (o BindingOutput) Members() pulumi.StringArrayOutput
Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `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@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. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
func (BindingOutput) Role ¶
func (o BindingOutput) Role() pulumi.StringPtrOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (BindingOutput) ToBindingOutput ¶
func (o BindingOutput) ToBindingOutput() BindingOutput
func (BindingOutput) ToBindingOutputWithContext ¶
func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOutput
type BindingResponse ¶
type BindingResponse struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition ExprResponse `pulumi:"condition"` // Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `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@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. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. Members []string `pulumi:"members"` // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role string `pulumi:"role"` }
Associates `members`, or principals, with a `role`.
type BindingResponseArrayOutput ¶
type BindingResponseArrayOutput struct{ *pulumi.OutputState }
func (BindingResponseArrayOutput) ElementType ¶
func (BindingResponseArrayOutput) ElementType() reflect.Type
func (BindingResponseArrayOutput) Index ¶
func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput
func (BindingResponseArrayOutput) ToBindingResponseArrayOutput ¶
func (o BindingResponseArrayOutput) ToBindingResponseArrayOutput() BindingResponseArrayOutput
func (BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext ¶
func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx context.Context) BindingResponseArrayOutput
type BindingResponseOutput ¶
type BindingResponseOutput struct{ *pulumi.OutputState }
Associates `members`, or principals, with a `role`.
func (BindingResponseOutput) Condition ¶
func (o BindingResponseOutput) Condition() ExprResponseOutput
The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
func (BindingResponseOutput) ElementType ¶
func (BindingResponseOutput) ElementType() reflect.Type
func (BindingResponseOutput) Members ¶
func (o BindingResponseOutput) Members() pulumi.StringArrayOutput
Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `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@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. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
func (BindingResponseOutput) Role ¶
func (o BindingResponseOutput) Role() pulumi.StringOutput
Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (BindingResponseOutput) ToBindingResponseOutput ¶
func (o BindingResponseOutput) ToBindingResponseOutput() BindingResponseOutput
func (BindingResponseOutput) ToBindingResponseOutputWithContext ¶
func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Context) BindingResponseOutput
type Expr ¶
type Expr struct { // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description *string `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression *string `pulumi:"expression"` // Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. Location *string `pulumi:"location"` // Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. Title *string `pulumi:"title"` }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
type ExprArgs ¶
type ExprArgs struct { // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description pulumi.StringPtrInput `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression pulumi.StringPtrInput `pulumi:"expression"` // Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. Location pulumi.StringPtrInput `pulumi:"location"` // Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. Title pulumi.StringPtrInput `pulumi:"title"` }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (ExprArgs) ElementType ¶
func (ExprArgs) ToExprOutput ¶
func (i ExprArgs) ToExprOutput() ExprOutput
func (ExprArgs) ToExprOutputWithContext ¶
func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput
func (ExprArgs) ToExprPtrOutput ¶
func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput
func (ExprArgs) ToExprPtrOutputWithContext ¶
func (i ExprArgs) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
type ExprInput ¶
type ExprInput interface { pulumi.Input ToExprOutput() ExprOutput ToExprOutputWithContext(context.Context) ExprOutput }
ExprInput is an input type that accepts ExprArgs and ExprOutput values. You can construct a concrete instance of `ExprInput` via:
ExprArgs{...}
type ExprOutput ¶
type ExprOutput struct{ *pulumi.OutputState }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (ExprOutput) Description ¶
func (o ExprOutput) Description() pulumi.StringPtrOutput
Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (ExprOutput) ElementType ¶
func (ExprOutput) ElementType() reflect.Type
func (ExprOutput) Expression ¶
func (o ExprOutput) Expression() pulumi.StringPtrOutput
Textual representation of an expression in Common Expression Language syntax.
func (ExprOutput) Location ¶
func (o ExprOutput) Location() pulumi.StringPtrOutput
Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
func (ExprOutput) Title ¶
func (o ExprOutput) Title() pulumi.StringPtrOutput
Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
func (ExprOutput) ToExprOutput ¶
func (o ExprOutput) ToExprOutput() ExprOutput
func (ExprOutput) ToExprOutputWithContext ¶
func (o ExprOutput) ToExprOutputWithContext(ctx context.Context) ExprOutput
func (ExprOutput) ToExprPtrOutput ¶
func (o ExprOutput) ToExprPtrOutput() ExprPtrOutput
func (ExprOutput) ToExprPtrOutputWithContext ¶
func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
type ExprPtrInput ¶
type ExprPtrInput interface { pulumi.Input ToExprPtrOutput() ExprPtrOutput ToExprPtrOutputWithContext(context.Context) ExprPtrOutput }
ExprPtrInput is an input type that accepts ExprArgs, ExprPtr and ExprPtrOutput values. You can construct a concrete instance of `ExprPtrInput` via:
ExprArgs{...} or: nil
func ExprPtr ¶
func ExprPtr(v *ExprArgs) ExprPtrInput
type ExprPtrOutput ¶
type ExprPtrOutput struct{ *pulumi.OutputState }
func (ExprPtrOutput) Description ¶
func (o ExprPtrOutput) Description() pulumi.StringPtrOutput
Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (ExprPtrOutput) Elem ¶
func (o ExprPtrOutput) Elem() ExprOutput
func (ExprPtrOutput) ElementType ¶
func (ExprPtrOutput) ElementType() reflect.Type
func (ExprPtrOutput) Expression ¶
func (o ExprPtrOutput) Expression() pulumi.StringPtrOutput
Textual representation of an expression in Common Expression Language syntax.
func (ExprPtrOutput) Location ¶
func (o ExprPtrOutput) Location() pulumi.StringPtrOutput
Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
func (ExprPtrOutput) Title ¶
func (o ExprPtrOutput) Title() pulumi.StringPtrOutput
Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
func (ExprPtrOutput) ToExprPtrOutput ¶
func (o ExprPtrOutput) ToExprPtrOutput() ExprPtrOutput
func (ExprPtrOutput) ToExprPtrOutputWithContext ¶
func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
type ExprResponse ¶
type ExprResponse struct { // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description string `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression string `pulumi:"expression"` // Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. Location string `pulumi:"location"` // Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. Title string `pulumi:"title"` }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
type ExprResponseOutput ¶
type ExprResponseOutput struct{ *pulumi.OutputState }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (ExprResponseOutput) Description ¶
func (o ExprResponseOutput) Description() pulumi.StringOutput
Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (ExprResponseOutput) ElementType ¶
func (ExprResponseOutput) ElementType() reflect.Type
func (ExprResponseOutput) Expression ¶
func (o ExprResponseOutput) Expression() pulumi.StringOutput
Textual representation of an expression in Common Expression Language syntax.
func (ExprResponseOutput) Location ¶
func (o ExprResponseOutput) Location() pulumi.StringOutput
Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
func (ExprResponseOutput) Title ¶
func (o ExprResponseOutput) Title() pulumi.StringOutput
Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
func (ExprResponseOutput) ToExprResponseOutput ¶
func (o ExprResponseOutput) ToExprResponseOutput() ExprResponseOutput
func (ExprResponseOutput) ToExprResponseOutputWithContext ¶
func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) ExprResponseOutput
type LookupQueueArgs ¶ added in v0.4.0
type LookupQueueIamPolicyArgs ¶ added in v0.4.0
type LookupQueueIamPolicyOutputArgs ¶ added in v0.8.0
type LookupQueueIamPolicyOutputArgs struct { Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` QueueId pulumi.StringInput `pulumi:"queueId"` }
func (LookupQueueIamPolicyOutputArgs) ElementType ¶ added in v0.8.0
func (LookupQueueIamPolicyOutputArgs) ElementType() reflect.Type
type LookupQueueIamPolicyResult ¶ added in v0.4.0
type LookupQueueIamPolicyResult struct { // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings []BindingResponse `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and 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. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag string `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version int `pulumi:"version"` }
func LookupQueueIamPolicy ¶ added in v0.4.0
func LookupQueueIamPolicy(ctx *pulumi.Context, args *LookupQueueIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupQueueIamPolicyResult, error)
Gets the access control policy for a Queue. Returns an empty policy if the resource exists and does not have a policy set. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.getIamPolicy`
type LookupQueueIamPolicyResultOutput ¶ added in v0.8.0
type LookupQueueIamPolicyResultOutput struct{ *pulumi.OutputState }
func LookupQueueIamPolicyOutput ¶ added in v0.8.0
func LookupQueueIamPolicyOutput(ctx *pulumi.Context, args LookupQueueIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupQueueIamPolicyResultOutput
func (LookupQueueIamPolicyResultOutput) Bindings ¶ added in v0.8.0
func (o LookupQueueIamPolicyResultOutput) Bindings() BindingResponseArrayOutput
Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
func (LookupQueueIamPolicyResultOutput) ElementType ¶ added in v0.8.0
func (LookupQueueIamPolicyResultOutput) ElementType() reflect.Type
func (LookupQueueIamPolicyResultOutput) Etag ¶ added in v0.8.0
func (o LookupQueueIamPolicyResultOutput) Etag() pulumi.StringOutput
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and 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. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
func (LookupQueueIamPolicyResultOutput) ToLookupQueueIamPolicyResultOutput ¶ added in v0.8.0
func (o LookupQueueIamPolicyResultOutput) ToLookupQueueIamPolicyResultOutput() LookupQueueIamPolicyResultOutput
func (LookupQueueIamPolicyResultOutput) ToLookupQueueIamPolicyResultOutputWithContext ¶ added in v0.8.0
func (o LookupQueueIamPolicyResultOutput) ToLookupQueueIamPolicyResultOutputWithContext(ctx context.Context) LookupQueueIamPolicyResultOutput
func (LookupQueueIamPolicyResultOutput) Version ¶ added in v0.8.0
func (o LookupQueueIamPolicyResultOutput) Version() pulumi.IntOutput
Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
type LookupQueueOutputArgs ¶ added in v0.8.0
type LookupQueueOutputArgs struct { Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` QueueId pulumi.StringInput `pulumi:"queueId"` ReadMask pulumi.StringPtrInput `pulumi:"readMask"` }
func (LookupQueueOutputArgs) ElementType ¶ added in v0.8.0
func (LookupQueueOutputArgs) ElementType() reflect.Type
type LookupQueueResult ¶ added in v0.4.0
type LookupQueueResult struct { // App Engine HTTP target. An App Engine queue is a queue that has an AppEngineHttpTarget. AppEngineHttpTarget AppEngineHttpTargetResponse `pulumi:"appEngineHttpTarget"` // 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](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. 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. Name string `pulumi:"name"` // Pull target. A pull queue is a queue that has a PullTarget. PullTarget PullTargetResponse `pulumi:"pullTarget"` // 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](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. PurgeTime string `pulumi:"purgeTime"` // Rate limits for task dispatches. rate_limits and retry_config are related because they both control task attempts however they control how tasks are attempted 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). RateLimits RateLimitsResponse `pulumi:"rateLimits"` // 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](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks). RetryConfig RetryConfigResponse `pulumi:"retryConfig"` // The state of the queue. `state` can only be changed by called PauseQueue, ResumeQueue, or uploading [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). UpdateQueue cannot be used to change `state`. State string `pulumi:"state"` // The realtime, informational statistics for a queue. In order to receive the statistics the caller should include this field in the FieldMask. Stats QueueStatsResponse `pulumi:"stats"` // The maximum amount of time that a task will be retained in this queue. Queues created by Cloud Tasks have a default `task_ttl` of 31 days. After a task has lived for `task_ttl`, the task will be deleted regardless of whether it was dispatched or not. The `task_ttl` for queues created via queue.yaml/xml is equal to the maximum duration because there is a [storage quota](https://cloud.google.com/appengine/quotas#Task_Queue) for these queues. To view the maximum valid duration, see the documentation for Duration. TaskTtl string `pulumi:"taskTtl"` // The task tombstone time to live (TTL). After a task is deleted or completed, the task's tombstone is retained for the length of time specified by `tombstone_ttl`. The tombstone is used by task de-duplication; another task with the same name can't be created until the tombstone has expired. For more information about task de-duplication, see the documentation for CreateTaskRequest. Queues created by Cloud Tasks have a default `tombstone_ttl` of 1 hour. TombstoneTtl string `pulumi:"tombstoneTtl"` }
func LookupQueue ¶ added in v0.4.0
func LookupQueue(ctx *pulumi.Context, args *LookupQueueArgs, opts ...pulumi.InvokeOption) (*LookupQueueResult, error)
Gets a queue.
type LookupQueueResultOutput ¶ added in v0.8.0
type LookupQueueResultOutput struct{ *pulumi.OutputState }
func LookupQueueOutput ¶ added in v0.8.0
func LookupQueueOutput(ctx *pulumi.Context, args LookupQueueOutputArgs, opts ...pulumi.InvokeOption) LookupQueueResultOutput
func (LookupQueueResultOutput) AppEngineHttpTarget ¶ added in v0.8.0
func (o LookupQueueResultOutput) AppEngineHttpTarget() AppEngineHttpTargetResponseOutput
App Engine HTTP target. An App Engine queue is a queue that has an AppEngineHttpTarget.
func (LookupQueueResultOutput) ElementType ¶ added in v0.8.0
func (LookupQueueResultOutput) ElementType() reflect.Type
func (LookupQueueResultOutput) Name ¶ added in v0.8.0
func (o LookupQueueResultOutput) Name() pulumi.StringOutput
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](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. 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.
func (LookupQueueResultOutput) PullTarget ¶ added in v0.8.0
func (o LookupQueueResultOutput) PullTarget() PullTargetResponseOutput
Pull target. A pull queue is a queue that has a PullTarget.
func (LookupQueueResultOutput) PurgeTime ¶ added in v0.8.0
func (o LookupQueueResultOutput) PurgeTime() pulumi.StringOutput
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](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.
func (LookupQueueResultOutput) RateLimits ¶ added in v0.8.0
func (o LookupQueueResultOutput) RateLimits() RateLimitsResponseOutput
Rate limits for task dispatches. rate_limits and retry_config are related because they both control task attempts however they control how tasks are attempted 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).
func (LookupQueueResultOutput) RetryConfig ¶ added in v0.8.0
func (o LookupQueueResultOutput) RetryConfig() RetryConfigResponseOutput
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](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks).
func (LookupQueueResultOutput) State ¶ added in v0.8.0
func (o LookupQueueResultOutput) State() pulumi.StringOutput
The state of the queue. `state` can only be changed by called PauseQueue, ResumeQueue, or uploading queue.yaml/xml(https://cloud.google.com/appengine/docs/python/config/queueref). UpdateQueue cannot be used to change `state`.
func (LookupQueueResultOutput) Stats ¶ added in v0.8.0
func (o LookupQueueResultOutput) Stats() QueueStatsResponseOutput
The realtime, informational statistics for a queue. In order to receive the statistics the caller should include this field in the FieldMask.
func (LookupQueueResultOutput) TaskTtl ¶ added in v0.8.0
func (o LookupQueueResultOutput) TaskTtl() pulumi.StringOutput
The maximum amount of time that a task will be retained in this queue. Queues created by Cloud Tasks have a default `task_ttl` of 31 days. After a task has lived for `task_ttl`, the task will be deleted regardless of whether it was dispatched or not. The `task_ttl` for queues created via queue.yaml/xml is equal to the maximum duration because there is a [storage quota](https://cloud.google.com/appengine/quotas#Task_Queue) for these queues. To view the maximum valid duration, see the documentation for Duration.
func (LookupQueueResultOutput) ToLookupQueueResultOutput ¶ added in v0.8.0
func (o LookupQueueResultOutput) ToLookupQueueResultOutput() LookupQueueResultOutput
func (LookupQueueResultOutput) ToLookupQueueResultOutputWithContext ¶ added in v0.8.0
func (o LookupQueueResultOutput) ToLookupQueueResultOutputWithContext(ctx context.Context) LookupQueueResultOutput
func (LookupQueueResultOutput) TombstoneTtl ¶ added in v0.8.0
func (o LookupQueueResultOutput) TombstoneTtl() pulumi.StringOutput
The task tombstone time to live (TTL). After a task is deleted or completed, the task's tombstone is retained for the length of time specified by `tombstone_ttl`. The tombstone is used by task de-duplication; another task with the same name can't be created until the tombstone has expired. For more information about task de-duplication, see the documentation for CreateTaskRequest. Queues created by Cloud Tasks have a default `tombstone_ttl` of 1 hour.
type LookupTaskArgs ¶ added in v0.4.0
type LookupTaskOutputArgs ¶ added in v0.8.0
type LookupTaskOutputArgs struct { Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` QueueId pulumi.StringInput `pulumi:"queueId"` ResponseView pulumi.StringPtrInput `pulumi:"responseView"` TaskId pulumi.StringInput `pulumi:"taskId"` }
func (LookupTaskOutputArgs) ElementType ¶ added in v0.8.0
func (LookupTaskOutputArgs) ElementType() reflect.Type
type LookupTaskResult ¶ added in v0.4.0
type LookupTaskResult struct { // App Engine HTTP request that is sent to the task's target. Can be set only if app_engine_http_target is set on the queue. An App Engine task is a task that has AppEngineHttpRequest set. AppEngineHttpRequest AppEngineHttpRequestResponse `pulumi:"appEngineHttpRequest"` // The time that the task was created. `create_time` will be truncated to the nearest second. CreateTime string `pulumi:"createTime"` // Optionally caller-specified in CreateTask. The task name. The task name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * `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) * `LOCATION_ID` is the canonical ID for the task'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. * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters. Name string `pulumi:"name"` // LeaseTasks to process the task. Can be set only if pull_target is set on the queue. A pull task is a task that has PullMessage set. PullMessage PullMessageResponse `pulumi:"pullMessage"` // The time when the task is scheduled to be attempted. For App Engine queues, this is when the task will be attempted or retried. For pull queues, this is the time when the task is available to be leased; if a task is currently leased, this is the time when the current lease expires, that is, the time that the task was leased plus the lease_duration. `schedule_time` will be truncated to the nearest microsecond. ScheduleTime string `pulumi:"scheduleTime"` // The task status. Status TaskStatusResponse `pulumi:"status"` // The view specifies which subset of the Task has been returned. View string `pulumi:"view"` }
func LookupTask ¶ added in v0.4.0
func LookupTask(ctx *pulumi.Context, args *LookupTaskArgs, opts ...pulumi.InvokeOption) (*LookupTaskResult, error)
Gets a task.
type LookupTaskResultOutput ¶ added in v0.8.0
type LookupTaskResultOutput struct{ *pulumi.OutputState }
func LookupTaskOutput ¶ added in v0.8.0
func LookupTaskOutput(ctx *pulumi.Context, args LookupTaskOutputArgs, opts ...pulumi.InvokeOption) LookupTaskResultOutput
func (LookupTaskResultOutput) AppEngineHttpRequest ¶ added in v0.8.0
func (o LookupTaskResultOutput) AppEngineHttpRequest() AppEngineHttpRequestResponseOutput
App Engine HTTP request that is sent to the task's target. Can be set only if app_engine_http_target is set on the queue. An App Engine task is a task that has AppEngineHttpRequest set.
func (LookupTaskResultOutput) CreateTime ¶ added in v0.8.0
func (o LookupTaskResultOutput) CreateTime() pulumi.StringOutput
The time that the task was created. `create_time` will be truncated to the nearest second.
func (LookupTaskResultOutput) ElementType ¶ added in v0.8.0
func (LookupTaskResultOutput) ElementType() reflect.Type
func (LookupTaskResultOutput) Name ¶ added in v0.8.0
func (o LookupTaskResultOutput) Name() pulumi.StringOutput
Optionally caller-specified in CreateTask. The task name. The task name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * `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) * `LOCATION_ID` is the canonical ID for the task'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. * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.
func (LookupTaskResultOutput) PullMessage ¶ added in v0.8.0
func (o LookupTaskResultOutput) PullMessage() PullMessageResponseOutput
LeaseTasks to process the task. Can be set only if pull_target is set on the queue. A pull task is a task that has PullMessage set.
func (LookupTaskResultOutput) ScheduleTime ¶ added in v0.8.0
func (o LookupTaskResultOutput) ScheduleTime() pulumi.StringOutput
The time when the task is scheduled to be attempted. For App Engine queues, this is when the task will be attempted or retried. For pull queues, this is the time when the task is available to be leased; if a task is currently leased, this is the time when the current lease expires, that is, the time that the task was leased plus the lease_duration. `schedule_time` will be truncated to the nearest microsecond.
func (LookupTaskResultOutput) Status ¶ added in v0.8.0
func (o LookupTaskResultOutput) Status() TaskStatusResponseOutput
The task status.
func (LookupTaskResultOutput) ToLookupTaskResultOutput ¶ added in v0.8.0
func (o LookupTaskResultOutput) ToLookupTaskResultOutput() LookupTaskResultOutput
func (LookupTaskResultOutput) ToLookupTaskResultOutputWithContext ¶ added in v0.8.0
func (o LookupTaskResultOutput) ToLookupTaskResultOutputWithContext(ctx context.Context) LookupTaskResultOutput
func (LookupTaskResultOutput) View ¶ added in v0.8.0
func (o LookupTaskResultOutput) View() pulumi.StringOutput
The view specifies which subset of the Task has been returned.
type PullMessage ¶
type PullMessage struct { // A data payload consumed by the worker to execute the task. Payload *string `pulumi:"payload"` // The task's tag. Tags allow similar tasks to be processed in a batch. If you label tasks with a tag, your worker can lease tasks with the same tag using filter. For example, if you want to aggregate the events associated with a specific user once a day, you could tag tasks with the user ID. The task's tag can only be set when the 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-), 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. Tag *string `pulumi:"tag"` }
The pull message contains data that can be used by the caller of LeaseTasks to process the task. This proto can only be used for tasks in a queue which has pull_target set.
type PullMessageArgs ¶
type PullMessageArgs struct { // A data payload consumed by the worker to execute the task. Payload pulumi.StringPtrInput `pulumi:"payload"` // The task's tag. Tags allow similar tasks to be processed in a batch. If you label tasks with a tag, your worker can lease tasks with the same tag using filter. For example, if you want to aggregate the events associated with a specific user once a day, you could tag tasks with the user ID. The task's tag can only be set when the 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-), 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. Tag pulumi.StringPtrInput `pulumi:"tag"` }
The pull message contains data that can be used by the caller of LeaseTasks to process the task. This proto can only be used for tasks in a queue which has pull_target set.
func (PullMessageArgs) ElementType ¶
func (PullMessageArgs) ElementType() reflect.Type
func (PullMessageArgs) ToPullMessageOutput ¶
func (i PullMessageArgs) ToPullMessageOutput() PullMessageOutput
func (PullMessageArgs) ToPullMessageOutputWithContext ¶
func (i PullMessageArgs) ToPullMessageOutputWithContext(ctx context.Context) PullMessageOutput
func (PullMessageArgs) ToPullMessagePtrOutput ¶
func (i PullMessageArgs) ToPullMessagePtrOutput() PullMessagePtrOutput
func (PullMessageArgs) ToPullMessagePtrOutputWithContext ¶
func (i PullMessageArgs) ToPullMessagePtrOutputWithContext(ctx context.Context) PullMessagePtrOutput
type PullMessageInput ¶
type PullMessageInput interface { pulumi.Input ToPullMessageOutput() PullMessageOutput ToPullMessageOutputWithContext(context.Context) PullMessageOutput }
PullMessageInput is an input type that accepts PullMessageArgs and PullMessageOutput values. You can construct a concrete instance of `PullMessageInput` via:
PullMessageArgs{...}
type PullMessageOutput ¶
type PullMessageOutput struct{ *pulumi.OutputState }
The pull message contains data that can be used by the caller of LeaseTasks to process the task. This proto can only be used for tasks in a queue which has pull_target set.
func (PullMessageOutput) ElementType ¶
func (PullMessageOutput) ElementType() reflect.Type
func (PullMessageOutput) Payload ¶
func (o PullMessageOutput) Payload() pulumi.StringPtrOutput
A data payload consumed by the worker to execute the task.
func (PullMessageOutput) Tag ¶
func (o PullMessageOutput) Tag() pulumi.StringPtrOutput
The task's tag. Tags allow similar tasks to be processed in a batch. If you label tasks with a tag, your worker can lease tasks with the same tag using filter. For example, if you want to aggregate the events associated with a specific user once a day, you could tag tasks with the user ID. The task's tag can only be set when the 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-), 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.
func (PullMessageOutput) ToPullMessageOutput ¶
func (o PullMessageOutput) ToPullMessageOutput() PullMessageOutput
func (PullMessageOutput) ToPullMessageOutputWithContext ¶
func (o PullMessageOutput) ToPullMessageOutputWithContext(ctx context.Context) PullMessageOutput
func (PullMessageOutput) ToPullMessagePtrOutput ¶
func (o PullMessageOutput) ToPullMessagePtrOutput() PullMessagePtrOutput
func (PullMessageOutput) ToPullMessagePtrOutputWithContext ¶
func (o PullMessageOutput) ToPullMessagePtrOutputWithContext(ctx context.Context) PullMessagePtrOutput
type PullMessagePtrInput ¶
type PullMessagePtrInput interface { pulumi.Input ToPullMessagePtrOutput() PullMessagePtrOutput ToPullMessagePtrOutputWithContext(context.Context) PullMessagePtrOutput }
PullMessagePtrInput is an input type that accepts PullMessageArgs, PullMessagePtr and PullMessagePtrOutput values. You can construct a concrete instance of `PullMessagePtrInput` via:
PullMessageArgs{...} or: nil
func PullMessagePtr ¶
func PullMessagePtr(v *PullMessageArgs) PullMessagePtrInput
type PullMessagePtrOutput ¶
type PullMessagePtrOutput struct{ *pulumi.OutputState }
func (PullMessagePtrOutput) Elem ¶
func (o PullMessagePtrOutput) Elem() PullMessageOutput
func (PullMessagePtrOutput) ElementType ¶
func (PullMessagePtrOutput) ElementType() reflect.Type
func (PullMessagePtrOutput) Payload ¶
func (o PullMessagePtrOutput) Payload() pulumi.StringPtrOutput
A data payload consumed by the worker to execute the task.
func (PullMessagePtrOutput) Tag ¶
func (o PullMessagePtrOutput) Tag() pulumi.StringPtrOutput
The task's tag. Tags allow similar tasks to be processed in a batch. If you label tasks with a tag, your worker can lease tasks with the same tag using filter. For example, if you want to aggregate the events associated with a specific user once a day, you could tag tasks with the user ID. The task's tag can only be set when the 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-), 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.
func (PullMessagePtrOutput) ToPullMessagePtrOutput ¶
func (o PullMessagePtrOutput) ToPullMessagePtrOutput() PullMessagePtrOutput
func (PullMessagePtrOutput) ToPullMessagePtrOutputWithContext ¶
func (o PullMessagePtrOutput) ToPullMessagePtrOutputWithContext(ctx context.Context) PullMessagePtrOutput
type PullMessageResponse ¶
type PullMessageResponse struct { // A data payload consumed by the worker to execute the task. Payload string `pulumi:"payload"` // The task's tag. Tags allow similar tasks to be processed in a batch. If you label tasks with a tag, your worker can lease tasks with the same tag using filter. For example, if you want to aggregate the events associated with a specific user once a day, you could tag tasks with the user ID. The task's tag can only be set when the 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-), 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. Tag string `pulumi:"tag"` }
The pull message contains data that can be used by the caller of LeaseTasks to process the task. This proto can only be used for tasks in a queue which has pull_target set.
type PullMessageResponseOutput ¶
type PullMessageResponseOutput struct{ *pulumi.OutputState }
The pull message contains data that can be used by the caller of LeaseTasks to process the task. This proto can only be used for tasks in a queue which has pull_target set.
func (PullMessageResponseOutput) ElementType ¶
func (PullMessageResponseOutput) ElementType() reflect.Type
func (PullMessageResponseOutput) Payload ¶
func (o PullMessageResponseOutput) Payload() pulumi.StringOutput
A data payload consumed by the worker to execute the task.
func (PullMessageResponseOutput) Tag ¶
func (o PullMessageResponseOutput) Tag() pulumi.StringOutput
The task's tag. Tags allow similar tasks to be processed in a batch. If you label tasks with a tag, your worker can lease tasks with the same tag using filter. For example, if you want to aggregate the events associated with a specific user once a day, you could tag tasks with the user ID. The task's tag can only be set when the 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-), 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.
func (PullMessageResponseOutput) ToPullMessageResponseOutput ¶
func (o PullMessageResponseOutput) ToPullMessageResponseOutput() PullMessageResponseOutput
func (PullMessageResponseOutput) ToPullMessageResponseOutputWithContext ¶
func (o PullMessageResponseOutput) ToPullMessageResponseOutputWithContext(ctx context.Context) PullMessageResponseOutput
type PullTargetArgs ¶
type PullTargetArgs struct { }
Pull target.
func (PullTargetArgs) ElementType ¶
func (PullTargetArgs) ElementType() reflect.Type
func (PullTargetArgs) ToPullTargetOutput ¶
func (i PullTargetArgs) ToPullTargetOutput() PullTargetOutput
func (PullTargetArgs) ToPullTargetOutputWithContext ¶
func (i PullTargetArgs) ToPullTargetOutputWithContext(ctx context.Context) PullTargetOutput
func (PullTargetArgs) ToPullTargetPtrOutput ¶
func (i PullTargetArgs) ToPullTargetPtrOutput() PullTargetPtrOutput
func (PullTargetArgs) ToPullTargetPtrOutputWithContext ¶
func (i PullTargetArgs) ToPullTargetPtrOutputWithContext(ctx context.Context) PullTargetPtrOutput
type PullTargetInput ¶
type PullTargetInput interface { pulumi.Input ToPullTargetOutput() PullTargetOutput ToPullTargetOutputWithContext(context.Context) PullTargetOutput }
PullTargetInput is an input type that accepts PullTargetArgs and PullTargetOutput values. You can construct a concrete instance of `PullTargetInput` via:
PullTargetArgs{...}
type PullTargetOutput ¶
type PullTargetOutput struct{ *pulumi.OutputState }
Pull target.
func (PullTargetOutput) ElementType ¶
func (PullTargetOutput) ElementType() reflect.Type
func (PullTargetOutput) ToPullTargetOutput ¶
func (o PullTargetOutput) ToPullTargetOutput() PullTargetOutput
func (PullTargetOutput) ToPullTargetOutputWithContext ¶
func (o PullTargetOutput) ToPullTargetOutputWithContext(ctx context.Context) PullTargetOutput
func (PullTargetOutput) ToPullTargetPtrOutput ¶
func (o PullTargetOutput) ToPullTargetPtrOutput() PullTargetPtrOutput
func (PullTargetOutput) ToPullTargetPtrOutputWithContext ¶
func (o PullTargetOutput) ToPullTargetPtrOutputWithContext(ctx context.Context) PullTargetPtrOutput
type PullTargetPtrInput ¶
type PullTargetPtrInput interface { pulumi.Input ToPullTargetPtrOutput() PullTargetPtrOutput ToPullTargetPtrOutputWithContext(context.Context) PullTargetPtrOutput }
PullTargetPtrInput is an input type that accepts PullTargetArgs, PullTargetPtr and PullTargetPtrOutput values. You can construct a concrete instance of `PullTargetPtrInput` via:
PullTargetArgs{...} or: nil
func PullTargetPtr ¶
func PullTargetPtr(v *PullTargetArgs) PullTargetPtrInput
type PullTargetPtrOutput ¶
type PullTargetPtrOutput struct{ *pulumi.OutputState }
func (PullTargetPtrOutput) Elem ¶
func (o PullTargetPtrOutput) Elem() PullTargetOutput
func (PullTargetPtrOutput) ElementType ¶
func (PullTargetPtrOutput) ElementType() reflect.Type
func (PullTargetPtrOutput) ToPullTargetPtrOutput ¶
func (o PullTargetPtrOutput) ToPullTargetPtrOutput() PullTargetPtrOutput
func (PullTargetPtrOutput) ToPullTargetPtrOutputWithContext ¶
func (o PullTargetPtrOutput) ToPullTargetPtrOutputWithContext(ctx context.Context) PullTargetPtrOutput
type PullTargetResponseOutput ¶
type PullTargetResponseOutput struct{ *pulumi.OutputState }
Pull target.
func (PullTargetResponseOutput) ElementType ¶
func (PullTargetResponseOutput) ElementType() reflect.Type
func (PullTargetResponseOutput) ToPullTargetResponseOutput ¶
func (o PullTargetResponseOutput) ToPullTargetResponseOutput() PullTargetResponseOutput
func (PullTargetResponseOutput) ToPullTargetResponseOutputWithContext ¶
func (o PullTargetResponseOutput) ToPullTargetResponseOutputWithContext(ctx context.Context) PullTargetResponseOutput
type Queue ¶
type Queue struct { pulumi.CustomResourceState // App Engine HTTP target. An App Engine queue is a queue that has an AppEngineHttpTarget. AppEngineHttpTarget AppEngineHttpTargetResponseOutput `pulumi:"appEngineHttpTarget"` // 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](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. 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. Name pulumi.StringOutput `pulumi:"name"` // Pull target. A pull queue is a queue that has a PullTarget. PullTarget PullTargetResponseOutput `pulumi:"pullTarget"` // 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](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. PurgeTime pulumi.StringOutput `pulumi:"purgeTime"` // Rate limits for task dispatches. rate_limits and retry_config are related because they both control task attempts however they control how tasks are attempted 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). RateLimits RateLimitsResponseOutput `pulumi:"rateLimits"` // 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](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks). RetryConfig RetryConfigResponseOutput `pulumi:"retryConfig"` // The state of the queue. `state` can only be changed by called PauseQueue, ResumeQueue, or uploading [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). UpdateQueue cannot be used to change `state`. State pulumi.StringOutput `pulumi:"state"` // The realtime, informational statistics for a queue. In order to receive the statistics the caller should include this field in the FieldMask. Stats QueueStatsResponseOutput `pulumi:"stats"` // The maximum amount of time that a task will be retained in this queue. Queues created by Cloud Tasks have a default `task_ttl` of 31 days. After a task has lived for `task_ttl`, the task will be deleted regardless of whether it was dispatched or not. The `task_ttl` for queues created via queue.yaml/xml is equal to the maximum duration because there is a [storage quota](https://cloud.google.com/appengine/quotas#Task_Queue) for these queues. To view the maximum valid duration, see the documentation for Duration. TaskTtl pulumi.StringOutput `pulumi:"taskTtl"` // The task tombstone time to live (TTL). After a task is deleted or completed, the task's tombstone is retained for the length of time specified by `tombstone_ttl`. The tombstone is used by task de-duplication; another task with the same name can't be created until the tombstone has expired. For more information about task de-duplication, see the documentation for CreateTaskRequest. Queues created by Cloud Tasks have a default `tombstone_ttl` of 1 hour. TombstoneTtl pulumi.StringOutput `pulumi:"tombstoneTtl"` }
Creates a queue. Queues created with this method allow tasks to live for a maximum of 31 days. After a task is 31 days old, the task will be deleted regardless of whether 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.
func GetQueue ¶
func GetQueue(ctx *pulumi.Context, name string, id pulumi.IDInput, state *QueueState, opts ...pulumi.ResourceOption) (*Queue, error)
GetQueue gets an existing Queue resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewQueue ¶
func NewQueue(ctx *pulumi.Context, name string, args *QueueArgs, opts ...pulumi.ResourceOption) (*Queue, error)
NewQueue registers a new resource with the given unique name, arguments, and options.
func (*Queue) ElementType ¶
func (*Queue) ToQueueOutput ¶
func (i *Queue) ToQueueOutput() QueueOutput
func (*Queue) ToQueueOutputWithContext ¶
func (i *Queue) ToQueueOutputWithContext(ctx context.Context) QueueOutput
type QueueArgs ¶
type QueueArgs struct { // App Engine HTTP target. An App Engine queue is a queue that has an AppEngineHttpTarget. AppEngineHttpTarget AppEngineHttpTargetPtrInput Location pulumi.StringPtrInput // 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](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. 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. Name pulumi.StringPtrInput Project pulumi.StringPtrInput // Pull target. A pull queue is a queue that has a PullTarget. PullTarget PullTargetPtrInput // Rate limits for task dispatches. rate_limits and retry_config are related because they both control task attempts however they control how tasks are attempted 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). RateLimits RateLimitsPtrInput // 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](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks). RetryConfig RetryConfigPtrInput // The maximum amount of time that a task will be retained in this queue. Queues created by Cloud Tasks have a default `task_ttl` of 31 days. After a task has lived for `task_ttl`, the task will be deleted regardless of whether it was dispatched or not. The `task_ttl` for queues created via queue.yaml/xml is equal to the maximum duration because there is a [storage quota](https://cloud.google.com/appengine/quotas#Task_Queue) for these queues. To view the maximum valid duration, see the documentation for Duration. TaskTtl pulumi.StringPtrInput // The task tombstone time to live (TTL). After a task is deleted or completed, the task's tombstone is retained for the length of time specified by `tombstone_ttl`. The tombstone is used by task de-duplication; another task with the same name can't be created until the tombstone has expired. For more information about task de-duplication, see the documentation for CreateTaskRequest. Queues created by Cloud Tasks have a default `tombstone_ttl` of 1 hour. TombstoneTtl pulumi.StringPtrInput }
The set of arguments for constructing a Queue resource.
func (QueueArgs) ElementType ¶
type QueueIamPolicy ¶
type QueueIamPolicy struct { pulumi.CustomResourceState // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingResponseArrayOutput `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and 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. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntOutput `pulumi:"version"` }
Sets the access control policy for a Queue. Replaces any existing policy. Note: The Cloud Console does not check queue-level IAM permissions yet. Project-level permissions are required to use the Cloud Console. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.setIamPolicy` Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
func GetQueueIamPolicy ¶
func GetQueueIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *QueueIamPolicyState, opts ...pulumi.ResourceOption) (*QueueIamPolicy, error)
GetQueueIamPolicy gets an existing QueueIamPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewQueueIamPolicy ¶
func NewQueueIamPolicy(ctx *pulumi.Context, name string, args *QueueIamPolicyArgs, opts ...pulumi.ResourceOption) (*QueueIamPolicy, error)
NewQueueIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*QueueIamPolicy) ElementType ¶
func (*QueueIamPolicy) ElementType() reflect.Type
func (*QueueIamPolicy) ToQueueIamPolicyOutput ¶
func (i *QueueIamPolicy) ToQueueIamPolicyOutput() QueueIamPolicyOutput
func (*QueueIamPolicy) ToQueueIamPolicyOutputWithContext ¶
func (i *QueueIamPolicy) ToQueueIamPolicyOutputWithContext(ctx context.Context) QueueIamPolicyOutput
type QueueIamPolicyArgs ¶
type QueueIamPolicyArgs struct { // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. Bindings BindingArrayInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and 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. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput Location pulumi.StringPtrInput Project pulumi.StringPtrInput QueueId pulumi.StringInput // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntPtrInput }
The set of arguments for constructing a QueueIamPolicy resource.
func (QueueIamPolicyArgs) ElementType ¶
func (QueueIamPolicyArgs) ElementType() reflect.Type
type QueueIamPolicyInput ¶
type QueueIamPolicyInput interface { pulumi.Input ToQueueIamPolicyOutput() QueueIamPolicyOutput ToQueueIamPolicyOutputWithContext(ctx context.Context) QueueIamPolicyOutput }
type QueueIamPolicyOutput ¶
type QueueIamPolicyOutput struct{ *pulumi.OutputState }
func (QueueIamPolicyOutput) ElementType ¶
func (QueueIamPolicyOutput) ElementType() reflect.Type
func (QueueIamPolicyOutput) ToQueueIamPolicyOutput ¶
func (o QueueIamPolicyOutput) ToQueueIamPolicyOutput() QueueIamPolicyOutput
func (QueueIamPolicyOutput) ToQueueIamPolicyOutputWithContext ¶
func (o QueueIamPolicyOutput) ToQueueIamPolicyOutputWithContext(ctx context.Context) QueueIamPolicyOutput
type QueueIamPolicyState ¶
type QueueIamPolicyState struct { }
func (QueueIamPolicyState) ElementType ¶
func (QueueIamPolicyState) ElementType() reflect.Type
type QueueInput ¶
type QueueInput interface { pulumi.Input ToQueueOutput() QueueOutput ToQueueOutputWithContext(ctx context.Context) QueueOutput }
type QueueOutput ¶
type QueueOutput struct{ *pulumi.OutputState }
func (QueueOutput) ElementType ¶
func (QueueOutput) ElementType() reflect.Type
func (QueueOutput) ToQueueOutput ¶
func (o QueueOutput) ToQueueOutput() QueueOutput
func (QueueOutput) ToQueueOutputWithContext ¶
func (o QueueOutput) ToQueueOutputWithContext(ctx context.Context) QueueOutput
type QueueState ¶
type QueueState struct { }
func (QueueState) ElementType ¶
func (QueueState) ElementType() reflect.Type
type QueueStatsResponse ¶
type QueueStatsResponse struct { // The number of requests that the queue has dispatched but has not received a reply for yet. ConcurrentDispatchesCount string `pulumi:"concurrentDispatchesCount"` // The current maximum number of tasks per second executed by the queue. The maximum value of this variable is controlled by the RateLimits of the Queue. However, this value could be less to avoid overloading the endpoints tasks in the queue are targeting. EffectiveExecutionRate float64 `pulumi:"effectiveExecutionRate"` // The number of tasks that the queue has dispatched and received a reply for during the last minute. This variable counts both successful and non-successful executions. ExecutedLastMinuteCount string `pulumi:"executedLastMinuteCount"` // An estimation of the nearest time in the future where a task in the queue is scheduled to be executed. OldestEstimatedArrivalTime string `pulumi:"oldestEstimatedArrivalTime"` // An estimation of the number of tasks in the queue, that is, the tasks in the queue that haven't been executed, the tasks in the queue which the queue has dispatched but has not yet received a reply for, and the failed tasks that the queue is retrying. TasksCount string `pulumi:"tasksCount"` }
Statistics for a queue.
type QueueStatsResponseOutput ¶
type QueueStatsResponseOutput struct{ *pulumi.OutputState }
Statistics for a queue.
func (QueueStatsResponseOutput) ConcurrentDispatchesCount ¶
func (o QueueStatsResponseOutput) ConcurrentDispatchesCount() pulumi.StringOutput
The number of requests that the queue has dispatched but has not received a reply for yet.
func (QueueStatsResponseOutput) EffectiveExecutionRate ¶
func (o QueueStatsResponseOutput) EffectiveExecutionRate() pulumi.Float64Output
The current maximum number of tasks per second executed by the queue. The maximum value of this variable is controlled by the RateLimits of the Queue. However, this value could be less to avoid overloading the endpoints tasks in the queue are targeting.
func (QueueStatsResponseOutput) ElementType ¶
func (QueueStatsResponseOutput) ElementType() reflect.Type
func (QueueStatsResponseOutput) ExecutedLastMinuteCount ¶
func (o QueueStatsResponseOutput) ExecutedLastMinuteCount() pulumi.StringOutput
The number of tasks that the queue has dispatched and received a reply for during the last minute. This variable counts both successful and non-successful executions.
func (QueueStatsResponseOutput) OldestEstimatedArrivalTime ¶
func (o QueueStatsResponseOutput) OldestEstimatedArrivalTime() pulumi.StringOutput
An estimation of the nearest time in the future where a task in the queue is scheduled to be executed.
func (QueueStatsResponseOutput) TasksCount ¶
func (o QueueStatsResponseOutput) TasksCount() pulumi.StringOutput
An estimation of the number of tasks in the queue, that is, the tasks in the queue that haven't been executed, the tasks in the queue which the queue has dispatched but has not yet received a reply for, and the failed tasks that the queue is retrying.
func (QueueStatsResponseOutput) ToQueueStatsResponseOutput ¶
func (o QueueStatsResponseOutput) ToQueueStatsResponseOutput() QueueStatsResponseOutput
func (QueueStatsResponseOutput) ToQueueStatsResponseOutputWithContext ¶
func (o QueueStatsResponseOutput) ToQueueStatsResponseOutputWithContext(ctx context.Context) QueueStatsResponseOutput
type RateLimits ¶
type RateLimits struct { // The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time. The [token bucket](https://wikipedia.org/wiki/Token_Bucket) algorithm is used to control the rate of task dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by `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. The default value of `max_burst_size` is picked by Cloud Tasks based on the value of max_dispatches_per_second. The maximum value of `max_burst_size` is 500. For App Engine queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). If UpdateQueue is called on a queue without explicitly setting a value for `max_burst_size`, `max_burst_size` value will get updated if UpdateQueue is updating max_dispatches_per_second. MaxBurstSize *int `pulumi:"maxBurstSize"` // The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched for this queue. After this threshold has been reached, Cloud Tasks stops dispatching tasks until the number of concurrent requests decreases. If unspecified when the queue is created, Cloud Tasks will pick the default. The maximum allowed value is 5,000. This field is output only for 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). MaxConcurrentTasks *int `pulumi:"maxConcurrentTasks"` // The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default. * For App Engine queues, the maximum allowed value is 500. * This field is output only for pull queues. In addition to the `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). MaxTasksDispatchedPerSecond *float64 `pulumi:"maxTasksDispatchedPerSecond"` }
Rate limits. This message determines the maximum rate that tasks can be dispatched by a queue, regardless of whether the dispatch is a first task attempt or a retry. Note: The debugging command, RunTask, will run a task even if the queue has reached its RateLimits.
type RateLimitsArgs ¶
type RateLimitsArgs struct { // The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time. The [token bucket](https://wikipedia.org/wiki/Token_Bucket) algorithm is used to control the rate of task dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by `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. The default value of `max_burst_size` is picked by Cloud Tasks based on the value of max_dispatches_per_second. The maximum value of `max_burst_size` is 500. For App Engine queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). If UpdateQueue is called on a queue without explicitly setting a value for `max_burst_size`, `max_burst_size` value will get updated if UpdateQueue is updating max_dispatches_per_second. MaxBurstSize pulumi.IntPtrInput `pulumi:"maxBurstSize"` // The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched for this queue. After this threshold has been reached, Cloud Tasks stops dispatching tasks until the number of concurrent requests decreases. If unspecified when the queue is created, Cloud Tasks will pick the default. The maximum allowed value is 5,000. This field is output only for 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). MaxConcurrentTasks pulumi.IntPtrInput `pulumi:"maxConcurrentTasks"` // The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default. * For App Engine queues, the maximum allowed value is 500. * This field is output only for pull queues. In addition to the `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). MaxTasksDispatchedPerSecond pulumi.Float64PtrInput `pulumi:"maxTasksDispatchedPerSecond"` }
Rate limits. This message determines the maximum rate that tasks can be dispatched by a queue, regardless of whether the dispatch is a first task attempt or a retry. Note: The debugging command, RunTask, will run a task even if the queue has reached its RateLimits.
func (RateLimitsArgs) ElementType ¶
func (RateLimitsArgs) ElementType() reflect.Type
func (RateLimitsArgs) ToRateLimitsOutput ¶
func (i RateLimitsArgs) ToRateLimitsOutput() RateLimitsOutput
func (RateLimitsArgs) ToRateLimitsOutputWithContext ¶
func (i RateLimitsArgs) ToRateLimitsOutputWithContext(ctx context.Context) RateLimitsOutput
func (RateLimitsArgs) ToRateLimitsPtrOutput ¶
func (i RateLimitsArgs) ToRateLimitsPtrOutput() RateLimitsPtrOutput
func (RateLimitsArgs) ToRateLimitsPtrOutputWithContext ¶
func (i RateLimitsArgs) ToRateLimitsPtrOutputWithContext(ctx context.Context) RateLimitsPtrOutput
type RateLimitsInput ¶
type RateLimitsInput interface { pulumi.Input ToRateLimitsOutput() RateLimitsOutput ToRateLimitsOutputWithContext(context.Context) RateLimitsOutput }
RateLimitsInput is an input type that accepts RateLimitsArgs and RateLimitsOutput values. You can construct a concrete instance of `RateLimitsInput` via:
RateLimitsArgs{...}
type RateLimitsOutput ¶
type RateLimitsOutput struct{ *pulumi.OutputState }
Rate limits. This message determines the maximum rate that tasks can be dispatched by a queue, regardless of whether the dispatch is a first task attempt or a retry. Note: The debugging command, RunTask, will run a task even if the queue has reached its RateLimits.
func (RateLimitsOutput) ElementType ¶
func (RateLimitsOutput) ElementType() reflect.Type
func (RateLimitsOutput) MaxBurstSize ¶
func (o RateLimitsOutput) MaxBurstSize() pulumi.IntPtrOutput
The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time. The [token bucket](https://wikipedia.org/wiki/Token_Bucket) algorithm is used to control the rate of task dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by `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. The default value of `max_burst_size` is picked by Cloud Tasks based on the value of max_dispatches_per_second. The maximum value of `max_burst_size` is 500. For App Engine queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). If UpdateQueue is called on a queue without explicitly setting a value for `max_burst_size`, `max_burst_size` value will get updated if UpdateQueue is updating max_dispatches_per_second.
func (RateLimitsOutput) MaxConcurrentTasks ¶
func (o RateLimitsOutput) MaxConcurrentTasks() pulumi.IntPtrOutput
The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched for this queue. After this threshold has been reached, Cloud Tasks stops dispatching tasks until the number of concurrent requests decreases. If unspecified when the queue is created, Cloud Tasks will pick the default. The maximum allowed value is 5,000. This field is output only for 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).
func (RateLimitsOutput) MaxTasksDispatchedPerSecond ¶
func (o RateLimitsOutput) MaxTasksDispatchedPerSecond() pulumi.Float64PtrOutput
The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default. * For App Engine queues, the maximum allowed value is 500. * This field is output only for pull queues. In addition to the `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).
func (RateLimitsOutput) ToRateLimitsOutput ¶
func (o RateLimitsOutput) ToRateLimitsOutput() RateLimitsOutput
func (RateLimitsOutput) ToRateLimitsOutputWithContext ¶
func (o RateLimitsOutput) ToRateLimitsOutputWithContext(ctx context.Context) RateLimitsOutput
func (RateLimitsOutput) ToRateLimitsPtrOutput ¶
func (o RateLimitsOutput) ToRateLimitsPtrOutput() RateLimitsPtrOutput
func (RateLimitsOutput) ToRateLimitsPtrOutputWithContext ¶
func (o RateLimitsOutput) ToRateLimitsPtrOutputWithContext(ctx context.Context) RateLimitsPtrOutput
type RateLimitsPtrInput ¶
type RateLimitsPtrInput interface { pulumi.Input ToRateLimitsPtrOutput() RateLimitsPtrOutput ToRateLimitsPtrOutputWithContext(context.Context) RateLimitsPtrOutput }
RateLimitsPtrInput is an input type that accepts RateLimitsArgs, RateLimitsPtr and RateLimitsPtrOutput values. You can construct a concrete instance of `RateLimitsPtrInput` via:
RateLimitsArgs{...} or: nil
func RateLimitsPtr ¶
func RateLimitsPtr(v *RateLimitsArgs) RateLimitsPtrInput
type RateLimitsPtrOutput ¶
type RateLimitsPtrOutput struct{ *pulumi.OutputState }
func (RateLimitsPtrOutput) Elem ¶
func (o RateLimitsPtrOutput) Elem() RateLimitsOutput
func (RateLimitsPtrOutput) ElementType ¶
func (RateLimitsPtrOutput) ElementType() reflect.Type
func (RateLimitsPtrOutput) MaxBurstSize ¶
func (o RateLimitsPtrOutput) MaxBurstSize() pulumi.IntPtrOutput
The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time. The [token bucket](https://wikipedia.org/wiki/Token_Bucket) algorithm is used to control the rate of task dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by `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. The default value of `max_burst_size` is picked by Cloud Tasks based on the value of max_dispatches_per_second. The maximum value of `max_burst_size` is 500. For App Engine queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). If UpdateQueue is called on a queue without explicitly setting a value for `max_burst_size`, `max_burst_size` value will get updated if UpdateQueue is updating max_dispatches_per_second.
func (RateLimitsPtrOutput) MaxConcurrentTasks ¶
func (o RateLimitsPtrOutput) MaxConcurrentTasks() pulumi.IntPtrOutput
The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched for this queue. After this threshold has been reached, Cloud Tasks stops dispatching tasks until the number of concurrent requests decreases. If unspecified when the queue is created, Cloud Tasks will pick the default. The maximum allowed value is 5,000. This field is output only for 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).
func (RateLimitsPtrOutput) MaxTasksDispatchedPerSecond ¶
func (o RateLimitsPtrOutput) MaxTasksDispatchedPerSecond() pulumi.Float64PtrOutput
The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default. * For App Engine queues, the maximum allowed value is 500. * This field is output only for pull queues. In addition to the `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).
func (RateLimitsPtrOutput) ToRateLimitsPtrOutput ¶
func (o RateLimitsPtrOutput) ToRateLimitsPtrOutput() RateLimitsPtrOutput
func (RateLimitsPtrOutput) ToRateLimitsPtrOutputWithContext ¶
func (o RateLimitsPtrOutput) ToRateLimitsPtrOutputWithContext(ctx context.Context) RateLimitsPtrOutput
type RateLimitsResponse ¶
type RateLimitsResponse struct { // The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time. The [token bucket](https://wikipedia.org/wiki/Token_Bucket) algorithm is used to control the rate of task dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by `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. The default value of `max_burst_size` is picked by Cloud Tasks based on the value of max_dispatches_per_second. The maximum value of `max_burst_size` is 500. For App Engine queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). If UpdateQueue is called on a queue without explicitly setting a value for `max_burst_size`, `max_burst_size` value will get updated if UpdateQueue is updating max_dispatches_per_second. MaxBurstSize int `pulumi:"maxBurstSize"` // The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched for this queue. After this threshold has been reached, Cloud Tasks stops dispatching tasks until the number of concurrent requests decreases. If unspecified when the queue is created, Cloud Tasks will pick the default. The maximum allowed value is 5,000. This field is output only for 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). MaxConcurrentTasks int `pulumi:"maxConcurrentTasks"` // The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default. * For App Engine queues, the maximum allowed value is 500. * This field is output only for pull queues. In addition to the `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). MaxTasksDispatchedPerSecond float64 `pulumi:"maxTasksDispatchedPerSecond"` }
Rate limits. This message determines the maximum rate that tasks can be dispatched by a queue, regardless of whether the dispatch is a first task attempt or a retry. Note: The debugging command, RunTask, will run a task even if the queue has reached its RateLimits.
type RateLimitsResponseOutput ¶
type RateLimitsResponseOutput struct{ *pulumi.OutputState }
Rate limits. This message determines the maximum rate that tasks can be dispatched by a queue, regardless of whether the dispatch is a first task attempt or a retry. Note: The debugging command, RunTask, will run a task even if the queue has reached its RateLimits.
func (RateLimitsResponseOutput) ElementType ¶
func (RateLimitsResponseOutput) ElementType() reflect.Type
func (RateLimitsResponseOutput) MaxBurstSize ¶
func (o RateLimitsResponseOutput) MaxBurstSize() pulumi.IntOutput
The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time. The [token bucket](https://wikipedia.org/wiki/Token_Bucket) algorithm is used to control the rate of task dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by `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. The default value of `max_burst_size` is picked by Cloud Tasks based on the value of max_dispatches_per_second. The maximum value of `max_burst_size` is 500. For App Engine queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). If UpdateQueue is called on a queue without explicitly setting a value for `max_burst_size`, `max_burst_size` value will get updated if UpdateQueue is updating max_dispatches_per_second.
func (RateLimitsResponseOutput) MaxConcurrentTasks ¶
func (o RateLimitsResponseOutput) MaxConcurrentTasks() pulumi.IntOutput
The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched for this queue. After this threshold has been reached, Cloud Tasks stops dispatching tasks until the number of concurrent requests decreases. If unspecified when the queue is created, Cloud Tasks will pick the default. The maximum allowed value is 5,000. This field is output only for 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).
func (RateLimitsResponseOutput) MaxTasksDispatchedPerSecond ¶
func (o RateLimitsResponseOutput) MaxTasksDispatchedPerSecond() pulumi.Float64Output
The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default. * For App Engine queues, the maximum allowed value is 500. * This field is output only for pull queues. In addition to the `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).
func (RateLimitsResponseOutput) ToRateLimitsResponseOutput ¶
func (o RateLimitsResponseOutput) ToRateLimitsResponseOutput() RateLimitsResponseOutput
func (RateLimitsResponseOutput) ToRateLimitsResponseOutputWithContext ¶
func (o RateLimitsResponseOutput) ToRateLimitsResponseOutputWithContext(ctx context.Context) RateLimitsResponseOutput
type RetryConfig ¶
type RetryConfig struct { // The maximum number of attempts for a task. Cloud Tasks will attempt the task `max_attempts` times (that is, if the first attempt fails, then there will be `max_attempts - 1` retries). Must be > 0. MaxAttempts *int `pulumi:"maxAttempts"` // A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. 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). MaxBackoff *string `pulumi:"maxBackoff"` // The time between retries will double `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 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). MaxDoublings *int `pulumi:"maxDoublings"` // If positive, `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. 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). MaxRetryDuration *string `pulumi:"maxRetryDuration"` // A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. 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). MinBackoff *string `pulumi:"minBackoff"` // If true, then the number of attempts is unlimited. UnlimitedAttempts *bool `pulumi:"unlimitedAttempts"` }
Retry config. These settings determine how a failed task attempt is retried.
type RetryConfigArgs ¶
type RetryConfigArgs struct { // The maximum number of attempts for a task. Cloud Tasks will attempt the task `max_attempts` times (that is, if the first attempt fails, then there will be `max_attempts - 1` retries). Must be > 0. MaxAttempts pulumi.IntPtrInput `pulumi:"maxAttempts"` // A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. 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). MaxBackoff pulumi.StringPtrInput `pulumi:"maxBackoff"` // The time between retries will double `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 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). MaxDoublings pulumi.IntPtrInput `pulumi:"maxDoublings"` // If positive, `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. 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). MaxRetryDuration pulumi.StringPtrInput `pulumi:"maxRetryDuration"` // A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. 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). MinBackoff pulumi.StringPtrInput `pulumi:"minBackoff"` // If true, then the number of attempts is unlimited. UnlimitedAttempts pulumi.BoolPtrInput `pulumi:"unlimitedAttempts"` }
Retry config. These settings determine how a failed task attempt is retried.
func (RetryConfigArgs) ElementType ¶
func (RetryConfigArgs) ElementType() reflect.Type
func (RetryConfigArgs) ToRetryConfigOutput ¶
func (i RetryConfigArgs) ToRetryConfigOutput() RetryConfigOutput
func (RetryConfigArgs) ToRetryConfigOutputWithContext ¶
func (i RetryConfigArgs) ToRetryConfigOutputWithContext(ctx context.Context) RetryConfigOutput
func (RetryConfigArgs) ToRetryConfigPtrOutput ¶
func (i RetryConfigArgs) ToRetryConfigPtrOutput() RetryConfigPtrOutput
func (RetryConfigArgs) ToRetryConfigPtrOutputWithContext ¶
func (i RetryConfigArgs) ToRetryConfigPtrOutputWithContext(ctx context.Context) RetryConfigPtrOutput
type RetryConfigInput ¶
type RetryConfigInput interface { pulumi.Input ToRetryConfigOutput() RetryConfigOutput ToRetryConfigOutputWithContext(context.Context) RetryConfigOutput }
RetryConfigInput is an input type that accepts RetryConfigArgs and RetryConfigOutput values. You can construct a concrete instance of `RetryConfigInput` via:
RetryConfigArgs{...}
type RetryConfigOutput ¶
type RetryConfigOutput struct{ *pulumi.OutputState }
Retry config. These settings determine how a failed task attempt is retried.
func (RetryConfigOutput) ElementType ¶
func (RetryConfigOutput) ElementType() reflect.Type
func (RetryConfigOutput) MaxAttempts ¶
func (o RetryConfigOutput) MaxAttempts() pulumi.IntPtrOutput
The maximum number of attempts for a task. Cloud Tasks will attempt the task `max_attempts` times (that is, if the first attempt fails, then there will be `max_attempts - 1` retries). Must be > 0.
func (RetryConfigOutput) MaxBackoff ¶
func (o RetryConfigOutput) MaxBackoff() pulumi.StringPtrOutput
A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. 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).
func (RetryConfigOutput) MaxDoublings ¶
func (o RetryConfigOutput) MaxDoublings() pulumi.IntPtrOutput
The time between retries will double `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 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).
func (RetryConfigOutput) MaxRetryDuration ¶
func (o RetryConfigOutput) MaxRetryDuration() pulumi.StringPtrOutput
If positive, `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. 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).
func (RetryConfigOutput) MinBackoff ¶
func (o RetryConfigOutput) MinBackoff() pulumi.StringPtrOutput
A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. 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).
func (RetryConfigOutput) ToRetryConfigOutput ¶
func (o RetryConfigOutput) ToRetryConfigOutput() RetryConfigOutput
func (RetryConfigOutput) ToRetryConfigOutputWithContext ¶
func (o RetryConfigOutput) ToRetryConfigOutputWithContext(ctx context.Context) RetryConfigOutput
func (RetryConfigOutput) ToRetryConfigPtrOutput ¶
func (o RetryConfigOutput) ToRetryConfigPtrOutput() RetryConfigPtrOutput
func (RetryConfigOutput) ToRetryConfigPtrOutputWithContext ¶
func (o RetryConfigOutput) ToRetryConfigPtrOutputWithContext(ctx context.Context) RetryConfigPtrOutput
func (RetryConfigOutput) UnlimitedAttempts ¶
func (o RetryConfigOutput) UnlimitedAttempts() pulumi.BoolPtrOutput
If true, then the number of attempts is unlimited.
type RetryConfigPtrInput ¶
type RetryConfigPtrInput interface { pulumi.Input ToRetryConfigPtrOutput() RetryConfigPtrOutput ToRetryConfigPtrOutputWithContext(context.Context) RetryConfigPtrOutput }
RetryConfigPtrInput is an input type that accepts RetryConfigArgs, RetryConfigPtr and RetryConfigPtrOutput values. You can construct a concrete instance of `RetryConfigPtrInput` via:
RetryConfigArgs{...} or: nil
func RetryConfigPtr ¶
func RetryConfigPtr(v *RetryConfigArgs) RetryConfigPtrInput
type RetryConfigPtrOutput ¶
type RetryConfigPtrOutput struct{ *pulumi.OutputState }
func (RetryConfigPtrOutput) Elem ¶
func (o RetryConfigPtrOutput) Elem() RetryConfigOutput
func (RetryConfigPtrOutput) ElementType ¶
func (RetryConfigPtrOutput) ElementType() reflect.Type
func (RetryConfigPtrOutput) MaxAttempts ¶
func (o RetryConfigPtrOutput) MaxAttempts() pulumi.IntPtrOutput
The maximum number of attempts for a task. Cloud Tasks will attempt the task `max_attempts` times (that is, if the first attempt fails, then there will be `max_attempts - 1` retries). Must be > 0.
func (RetryConfigPtrOutput) MaxBackoff ¶
func (o RetryConfigPtrOutput) MaxBackoff() pulumi.StringPtrOutput
A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. 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).
func (RetryConfigPtrOutput) MaxDoublings ¶
func (o RetryConfigPtrOutput) MaxDoublings() pulumi.IntPtrOutput
The time between retries will double `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 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).
func (RetryConfigPtrOutput) MaxRetryDuration ¶
func (o RetryConfigPtrOutput) MaxRetryDuration() pulumi.StringPtrOutput
If positive, `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. 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).
func (RetryConfigPtrOutput) MinBackoff ¶
func (o RetryConfigPtrOutput) MinBackoff() pulumi.StringPtrOutput
A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. 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).
func (RetryConfigPtrOutput) ToRetryConfigPtrOutput ¶
func (o RetryConfigPtrOutput) ToRetryConfigPtrOutput() RetryConfigPtrOutput
func (RetryConfigPtrOutput) ToRetryConfigPtrOutputWithContext ¶
func (o RetryConfigPtrOutput) ToRetryConfigPtrOutputWithContext(ctx context.Context) RetryConfigPtrOutput
func (RetryConfigPtrOutput) UnlimitedAttempts ¶
func (o RetryConfigPtrOutput) UnlimitedAttempts() pulumi.BoolPtrOutput
If true, then the number of attempts is unlimited.
type RetryConfigResponse ¶
type RetryConfigResponse struct { // The maximum number of attempts for a task. Cloud Tasks will attempt the task `max_attempts` times (that is, if the first attempt fails, then there will be `max_attempts - 1` retries). Must be > 0. MaxAttempts int `pulumi:"maxAttempts"` // A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. 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). MaxBackoff string `pulumi:"maxBackoff"` // The time between retries will double `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 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). MaxDoublings int `pulumi:"maxDoublings"` // If positive, `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. 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). MaxRetryDuration string `pulumi:"maxRetryDuration"` // A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. 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). MinBackoff string `pulumi:"minBackoff"` // If true, then the number of attempts is unlimited. UnlimitedAttempts bool `pulumi:"unlimitedAttempts"` }
Retry config. These settings determine how a failed task attempt is retried.
type RetryConfigResponseOutput ¶
type RetryConfigResponseOutput struct{ *pulumi.OutputState }
Retry config. These settings determine how a failed task attempt is retried.
func (RetryConfigResponseOutput) ElementType ¶
func (RetryConfigResponseOutput) ElementType() reflect.Type
func (RetryConfigResponseOutput) MaxAttempts ¶
func (o RetryConfigResponseOutput) MaxAttempts() pulumi.IntOutput
The maximum number of attempts for a task. Cloud Tasks will attempt the task `max_attempts` times (that is, if the first attempt fails, then there will be `max_attempts - 1` retries). Must be > 0.
func (RetryConfigResponseOutput) MaxBackoff ¶
func (o RetryConfigResponseOutput) MaxBackoff() pulumi.StringOutput
A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. 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).
func (RetryConfigResponseOutput) MaxDoublings ¶
func (o RetryConfigResponseOutput) MaxDoublings() pulumi.IntOutput
The time between retries will double `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 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).
func (RetryConfigResponseOutput) MaxRetryDuration ¶
func (o RetryConfigResponseOutput) MaxRetryDuration() pulumi.StringOutput
If positive, `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. 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).
func (RetryConfigResponseOutput) MinBackoff ¶
func (o RetryConfigResponseOutput) MinBackoff() pulumi.StringOutput
A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. 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).
func (RetryConfigResponseOutput) ToRetryConfigResponseOutput ¶
func (o RetryConfigResponseOutput) ToRetryConfigResponseOutput() RetryConfigResponseOutput
func (RetryConfigResponseOutput) ToRetryConfigResponseOutputWithContext ¶
func (o RetryConfigResponseOutput) ToRetryConfigResponseOutputWithContext(ctx context.Context) RetryConfigResponseOutput
func (RetryConfigResponseOutput) UnlimitedAttempts ¶
func (o RetryConfigResponseOutput) UnlimitedAttempts() pulumi.BoolOutput
If true, then the number of attempts is unlimited.
type StatusResponse ¶
type StatusResponse struct { // The status code, which should be an enum value of google.rpc.Code. Code int `pulumi:"code"` // A list of messages that carry the error details. There is a common set of message types for APIs to use. Details []map[string]string `pulumi:"details"` // A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. Message string `pulumi:"message"` }
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). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
type StatusResponseOutput ¶
type StatusResponseOutput struct{ *pulumi.OutputState }
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). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
func (StatusResponseOutput) Code ¶
func (o StatusResponseOutput) Code() pulumi.IntOutput
The status code, which should be an enum value of google.rpc.Code.
func (StatusResponseOutput) Details ¶
func (o StatusResponseOutput) Details() pulumi.StringMapArrayOutput
A list of messages that carry the error details. There is a common set of message types for APIs to use.
func (StatusResponseOutput) ElementType ¶
func (StatusResponseOutput) ElementType() reflect.Type
func (StatusResponseOutput) Message ¶
func (o StatusResponseOutput) Message() pulumi.StringOutput
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
func (StatusResponseOutput) ToStatusResponseOutput ¶
func (o StatusResponseOutput) ToStatusResponseOutput() StatusResponseOutput
func (StatusResponseOutput) ToStatusResponseOutputWithContext ¶
func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Context) StatusResponseOutput
type Task ¶ added in v0.3.0
type Task struct { pulumi.CustomResourceState // App Engine HTTP request that is sent to the task's target. Can be set only if app_engine_http_target is set on the queue. An App Engine task is a task that has AppEngineHttpRequest set. AppEngineHttpRequest AppEngineHttpRequestResponseOutput `pulumi:"appEngineHttpRequest"` // The time that the task was created. `create_time` will be truncated to the nearest second. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Optionally caller-specified in CreateTask. The task name. The task name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * `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) * `LOCATION_ID` is the canonical ID for the task'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. * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters. Name pulumi.StringOutput `pulumi:"name"` // LeaseTasks to process the task. Can be set only if pull_target is set on the queue. A pull task is a task that has PullMessage set. PullMessage PullMessageResponseOutput `pulumi:"pullMessage"` // The time when the task is scheduled to be attempted. For App Engine queues, this is when the task will be attempted or retried. For pull queues, this is the time when the task is available to be leased; if a task is currently leased, this is the time when the current lease expires, that is, the time that the task was leased plus the lease_duration. `schedule_time` will be truncated to the nearest microsecond. ScheduleTime pulumi.StringOutput `pulumi:"scheduleTime"` // The task status. Status TaskStatusResponseOutput `pulumi:"status"` // The view specifies which subset of the Task has been returned. View pulumi.StringOutput `pulumi:"view"` }
Creates a task and adds it to a queue. Tasks cannot be updated after creation; there is no UpdateTask command. * For App Engine queues, the maximum task size is 100KB. * For pull queues, the maximum task size is 1MB.
func GetTask ¶ added in v0.3.0
func GetTask(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TaskState, opts ...pulumi.ResourceOption) (*Task, error)
GetTask gets an existing Task resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTask ¶ added in v0.3.0
func NewTask(ctx *pulumi.Context, name string, args *TaskArgs, opts ...pulumi.ResourceOption) (*Task, error)
NewTask registers a new resource with the given unique name, arguments, and options.
func (*Task) ElementType ¶ added in v0.3.0
func (*Task) ToTaskOutput ¶ added in v0.3.0
func (i *Task) ToTaskOutput() TaskOutput
func (*Task) ToTaskOutputWithContext ¶ added in v0.3.0
func (i *Task) ToTaskOutputWithContext(ctx context.Context) TaskOutput
type TaskArgs ¶ added in v0.3.0
type TaskArgs struct { // App Engine HTTP request that is sent to the task's target. Can be set only if app_engine_http_target is set on the queue. An App Engine task is a task that has AppEngineHttpRequest set. AppEngineHttpRequest AppEngineHttpRequestPtrInput Location pulumi.StringPtrInput // Optionally caller-specified in CreateTask. The task name. The task name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * `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) * `LOCATION_ID` is the canonical ID for the task'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. * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters. Name pulumi.StringPtrInput Project pulumi.StringPtrInput // LeaseTasks to process the task. Can be set only if pull_target is set on the queue. A pull task is a task that has PullMessage set. PullMessage PullMessagePtrInput QueueId pulumi.StringInput // The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource. ResponseView TaskResponseViewPtrInput // The time when the task is scheduled to be attempted. For App Engine queues, this is when the task will be attempted or retried. For pull queues, this is the time when the task is available to be leased; if a task is currently leased, this is the time when the current lease expires, that is, the time that the task was leased plus the lease_duration. `schedule_time` will be truncated to the nearest microsecond. ScheduleTime pulumi.StringPtrInput }
The set of arguments for constructing a Task resource.
func (TaskArgs) ElementType ¶ added in v0.3.0
type TaskInput ¶ added in v0.3.0
type TaskInput interface { pulumi.Input ToTaskOutput() TaskOutput ToTaskOutputWithContext(ctx context.Context) TaskOutput }
type TaskOutput ¶ added in v0.3.0
type TaskOutput struct{ *pulumi.OutputState }
func (TaskOutput) ElementType ¶ added in v0.3.0
func (TaskOutput) ElementType() reflect.Type
func (TaskOutput) ToTaskOutput ¶ added in v0.3.0
func (o TaskOutput) ToTaskOutput() TaskOutput
func (TaskOutput) ToTaskOutputWithContext ¶ added in v0.3.0
func (o TaskOutput) ToTaskOutputWithContext(ctx context.Context) TaskOutput
type TaskResponseView ¶ added in v0.4.0
type TaskResponseView string
The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
func (TaskResponseView) ElementType ¶ added in v0.4.0
func (TaskResponseView) ElementType() reflect.Type
func (TaskResponseView) ToStringOutput ¶ added in v0.4.0
func (e TaskResponseView) ToStringOutput() pulumi.StringOutput
func (TaskResponseView) ToStringOutputWithContext ¶ added in v0.4.0
func (e TaskResponseView) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (TaskResponseView) ToStringPtrOutput ¶ added in v0.4.0
func (e TaskResponseView) ToStringPtrOutput() pulumi.StringPtrOutput
func (TaskResponseView) ToStringPtrOutputWithContext ¶ added in v0.4.0
func (e TaskResponseView) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
func (TaskResponseView) ToTaskResponseViewOutput ¶ added in v0.6.0
func (e TaskResponseView) ToTaskResponseViewOutput() TaskResponseViewOutput
func (TaskResponseView) ToTaskResponseViewOutputWithContext ¶ added in v0.6.0
func (e TaskResponseView) ToTaskResponseViewOutputWithContext(ctx context.Context) TaskResponseViewOutput
func (TaskResponseView) ToTaskResponseViewPtrOutput ¶ added in v0.6.0
func (e TaskResponseView) ToTaskResponseViewPtrOutput() TaskResponseViewPtrOutput
func (TaskResponseView) ToTaskResponseViewPtrOutputWithContext ¶ added in v0.6.0
func (e TaskResponseView) ToTaskResponseViewPtrOutputWithContext(ctx context.Context) TaskResponseViewPtrOutput
type TaskResponseViewInput ¶ added in v0.6.0
type TaskResponseViewInput interface { pulumi.Input ToTaskResponseViewOutput() TaskResponseViewOutput ToTaskResponseViewOutputWithContext(context.Context) TaskResponseViewOutput }
TaskResponseViewInput is an input type that accepts TaskResponseViewArgs and TaskResponseViewOutput values. You can construct a concrete instance of `TaskResponseViewInput` via:
TaskResponseViewArgs{...}
type TaskResponseViewOutput ¶ added in v0.6.0
type TaskResponseViewOutput struct{ *pulumi.OutputState }
func (TaskResponseViewOutput) ElementType ¶ added in v0.6.0
func (TaskResponseViewOutput) ElementType() reflect.Type
func (TaskResponseViewOutput) ToStringOutput ¶ added in v0.6.0
func (o TaskResponseViewOutput) ToStringOutput() pulumi.StringOutput
func (TaskResponseViewOutput) ToStringOutputWithContext ¶ added in v0.6.0
func (o TaskResponseViewOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (TaskResponseViewOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o TaskResponseViewOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (TaskResponseViewOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o TaskResponseViewOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
func (TaskResponseViewOutput) ToTaskResponseViewOutput ¶ added in v0.6.0
func (o TaskResponseViewOutput) ToTaskResponseViewOutput() TaskResponseViewOutput
func (TaskResponseViewOutput) ToTaskResponseViewOutputWithContext ¶ added in v0.6.0
func (o TaskResponseViewOutput) ToTaskResponseViewOutputWithContext(ctx context.Context) TaskResponseViewOutput
func (TaskResponseViewOutput) ToTaskResponseViewPtrOutput ¶ added in v0.6.0
func (o TaskResponseViewOutput) ToTaskResponseViewPtrOutput() TaskResponseViewPtrOutput
func (TaskResponseViewOutput) ToTaskResponseViewPtrOutputWithContext ¶ added in v0.6.0
func (o TaskResponseViewOutput) ToTaskResponseViewPtrOutputWithContext(ctx context.Context) TaskResponseViewPtrOutput
type TaskResponseViewPtrInput ¶ added in v0.6.0
type TaskResponseViewPtrInput interface { pulumi.Input ToTaskResponseViewPtrOutput() TaskResponseViewPtrOutput ToTaskResponseViewPtrOutputWithContext(context.Context) TaskResponseViewPtrOutput }
func TaskResponseViewPtr ¶ added in v0.6.0
func TaskResponseViewPtr(v string) TaskResponseViewPtrInput
type TaskResponseViewPtrOutput ¶ added in v0.6.0
type TaskResponseViewPtrOutput struct{ *pulumi.OutputState }
func (TaskResponseViewPtrOutput) Elem ¶ added in v0.6.0
func (o TaskResponseViewPtrOutput) Elem() TaskResponseViewOutput
func (TaskResponseViewPtrOutput) ElementType ¶ added in v0.6.0
func (TaskResponseViewPtrOutput) ElementType() reflect.Type
func (TaskResponseViewPtrOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o TaskResponseViewPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (TaskResponseViewPtrOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o TaskResponseViewPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
func (TaskResponseViewPtrOutput) ToTaskResponseViewPtrOutput ¶ added in v0.6.0
func (o TaskResponseViewPtrOutput) ToTaskResponseViewPtrOutput() TaskResponseViewPtrOutput
func (TaskResponseViewPtrOutput) ToTaskResponseViewPtrOutputWithContext ¶ added in v0.6.0
func (o TaskResponseViewPtrOutput) ToTaskResponseViewPtrOutputWithContext(ctx context.Context) TaskResponseViewPtrOutput
type TaskState ¶ added in v0.3.0
type TaskState struct { }
func (TaskState) ElementType ¶ added in v0.3.0
type TaskStatusResponse ¶
type TaskStatusResponse struct { // The number of attempts dispatched. This count includes attempts which have been dispatched but haven't received a response. AttemptDispatchCount int `pulumi:"attemptDispatchCount"` // The number of attempts which have received a response. This field is not calculated for pull tasks. AttemptResponseCount int `pulumi:"attemptResponseCount"` // The status of the task's first attempt. Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks. This field is not calculated for pull tasks. FirstAttemptStatus AttemptStatusResponse `pulumi:"firstAttemptStatus"` // The status of the task's last attempt. This field is not calculated for pull tasks. LastAttemptStatus AttemptStatusResponse `pulumi:"lastAttemptStatus"` }
Status of the task.
type TaskStatusResponseOutput ¶
type TaskStatusResponseOutput struct{ *pulumi.OutputState }
Status of the task.
func (TaskStatusResponseOutput) AttemptDispatchCount ¶
func (o TaskStatusResponseOutput) AttemptDispatchCount() pulumi.IntOutput
The number of attempts dispatched. This count includes attempts which have been dispatched but haven't received a response.
func (TaskStatusResponseOutput) AttemptResponseCount ¶
func (o TaskStatusResponseOutput) AttemptResponseCount() pulumi.IntOutput
The number of attempts which have received a response. This field is not calculated for pull tasks.
func (TaskStatusResponseOutput) ElementType ¶
func (TaskStatusResponseOutput) ElementType() reflect.Type
func (TaskStatusResponseOutput) FirstAttemptStatus ¶
func (o TaskStatusResponseOutput) FirstAttemptStatus() AttemptStatusResponseOutput
The status of the task's first attempt. Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks. This field is not calculated for pull tasks.
func (TaskStatusResponseOutput) LastAttemptStatus ¶
func (o TaskStatusResponseOutput) LastAttemptStatus() AttemptStatusResponseOutput
The status of the task's last attempt. This field is not calculated for pull tasks.
func (TaskStatusResponseOutput) ToTaskStatusResponseOutput ¶
func (o TaskStatusResponseOutput) ToTaskStatusResponseOutput() TaskStatusResponseOutput
func (TaskStatusResponseOutput) ToTaskStatusResponseOutputWithContext ¶
func (o TaskStatusResponseOutput) ToTaskStatusResponseOutputWithContext(ctx context.Context) TaskStatusResponseOutput