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 (o AppEngineHttpRequestOutput) Body() pulumi.StringPtrOutput
- func (AppEngineHttpRequestOutput) ElementType() reflect.Type
- func (o AppEngineHttpRequestOutput) Headers() pulumi.StringMapOutput
- func (o AppEngineHttpRequestOutput) HttpMethod() AppEngineHttpRequestHttpMethodPtrOutput
- func (o AppEngineHttpRequestOutput) RelativeUri() 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) Body() pulumi.StringPtrOutput
- func (o AppEngineHttpRequestPtrOutput) Elem() AppEngineHttpRequestOutput
- func (AppEngineHttpRequestPtrOutput) ElementType() reflect.Type
- func (o AppEngineHttpRequestPtrOutput) Headers() pulumi.StringMapOutput
- func (o AppEngineHttpRequestPtrOutput) HttpMethod() AppEngineHttpRequestHttpMethodPtrOutput
- func (o AppEngineHttpRequestPtrOutput) RelativeUri() 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 (o AppEngineHttpRequestResponseOutput) Body() pulumi.StringOutput
- func (AppEngineHttpRequestResponseOutput) ElementType() reflect.Type
- func (o AppEngineHttpRequestResponseOutput) Headers() pulumi.StringMapOutput
- func (o AppEngineHttpRequestResponseOutput) HttpMethod() pulumi.StringOutput
- func (o AppEngineHttpRequestResponseOutput) RelativeUri() pulumi.StringOutput
- func (o AppEngineHttpRequestResponseOutput) ToAppEngineHttpRequestResponseOutput() AppEngineHttpRequestResponseOutput
- func (o AppEngineHttpRequestResponseOutput) ToAppEngineHttpRequestResponseOutputWithContext(ctx context.Context) AppEngineHttpRequestResponseOutput
- 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 AttemptResponse
- type AttemptResponseOutput
- func (o AttemptResponseOutput) DispatchTime() pulumi.StringOutput
- func (AttemptResponseOutput) ElementType() reflect.Type
- func (o AttemptResponseOutput) ResponseStatus() StatusResponseOutput
- func (o AttemptResponseOutput) ResponseTime() pulumi.StringOutput
- func (o AttemptResponseOutput) ScheduleTime() pulumi.StringOutput
- func (o AttemptResponseOutput) ToAttemptResponseOutput() AttemptResponseOutput
- func (o AttemptResponseOutput) ToAttemptResponseOutputWithContext(ctx context.Context) AttemptResponseOutput
- 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 HttpRequest
- type HttpRequestArgs
- func (HttpRequestArgs) ElementType() reflect.Type
- func (i HttpRequestArgs) ToHttpRequestOutput() HttpRequestOutput
- func (i HttpRequestArgs) ToHttpRequestOutputWithContext(ctx context.Context) HttpRequestOutput
- func (i HttpRequestArgs) ToHttpRequestPtrOutput() HttpRequestPtrOutput
- func (i HttpRequestArgs) ToHttpRequestPtrOutputWithContext(ctx context.Context) HttpRequestPtrOutput
- type HttpRequestHttpMethod
- func (HttpRequestHttpMethod) ElementType() reflect.Type
- func (e HttpRequestHttpMethod) ToHttpRequestHttpMethodOutput() HttpRequestHttpMethodOutput
- func (e HttpRequestHttpMethod) ToHttpRequestHttpMethodOutputWithContext(ctx context.Context) HttpRequestHttpMethodOutput
- func (e HttpRequestHttpMethod) ToHttpRequestHttpMethodPtrOutput() HttpRequestHttpMethodPtrOutput
- func (e HttpRequestHttpMethod) ToHttpRequestHttpMethodPtrOutputWithContext(ctx context.Context) HttpRequestHttpMethodPtrOutput
- func (e HttpRequestHttpMethod) ToStringOutput() pulumi.StringOutput
- func (e HttpRequestHttpMethod) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e HttpRequestHttpMethod) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e HttpRequestHttpMethod) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type HttpRequestHttpMethodInput
- type HttpRequestHttpMethodOutput
- func (HttpRequestHttpMethodOutput) ElementType() reflect.Type
- func (o HttpRequestHttpMethodOutput) ToHttpRequestHttpMethodOutput() HttpRequestHttpMethodOutput
- func (o HttpRequestHttpMethodOutput) ToHttpRequestHttpMethodOutputWithContext(ctx context.Context) HttpRequestHttpMethodOutput
- func (o HttpRequestHttpMethodOutput) ToHttpRequestHttpMethodPtrOutput() HttpRequestHttpMethodPtrOutput
- func (o HttpRequestHttpMethodOutput) ToHttpRequestHttpMethodPtrOutputWithContext(ctx context.Context) HttpRequestHttpMethodPtrOutput
- func (o HttpRequestHttpMethodOutput) ToStringOutput() pulumi.StringOutput
- func (o HttpRequestHttpMethodOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o HttpRequestHttpMethodOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o HttpRequestHttpMethodOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type HttpRequestHttpMethodPtrInput
- type HttpRequestHttpMethodPtrOutput
- func (o HttpRequestHttpMethodPtrOutput) Elem() HttpRequestHttpMethodOutput
- func (HttpRequestHttpMethodPtrOutput) ElementType() reflect.Type
- func (o HttpRequestHttpMethodPtrOutput) ToHttpRequestHttpMethodPtrOutput() HttpRequestHttpMethodPtrOutput
- func (o HttpRequestHttpMethodPtrOutput) ToHttpRequestHttpMethodPtrOutputWithContext(ctx context.Context) HttpRequestHttpMethodPtrOutput
- func (o HttpRequestHttpMethodPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o HttpRequestHttpMethodPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type HttpRequestInput
- type HttpRequestOutput
- func (o HttpRequestOutput) Body() pulumi.StringPtrOutput
- func (HttpRequestOutput) ElementType() reflect.Type
- func (o HttpRequestOutput) Headers() pulumi.StringMapOutput
- func (o HttpRequestOutput) HttpMethod() HttpRequestHttpMethodPtrOutput
- func (o HttpRequestOutput) OauthToken() OAuthTokenPtrOutput
- func (o HttpRequestOutput) OidcToken() OidcTokenPtrOutput
- func (o HttpRequestOutput) ToHttpRequestOutput() HttpRequestOutput
- func (o HttpRequestOutput) ToHttpRequestOutputWithContext(ctx context.Context) HttpRequestOutput
- func (o HttpRequestOutput) ToHttpRequestPtrOutput() HttpRequestPtrOutput
- func (o HttpRequestOutput) ToHttpRequestPtrOutputWithContext(ctx context.Context) HttpRequestPtrOutput
- func (o HttpRequestOutput) Url() pulumi.StringOutput
- type HttpRequestPtrInput
- type HttpRequestPtrOutput
- func (o HttpRequestPtrOutput) Body() pulumi.StringPtrOutput
- func (o HttpRequestPtrOutput) Elem() HttpRequestOutput
- func (HttpRequestPtrOutput) ElementType() reflect.Type
- func (o HttpRequestPtrOutput) Headers() pulumi.StringMapOutput
- func (o HttpRequestPtrOutput) HttpMethod() HttpRequestHttpMethodPtrOutput
- func (o HttpRequestPtrOutput) OauthToken() OAuthTokenPtrOutput
- func (o HttpRequestPtrOutput) OidcToken() OidcTokenPtrOutput
- func (o HttpRequestPtrOutput) ToHttpRequestPtrOutput() HttpRequestPtrOutput
- func (o HttpRequestPtrOutput) ToHttpRequestPtrOutputWithContext(ctx context.Context) HttpRequestPtrOutput
- func (o HttpRequestPtrOutput) Url() pulumi.StringPtrOutput
- type HttpRequestResponse
- type HttpRequestResponseOutput
- func (o HttpRequestResponseOutput) Body() pulumi.StringOutput
- func (HttpRequestResponseOutput) ElementType() reflect.Type
- func (o HttpRequestResponseOutput) Headers() pulumi.StringMapOutput
- func (o HttpRequestResponseOutput) HttpMethod() pulumi.StringOutput
- func (o HttpRequestResponseOutput) OauthToken() OAuthTokenResponseOutput
- func (o HttpRequestResponseOutput) OidcToken() OidcTokenResponseOutput
- func (o HttpRequestResponseOutput) ToHttpRequestResponseOutput() HttpRequestResponseOutput
- func (o HttpRequestResponseOutput) ToHttpRequestResponseOutputWithContext(ctx context.Context) HttpRequestResponseOutput
- func (o HttpRequestResponseOutput) Url() pulumi.StringOutput
- 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) AppEngineRoutingOverride() AppEngineRoutingResponseOutput
- func (LookupQueueResultOutput) ElementType() reflect.Type
- func (o LookupQueueResultOutput) Name() pulumi.StringOutput
- func (o LookupQueueResultOutput) PurgeTime() pulumi.StringOutput
- func (o LookupQueueResultOutput) RateLimits() RateLimitsResponseOutput
- func (o LookupQueueResultOutput) RetryConfig() RetryConfigResponseOutput
- func (o LookupQueueResultOutput) StackdriverLoggingConfig() StackdriverLoggingConfigResponseOutput
- func (o LookupQueueResultOutput) State() pulumi.StringOutput
- func (o LookupQueueResultOutput) ToLookupQueueResultOutput() LookupQueueResultOutput
- func (o LookupQueueResultOutput) ToLookupQueueResultOutputWithContext(ctx context.Context) LookupQueueResultOutput
- type LookupTaskArgs
- type LookupTaskOutputArgs
- type LookupTaskResult
- type LookupTaskResultOutput
- func (o LookupTaskResultOutput) AppEngineHttpRequest() AppEngineHttpRequestResponseOutput
- func (o LookupTaskResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupTaskResultOutput) DispatchCount() pulumi.IntOutput
- func (o LookupTaskResultOutput) DispatchDeadline() pulumi.StringOutput
- func (LookupTaskResultOutput) ElementType() reflect.Type
- func (o LookupTaskResultOutput) FirstAttempt() AttemptResponseOutput
- func (o LookupTaskResultOutput) HttpRequest() HttpRequestResponseOutput
- func (o LookupTaskResultOutput) LastAttempt() AttemptResponseOutput
- func (o LookupTaskResultOutput) Name() pulumi.StringOutput
- func (o LookupTaskResultOutput) ResponseCount() pulumi.IntOutput
- func (o LookupTaskResultOutput) ScheduleTime() pulumi.StringOutput
- func (o LookupTaskResultOutput) ToLookupTaskResultOutput() LookupTaskResultOutput
- func (o LookupTaskResultOutput) ToLookupTaskResultOutputWithContext(ctx context.Context) LookupTaskResultOutput
- func (o LookupTaskResultOutput) View() pulumi.StringOutput
- type OAuthToken
- type OAuthTokenArgs
- func (OAuthTokenArgs) ElementType() reflect.Type
- func (i OAuthTokenArgs) ToOAuthTokenOutput() OAuthTokenOutput
- func (i OAuthTokenArgs) ToOAuthTokenOutputWithContext(ctx context.Context) OAuthTokenOutput
- func (i OAuthTokenArgs) ToOAuthTokenPtrOutput() OAuthTokenPtrOutput
- func (i OAuthTokenArgs) ToOAuthTokenPtrOutputWithContext(ctx context.Context) OAuthTokenPtrOutput
- type OAuthTokenInput
- type OAuthTokenOutput
- func (OAuthTokenOutput) ElementType() reflect.Type
- func (o OAuthTokenOutput) Scope() pulumi.StringPtrOutput
- func (o OAuthTokenOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o OAuthTokenOutput) ToOAuthTokenOutput() OAuthTokenOutput
- func (o OAuthTokenOutput) ToOAuthTokenOutputWithContext(ctx context.Context) OAuthTokenOutput
- func (o OAuthTokenOutput) ToOAuthTokenPtrOutput() OAuthTokenPtrOutput
- func (o OAuthTokenOutput) ToOAuthTokenPtrOutputWithContext(ctx context.Context) OAuthTokenPtrOutput
- type OAuthTokenPtrInput
- type OAuthTokenPtrOutput
- func (o OAuthTokenPtrOutput) Elem() OAuthTokenOutput
- func (OAuthTokenPtrOutput) ElementType() reflect.Type
- func (o OAuthTokenPtrOutput) Scope() pulumi.StringPtrOutput
- func (o OAuthTokenPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o OAuthTokenPtrOutput) ToOAuthTokenPtrOutput() OAuthTokenPtrOutput
- func (o OAuthTokenPtrOutput) ToOAuthTokenPtrOutputWithContext(ctx context.Context) OAuthTokenPtrOutput
- type OAuthTokenResponse
- type OAuthTokenResponseOutput
- func (OAuthTokenResponseOutput) ElementType() reflect.Type
- func (o OAuthTokenResponseOutput) Scope() pulumi.StringOutput
- func (o OAuthTokenResponseOutput) ServiceAccountEmail() pulumi.StringOutput
- func (o OAuthTokenResponseOutput) ToOAuthTokenResponseOutput() OAuthTokenResponseOutput
- func (o OAuthTokenResponseOutput) ToOAuthTokenResponseOutputWithContext(ctx context.Context) OAuthTokenResponseOutput
- type OidcToken
- type OidcTokenArgs
- func (OidcTokenArgs) ElementType() reflect.Type
- func (i OidcTokenArgs) ToOidcTokenOutput() OidcTokenOutput
- func (i OidcTokenArgs) ToOidcTokenOutputWithContext(ctx context.Context) OidcTokenOutput
- func (i OidcTokenArgs) ToOidcTokenPtrOutput() OidcTokenPtrOutput
- func (i OidcTokenArgs) ToOidcTokenPtrOutputWithContext(ctx context.Context) OidcTokenPtrOutput
- type OidcTokenInput
- type OidcTokenOutput
- func (o OidcTokenOutput) Audience() pulumi.StringPtrOutput
- func (OidcTokenOutput) ElementType() reflect.Type
- func (o OidcTokenOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o OidcTokenOutput) ToOidcTokenOutput() OidcTokenOutput
- func (o OidcTokenOutput) ToOidcTokenOutputWithContext(ctx context.Context) OidcTokenOutput
- func (o OidcTokenOutput) ToOidcTokenPtrOutput() OidcTokenPtrOutput
- func (o OidcTokenOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) OidcTokenPtrOutput
- type OidcTokenPtrInput
- type OidcTokenPtrOutput
- func (o OidcTokenPtrOutput) Audience() pulumi.StringPtrOutput
- func (o OidcTokenPtrOutput) Elem() OidcTokenOutput
- func (OidcTokenPtrOutput) ElementType() reflect.Type
- func (o OidcTokenPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o OidcTokenPtrOutput) ToOidcTokenPtrOutput() OidcTokenPtrOutput
- func (o OidcTokenPtrOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) OidcTokenPtrOutput
- type OidcTokenResponse
- type OidcTokenResponseOutput
- func (o OidcTokenResponseOutput) Audience() pulumi.StringOutput
- func (OidcTokenResponseOutput) ElementType() reflect.Type
- func (o OidcTokenResponseOutput) ServiceAccountEmail() pulumi.StringOutput
- func (o OidcTokenResponseOutput) ToOidcTokenResponseOutput() OidcTokenResponseOutput
- func (o OidcTokenResponseOutput) ToOidcTokenResponseOutputWithContext(ctx context.Context) OidcTokenResponseOutput
- type Queue
- type QueueArgs
- type QueueIamPolicy
- type QueueIamPolicyArgs
- type QueueIamPolicyInput
- type QueueIamPolicyOutput
- type QueueIamPolicyState
- type QueueInput
- type QueueOutput
- type QueueState
- 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) MaxConcurrentDispatches() pulumi.IntPtrOutput
- func (o RateLimitsOutput) MaxDispatchesPerSecond() 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) MaxConcurrentDispatches() pulumi.IntPtrOutput
- func (o RateLimitsPtrOutput) MaxDispatchesPerSecond() 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) MaxConcurrentDispatches() pulumi.IntOutput
- func (o RateLimitsResponseOutput) MaxDispatchesPerSecond() 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
- 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
- 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
- type StackdriverLoggingConfig
- type StackdriverLoggingConfigArgs
- func (StackdriverLoggingConfigArgs) ElementType() reflect.Type
- func (i StackdriverLoggingConfigArgs) ToStackdriverLoggingConfigOutput() StackdriverLoggingConfigOutput
- func (i StackdriverLoggingConfigArgs) ToStackdriverLoggingConfigOutputWithContext(ctx context.Context) StackdriverLoggingConfigOutput
- func (i StackdriverLoggingConfigArgs) ToStackdriverLoggingConfigPtrOutput() StackdriverLoggingConfigPtrOutput
- func (i StackdriverLoggingConfigArgs) ToStackdriverLoggingConfigPtrOutputWithContext(ctx context.Context) StackdriverLoggingConfigPtrOutput
- type StackdriverLoggingConfigInput
- type StackdriverLoggingConfigOutput
- func (StackdriverLoggingConfigOutput) ElementType() reflect.Type
- func (o StackdriverLoggingConfigOutput) SamplingRatio() pulumi.Float64PtrOutput
- func (o StackdriverLoggingConfigOutput) ToStackdriverLoggingConfigOutput() StackdriverLoggingConfigOutput
- func (o StackdriverLoggingConfigOutput) ToStackdriverLoggingConfigOutputWithContext(ctx context.Context) StackdriverLoggingConfigOutput
- func (o StackdriverLoggingConfigOutput) ToStackdriverLoggingConfigPtrOutput() StackdriverLoggingConfigPtrOutput
- func (o StackdriverLoggingConfigOutput) ToStackdriverLoggingConfigPtrOutputWithContext(ctx context.Context) StackdriverLoggingConfigPtrOutput
- type StackdriverLoggingConfigPtrInput
- type StackdriverLoggingConfigPtrOutput
- func (o StackdriverLoggingConfigPtrOutput) Elem() StackdriverLoggingConfigOutput
- func (StackdriverLoggingConfigPtrOutput) ElementType() reflect.Type
- func (o StackdriverLoggingConfigPtrOutput) SamplingRatio() pulumi.Float64PtrOutput
- func (o StackdriverLoggingConfigPtrOutput) ToStackdriverLoggingConfigPtrOutput() StackdriverLoggingConfigPtrOutput
- func (o StackdriverLoggingConfigPtrOutput) ToStackdriverLoggingConfigPtrOutputWithContext(ctx context.Context) StackdriverLoggingConfigPtrOutput
- type StackdriverLoggingConfigResponse
- type StackdriverLoggingConfigResponseOutput
- func (StackdriverLoggingConfigResponseOutput) ElementType() reflect.Type
- func (o StackdriverLoggingConfigResponseOutput) SamplingRatio() pulumi.Float64Output
- func (o StackdriverLoggingConfigResponseOutput) ToStackdriverLoggingConfigResponseOutput() StackdriverLoggingConfigResponseOutput
- func (o StackdriverLoggingConfigResponseOutput) ToStackdriverLoggingConfigResponseOutputWithContext(ctx context.Context) StackdriverLoggingConfigResponseOutput
- 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
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") // HTTP PATCH AppEngineHttpRequestHttpMethodPatch = AppEngineHttpRequestHttpMethod("PATCH") // HTTP OPTIONS AppEngineHttpRequestHttpMethodOptions = AppEngineHttpRequestHttpMethod("OPTIONS") )
const ( // HTTP method unspecified HttpRequestHttpMethodHttpMethodUnspecified = HttpRequestHttpMethod("HTTP_METHOD_UNSPECIFIED") // HTTP POST HttpRequestHttpMethodPost = HttpRequestHttpMethod("POST") // HTTP GET HttpRequestHttpMethodGet = HttpRequestHttpMethod("GET") // HTTP HEAD HttpRequestHttpMethodHead = HttpRequestHttpMethod("HEAD") // HTTP PUT HttpRequestHttpMethodPut = HttpRequestHttpMethod("PUT") // HTTP DELETE HttpRequestHttpMethodDelete = HttpRequestHttpMethod("DELETE") // HTTP PATCH HttpRequestHttpMethodPatch = HttpRequestHttpMethod("PATCH") // HTTP OPTIONS HttpRequestHttpMethodOptions = HttpRequestHttpMethod("OPTIONS") )
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 body in AppEngineHttpRequest. Bodies 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 app_engine_routing_override is set on the queue, this value 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 body. A request body is allowed only if the HTTP method is POST or PUT. It is an error to set a body on a task with an incompatible HttpMethod. Body *string `pulumi:"body"` // 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 body, 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/tasks/docs/creating-appengine-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"` // The relative URI. The relative URI must begin with "/" and must be a valid HTTP relative URI. It can contain a path and query string arguments. If the relative URI is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters. RelativeUri *string `pulumi:"relativeUri"` }
App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when the task is dispatched. 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 app_engine_routing_override is set on the queue, this value 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_uri 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 app_engine_routing_override is set on the queue, this value 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 body. A request body is allowed only if the HTTP method is POST or PUT. It is an error to set a body on a task with an incompatible HttpMethod. Body pulumi.StringPtrInput `pulumi:"body"` // 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 body, 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/tasks/docs/creating-appengine-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"` // The relative URI. The relative URI must begin with "/" and must be a valid HTTP relative URI. It can contain a path and query string arguments. If the relative URI is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters. RelativeUri pulumi.StringPtrInput `pulumi:"relativeUri"` }
App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when the task is dispatched. 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 app_engine_routing_override is set on the queue, this value 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_uri 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. 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 app_engine_routing_override is set on the queue, this value 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_uri 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 app_engine_routing_override is set on the queue, this value is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.
func (AppEngineHttpRequestOutput) Body ¶
func (o AppEngineHttpRequestOutput) Body() pulumi.StringPtrOutput
HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It is an error to set a body on a task with an incompatible HttpMethod.
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 body, 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/tasks/docs/creating-appengine-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) RelativeUri ¶
func (o AppEngineHttpRequestOutput) RelativeUri() pulumi.StringPtrOutput
The relative URI. The relative URI must begin with "/" and must be a valid HTTP relative URI. It can contain a path and query string arguments. If the relative URI 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 app_engine_routing_override is set on the queue, this value is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.
func (AppEngineHttpRequestPtrOutput) Body ¶
func (o AppEngineHttpRequestPtrOutput) Body() pulumi.StringPtrOutput
HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It is an error to set a body on a task with an incompatible HttpMethod.
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 body, 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/tasks/docs/creating-appengine-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) RelativeUri ¶
func (o AppEngineHttpRequestPtrOutput) RelativeUri() pulumi.StringPtrOutput
The relative URI. The relative URI must begin with "/" and must be a valid HTTP relative URI. It can contain a path and query string arguments. If the relative URI 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 app_engine_routing_override is set on the queue, this value 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 body. A request body is allowed only if the HTTP method is POST or PUT. It is an error to set a body on a task with an incompatible HttpMethod. Body string `pulumi:"body"` // 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 body, 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/tasks/docs/creating-appengine-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"` // The relative URI. The relative URI must begin with "/" and must be a valid HTTP relative URI. It can contain a path and query string arguments. If the relative URI is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters. RelativeUri string `pulumi:"relativeUri"` }
App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when the task is dispatched. 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 app_engine_routing_override is set on the queue, this value 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_uri 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. 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 app_engine_routing_override is set on the queue, this value 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_uri 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 app_engine_routing_override is set on the queue, this value is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing.
func (AppEngineHttpRequestResponseOutput) Body ¶
func (o AppEngineHttpRequestResponseOutput) Body() pulumi.StringOutput
HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It is an error to set a body on a task with an incompatible HttpMethod.
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 body, 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/tasks/docs/creating-appengine-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) RelativeUri ¶
func (o AppEngineHttpRequestResponseOutput) RelativeUri() pulumi.StringOutput
The relative URI. The relative URI must begin with "/" and must be a valid HTTP relative URI. It can contain a path and query string arguments. If the relative URI 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 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). Using AppEngineRouting 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 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). Using AppEngineRouting 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 (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). Using AppEngineRouting 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 (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. The host is constructed from the domain name of the app associated with the queue's project ID (for example .appspot.com), and the service, version, and instance. Tasks which were created using the App Engine SDK might have a custom domain name. For more information, see [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). 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). Using AppEngineRouting 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 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). Using AppEngineRouting 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 (AppEngineRoutingResponseOutput) ElementType ¶
func (AppEngineRoutingResponseOutput) ElementType() reflect.Type
func (AppEngineRoutingResponseOutput) Host ¶
func (o AppEngineRoutingResponseOutput) Host() pulumi.StringOutput
The host that the task is sent to. The host is constructed from the domain name of the app associated with the queue's project ID (for example .appspot.com), and the service, version, and instance. Tasks which were created using the App Engine SDK might have a custom domain name. For more information, see [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).
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 AttemptResponse ¶
type AttemptResponse 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 worker for this attempt. If `response_time` is unset, then the task has not been attempted or is currently running and the `response_status` field is meaningless. 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 AttemptResponseOutput ¶
type AttemptResponseOutput struct{ *pulumi.OutputState }
The status of a task attempt.
func (AttemptResponseOutput) DispatchTime ¶
func (o AttemptResponseOutput) DispatchTime() pulumi.StringOutput
The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond.
func (AttemptResponseOutput) ElementType ¶
func (AttemptResponseOutput) ElementType() reflect.Type
func (AttemptResponseOutput) ResponseStatus ¶
func (o AttemptResponseOutput) ResponseStatus() StatusResponseOutput
The response from the worker for this attempt. If `response_time` is unset, then the task has not been attempted or is currently running and the `response_status` field is meaningless.
func (AttemptResponseOutput) ResponseTime ¶
func (o AttemptResponseOutput) ResponseTime() pulumi.StringOutput
The time that this attempt response was received. `response_time` will be truncated to the nearest microsecond.
func (AttemptResponseOutput) ScheduleTime ¶
func (o AttemptResponseOutput) ScheduleTime() pulumi.StringOutput
The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond.
func (AttemptResponseOutput) ToAttemptResponseOutput ¶
func (o AttemptResponseOutput) ToAttemptResponseOutput() AttemptResponseOutput
func (AttemptResponseOutput) ToAttemptResponseOutputWithContext ¶
func (o AttemptResponseOutput) ToAttemptResponseOutputWithContext(ctx context.Context) AttemptResponseOutput
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 HttpRequest ¶
type HttpRequest struct { // HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a task with an incompatible HttpMethod. Body *string `pulumi:"body"` // HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. These headers represent a subset of the headers that will accompany the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. * User-Agent: This will be set to `"Google-Cloud-Tasks"`. * `X-Google-*`: Google use only. * `X-AppEngine-*`: Google use only. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the task is created. For example, `Content-Type` can be set to `"application/octet-stream"` or `"application/json"`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB. Headers map[string]string `pulumi:"headers"` // The HTTP method to use for the request. The default is POST. HttpMethod *HttpRequestHttpMethod `pulumi:"httpMethod"` // If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com. OauthToken *OAuthToken `pulumi:"oauthToken"` // If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. OidcToken *OidcToken `pulumi:"oidcToken"` // The full url path that the request will be sent to. This string must begin with either "http://" or "https://". Some examples are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters after encoding. The `Location` header response from a redirect response [`300` - `399`] may be followed. The redirect is not counted as a separate attempt. Url string `pulumi:"url"` }
HTTP request. The task will be pushed to the worker as an HTTP request. If the worker or the redirected worker acknowledges the task by returning a successful HTTP response code ([`200` - `299`]), the task will be removed from the queue. If any other HTTP response code is returned or no response is received, the task will be retried according to the following: * User-specified throttling: retry configuration, rate limits, and the queue's state. * System throttling: To prevent the worker from overloading, Cloud Tasks may temporarily reduce the queue's effective rate. User-specified settings will not be changed. System throttling happens because: * Cloud Tasks backs off on all errors. Normally the backoff specified in rate limits will be used. But if the worker returns `429` (Too Many Requests), `503` (Service Unavailable), or the rate of errors is high, Cloud Tasks will use a higher backoff rate. The retry specified in the `Retry-After` HTTP response header is considered. * To prevent traffic spikes and to smooth sudden increases in traffic, dispatches ramp up slowly when the queue is newly created or idle and if large numbers of tasks suddenly become available to dispatch (due to spikes in create task rates, the queue being unpaused, or many tasks that are scheduled at the same time).
type HttpRequestArgs ¶
type HttpRequestArgs struct { // HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a task with an incompatible HttpMethod. Body pulumi.StringPtrInput `pulumi:"body"` // HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. These headers represent a subset of the headers that will accompany the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. * User-Agent: This will be set to `"Google-Cloud-Tasks"`. * `X-Google-*`: Google use only. * `X-AppEngine-*`: Google use only. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the task is created. For example, `Content-Type` can be set to `"application/octet-stream"` or `"application/json"`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB. Headers pulumi.StringMapInput `pulumi:"headers"` // The HTTP method to use for the request. The default is POST. HttpMethod HttpRequestHttpMethodPtrInput `pulumi:"httpMethod"` // If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com. OauthToken OAuthTokenPtrInput `pulumi:"oauthToken"` // If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. OidcToken OidcTokenPtrInput `pulumi:"oidcToken"` // The full url path that the request will be sent to. This string must begin with either "http://" or "https://". Some examples are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters after encoding. The `Location` header response from a redirect response [`300` - `399`] may be followed. The redirect is not counted as a separate attempt. Url pulumi.StringInput `pulumi:"url"` }
HTTP request. The task will be pushed to the worker as an HTTP request. If the worker or the redirected worker acknowledges the task by returning a successful HTTP response code ([`200` - `299`]), the task will be removed from the queue. If any other HTTP response code is returned or no response is received, the task will be retried according to the following: * User-specified throttling: retry configuration, rate limits, and the queue's state. * System throttling: To prevent the worker from overloading, Cloud Tasks may temporarily reduce the queue's effective rate. User-specified settings will not be changed. System throttling happens because: * Cloud Tasks backs off on all errors. Normally the backoff specified in rate limits will be used. But if the worker returns `429` (Too Many Requests), `503` (Service Unavailable), or the rate of errors is high, Cloud Tasks will use a higher backoff rate. The retry specified in the `Retry-After` HTTP response header is considered. * To prevent traffic spikes and to smooth sudden increases in traffic, dispatches ramp up slowly when the queue is newly created or idle and if large numbers of tasks suddenly become available to dispatch (due to spikes in create task rates, the queue being unpaused, or many tasks that are scheduled at the same time).
func (HttpRequestArgs) ElementType ¶
func (HttpRequestArgs) ElementType() reflect.Type
func (HttpRequestArgs) ToHttpRequestOutput ¶
func (i HttpRequestArgs) ToHttpRequestOutput() HttpRequestOutput
func (HttpRequestArgs) ToHttpRequestOutputWithContext ¶
func (i HttpRequestArgs) ToHttpRequestOutputWithContext(ctx context.Context) HttpRequestOutput
func (HttpRequestArgs) ToHttpRequestPtrOutput ¶
func (i HttpRequestArgs) ToHttpRequestPtrOutput() HttpRequestPtrOutput
func (HttpRequestArgs) ToHttpRequestPtrOutputWithContext ¶
func (i HttpRequestArgs) ToHttpRequestPtrOutputWithContext(ctx context.Context) HttpRequestPtrOutput
type HttpRequestHttpMethod ¶ added in v0.4.0
type HttpRequestHttpMethod string
The HTTP method to use for the request. The default is POST.
func (HttpRequestHttpMethod) ElementType ¶ added in v0.4.0
func (HttpRequestHttpMethod) ElementType() reflect.Type
func (HttpRequestHttpMethod) ToHttpRequestHttpMethodOutput ¶ added in v0.6.0
func (e HttpRequestHttpMethod) ToHttpRequestHttpMethodOutput() HttpRequestHttpMethodOutput
func (HttpRequestHttpMethod) ToHttpRequestHttpMethodOutputWithContext ¶ added in v0.6.0
func (e HttpRequestHttpMethod) ToHttpRequestHttpMethodOutputWithContext(ctx context.Context) HttpRequestHttpMethodOutput
func (HttpRequestHttpMethod) ToHttpRequestHttpMethodPtrOutput ¶ added in v0.6.0
func (e HttpRequestHttpMethod) ToHttpRequestHttpMethodPtrOutput() HttpRequestHttpMethodPtrOutput
func (HttpRequestHttpMethod) ToHttpRequestHttpMethodPtrOutputWithContext ¶ added in v0.6.0
func (e HttpRequestHttpMethod) ToHttpRequestHttpMethodPtrOutputWithContext(ctx context.Context) HttpRequestHttpMethodPtrOutput
func (HttpRequestHttpMethod) ToStringOutput ¶ added in v0.4.0
func (e HttpRequestHttpMethod) ToStringOutput() pulumi.StringOutput
func (HttpRequestHttpMethod) ToStringOutputWithContext ¶ added in v0.4.0
func (e HttpRequestHttpMethod) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (HttpRequestHttpMethod) ToStringPtrOutput ¶ added in v0.4.0
func (e HttpRequestHttpMethod) ToStringPtrOutput() pulumi.StringPtrOutput
func (HttpRequestHttpMethod) ToStringPtrOutputWithContext ¶ added in v0.4.0
func (e HttpRequestHttpMethod) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type HttpRequestHttpMethodInput ¶ added in v0.6.0
type HttpRequestHttpMethodInput interface { pulumi.Input ToHttpRequestHttpMethodOutput() HttpRequestHttpMethodOutput ToHttpRequestHttpMethodOutputWithContext(context.Context) HttpRequestHttpMethodOutput }
HttpRequestHttpMethodInput is an input type that accepts HttpRequestHttpMethodArgs and HttpRequestHttpMethodOutput values. You can construct a concrete instance of `HttpRequestHttpMethodInput` via:
HttpRequestHttpMethodArgs{...}
type HttpRequestHttpMethodOutput ¶ added in v0.6.0
type HttpRequestHttpMethodOutput struct{ *pulumi.OutputState }
func (HttpRequestHttpMethodOutput) ElementType ¶ added in v0.6.0
func (HttpRequestHttpMethodOutput) ElementType() reflect.Type
func (HttpRequestHttpMethodOutput) ToHttpRequestHttpMethodOutput ¶ added in v0.6.0
func (o HttpRequestHttpMethodOutput) ToHttpRequestHttpMethodOutput() HttpRequestHttpMethodOutput
func (HttpRequestHttpMethodOutput) ToHttpRequestHttpMethodOutputWithContext ¶ added in v0.6.0
func (o HttpRequestHttpMethodOutput) ToHttpRequestHttpMethodOutputWithContext(ctx context.Context) HttpRequestHttpMethodOutput
func (HttpRequestHttpMethodOutput) ToHttpRequestHttpMethodPtrOutput ¶ added in v0.6.0
func (o HttpRequestHttpMethodOutput) ToHttpRequestHttpMethodPtrOutput() HttpRequestHttpMethodPtrOutput
func (HttpRequestHttpMethodOutput) ToHttpRequestHttpMethodPtrOutputWithContext ¶ added in v0.6.0
func (o HttpRequestHttpMethodOutput) ToHttpRequestHttpMethodPtrOutputWithContext(ctx context.Context) HttpRequestHttpMethodPtrOutput
func (HttpRequestHttpMethodOutput) ToStringOutput ¶ added in v0.6.0
func (o HttpRequestHttpMethodOutput) ToStringOutput() pulumi.StringOutput
func (HttpRequestHttpMethodOutput) ToStringOutputWithContext ¶ added in v0.6.0
func (o HttpRequestHttpMethodOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (HttpRequestHttpMethodOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o HttpRequestHttpMethodOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (HttpRequestHttpMethodOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o HttpRequestHttpMethodOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type HttpRequestHttpMethodPtrInput ¶ added in v0.6.0
type HttpRequestHttpMethodPtrInput interface { pulumi.Input ToHttpRequestHttpMethodPtrOutput() HttpRequestHttpMethodPtrOutput ToHttpRequestHttpMethodPtrOutputWithContext(context.Context) HttpRequestHttpMethodPtrOutput }
func HttpRequestHttpMethodPtr ¶ added in v0.6.0
func HttpRequestHttpMethodPtr(v string) HttpRequestHttpMethodPtrInput
type HttpRequestHttpMethodPtrOutput ¶ added in v0.6.0
type HttpRequestHttpMethodPtrOutput struct{ *pulumi.OutputState }
func (HttpRequestHttpMethodPtrOutput) Elem ¶ added in v0.6.0
func (o HttpRequestHttpMethodPtrOutput) Elem() HttpRequestHttpMethodOutput
func (HttpRequestHttpMethodPtrOutput) ElementType ¶ added in v0.6.0
func (HttpRequestHttpMethodPtrOutput) ElementType() reflect.Type
func (HttpRequestHttpMethodPtrOutput) ToHttpRequestHttpMethodPtrOutput ¶ added in v0.6.0
func (o HttpRequestHttpMethodPtrOutput) ToHttpRequestHttpMethodPtrOutput() HttpRequestHttpMethodPtrOutput
func (HttpRequestHttpMethodPtrOutput) ToHttpRequestHttpMethodPtrOutputWithContext ¶ added in v0.6.0
func (o HttpRequestHttpMethodPtrOutput) ToHttpRequestHttpMethodPtrOutputWithContext(ctx context.Context) HttpRequestHttpMethodPtrOutput
func (HttpRequestHttpMethodPtrOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o HttpRequestHttpMethodPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (HttpRequestHttpMethodPtrOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o HttpRequestHttpMethodPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type HttpRequestInput ¶
type HttpRequestInput interface { pulumi.Input ToHttpRequestOutput() HttpRequestOutput ToHttpRequestOutputWithContext(context.Context) HttpRequestOutput }
HttpRequestInput is an input type that accepts HttpRequestArgs and HttpRequestOutput values. You can construct a concrete instance of `HttpRequestInput` via:
HttpRequestArgs{...}
type HttpRequestOutput ¶
type HttpRequestOutput struct{ *pulumi.OutputState }
HTTP request. The task will be pushed to the worker as an HTTP request. If the worker or the redirected worker acknowledges the task by returning a successful HTTP response code ([`200` - `299`]), the task will be removed from the queue. If any other HTTP response code is returned or no response is received, the task will be retried according to the following: * User-specified throttling: retry configuration, rate limits, and the queue's state. * System throttling: To prevent the worker from overloading, Cloud Tasks may temporarily reduce the queue's effective rate. User-specified settings will not be changed. System throttling happens because: * Cloud Tasks backs off on all errors. Normally the backoff specified in rate limits will be used. But if the worker returns `429` (Too Many Requests), `503` (Service Unavailable), or the rate of errors is high, Cloud Tasks will use a higher backoff rate. The retry specified in the `Retry-After` HTTP response header is considered. * To prevent traffic spikes and to smooth sudden increases in traffic, dispatches ramp up slowly when the queue is newly created or idle and if large numbers of tasks suddenly become available to dispatch (due to spikes in create task rates, the queue being unpaused, or many tasks that are scheduled at the same time).
func (HttpRequestOutput) Body ¶
func (o HttpRequestOutput) Body() pulumi.StringPtrOutput
HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a task with an incompatible HttpMethod.
func (HttpRequestOutput) ElementType ¶
func (HttpRequestOutput) ElementType() reflect.Type
func (HttpRequestOutput) Headers ¶
func (o HttpRequestOutput) Headers() pulumi.StringMapOutput
HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. These headers represent a subset of the headers that will accompany the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. * User-Agent: This will be set to `"Google-Cloud-Tasks"`. * `X-Google-*`: Google use only. * `X-AppEngine-*`: Google use only. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the task is created. For example, `Content-Type` can be set to `"application/octet-stream"` or `"application/json"`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB.
func (HttpRequestOutput) HttpMethod ¶
func (o HttpRequestOutput) HttpMethod() HttpRequestHttpMethodPtrOutput
The HTTP method to use for the request. The default is POST.
func (HttpRequestOutput) OauthToken ¶
func (o HttpRequestOutput) OauthToken() OAuthTokenPtrOutput
If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
func (HttpRequestOutput) OidcToken ¶
func (o HttpRequestOutput) OidcToken() OidcTokenPtrOutput
If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
func (HttpRequestOutput) ToHttpRequestOutput ¶
func (o HttpRequestOutput) ToHttpRequestOutput() HttpRequestOutput
func (HttpRequestOutput) ToHttpRequestOutputWithContext ¶
func (o HttpRequestOutput) ToHttpRequestOutputWithContext(ctx context.Context) HttpRequestOutput
func (HttpRequestOutput) ToHttpRequestPtrOutput ¶
func (o HttpRequestOutput) ToHttpRequestPtrOutput() HttpRequestPtrOutput
func (HttpRequestOutput) ToHttpRequestPtrOutputWithContext ¶
func (o HttpRequestOutput) ToHttpRequestPtrOutputWithContext(ctx context.Context) HttpRequestPtrOutput
func (HttpRequestOutput) Url ¶
func (o HttpRequestOutput) Url() pulumi.StringOutput
The full url path that the request will be sent to. This string must begin with either "http://" or "https://". Some examples are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters after encoding. The `Location` header response from a redirect response [`300` - `399`] may be followed. The redirect is not counted as a separate attempt.
type HttpRequestPtrInput ¶
type HttpRequestPtrInput interface { pulumi.Input ToHttpRequestPtrOutput() HttpRequestPtrOutput ToHttpRequestPtrOutputWithContext(context.Context) HttpRequestPtrOutput }
HttpRequestPtrInput is an input type that accepts HttpRequestArgs, HttpRequestPtr and HttpRequestPtrOutput values. You can construct a concrete instance of `HttpRequestPtrInput` via:
HttpRequestArgs{...} or: nil
func HttpRequestPtr ¶
func HttpRequestPtr(v *HttpRequestArgs) HttpRequestPtrInput
type HttpRequestPtrOutput ¶
type HttpRequestPtrOutput struct{ *pulumi.OutputState }
func (HttpRequestPtrOutput) Body ¶
func (o HttpRequestPtrOutput) Body() pulumi.StringPtrOutput
HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a task with an incompatible HttpMethod.
func (HttpRequestPtrOutput) Elem ¶
func (o HttpRequestPtrOutput) Elem() HttpRequestOutput
func (HttpRequestPtrOutput) ElementType ¶
func (HttpRequestPtrOutput) ElementType() reflect.Type
func (HttpRequestPtrOutput) Headers ¶
func (o HttpRequestPtrOutput) Headers() pulumi.StringMapOutput
HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. These headers represent a subset of the headers that will accompany the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. * User-Agent: This will be set to `"Google-Cloud-Tasks"`. * `X-Google-*`: Google use only. * `X-AppEngine-*`: Google use only. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the task is created. For example, `Content-Type` can be set to `"application/octet-stream"` or `"application/json"`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB.
func (HttpRequestPtrOutput) HttpMethod ¶
func (o HttpRequestPtrOutput) HttpMethod() HttpRequestHttpMethodPtrOutput
The HTTP method to use for the request. The default is POST.
func (HttpRequestPtrOutput) OauthToken ¶
func (o HttpRequestPtrOutput) OauthToken() OAuthTokenPtrOutput
If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
func (HttpRequestPtrOutput) OidcToken ¶
func (o HttpRequestPtrOutput) OidcToken() OidcTokenPtrOutput
If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
func (HttpRequestPtrOutput) ToHttpRequestPtrOutput ¶
func (o HttpRequestPtrOutput) ToHttpRequestPtrOutput() HttpRequestPtrOutput
func (HttpRequestPtrOutput) ToHttpRequestPtrOutputWithContext ¶
func (o HttpRequestPtrOutput) ToHttpRequestPtrOutputWithContext(ctx context.Context) HttpRequestPtrOutput
func (HttpRequestPtrOutput) Url ¶
func (o HttpRequestPtrOutput) Url() pulumi.StringPtrOutput
The full url path that the request will be sent to. This string must begin with either "http://" or "https://". Some examples are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters after encoding. The `Location` header response from a redirect response [`300` - `399`] may be followed. The redirect is not counted as a separate attempt.
type HttpRequestResponse ¶
type HttpRequestResponse struct { // HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a task with an incompatible HttpMethod. Body string `pulumi:"body"` // HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. These headers represent a subset of the headers that will accompany the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. * User-Agent: This will be set to `"Google-Cloud-Tasks"`. * `X-Google-*`: Google use only. * `X-AppEngine-*`: Google use only. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the task is created. For example, `Content-Type` can be set to `"application/octet-stream"` or `"application/json"`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB. Headers map[string]string `pulumi:"headers"` // The HTTP method to use for the request. The default is POST. HttpMethod string `pulumi:"httpMethod"` // If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com. OauthToken OAuthTokenResponse `pulumi:"oauthToken"` // If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. OidcToken OidcTokenResponse `pulumi:"oidcToken"` // The full url path that the request will be sent to. This string must begin with either "http://" or "https://". Some examples are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters after encoding. The `Location` header response from a redirect response [`300` - `399`] may be followed. The redirect is not counted as a separate attempt. Url string `pulumi:"url"` }
HTTP request. The task will be pushed to the worker as an HTTP request. If the worker or the redirected worker acknowledges the task by returning a successful HTTP response code ([`200` - `299`]), the task will be removed from the queue. If any other HTTP response code is returned or no response is received, the task will be retried according to the following: * User-specified throttling: retry configuration, rate limits, and the queue's state. * System throttling: To prevent the worker from overloading, Cloud Tasks may temporarily reduce the queue's effective rate. User-specified settings will not be changed. System throttling happens because: * Cloud Tasks backs off on all errors. Normally the backoff specified in rate limits will be used. But if the worker returns `429` (Too Many Requests), `503` (Service Unavailable), or the rate of errors is high, Cloud Tasks will use a higher backoff rate. The retry specified in the `Retry-After` HTTP response header is considered. * To prevent traffic spikes and to smooth sudden increases in traffic, dispatches ramp up slowly when the queue is newly created or idle and if large numbers of tasks suddenly become available to dispatch (due to spikes in create task rates, the queue being unpaused, or many tasks that are scheduled at the same time).
type HttpRequestResponseOutput ¶
type HttpRequestResponseOutput struct{ *pulumi.OutputState }
HTTP request. The task will be pushed to the worker as an HTTP request. If the worker or the redirected worker acknowledges the task by returning a successful HTTP response code ([`200` - `299`]), the task will be removed from the queue. If any other HTTP response code is returned or no response is received, the task will be retried according to the following: * User-specified throttling: retry configuration, rate limits, and the queue's state. * System throttling: To prevent the worker from overloading, Cloud Tasks may temporarily reduce the queue's effective rate. User-specified settings will not be changed. System throttling happens because: * Cloud Tasks backs off on all errors. Normally the backoff specified in rate limits will be used. But if the worker returns `429` (Too Many Requests), `503` (Service Unavailable), or the rate of errors is high, Cloud Tasks will use a higher backoff rate. The retry specified in the `Retry-After` HTTP response header is considered. * To prevent traffic spikes and to smooth sudden increases in traffic, dispatches ramp up slowly when the queue is newly created or idle and if large numbers of tasks suddenly become available to dispatch (due to spikes in create task rates, the queue being unpaused, or many tasks that are scheduled at the same time).
func (HttpRequestResponseOutput) Body ¶
func (o HttpRequestResponseOutput) Body() pulumi.StringOutput
HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a task with an incompatible HttpMethod.
func (HttpRequestResponseOutput) ElementType ¶
func (HttpRequestResponseOutput) ElementType() reflect.Type
func (HttpRequestResponseOutput) Headers ¶
func (o HttpRequestResponseOutput) Headers() pulumi.StringMapOutput
HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. These headers represent a subset of the headers that will accompany the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. * User-Agent: This will be set to `"Google-Cloud-Tasks"`. * `X-Google-*`: Google use only. * `X-AppEngine-*`: Google use only. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the task is created. For example, `Content-Type` can be set to `"application/octet-stream"` or `"application/json"`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB.
func (HttpRequestResponseOutput) HttpMethod ¶
func (o HttpRequestResponseOutput) HttpMethod() pulumi.StringOutput
The HTTP method to use for the request. The default is POST.
func (HttpRequestResponseOutput) OauthToken ¶
func (o HttpRequestResponseOutput) OauthToken() OAuthTokenResponseOutput
If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
func (HttpRequestResponseOutput) OidcToken ¶
func (o HttpRequestResponseOutput) OidcToken() OidcTokenResponseOutput
If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
func (HttpRequestResponseOutput) ToHttpRequestResponseOutput ¶
func (o HttpRequestResponseOutput) ToHttpRequestResponseOutput() HttpRequestResponseOutput
func (HttpRequestResponseOutput) ToHttpRequestResponseOutputWithContext ¶
func (o HttpRequestResponseOutput) ToHttpRequestResponseOutputWithContext(ctx context.Context) HttpRequestResponseOutput
func (HttpRequestResponseOutput) Url ¶
func (o HttpRequestResponseOutput) Url() pulumi.StringOutput
The full url path that the request will be sent to. This string must begin with either "http://" or "https://". Some examples are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters after encoding. The `Location` header response from a redirect response [`300` - `399`] may be followed. The redirect is not counted as a separate attempt.
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"` }
func (LookupQueueOutputArgs) ElementType ¶ added in v0.8.0
func (LookupQueueOutputArgs) ElementType() reflect.Type
type LookupQueueResult ¶ added in v0.4.0
type LookupQueueResult struct { // Overrides for task-level app_engine_routing. These settings apply only to App Engine tasks in this queue. Http tasks are not affected. If set, `app_engine_routing_override` is used for all App Engine tasks in the queue, no matter what the setting is for the task-level app_engine_routing. AppEngineRoutingOverride AppEngineRoutingResponse `pulumi:"appEngineRoutingOverride"` // 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"` // 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 task attempts in different ways: * rate_limits controls the total rate of dispatches from a queue (i.e. all traffic dispatched from the queue, regardless of whether the dispatch is from a first attempt or a retry). * retry_config controls what happens to particular a task after its first attempt fails. That is, retry_config controls task retries (the second attempt, third attempt, etc). The queue's actual dispatch rate is the result of: * Number of tasks in the queue * User-specified throttling: rate_limits, retry_config, and the queue's state. * System throttling due to `429` (Too Many Requests) or `503` (Service Unavailable) responses from the worker, high error rates, or to smooth sudden large traffic spikes. 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"` // Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this field is unset, then no logs are written. StackdriverLoggingConfig StackdriverLoggingConfigResponse `pulumi:"stackdriverLoggingConfig"` // The state of the queue. `state` can only be changed by calling 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"` }
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) AppEngineRoutingOverride ¶ added in v0.8.0
func (o LookupQueueResultOutput) AppEngineRoutingOverride() AppEngineRoutingResponseOutput
Overrides for task-level app_engine_routing. These settings apply only to App Engine tasks in this queue. Http tasks are not affected. If set, `app_engine_routing_override` is used for all App Engine tasks in the queue, no matter what the setting is for the task-level app_engine_routing.
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) 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 task attempts in different ways: * rate_limits controls the total rate of dispatches from a queue (i.e. all traffic dispatched from the queue, regardless of whether the dispatch is from a first attempt or a retry). * retry_config controls what happens to particular a task after its first attempt fails. That is, retry_config controls task retries (the second attempt, third attempt, etc). The queue's actual dispatch rate is the result of: * Number of tasks in the queue * User-specified throttling: rate_limits, retry_config, and the queue's state. * System throttling due to `429` (Too Many Requests) or `503` (Service Unavailable) responses from the worker, high error rates, or to smooth sudden large traffic spikes.
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) StackdriverLoggingConfig ¶ added in v0.8.0
func (o LookupQueueResultOutput) StackdriverLoggingConfig() StackdriverLoggingConfigResponseOutput
Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this field is unset, then no logs are written.
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 calling 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) 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
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 { // HTTP request that is sent to the App Engine app handler. 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"` // The number of attempts dispatched. This count includes attempts which have been dispatched but haven't received a response. DispatchCount int `pulumi:"dispatchCount"` // The deadline for requests sent to the worker. If the worker does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the task according to the RetryConfig. Note that when the request is cancelled, Cloud Tasks will stop listening for the response, but whether the worker stops processing depends on the worker. For example, if the worker is stuck, it may not react to cancelled requests. The default and maximum values depend on the type of request: * For HTTP tasks, the default is 10 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For App Engine tasks, 0 indicates that the request has the default deadline. The default deadline depends on the [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) of the service: 10 minutes for standard apps with automatic scaling, 24 hours for standard apps with manual and basic scaling, and 60 minutes for flex apps. If the request deadline is set, it must be in the interval [15 seconds, 24 hours 15 seconds]. Regardless of the task's `dispatch_deadline`, the app handler will not run for longer than than the service's timeout. We recommend setting the `dispatch_deadline` to at most a few seconds more than the app handler's timeout. For more information see [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts). `dispatch_deadline` will be truncated to the nearest millisecond. The deadline is an approximate deadline. DispatchDeadline string `pulumi:"dispatchDeadline"` // The status of the task's first attempt. Only dispatch_time will be set. The other Attempt information is not retained by Cloud Tasks. FirstAttempt AttemptResponse `pulumi:"firstAttempt"` // HTTP request that is sent to the worker. An HTTP task is a task that has HttpRequest set. HttpRequest HttpRequestResponse `pulumi:"httpRequest"` // The status of the task's last attempt. LastAttempt AttemptResponse `pulumi:"lastAttempt"` // 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"` // The number of attempts which have received a response. ResponseCount int `pulumi:"responseCount"` // The time when the task is scheduled to be attempted or retried. `schedule_time` will be truncated to the nearest microsecond. ScheduleTime string `pulumi:"scheduleTime"` // 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
HTTP request that is sent to the App Engine app handler. 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) DispatchCount ¶ added in v0.8.0
func (o LookupTaskResultOutput) DispatchCount() pulumi.IntOutput
The number of attempts dispatched. This count includes attempts which have been dispatched but haven't received a response.
func (LookupTaskResultOutput) DispatchDeadline ¶ added in v0.8.0
func (o LookupTaskResultOutput) DispatchDeadline() pulumi.StringOutput
The deadline for requests sent to the worker. If the worker does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the task according to the RetryConfig. Note that when the request is cancelled, Cloud Tasks will stop listening for the response, but whether the worker stops processing depends on the worker. For example, if the worker is stuck, it may not react to cancelled requests. The default and maximum values depend on the type of request: * For HTTP tasks, the default is 10 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For App Engine tasks, 0 indicates that the request has the default deadline. The default deadline depends on the [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) of the service: 10 minutes for standard apps with automatic scaling, 24 hours for standard apps with manual and basic scaling, and 60 minutes for flex apps. If the request deadline is set, it must be in the interval [15 seconds, 24 hours 15 seconds]. Regardless of the task's `dispatch_deadline`, the app handler will not run for longer than than the service's timeout. We recommend setting the `dispatch_deadline` to at most a few seconds more than the app handler's timeout. For more information see [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts). `dispatch_deadline` will be truncated to the nearest millisecond. The deadline is an approximate deadline.
func (LookupTaskResultOutput) ElementType ¶ added in v0.8.0
func (LookupTaskResultOutput) ElementType() reflect.Type
func (LookupTaskResultOutput) FirstAttempt ¶ added in v0.8.0
func (o LookupTaskResultOutput) FirstAttempt() AttemptResponseOutput
The status of the task's first attempt. Only dispatch_time will be set. The other Attempt information is not retained by Cloud Tasks.
func (LookupTaskResultOutput) HttpRequest ¶ added in v0.8.0
func (o LookupTaskResultOutput) HttpRequest() HttpRequestResponseOutput
HTTP request that is sent to the worker. An HTTP task is a task that has HttpRequest set.
func (LookupTaskResultOutput) LastAttempt ¶ added in v0.8.0
func (o LookupTaskResultOutput) LastAttempt() AttemptResponseOutput
The status of the task's last attempt.
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) ResponseCount ¶ added in v0.8.0
func (o LookupTaskResultOutput) ResponseCount() pulumi.IntOutput
The number of attempts which have received a response.
func (LookupTaskResultOutput) ScheduleTime ¶ added in v0.8.0
func (o LookupTaskResultOutput) ScheduleTime() pulumi.StringOutput
The time when the task is scheduled to be attempted or retried. `schedule_time` will be truncated to the nearest microsecond.
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 OAuthToken ¶
type OAuthToken struct { // OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. Scope *string `pulumi:"scope"` // [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OAuth token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account. ServiceAccountEmail *string `pulumi:"serviceAccountEmail"` }
Contains information needed for generating an [OAuth token](https://developers.google.com/identity/protocols/OAuth2). This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
type OAuthTokenArgs ¶
type OAuthTokenArgs struct { // OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. Scope pulumi.StringPtrInput `pulumi:"scope"` // [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OAuth token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account. ServiceAccountEmail pulumi.StringPtrInput `pulumi:"serviceAccountEmail"` }
Contains information needed for generating an [OAuth token](https://developers.google.com/identity/protocols/OAuth2). This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
func (OAuthTokenArgs) ElementType ¶
func (OAuthTokenArgs) ElementType() reflect.Type
func (OAuthTokenArgs) ToOAuthTokenOutput ¶
func (i OAuthTokenArgs) ToOAuthTokenOutput() OAuthTokenOutput
func (OAuthTokenArgs) ToOAuthTokenOutputWithContext ¶
func (i OAuthTokenArgs) ToOAuthTokenOutputWithContext(ctx context.Context) OAuthTokenOutput
func (OAuthTokenArgs) ToOAuthTokenPtrOutput ¶
func (i OAuthTokenArgs) ToOAuthTokenPtrOutput() OAuthTokenPtrOutput
func (OAuthTokenArgs) ToOAuthTokenPtrOutputWithContext ¶
func (i OAuthTokenArgs) ToOAuthTokenPtrOutputWithContext(ctx context.Context) OAuthTokenPtrOutput
type OAuthTokenInput ¶
type OAuthTokenInput interface { pulumi.Input ToOAuthTokenOutput() OAuthTokenOutput ToOAuthTokenOutputWithContext(context.Context) OAuthTokenOutput }
OAuthTokenInput is an input type that accepts OAuthTokenArgs and OAuthTokenOutput values. You can construct a concrete instance of `OAuthTokenInput` via:
OAuthTokenArgs{...}
type OAuthTokenOutput ¶
type OAuthTokenOutput struct{ *pulumi.OutputState }
Contains information needed for generating an [OAuth token](https://developers.google.com/identity/protocols/OAuth2). This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
func (OAuthTokenOutput) ElementType ¶
func (OAuthTokenOutput) ElementType() reflect.Type
func (OAuthTokenOutput) Scope ¶
func (o OAuthTokenOutput) Scope() pulumi.StringPtrOutput
OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.
func (OAuthTokenOutput) ServiceAccountEmail ¶
func (o OAuthTokenOutput) ServiceAccountEmail() pulumi.StringPtrOutput
[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OAuth token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.
func (OAuthTokenOutput) ToOAuthTokenOutput ¶
func (o OAuthTokenOutput) ToOAuthTokenOutput() OAuthTokenOutput
func (OAuthTokenOutput) ToOAuthTokenOutputWithContext ¶
func (o OAuthTokenOutput) ToOAuthTokenOutputWithContext(ctx context.Context) OAuthTokenOutput
func (OAuthTokenOutput) ToOAuthTokenPtrOutput ¶
func (o OAuthTokenOutput) ToOAuthTokenPtrOutput() OAuthTokenPtrOutput
func (OAuthTokenOutput) ToOAuthTokenPtrOutputWithContext ¶
func (o OAuthTokenOutput) ToOAuthTokenPtrOutputWithContext(ctx context.Context) OAuthTokenPtrOutput
type OAuthTokenPtrInput ¶
type OAuthTokenPtrInput interface { pulumi.Input ToOAuthTokenPtrOutput() OAuthTokenPtrOutput ToOAuthTokenPtrOutputWithContext(context.Context) OAuthTokenPtrOutput }
OAuthTokenPtrInput is an input type that accepts OAuthTokenArgs, OAuthTokenPtr and OAuthTokenPtrOutput values. You can construct a concrete instance of `OAuthTokenPtrInput` via:
OAuthTokenArgs{...} or: nil
func OAuthTokenPtr ¶
func OAuthTokenPtr(v *OAuthTokenArgs) OAuthTokenPtrInput
type OAuthTokenPtrOutput ¶
type OAuthTokenPtrOutput struct{ *pulumi.OutputState }
func (OAuthTokenPtrOutput) Elem ¶
func (o OAuthTokenPtrOutput) Elem() OAuthTokenOutput
func (OAuthTokenPtrOutput) ElementType ¶
func (OAuthTokenPtrOutput) ElementType() reflect.Type
func (OAuthTokenPtrOutput) Scope ¶
func (o OAuthTokenPtrOutput) Scope() pulumi.StringPtrOutput
OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.
func (OAuthTokenPtrOutput) ServiceAccountEmail ¶
func (o OAuthTokenPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OAuth token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.
func (OAuthTokenPtrOutput) ToOAuthTokenPtrOutput ¶
func (o OAuthTokenPtrOutput) ToOAuthTokenPtrOutput() OAuthTokenPtrOutput
func (OAuthTokenPtrOutput) ToOAuthTokenPtrOutputWithContext ¶
func (o OAuthTokenPtrOutput) ToOAuthTokenPtrOutputWithContext(ctx context.Context) OAuthTokenPtrOutput
type OAuthTokenResponse ¶
type OAuthTokenResponse struct { // OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. Scope string `pulumi:"scope"` // [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OAuth token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account. ServiceAccountEmail string `pulumi:"serviceAccountEmail"` }
Contains information needed for generating an [OAuth token](https://developers.google.com/identity/protocols/OAuth2). This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
type OAuthTokenResponseOutput ¶
type OAuthTokenResponseOutput struct{ *pulumi.OutputState }
Contains information needed for generating an [OAuth token](https://developers.google.com/identity/protocols/OAuth2). This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
func (OAuthTokenResponseOutput) ElementType ¶
func (OAuthTokenResponseOutput) ElementType() reflect.Type
func (OAuthTokenResponseOutput) Scope ¶
func (o OAuthTokenResponseOutput) Scope() pulumi.StringOutput
OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.
func (OAuthTokenResponseOutput) ServiceAccountEmail ¶
func (o OAuthTokenResponseOutput) ServiceAccountEmail() pulumi.StringOutput
[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OAuth token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.
func (OAuthTokenResponseOutput) ToOAuthTokenResponseOutput ¶
func (o OAuthTokenResponseOutput) ToOAuthTokenResponseOutput() OAuthTokenResponseOutput
func (OAuthTokenResponseOutput) ToOAuthTokenResponseOutputWithContext ¶
func (o OAuthTokenResponseOutput) ToOAuthTokenResponseOutputWithContext(ctx context.Context) OAuthTokenResponseOutput
type OidcToken ¶
type OidcToken struct { // Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. Audience *string `pulumi:"audience"` // [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account. ServiceAccountEmail *string `pulumi:"serviceAccountEmail"` }
Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect). This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
type OidcTokenArgs ¶
type OidcTokenArgs struct { // Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. Audience pulumi.StringPtrInput `pulumi:"audience"` // [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account. ServiceAccountEmail pulumi.StringPtrInput `pulumi:"serviceAccountEmail"` }
Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect). This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
func (OidcTokenArgs) ElementType ¶
func (OidcTokenArgs) ElementType() reflect.Type
func (OidcTokenArgs) ToOidcTokenOutput ¶
func (i OidcTokenArgs) ToOidcTokenOutput() OidcTokenOutput
func (OidcTokenArgs) ToOidcTokenOutputWithContext ¶
func (i OidcTokenArgs) ToOidcTokenOutputWithContext(ctx context.Context) OidcTokenOutput
func (OidcTokenArgs) ToOidcTokenPtrOutput ¶
func (i OidcTokenArgs) ToOidcTokenPtrOutput() OidcTokenPtrOutput
func (OidcTokenArgs) ToOidcTokenPtrOutputWithContext ¶
func (i OidcTokenArgs) ToOidcTokenPtrOutputWithContext(ctx context.Context) OidcTokenPtrOutput
type OidcTokenInput ¶
type OidcTokenInput interface { pulumi.Input ToOidcTokenOutput() OidcTokenOutput ToOidcTokenOutputWithContext(context.Context) OidcTokenOutput }
OidcTokenInput is an input type that accepts OidcTokenArgs and OidcTokenOutput values. You can construct a concrete instance of `OidcTokenInput` via:
OidcTokenArgs{...}
type OidcTokenOutput ¶
type OidcTokenOutput struct{ *pulumi.OutputState }
Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect). This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
func (OidcTokenOutput) Audience ¶
func (o OidcTokenOutput) Audience() pulumi.StringPtrOutput
Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used.
func (OidcTokenOutput) ElementType ¶
func (OidcTokenOutput) ElementType() reflect.Type
func (OidcTokenOutput) ServiceAccountEmail ¶
func (o OidcTokenOutput) ServiceAccountEmail() pulumi.StringPtrOutput
[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.
func (OidcTokenOutput) ToOidcTokenOutput ¶
func (o OidcTokenOutput) ToOidcTokenOutput() OidcTokenOutput
func (OidcTokenOutput) ToOidcTokenOutputWithContext ¶
func (o OidcTokenOutput) ToOidcTokenOutputWithContext(ctx context.Context) OidcTokenOutput
func (OidcTokenOutput) ToOidcTokenPtrOutput ¶
func (o OidcTokenOutput) ToOidcTokenPtrOutput() OidcTokenPtrOutput
func (OidcTokenOutput) ToOidcTokenPtrOutputWithContext ¶
func (o OidcTokenOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) OidcTokenPtrOutput
type OidcTokenPtrInput ¶
type OidcTokenPtrInput interface { pulumi.Input ToOidcTokenPtrOutput() OidcTokenPtrOutput ToOidcTokenPtrOutputWithContext(context.Context) OidcTokenPtrOutput }
OidcTokenPtrInput is an input type that accepts OidcTokenArgs, OidcTokenPtr and OidcTokenPtrOutput values. You can construct a concrete instance of `OidcTokenPtrInput` via:
OidcTokenArgs{...} or: nil
func OidcTokenPtr ¶
func OidcTokenPtr(v *OidcTokenArgs) OidcTokenPtrInput
type OidcTokenPtrOutput ¶
type OidcTokenPtrOutput struct{ *pulumi.OutputState }
func (OidcTokenPtrOutput) Audience ¶
func (o OidcTokenPtrOutput) Audience() pulumi.StringPtrOutput
Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used.
func (OidcTokenPtrOutput) Elem ¶
func (o OidcTokenPtrOutput) Elem() OidcTokenOutput
func (OidcTokenPtrOutput) ElementType ¶
func (OidcTokenPtrOutput) ElementType() reflect.Type
func (OidcTokenPtrOutput) ServiceAccountEmail ¶
func (o OidcTokenPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.
func (OidcTokenPtrOutput) ToOidcTokenPtrOutput ¶
func (o OidcTokenPtrOutput) ToOidcTokenPtrOutput() OidcTokenPtrOutput
func (OidcTokenPtrOutput) ToOidcTokenPtrOutputWithContext ¶
func (o OidcTokenPtrOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) OidcTokenPtrOutput
type OidcTokenResponse ¶
type OidcTokenResponse struct { // Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. Audience string `pulumi:"audience"` // [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account. ServiceAccountEmail string `pulumi:"serviceAccountEmail"` }
Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect). This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
type OidcTokenResponseOutput ¶
type OidcTokenResponseOutput struct{ *pulumi.OutputState }
Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect). This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
func (OidcTokenResponseOutput) Audience ¶
func (o OidcTokenResponseOutput) Audience() pulumi.StringOutput
Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used.
func (OidcTokenResponseOutput) ElementType ¶
func (OidcTokenResponseOutput) ElementType() reflect.Type
func (OidcTokenResponseOutput) ServiceAccountEmail ¶
func (o OidcTokenResponseOutput) ServiceAccountEmail() pulumi.StringOutput
[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.
func (OidcTokenResponseOutput) ToOidcTokenResponseOutput ¶
func (o OidcTokenResponseOutput) ToOidcTokenResponseOutput() OidcTokenResponseOutput
func (OidcTokenResponseOutput) ToOidcTokenResponseOutputWithContext ¶
func (o OidcTokenResponseOutput) ToOidcTokenResponseOutputWithContext(ctx context.Context) OidcTokenResponseOutput
type Queue ¶
type Queue struct { pulumi.CustomResourceState // Overrides for task-level app_engine_routing. These settings apply only to App Engine tasks in this queue. Http tasks are not affected. If set, `app_engine_routing_override` is used for all App Engine tasks in the queue, no matter what the setting is for the task-level app_engine_routing. AppEngineRoutingOverride AppEngineRoutingResponseOutput `pulumi:"appEngineRoutingOverride"` // 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"` // 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 task attempts in different ways: * rate_limits controls the total rate of dispatches from a queue (i.e. all traffic dispatched from the queue, regardless of whether the dispatch is from a first attempt or a retry). * retry_config controls what happens to particular a task after its first attempt fails. That is, retry_config controls task retries (the second attempt, third attempt, etc). The queue's actual dispatch rate is the result of: * Number of tasks in the queue * User-specified throttling: rate_limits, retry_config, and the queue's state. * System throttling due to `429` (Too Many Requests) or `503` (Service Unavailable) responses from the worker, high error rates, or to smooth sudden large traffic spikes. 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"` // Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this field is unset, then no logs are written. StackdriverLoggingConfig StackdriverLoggingConfigResponseOutput `pulumi:"stackdriverLoggingConfig"` // The state of the queue. `state` can only be changed by calling 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"` }
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 { // Overrides for task-level app_engine_routing. These settings apply only to App Engine tasks in this queue. Http tasks are not affected. If set, `app_engine_routing_override` is used for all App Engine tasks in the queue, no matter what the setting is for the task-level app_engine_routing. AppEngineRoutingOverride AppEngineRoutingPtrInput 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 // Rate limits for task dispatches. rate_limits and retry_config are related because they both control task attempts. However they control task attempts in different ways: * rate_limits controls the total rate of dispatches from a queue (i.e. all traffic dispatched from the queue, regardless of whether the dispatch is from a first attempt or a retry). * retry_config controls what happens to particular a task after its first attempt fails. That is, retry_config controls task retries (the second attempt, third attempt, etc). The queue's actual dispatch rate is the result of: * Number of tasks in the queue * User-specified throttling: rate_limits, retry_config, and the queue's state. * System throttling due to `429` (Too Many Requests) or `503` (Service Unavailable) responses from the worker, high error rates, or to smooth sudden large traffic spikes. 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 // Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this field is unset, then no logs are written. StackdriverLoggingConfig StackdriverLoggingConfigPtrInput }
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 RateLimits ¶
type RateLimits struct { // 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 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). MaxConcurrentDispatches *int `pulumi:"maxConcurrentDispatches"` // The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default. * The maximum allowed value is 500. This field has the same meaning as [rate in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate). MaxDispatchesPerSecond *float64 `pulumi:"maxDispatchesPerSecond"` }
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 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 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). MaxConcurrentDispatches pulumi.IntPtrInput `pulumi:"maxConcurrentDispatches"` // The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default. * The maximum allowed value is 500. This field has the same meaning as [rate in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate). MaxDispatchesPerSecond pulumi.Float64PtrInput `pulumi:"maxDispatchesPerSecond"` }
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) MaxConcurrentDispatches ¶
func (o RateLimitsOutput) MaxConcurrentDispatches() 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 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) MaxDispatchesPerSecond ¶
func (o RateLimitsOutput) MaxDispatchesPerSecond() 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. * The maximum allowed value is 500. 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) MaxConcurrentDispatches ¶
func (o RateLimitsPtrOutput) MaxConcurrentDispatches() 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 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) MaxDispatchesPerSecond ¶
func (o RateLimitsPtrOutput) MaxDispatchesPerSecond() 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. * The maximum allowed value is 500. 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. Cloud Tasks will pick the value of `max_burst_size` based on the value of max_dispatches_per_second. For queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). Since `max_burst_size` is output only, if UpdateQueue is called on a queue created by `queue.yaml/xml`, `max_burst_size` will be reset based on the value of max_dispatches_per_second, regardless of whether max_dispatches_per_second is updated. 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 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). MaxConcurrentDispatches int `pulumi:"maxConcurrentDispatches"` // The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default. * The maximum allowed value is 500. This field has the same meaning as [rate in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate). MaxDispatchesPerSecond float64 `pulumi:"maxDispatchesPerSecond"` }
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. Cloud Tasks will pick the value of `max_burst_size` based on the value of max_dispatches_per_second. For queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). Since `max_burst_size` is output only, if UpdateQueue is called on a queue created by `queue.yaml/xml`, `max_burst_size` will be reset based on the value of max_dispatches_per_second, regardless of whether max_dispatches_per_second is updated.
func (RateLimitsResponseOutput) MaxConcurrentDispatches ¶
func (o RateLimitsResponseOutput) MaxConcurrentDispatches() 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 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) MaxDispatchesPerSecond ¶
func (o RateLimitsResponseOutput) MaxDispatchesPerSecond() 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. * The maximum allowed value is 500. 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 { // Number of attempts per 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 >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts. This field has the same meaning as [task_retry_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). 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. `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 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. `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. `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"` }
Retry config. These settings determine when a failed task attempt is retried.
type RetryConfigArgs ¶
type RetryConfigArgs struct { // Number of attempts per 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 >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts. This field has the same meaning as [task_retry_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). 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. `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 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. `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. `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"` }
Retry config. These settings determine when 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 when a failed task attempt is retried.
func (RetryConfigOutput) ElementType ¶
func (RetryConfigOutput) ElementType() reflect.Type
func (RetryConfigOutput) MaxAttempts ¶
func (o RetryConfigOutput) MaxAttempts() pulumi.IntPtrOutput
Number of attempts per 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 >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts. This field has the same meaning as [task_retry_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
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. `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 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. `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. `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
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
Number of attempts per 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 >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts. This field has the same meaning as [task_retry_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
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. `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 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. `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. `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
type RetryConfigResponse ¶
type RetryConfigResponse struct { // Number of attempts per 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 >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts. This field has the same meaning as [task_retry_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). 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. `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 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. `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. `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"` }
Retry config. These settings determine when a failed task attempt is retried.
type RetryConfigResponseOutput ¶
type RetryConfigResponseOutput struct{ *pulumi.OutputState }
Retry config. These settings determine when a failed task attempt is retried.
func (RetryConfigResponseOutput) ElementType ¶
func (RetryConfigResponseOutput) ElementType() reflect.Type
func (RetryConfigResponseOutput) MaxAttempts ¶
func (o RetryConfigResponseOutput) MaxAttempts() pulumi.IntOutput
Number of attempts per 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 >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts. This field has the same meaning as [task_retry_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
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. `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 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. `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. `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
type StackdriverLoggingConfig ¶
type StackdriverLoggingConfig struct { // Specifies the fraction of operations to write to [Stackdriver Logging](https://cloud.google.com/logging/docs/). This field may contain any value between 0.0 and 1.0, inclusive. 0.0 is the default and means that no operations are logged. SamplingRatio *float64 `pulumi:"samplingRatio"` }
Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/).
type StackdriverLoggingConfigArgs ¶
type StackdriverLoggingConfigArgs struct { // Specifies the fraction of operations to write to [Stackdriver Logging](https://cloud.google.com/logging/docs/). This field may contain any value between 0.0 and 1.0, inclusive. 0.0 is the default and means that no operations are logged. SamplingRatio pulumi.Float64PtrInput `pulumi:"samplingRatio"` }
Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/).
func (StackdriverLoggingConfigArgs) ElementType ¶
func (StackdriverLoggingConfigArgs) ElementType() reflect.Type
func (StackdriverLoggingConfigArgs) ToStackdriverLoggingConfigOutput ¶
func (i StackdriverLoggingConfigArgs) ToStackdriverLoggingConfigOutput() StackdriverLoggingConfigOutput
func (StackdriverLoggingConfigArgs) ToStackdriverLoggingConfigOutputWithContext ¶
func (i StackdriverLoggingConfigArgs) ToStackdriverLoggingConfigOutputWithContext(ctx context.Context) StackdriverLoggingConfigOutput
func (StackdriverLoggingConfigArgs) ToStackdriverLoggingConfigPtrOutput ¶
func (i StackdriverLoggingConfigArgs) ToStackdriverLoggingConfigPtrOutput() StackdriverLoggingConfigPtrOutput
func (StackdriverLoggingConfigArgs) ToStackdriverLoggingConfigPtrOutputWithContext ¶
func (i StackdriverLoggingConfigArgs) ToStackdriverLoggingConfigPtrOutputWithContext(ctx context.Context) StackdriverLoggingConfigPtrOutput
type StackdriverLoggingConfigInput ¶
type StackdriverLoggingConfigInput interface { pulumi.Input ToStackdriverLoggingConfigOutput() StackdriverLoggingConfigOutput ToStackdriverLoggingConfigOutputWithContext(context.Context) StackdriverLoggingConfigOutput }
StackdriverLoggingConfigInput is an input type that accepts StackdriverLoggingConfigArgs and StackdriverLoggingConfigOutput values. You can construct a concrete instance of `StackdriverLoggingConfigInput` via:
StackdriverLoggingConfigArgs{...}
type StackdriverLoggingConfigOutput ¶
type StackdriverLoggingConfigOutput struct{ *pulumi.OutputState }
Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/).
func (StackdriverLoggingConfigOutput) ElementType ¶
func (StackdriverLoggingConfigOutput) ElementType() reflect.Type
func (StackdriverLoggingConfigOutput) SamplingRatio ¶
func (o StackdriverLoggingConfigOutput) SamplingRatio() pulumi.Float64PtrOutput
Specifies the fraction of operations to write to [Stackdriver Logging](https://cloud.google.com/logging/docs/). This field may contain any value between 0.0 and 1.0, inclusive. 0.0 is the default and means that no operations are logged.
func (StackdriverLoggingConfigOutput) ToStackdriverLoggingConfigOutput ¶
func (o StackdriverLoggingConfigOutput) ToStackdriverLoggingConfigOutput() StackdriverLoggingConfigOutput
func (StackdriverLoggingConfigOutput) ToStackdriverLoggingConfigOutputWithContext ¶
func (o StackdriverLoggingConfigOutput) ToStackdriverLoggingConfigOutputWithContext(ctx context.Context) StackdriverLoggingConfigOutput
func (StackdriverLoggingConfigOutput) ToStackdriverLoggingConfigPtrOutput ¶
func (o StackdriverLoggingConfigOutput) ToStackdriverLoggingConfigPtrOutput() StackdriverLoggingConfigPtrOutput
func (StackdriverLoggingConfigOutput) ToStackdriverLoggingConfigPtrOutputWithContext ¶
func (o StackdriverLoggingConfigOutput) ToStackdriverLoggingConfigPtrOutputWithContext(ctx context.Context) StackdriverLoggingConfigPtrOutput
type StackdriverLoggingConfigPtrInput ¶
type StackdriverLoggingConfigPtrInput interface { pulumi.Input ToStackdriverLoggingConfigPtrOutput() StackdriverLoggingConfigPtrOutput ToStackdriverLoggingConfigPtrOutputWithContext(context.Context) StackdriverLoggingConfigPtrOutput }
StackdriverLoggingConfigPtrInput is an input type that accepts StackdriverLoggingConfigArgs, StackdriverLoggingConfigPtr and StackdriverLoggingConfigPtrOutput values. You can construct a concrete instance of `StackdriverLoggingConfigPtrInput` via:
StackdriverLoggingConfigArgs{...} or: nil
func StackdriverLoggingConfigPtr ¶
func StackdriverLoggingConfigPtr(v *StackdriverLoggingConfigArgs) StackdriverLoggingConfigPtrInput
type StackdriverLoggingConfigPtrOutput ¶
type StackdriverLoggingConfigPtrOutput struct{ *pulumi.OutputState }
func (StackdriverLoggingConfigPtrOutput) Elem ¶
func (o StackdriverLoggingConfigPtrOutput) Elem() StackdriverLoggingConfigOutput
func (StackdriverLoggingConfigPtrOutput) ElementType ¶
func (StackdriverLoggingConfigPtrOutput) ElementType() reflect.Type
func (StackdriverLoggingConfigPtrOutput) SamplingRatio ¶
func (o StackdriverLoggingConfigPtrOutput) SamplingRatio() pulumi.Float64PtrOutput
Specifies the fraction of operations to write to [Stackdriver Logging](https://cloud.google.com/logging/docs/). This field may contain any value between 0.0 and 1.0, inclusive. 0.0 is the default and means that no operations are logged.
func (StackdriverLoggingConfigPtrOutput) ToStackdriverLoggingConfigPtrOutput ¶
func (o StackdriverLoggingConfigPtrOutput) ToStackdriverLoggingConfigPtrOutput() StackdriverLoggingConfigPtrOutput
func (StackdriverLoggingConfigPtrOutput) ToStackdriverLoggingConfigPtrOutputWithContext ¶
func (o StackdriverLoggingConfigPtrOutput) ToStackdriverLoggingConfigPtrOutputWithContext(ctx context.Context) StackdriverLoggingConfigPtrOutput
type StackdriverLoggingConfigResponse ¶
type StackdriverLoggingConfigResponse struct { // Specifies the fraction of operations to write to [Stackdriver Logging](https://cloud.google.com/logging/docs/). This field may contain any value between 0.0 and 1.0, inclusive. 0.0 is the default and means that no operations are logged. SamplingRatio float64 `pulumi:"samplingRatio"` }
Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/).
type StackdriverLoggingConfigResponseOutput ¶
type StackdriverLoggingConfigResponseOutput struct{ *pulumi.OutputState }
Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/).
func (StackdriverLoggingConfigResponseOutput) ElementType ¶
func (StackdriverLoggingConfigResponseOutput) ElementType() reflect.Type
func (StackdriverLoggingConfigResponseOutput) SamplingRatio ¶
func (o StackdriverLoggingConfigResponseOutput) SamplingRatio() pulumi.Float64Output
Specifies the fraction of operations to write to [Stackdriver Logging](https://cloud.google.com/logging/docs/). This field may contain any value between 0.0 and 1.0, inclusive. 0.0 is the default and means that no operations are logged.
func (StackdriverLoggingConfigResponseOutput) ToStackdriverLoggingConfigResponseOutput ¶
func (o StackdriverLoggingConfigResponseOutput) ToStackdriverLoggingConfigResponseOutput() StackdriverLoggingConfigResponseOutput
func (StackdriverLoggingConfigResponseOutput) ToStackdriverLoggingConfigResponseOutputWithContext ¶
func (o StackdriverLoggingConfigResponseOutput) ToStackdriverLoggingConfigResponseOutputWithContext(ctx context.Context) StackdriverLoggingConfigResponseOutput
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 // HTTP request that is sent to the App Engine app handler. 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"` // The number of attempts dispatched. This count includes attempts which have been dispatched but haven't received a response. DispatchCount pulumi.IntOutput `pulumi:"dispatchCount"` // The deadline for requests sent to the worker. If the worker does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the task according to the RetryConfig. Note that when the request is cancelled, Cloud Tasks will stop listening for the response, but whether the worker stops processing depends on the worker. For example, if the worker is stuck, it may not react to cancelled requests. The default and maximum values depend on the type of request: * For HTTP tasks, the default is 10 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For App Engine tasks, 0 indicates that the request has the default deadline. The default deadline depends on the [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) of the service: 10 minutes for standard apps with automatic scaling, 24 hours for standard apps with manual and basic scaling, and 60 minutes for flex apps. If the request deadline is set, it must be in the interval [15 seconds, 24 hours 15 seconds]. Regardless of the task's `dispatch_deadline`, the app handler will not run for longer than than the service's timeout. We recommend setting the `dispatch_deadline` to at most a few seconds more than the app handler's timeout. For more information see [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts). `dispatch_deadline` will be truncated to the nearest millisecond. The deadline is an approximate deadline. DispatchDeadline pulumi.StringOutput `pulumi:"dispatchDeadline"` // The status of the task's first attempt. Only dispatch_time will be set. The other Attempt information is not retained by Cloud Tasks. FirstAttempt AttemptResponseOutput `pulumi:"firstAttempt"` // HTTP request that is sent to the worker. An HTTP task is a task that has HttpRequest set. HttpRequest HttpRequestResponseOutput `pulumi:"httpRequest"` // The status of the task's last attempt. LastAttempt AttemptResponseOutput `pulumi:"lastAttempt"` // 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"` // The number of attempts which have received a response. ResponseCount pulumi.IntOutput `pulumi:"responseCount"` // The time when the task is scheduled to be attempted or retried. `schedule_time` will be truncated to the nearest microsecond. ScheduleTime pulumi.StringOutput `pulumi:"scheduleTime"` // 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. * The maximum task size is 100KB.
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 { // HTTP request that is sent to the App Engine app handler. An App Engine task is a task that has AppEngineHttpRequest set. AppEngineHttpRequest AppEngineHttpRequestPtrInput // The deadline for requests sent to the worker. If the worker does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the task according to the RetryConfig. Note that when the request is cancelled, Cloud Tasks will stop listening for the response, but whether the worker stops processing depends on the worker. For example, if the worker is stuck, it may not react to cancelled requests. The default and maximum values depend on the type of request: * For HTTP tasks, the default is 10 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For App Engine tasks, 0 indicates that the request has the default deadline. The default deadline depends on the [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) of the service: 10 minutes for standard apps with automatic scaling, 24 hours for standard apps with manual and basic scaling, and 60 minutes for flex apps. If the request deadline is set, it must be in the interval [15 seconds, 24 hours 15 seconds]. Regardless of the task's `dispatch_deadline`, the app handler will not run for longer than than the service's timeout. We recommend setting the `dispatch_deadline` to at most a few seconds more than the app handler's timeout. For more information see [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts). `dispatch_deadline` will be truncated to the nearest millisecond. The deadline is an approximate deadline. DispatchDeadline pulumi.StringPtrInput // HTTP request that is sent to the worker. An HTTP task is a task that has HttpRequest set. HttpRequest HttpRequestPtrInput 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 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 or retried. `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