Documentation
¶
Index ¶
- Constants
- type AppEngineHttpTarget
- type AppEngineHttpTargetArgs
- func (AppEngineHttpTargetArgs) ElementType() reflect.Type
- func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetOutput() AppEngineHttpTargetOutput
- func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetOutputWithContext(ctx context.Context) AppEngineHttpTargetOutput
- func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput
- func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetPtrOutput
- type AppEngineHttpTargetHttpMethod
- func (AppEngineHttpTargetHttpMethod) ElementType() reflect.Type
- func (e AppEngineHttpTargetHttpMethod) ToAppEngineHttpTargetHttpMethodOutput() AppEngineHttpTargetHttpMethodOutput
- func (e AppEngineHttpTargetHttpMethod) ToAppEngineHttpTargetHttpMethodOutputWithContext(ctx context.Context) AppEngineHttpTargetHttpMethodOutput
- func (e AppEngineHttpTargetHttpMethod) ToAppEngineHttpTargetHttpMethodPtrOutput() AppEngineHttpTargetHttpMethodPtrOutput
- func (e AppEngineHttpTargetHttpMethod) ToAppEngineHttpTargetHttpMethodPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetHttpMethodPtrOutput
- func (e AppEngineHttpTargetHttpMethod) ToStringOutput() pulumi.StringOutput
- func (e AppEngineHttpTargetHttpMethod) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e AppEngineHttpTargetHttpMethod) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e AppEngineHttpTargetHttpMethod) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AppEngineHttpTargetHttpMethodInput
- type AppEngineHttpTargetHttpMethodOutput
- func (AppEngineHttpTargetHttpMethodOutput) ElementType() reflect.Type
- func (o AppEngineHttpTargetHttpMethodOutput) ToAppEngineHttpTargetHttpMethodOutput() AppEngineHttpTargetHttpMethodOutput
- func (o AppEngineHttpTargetHttpMethodOutput) ToAppEngineHttpTargetHttpMethodOutputWithContext(ctx context.Context) AppEngineHttpTargetHttpMethodOutput
- func (o AppEngineHttpTargetHttpMethodOutput) ToAppEngineHttpTargetHttpMethodPtrOutput() AppEngineHttpTargetHttpMethodPtrOutput
- func (o AppEngineHttpTargetHttpMethodOutput) ToAppEngineHttpTargetHttpMethodPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetHttpMethodPtrOutput
- func (o AppEngineHttpTargetHttpMethodOutput) ToStringOutput() pulumi.StringOutput
- func (o AppEngineHttpTargetHttpMethodOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o AppEngineHttpTargetHttpMethodOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o AppEngineHttpTargetHttpMethodOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AppEngineHttpTargetHttpMethodPtrInput
- type AppEngineHttpTargetHttpMethodPtrOutput
- func (o AppEngineHttpTargetHttpMethodPtrOutput) Elem() AppEngineHttpTargetHttpMethodOutput
- func (AppEngineHttpTargetHttpMethodPtrOutput) ElementType() reflect.Type
- func (o AppEngineHttpTargetHttpMethodPtrOutput) ToAppEngineHttpTargetHttpMethodPtrOutput() AppEngineHttpTargetHttpMethodPtrOutput
- func (o AppEngineHttpTargetHttpMethodPtrOutput) ToAppEngineHttpTargetHttpMethodPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetHttpMethodPtrOutput
- func (o AppEngineHttpTargetHttpMethodPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o AppEngineHttpTargetHttpMethodPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AppEngineHttpTargetInput
- type AppEngineHttpTargetOutput
- func (o AppEngineHttpTargetOutput) AppEngineRouting() AppEngineRoutingPtrOutput
- func (o AppEngineHttpTargetOutput) Body() pulumi.StringPtrOutput
- func (AppEngineHttpTargetOutput) ElementType() reflect.Type
- func (o AppEngineHttpTargetOutput) Headers() pulumi.StringMapOutput
- func (o AppEngineHttpTargetOutput) HttpMethod() AppEngineHttpTargetHttpMethodPtrOutput
- func (o AppEngineHttpTargetOutput) RelativeUri() pulumi.StringPtrOutput
- func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetOutput() AppEngineHttpTargetOutput
- func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetOutputWithContext(ctx context.Context) AppEngineHttpTargetOutput
- func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput
- func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetPtrOutput
- type AppEngineHttpTargetPtrInput
- type AppEngineHttpTargetPtrOutput
- func (o AppEngineHttpTargetPtrOutput) AppEngineRouting() AppEngineRoutingPtrOutput
- func (o AppEngineHttpTargetPtrOutput) Body() pulumi.StringPtrOutput
- func (o AppEngineHttpTargetPtrOutput) Elem() AppEngineHttpTargetOutput
- func (AppEngineHttpTargetPtrOutput) ElementType() reflect.Type
- func (o AppEngineHttpTargetPtrOutput) Headers() pulumi.StringMapOutput
- func (o AppEngineHttpTargetPtrOutput) HttpMethod() AppEngineHttpTargetHttpMethodPtrOutput
- func (o AppEngineHttpTargetPtrOutput) RelativeUri() pulumi.StringPtrOutput
- func (o AppEngineHttpTargetPtrOutput) ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput
- func (o AppEngineHttpTargetPtrOutput) ToAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetPtrOutput
- type AppEngineHttpTargetResponse
- type AppEngineHttpTargetResponseOutput
- func (o AppEngineHttpTargetResponseOutput) AppEngineRouting() AppEngineRoutingResponseOutput
- func (o AppEngineHttpTargetResponseOutput) Body() pulumi.StringOutput
- func (AppEngineHttpTargetResponseOutput) ElementType() reflect.Type
- func (o AppEngineHttpTargetResponseOutput) Headers() pulumi.StringMapOutput
- func (o AppEngineHttpTargetResponseOutput) HttpMethod() pulumi.StringOutput
- func (o AppEngineHttpTargetResponseOutput) RelativeUri() pulumi.StringOutput
- func (o AppEngineHttpTargetResponseOutput) ToAppEngineHttpTargetResponseOutput() AppEngineHttpTargetResponseOutput
- func (o AppEngineHttpTargetResponseOutput) ToAppEngineHttpTargetResponseOutputWithContext(ctx context.Context) AppEngineHttpTargetResponseOutput
- type AppEngineRouting
- type AppEngineRoutingArgs
- func (AppEngineRoutingArgs) ElementType() reflect.Type
- func (i AppEngineRoutingArgs) ToAppEngineRoutingOutput() AppEngineRoutingOutput
- func (i AppEngineRoutingArgs) ToAppEngineRoutingOutputWithContext(ctx context.Context) AppEngineRoutingOutput
- func (i AppEngineRoutingArgs) ToAppEngineRoutingPtrOutput() AppEngineRoutingPtrOutput
- func (i AppEngineRoutingArgs) ToAppEngineRoutingPtrOutputWithContext(ctx context.Context) AppEngineRoutingPtrOutput
- type AppEngineRoutingInput
- type AppEngineRoutingOutput
- func (AppEngineRoutingOutput) ElementType() reflect.Type
- func (o AppEngineRoutingOutput) Instance() pulumi.StringPtrOutput
- func (o AppEngineRoutingOutput) Service() pulumi.StringPtrOutput
- func (o AppEngineRoutingOutput) ToAppEngineRoutingOutput() AppEngineRoutingOutput
- func (o AppEngineRoutingOutput) ToAppEngineRoutingOutputWithContext(ctx context.Context) AppEngineRoutingOutput
- func (o AppEngineRoutingOutput) ToAppEngineRoutingPtrOutput() AppEngineRoutingPtrOutput
- func (o AppEngineRoutingOutput) ToAppEngineRoutingPtrOutputWithContext(ctx context.Context) AppEngineRoutingPtrOutput
- func (o AppEngineRoutingOutput) Version() pulumi.StringPtrOutput
- type AppEngineRoutingPtrInput
- type AppEngineRoutingPtrOutput
- func (o AppEngineRoutingPtrOutput) Elem() AppEngineRoutingOutput
- func (AppEngineRoutingPtrOutput) ElementType() reflect.Type
- func (o AppEngineRoutingPtrOutput) Instance() pulumi.StringPtrOutput
- func (o AppEngineRoutingPtrOutput) Service() pulumi.StringPtrOutput
- func (o AppEngineRoutingPtrOutput) ToAppEngineRoutingPtrOutput() AppEngineRoutingPtrOutput
- func (o AppEngineRoutingPtrOutput) ToAppEngineRoutingPtrOutputWithContext(ctx context.Context) AppEngineRoutingPtrOutput
- func (o AppEngineRoutingPtrOutput) Version() pulumi.StringPtrOutput
- type AppEngineRoutingResponse
- type AppEngineRoutingResponseOutput
- func (AppEngineRoutingResponseOutput) ElementType() reflect.Type
- func (o AppEngineRoutingResponseOutput) Host() pulumi.StringOutput
- func (o AppEngineRoutingResponseOutput) Instance() pulumi.StringOutput
- func (o AppEngineRoutingResponseOutput) Service() pulumi.StringOutput
- func (o AppEngineRoutingResponseOutput) ToAppEngineRoutingResponseOutput() AppEngineRoutingResponseOutput
- func (o AppEngineRoutingResponseOutput) ToAppEngineRoutingResponseOutputWithContext(ctx context.Context) AppEngineRoutingResponseOutput
- func (o AppEngineRoutingResponseOutput) Version() pulumi.StringOutput
- type HttpTarget
- type HttpTargetArgs
- func (HttpTargetArgs) ElementType() reflect.Type
- func (i HttpTargetArgs) ToHttpTargetOutput() HttpTargetOutput
- func (i HttpTargetArgs) ToHttpTargetOutputWithContext(ctx context.Context) HttpTargetOutput
- func (i HttpTargetArgs) ToHttpTargetPtrOutput() HttpTargetPtrOutput
- func (i HttpTargetArgs) ToHttpTargetPtrOutputWithContext(ctx context.Context) HttpTargetPtrOutput
- type HttpTargetHttpMethod
- func (HttpTargetHttpMethod) ElementType() reflect.Type
- func (e HttpTargetHttpMethod) ToHttpTargetHttpMethodOutput() HttpTargetHttpMethodOutput
- func (e HttpTargetHttpMethod) ToHttpTargetHttpMethodOutputWithContext(ctx context.Context) HttpTargetHttpMethodOutput
- func (e HttpTargetHttpMethod) ToHttpTargetHttpMethodPtrOutput() HttpTargetHttpMethodPtrOutput
- func (e HttpTargetHttpMethod) ToHttpTargetHttpMethodPtrOutputWithContext(ctx context.Context) HttpTargetHttpMethodPtrOutput
- func (e HttpTargetHttpMethod) ToStringOutput() pulumi.StringOutput
- func (e HttpTargetHttpMethod) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e HttpTargetHttpMethod) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e HttpTargetHttpMethod) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type HttpTargetHttpMethodInput
- type HttpTargetHttpMethodOutput
- func (HttpTargetHttpMethodOutput) ElementType() reflect.Type
- func (o HttpTargetHttpMethodOutput) ToHttpTargetHttpMethodOutput() HttpTargetHttpMethodOutput
- func (o HttpTargetHttpMethodOutput) ToHttpTargetHttpMethodOutputWithContext(ctx context.Context) HttpTargetHttpMethodOutput
- func (o HttpTargetHttpMethodOutput) ToHttpTargetHttpMethodPtrOutput() HttpTargetHttpMethodPtrOutput
- func (o HttpTargetHttpMethodOutput) ToHttpTargetHttpMethodPtrOutputWithContext(ctx context.Context) HttpTargetHttpMethodPtrOutput
- func (o HttpTargetHttpMethodOutput) ToStringOutput() pulumi.StringOutput
- func (o HttpTargetHttpMethodOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o HttpTargetHttpMethodOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o HttpTargetHttpMethodOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type HttpTargetHttpMethodPtrInput
- type HttpTargetHttpMethodPtrOutput
- func (o HttpTargetHttpMethodPtrOutput) Elem() HttpTargetHttpMethodOutput
- func (HttpTargetHttpMethodPtrOutput) ElementType() reflect.Type
- func (o HttpTargetHttpMethodPtrOutput) ToHttpTargetHttpMethodPtrOutput() HttpTargetHttpMethodPtrOutput
- func (o HttpTargetHttpMethodPtrOutput) ToHttpTargetHttpMethodPtrOutputWithContext(ctx context.Context) HttpTargetHttpMethodPtrOutput
- func (o HttpTargetHttpMethodPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o HttpTargetHttpMethodPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type HttpTargetInput
- type HttpTargetOutput
- func (o HttpTargetOutput) Body() pulumi.StringPtrOutput
- func (HttpTargetOutput) ElementType() reflect.Type
- func (o HttpTargetOutput) Headers() pulumi.StringMapOutput
- func (o HttpTargetOutput) HttpMethod() HttpTargetHttpMethodPtrOutput
- func (o HttpTargetOutput) OauthToken() OAuthTokenPtrOutput
- func (o HttpTargetOutput) OidcToken() OidcTokenPtrOutput
- func (o HttpTargetOutput) ToHttpTargetOutput() HttpTargetOutput
- func (o HttpTargetOutput) ToHttpTargetOutputWithContext(ctx context.Context) HttpTargetOutput
- func (o HttpTargetOutput) ToHttpTargetPtrOutput() HttpTargetPtrOutput
- func (o HttpTargetOutput) ToHttpTargetPtrOutputWithContext(ctx context.Context) HttpTargetPtrOutput
- func (o HttpTargetOutput) Uri() pulumi.StringOutput
- type HttpTargetPtrInput
- type HttpTargetPtrOutput
- func (o HttpTargetPtrOutput) Body() pulumi.StringPtrOutput
- func (o HttpTargetPtrOutput) Elem() HttpTargetOutput
- func (HttpTargetPtrOutput) ElementType() reflect.Type
- func (o HttpTargetPtrOutput) Headers() pulumi.StringMapOutput
- func (o HttpTargetPtrOutput) HttpMethod() HttpTargetHttpMethodPtrOutput
- func (o HttpTargetPtrOutput) OauthToken() OAuthTokenPtrOutput
- func (o HttpTargetPtrOutput) OidcToken() OidcTokenPtrOutput
- func (o HttpTargetPtrOutput) ToHttpTargetPtrOutput() HttpTargetPtrOutput
- func (o HttpTargetPtrOutput) ToHttpTargetPtrOutputWithContext(ctx context.Context) HttpTargetPtrOutput
- func (o HttpTargetPtrOutput) Uri() pulumi.StringPtrOutput
- type HttpTargetResponse
- type HttpTargetResponseOutput
- func (o HttpTargetResponseOutput) Body() pulumi.StringOutput
- func (HttpTargetResponseOutput) ElementType() reflect.Type
- func (o HttpTargetResponseOutput) Headers() pulumi.StringMapOutput
- func (o HttpTargetResponseOutput) HttpMethod() pulumi.StringOutput
- func (o HttpTargetResponseOutput) OauthToken() OAuthTokenResponseOutput
- func (o HttpTargetResponseOutput) OidcToken() OidcTokenResponseOutput
- func (o HttpTargetResponseOutput) ToHttpTargetResponseOutput() HttpTargetResponseOutput
- func (o HttpTargetResponseOutput) ToHttpTargetResponseOutputWithContext(ctx context.Context) HttpTargetResponseOutput
- func (o HttpTargetResponseOutput) Uri() pulumi.StringOutput
- type Job
- type JobArgs
- type JobInput
- type JobOutput
- func (o JobOutput) AppEngineHttpTarget() AppEngineHttpTargetResponseOutput
- func (o JobOutput) AttemptDeadline() pulumi.StringOutput
- func (o JobOutput) Description() pulumi.StringOutput
- func (JobOutput) ElementType() reflect.Type
- func (o JobOutput) HttpTarget() HttpTargetResponseOutput
- func (o JobOutput) LastAttemptTime() pulumi.StringOutput
- func (o JobOutput) Location() pulumi.StringOutput
- func (o JobOutput) Name() pulumi.StringOutput
- func (o JobOutput) Project() pulumi.StringOutput
- func (o JobOutput) PubsubTarget() PubsubTargetResponseOutput
- func (o JobOutput) RetryConfig() RetryConfigResponseOutput
- func (o JobOutput) Schedule() pulumi.StringOutput
- func (o JobOutput) ScheduleTime() pulumi.StringOutput
- func (o JobOutput) State() pulumi.StringOutput
- func (o JobOutput) Status() StatusResponseOutput
- func (o JobOutput) TimeZone() pulumi.StringOutput
- func (o JobOutput) ToJobOutput() JobOutput
- func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput
- func (o JobOutput) UserUpdateTime() pulumi.StringOutput
- type JobState
- type LookupJobArgs
- type LookupJobOutputArgs
- type LookupJobResult
- type LookupJobResultOutput
- func (o LookupJobResultOutput) AppEngineHttpTarget() AppEngineHttpTargetResponseOutput
- func (o LookupJobResultOutput) AttemptDeadline() pulumi.StringOutput
- func (o LookupJobResultOutput) Description() pulumi.StringOutput
- func (LookupJobResultOutput) ElementType() reflect.Type
- func (o LookupJobResultOutput) HttpTarget() HttpTargetResponseOutput
- func (o LookupJobResultOutput) LastAttemptTime() pulumi.StringOutput
- func (o LookupJobResultOutput) Name() pulumi.StringOutput
- func (o LookupJobResultOutput) PubsubTarget() PubsubTargetResponseOutput
- func (o LookupJobResultOutput) RetryConfig() RetryConfigResponseOutput
- func (o LookupJobResultOutput) Schedule() pulumi.StringOutput
- func (o LookupJobResultOutput) ScheduleTime() pulumi.StringOutput
- func (o LookupJobResultOutput) State() pulumi.StringOutput
- func (o LookupJobResultOutput) Status() StatusResponseOutput
- func (o LookupJobResultOutput) TimeZone() pulumi.StringOutput
- func (o LookupJobResultOutput) ToLookupJobResultOutput() LookupJobResultOutput
- func (o LookupJobResultOutput) ToLookupJobResultOutputWithContext(ctx context.Context) LookupJobResultOutput
- func (o LookupJobResultOutput) UserUpdateTime() 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 PubsubTarget
- type PubsubTargetArgs
- func (PubsubTargetArgs) ElementType() reflect.Type
- func (i PubsubTargetArgs) ToPubsubTargetOutput() PubsubTargetOutput
- func (i PubsubTargetArgs) ToPubsubTargetOutputWithContext(ctx context.Context) PubsubTargetOutput
- func (i PubsubTargetArgs) ToPubsubTargetPtrOutput() PubsubTargetPtrOutput
- func (i PubsubTargetArgs) ToPubsubTargetPtrOutputWithContext(ctx context.Context) PubsubTargetPtrOutput
- type PubsubTargetInput
- type PubsubTargetOutput
- func (o PubsubTargetOutput) Attributes() pulumi.StringMapOutput
- func (o PubsubTargetOutput) Data() pulumi.StringPtrOutput
- func (PubsubTargetOutput) ElementType() reflect.Type
- func (o PubsubTargetOutput) ToPubsubTargetOutput() PubsubTargetOutput
- func (o PubsubTargetOutput) ToPubsubTargetOutputWithContext(ctx context.Context) PubsubTargetOutput
- func (o PubsubTargetOutput) ToPubsubTargetPtrOutput() PubsubTargetPtrOutput
- func (o PubsubTargetOutput) ToPubsubTargetPtrOutputWithContext(ctx context.Context) PubsubTargetPtrOutput
- func (o PubsubTargetOutput) TopicName() pulumi.StringOutput
- type PubsubTargetPtrInput
- type PubsubTargetPtrOutput
- func (o PubsubTargetPtrOutput) Attributes() pulumi.StringMapOutput
- func (o PubsubTargetPtrOutput) Data() pulumi.StringPtrOutput
- func (o PubsubTargetPtrOutput) Elem() PubsubTargetOutput
- func (PubsubTargetPtrOutput) ElementType() reflect.Type
- func (o PubsubTargetPtrOutput) ToPubsubTargetPtrOutput() PubsubTargetPtrOutput
- func (o PubsubTargetPtrOutput) ToPubsubTargetPtrOutputWithContext(ctx context.Context) PubsubTargetPtrOutput
- func (o PubsubTargetPtrOutput) TopicName() pulumi.StringPtrOutput
- type PubsubTargetResponse
- type PubsubTargetResponseOutput
- func (o PubsubTargetResponseOutput) Attributes() pulumi.StringMapOutput
- func (o PubsubTargetResponseOutput) Data() pulumi.StringOutput
- func (PubsubTargetResponseOutput) ElementType() reflect.Type
- func (o PubsubTargetResponseOutput) ToPubsubTargetResponseOutput() PubsubTargetResponseOutput
- func (o PubsubTargetResponseOutput) ToPubsubTargetResponseOutputWithContext(ctx context.Context) PubsubTargetResponseOutput
- func (o PubsubTargetResponseOutput) TopicName() pulumi.StringOutput
- 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) MaxBackoffDuration() pulumi.StringPtrOutput
- func (o RetryConfigOutput) MaxDoublings() pulumi.IntPtrOutput
- func (o RetryConfigOutput) MaxRetryDuration() pulumi.StringPtrOutput
- func (o RetryConfigOutput) MinBackoffDuration() pulumi.StringPtrOutput
- func (o RetryConfigOutput) RetryCount() pulumi.IntPtrOutput
- 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) MaxBackoffDuration() pulumi.StringPtrOutput
- func (o RetryConfigPtrOutput) MaxDoublings() pulumi.IntPtrOutput
- func (o RetryConfigPtrOutput) MaxRetryDuration() pulumi.StringPtrOutput
- func (o RetryConfigPtrOutput) MinBackoffDuration() pulumi.StringPtrOutput
- func (o RetryConfigPtrOutput) RetryCount() pulumi.IntPtrOutput
- 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) MaxBackoffDuration() pulumi.StringOutput
- func (o RetryConfigResponseOutput) MaxDoublings() pulumi.IntOutput
- func (o RetryConfigResponseOutput) MaxRetryDuration() pulumi.StringOutput
- func (o RetryConfigResponseOutput) MinBackoffDuration() pulumi.StringOutput
- func (o RetryConfigResponseOutput) RetryCount() pulumi.IntOutput
- func (o RetryConfigResponseOutput) ToRetryConfigResponseOutput() RetryConfigResponseOutput
- func (o RetryConfigResponseOutput) ToRetryConfigResponseOutputWithContext(ctx context.Context) RetryConfigResponseOutput
- 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
Constants ¶
const ( // HTTP method unspecified. Defaults to POST. AppEngineHttpTargetHttpMethodHttpMethodUnspecified = AppEngineHttpTargetHttpMethod("HTTP_METHOD_UNSPECIFIED") // HTTP POST AppEngineHttpTargetHttpMethodPost = AppEngineHttpTargetHttpMethod("POST") // HTTP GET AppEngineHttpTargetHttpMethodGet = AppEngineHttpTargetHttpMethod("GET") // HTTP HEAD AppEngineHttpTargetHttpMethodHead = AppEngineHttpTargetHttpMethod("HEAD") // HTTP PUT AppEngineHttpTargetHttpMethodPut = AppEngineHttpTargetHttpMethod("PUT") // HTTP DELETE AppEngineHttpTargetHttpMethodDelete = AppEngineHttpTargetHttpMethod("DELETE") // HTTP PATCH AppEngineHttpTargetHttpMethodPatch = AppEngineHttpTargetHttpMethod("PATCH") // HTTP OPTIONS AppEngineHttpTargetHttpMethodOptions = AppEngineHttpTargetHttpMethod("OPTIONS") )
const ( // HTTP method unspecified. Defaults to POST. HttpTargetHttpMethodHttpMethodUnspecified = HttpTargetHttpMethod("HTTP_METHOD_UNSPECIFIED") // HTTP POST HttpTargetHttpMethodPost = HttpTargetHttpMethod("POST") // HTTP GET HttpTargetHttpMethodGet = HttpTargetHttpMethod("GET") // HTTP HEAD HttpTargetHttpMethodHead = HttpTargetHttpMethod("HEAD") // HTTP PUT HttpTargetHttpMethodPut = HttpTargetHttpMethod("PUT") // HTTP DELETE HttpTargetHttpMethodDelete = HttpTargetHttpMethod("DELETE") // HTTP PATCH HttpTargetHttpMethodPatch = HttpTargetHttpMethod("PATCH") // HTTP OPTIONS HttpTargetHttpMethodOptions = HttpTargetHttpMethod("OPTIONS") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppEngineHttpTarget ¶
type AppEngineHttpTarget struct { // App Engine Routing setting for the job. AppEngineRouting *AppEngineRouting `pulumi:"appEngineRouting"` // Body. HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It will result in invalid argument error to set a body on a job 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 job is created. Cloud Scheduler 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 Scheduler will append `"AppEngine-Google; (+http://code.google.com/appengine)"` to the modified `User-Agent`. * `X-CloudScheduler`: This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will contain the job schedule time in RFC3339 UTC "Zulu" format. If the job has a body and the following headers are not set by the user, Cloud Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override this default by explicitly setting `Content-Type` to a particular media type when creating the job. For example, you can set `Content-Type` to `"application/json"`. The headers below are output only. They cannot be set or overridden: * `Content-Length`: This is computed by Cloud Scheduler. * `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google internal use only. In addition, some App Engine headers, which contain job-specific information, are also be sent to the job handler. Headers map[string]string `pulumi:"headers"` // The HTTP method to use for the request. PATCH and OPTIONS are not permitted. HttpMethod *AppEngineHttpTargetHttpMethod `pulumi:"httpMethod"` // The relative URI. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path, query string arguments, and `#` fragments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters. RelativeUri *string `pulumi:"relativeUri"` }
App Engine target. The job will be pushed to a job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. Error 503 is considered an App Engine system error instead of an application error. Requests returning error 503 will be retried regardless of retry configuration and not counted against retry counts. Any other response code, or a failure to receive a response before the deadline, constitutes a failed attempt.
type AppEngineHttpTargetArgs ¶
type AppEngineHttpTargetArgs struct { // App Engine Routing setting for the job. AppEngineRouting AppEngineRoutingPtrInput `pulumi:"appEngineRouting"` // Body. HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It will result in invalid argument error to set a body on a job 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 job is created. Cloud Scheduler 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 Scheduler will append `"AppEngine-Google; (+http://code.google.com/appengine)"` to the modified `User-Agent`. * `X-CloudScheduler`: This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will contain the job schedule time in RFC3339 UTC "Zulu" format. If the job has a body and the following headers are not set by the user, Cloud Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override this default by explicitly setting `Content-Type` to a particular media type when creating the job. For example, you can set `Content-Type` to `"application/json"`. The headers below are output only. They cannot be set or overridden: * `Content-Length`: This is computed by Cloud Scheduler. * `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google internal use only. In addition, some App Engine headers, which contain job-specific information, are also be sent to the job handler. Headers pulumi.StringMapInput `pulumi:"headers"` // The HTTP method to use for the request. PATCH and OPTIONS are not permitted. HttpMethod AppEngineHttpTargetHttpMethodPtrInput `pulumi:"httpMethod"` // The relative URI. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path, query string arguments, and `#` fragments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters. RelativeUri pulumi.StringPtrInput `pulumi:"relativeUri"` }
App Engine target. The job will be pushed to a job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. Error 503 is considered an App Engine system error instead of an application error. Requests returning error 503 will be retried regardless of retry configuration and not counted against retry counts. Any other response code, or a failure to receive a response before the deadline, constitutes a failed attempt.
func (AppEngineHttpTargetArgs) ElementType ¶
func (AppEngineHttpTargetArgs) ElementType() reflect.Type
func (AppEngineHttpTargetArgs) ToAppEngineHttpTargetOutput ¶
func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetOutput() AppEngineHttpTargetOutput
func (AppEngineHttpTargetArgs) ToAppEngineHttpTargetOutputWithContext ¶
func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetOutputWithContext(ctx context.Context) AppEngineHttpTargetOutput
func (AppEngineHttpTargetArgs) ToAppEngineHttpTargetPtrOutput ¶
func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput
func (AppEngineHttpTargetArgs) ToAppEngineHttpTargetPtrOutputWithContext ¶
func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetPtrOutput
type AppEngineHttpTargetHttpMethod ¶ added in v0.4.0
type AppEngineHttpTargetHttpMethod string
The HTTP method to use for the request. PATCH and OPTIONS are not permitted.
func (AppEngineHttpTargetHttpMethod) ElementType ¶ added in v0.4.0
func (AppEngineHttpTargetHttpMethod) ElementType() reflect.Type
func (AppEngineHttpTargetHttpMethod) ToAppEngineHttpTargetHttpMethodOutput ¶ added in v0.6.0
func (e AppEngineHttpTargetHttpMethod) ToAppEngineHttpTargetHttpMethodOutput() AppEngineHttpTargetHttpMethodOutput
func (AppEngineHttpTargetHttpMethod) ToAppEngineHttpTargetHttpMethodOutputWithContext ¶ added in v0.6.0
func (e AppEngineHttpTargetHttpMethod) ToAppEngineHttpTargetHttpMethodOutputWithContext(ctx context.Context) AppEngineHttpTargetHttpMethodOutput
func (AppEngineHttpTargetHttpMethod) ToAppEngineHttpTargetHttpMethodPtrOutput ¶ added in v0.6.0
func (e AppEngineHttpTargetHttpMethod) ToAppEngineHttpTargetHttpMethodPtrOutput() AppEngineHttpTargetHttpMethodPtrOutput
func (AppEngineHttpTargetHttpMethod) ToAppEngineHttpTargetHttpMethodPtrOutputWithContext ¶ added in v0.6.0
func (e AppEngineHttpTargetHttpMethod) ToAppEngineHttpTargetHttpMethodPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetHttpMethodPtrOutput
func (AppEngineHttpTargetHttpMethod) ToStringOutput ¶ added in v0.4.0
func (e AppEngineHttpTargetHttpMethod) ToStringOutput() pulumi.StringOutput
func (AppEngineHttpTargetHttpMethod) ToStringOutputWithContext ¶ added in v0.4.0
func (e AppEngineHttpTargetHttpMethod) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (AppEngineHttpTargetHttpMethod) ToStringPtrOutput ¶ added in v0.4.0
func (e AppEngineHttpTargetHttpMethod) ToStringPtrOutput() pulumi.StringPtrOutput
func (AppEngineHttpTargetHttpMethod) ToStringPtrOutputWithContext ¶ added in v0.4.0
func (e AppEngineHttpTargetHttpMethod) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AppEngineHttpTargetHttpMethodInput ¶ added in v0.6.0
type AppEngineHttpTargetHttpMethodInput interface { pulumi.Input ToAppEngineHttpTargetHttpMethodOutput() AppEngineHttpTargetHttpMethodOutput ToAppEngineHttpTargetHttpMethodOutputWithContext(context.Context) AppEngineHttpTargetHttpMethodOutput }
AppEngineHttpTargetHttpMethodInput is an input type that accepts AppEngineHttpTargetHttpMethodArgs and AppEngineHttpTargetHttpMethodOutput values. You can construct a concrete instance of `AppEngineHttpTargetHttpMethodInput` via:
AppEngineHttpTargetHttpMethodArgs{...}
type AppEngineHttpTargetHttpMethodOutput ¶ added in v0.6.0
type AppEngineHttpTargetHttpMethodOutput struct{ *pulumi.OutputState }
func (AppEngineHttpTargetHttpMethodOutput) ElementType ¶ added in v0.6.0
func (AppEngineHttpTargetHttpMethodOutput) ElementType() reflect.Type
func (AppEngineHttpTargetHttpMethodOutput) ToAppEngineHttpTargetHttpMethodOutput ¶ added in v0.6.0
func (o AppEngineHttpTargetHttpMethodOutput) ToAppEngineHttpTargetHttpMethodOutput() AppEngineHttpTargetHttpMethodOutput
func (AppEngineHttpTargetHttpMethodOutput) ToAppEngineHttpTargetHttpMethodOutputWithContext ¶ added in v0.6.0
func (o AppEngineHttpTargetHttpMethodOutput) ToAppEngineHttpTargetHttpMethodOutputWithContext(ctx context.Context) AppEngineHttpTargetHttpMethodOutput
func (AppEngineHttpTargetHttpMethodOutput) ToAppEngineHttpTargetHttpMethodPtrOutput ¶ added in v0.6.0
func (o AppEngineHttpTargetHttpMethodOutput) ToAppEngineHttpTargetHttpMethodPtrOutput() AppEngineHttpTargetHttpMethodPtrOutput
func (AppEngineHttpTargetHttpMethodOutput) ToAppEngineHttpTargetHttpMethodPtrOutputWithContext ¶ added in v0.6.0
func (o AppEngineHttpTargetHttpMethodOutput) ToAppEngineHttpTargetHttpMethodPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetHttpMethodPtrOutput
func (AppEngineHttpTargetHttpMethodOutput) ToStringOutput ¶ added in v0.6.0
func (o AppEngineHttpTargetHttpMethodOutput) ToStringOutput() pulumi.StringOutput
func (AppEngineHttpTargetHttpMethodOutput) ToStringOutputWithContext ¶ added in v0.6.0
func (o AppEngineHttpTargetHttpMethodOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (AppEngineHttpTargetHttpMethodOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o AppEngineHttpTargetHttpMethodOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (AppEngineHttpTargetHttpMethodOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o AppEngineHttpTargetHttpMethodOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AppEngineHttpTargetHttpMethodPtrInput ¶ added in v0.6.0
type AppEngineHttpTargetHttpMethodPtrInput interface { pulumi.Input ToAppEngineHttpTargetHttpMethodPtrOutput() AppEngineHttpTargetHttpMethodPtrOutput ToAppEngineHttpTargetHttpMethodPtrOutputWithContext(context.Context) AppEngineHttpTargetHttpMethodPtrOutput }
func AppEngineHttpTargetHttpMethodPtr ¶ added in v0.6.0
func AppEngineHttpTargetHttpMethodPtr(v string) AppEngineHttpTargetHttpMethodPtrInput
type AppEngineHttpTargetHttpMethodPtrOutput ¶ added in v0.6.0
type AppEngineHttpTargetHttpMethodPtrOutput struct{ *pulumi.OutputState }
func (AppEngineHttpTargetHttpMethodPtrOutput) ElementType ¶ added in v0.6.0
func (AppEngineHttpTargetHttpMethodPtrOutput) ElementType() reflect.Type
func (AppEngineHttpTargetHttpMethodPtrOutput) ToAppEngineHttpTargetHttpMethodPtrOutput ¶ added in v0.6.0
func (o AppEngineHttpTargetHttpMethodPtrOutput) ToAppEngineHttpTargetHttpMethodPtrOutput() AppEngineHttpTargetHttpMethodPtrOutput
func (AppEngineHttpTargetHttpMethodPtrOutput) ToAppEngineHttpTargetHttpMethodPtrOutputWithContext ¶ added in v0.6.0
func (o AppEngineHttpTargetHttpMethodPtrOutput) ToAppEngineHttpTargetHttpMethodPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetHttpMethodPtrOutput
func (AppEngineHttpTargetHttpMethodPtrOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o AppEngineHttpTargetHttpMethodPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (AppEngineHttpTargetHttpMethodPtrOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o AppEngineHttpTargetHttpMethodPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AppEngineHttpTargetInput ¶
type AppEngineHttpTargetInput interface { pulumi.Input ToAppEngineHttpTargetOutput() AppEngineHttpTargetOutput ToAppEngineHttpTargetOutputWithContext(context.Context) AppEngineHttpTargetOutput }
AppEngineHttpTargetInput is an input type that accepts AppEngineHttpTargetArgs and AppEngineHttpTargetOutput values. You can construct a concrete instance of `AppEngineHttpTargetInput` via:
AppEngineHttpTargetArgs{...}
type AppEngineHttpTargetOutput ¶
type AppEngineHttpTargetOutput struct{ *pulumi.OutputState }
App Engine target. The job will be pushed to a job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. Error 503 is considered an App Engine system error instead of an application error. Requests returning error 503 will be retried regardless of retry configuration and not counted against retry counts. Any other response code, or a failure to receive a response before the deadline, constitutes a failed attempt.
func (AppEngineHttpTargetOutput) AppEngineRouting ¶
func (o AppEngineHttpTargetOutput) AppEngineRouting() AppEngineRoutingPtrOutput
App Engine Routing setting for the job.
func (AppEngineHttpTargetOutput) Body ¶
func (o AppEngineHttpTargetOutput) Body() pulumi.StringPtrOutput
Body. HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It will result in invalid argument error to set a body on a job with an incompatible HttpMethod.
func (AppEngineHttpTargetOutput) ElementType ¶
func (AppEngineHttpTargetOutput) ElementType() reflect.Type
func (AppEngineHttpTargetOutput) Headers ¶
func (o AppEngineHttpTargetOutput) Headers() pulumi.StringMapOutput
HTTP request headers. This map contains the header field names and values. Headers can be set when the job is created. Cloud Scheduler 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 Scheduler will append `"AppEngine-Google; (+http://code.google.com/appengine)"` to the modified `User-Agent`. * `X-CloudScheduler`: This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will contain the job schedule time in RFC3339 UTC "Zulu" format. If the job has a body and the following headers are not set by the user, Cloud Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override this default by explicitly setting `Content-Type` to a particular media type when creating the job. For example, you can set `Content-Type` to `"application/json"`. The headers below are output only. They cannot be set or overridden: * `Content-Length`: This is computed by Cloud Scheduler. * `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google internal use only. In addition, some App Engine headers, which contain job-specific information, are also be sent to the job handler.
func (AppEngineHttpTargetOutput) HttpMethod ¶
func (o AppEngineHttpTargetOutput) HttpMethod() AppEngineHttpTargetHttpMethodPtrOutput
The HTTP method to use for the request. PATCH and OPTIONS are not permitted.
func (AppEngineHttpTargetOutput) RelativeUri ¶
func (o AppEngineHttpTargetOutput) RelativeUri() pulumi.StringPtrOutput
The relative URI. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path, query string arguments, and `#` fragments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters.
func (AppEngineHttpTargetOutput) ToAppEngineHttpTargetOutput ¶
func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetOutput() AppEngineHttpTargetOutput
func (AppEngineHttpTargetOutput) ToAppEngineHttpTargetOutputWithContext ¶
func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetOutputWithContext(ctx context.Context) AppEngineHttpTargetOutput
func (AppEngineHttpTargetOutput) ToAppEngineHttpTargetPtrOutput ¶
func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput
func (AppEngineHttpTargetOutput) ToAppEngineHttpTargetPtrOutputWithContext ¶
func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetPtrOutput
type AppEngineHttpTargetPtrInput ¶
type AppEngineHttpTargetPtrInput interface { pulumi.Input ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput ToAppEngineHttpTargetPtrOutputWithContext(context.Context) AppEngineHttpTargetPtrOutput }
AppEngineHttpTargetPtrInput is an input type that accepts AppEngineHttpTargetArgs, AppEngineHttpTargetPtr and AppEngineHttpTargetPtrOutput values. You can construct a concrete instance of `AppEngineHttpTargetPtrInput` via:
AppEngineHttpTargetArgs{...} or: nil
func AppEngineHttpTargetPtr ¶
func AppEngineHttpTargetPtr(v *AppEngineHttpTargetArgs) AppEngineHttpTargetPtrInput
type AppEngineHttpTargetPtrOutput ¶
type AppEngineHttpTargetPtrOutput struct{ *pulumi.OutputState }
func (AppEngineHttpTargetPtrOutput) AppEngineRouting ¶
func (o AppEngineHttpTargetPtrOutput) AppEngineRouting() AppEngineRoutingPtrOutput
App Engine Routing setting for the job.
func (AppEngineHttpTargetPtrOutput) Body ¶
func (o AppEngineHttpTargetPtrOutput) Body() pulumi.StringPtrOutput
Body. HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It will result in invalid argument error to set a body on a job with an incompatible HttpMethod.
func (AppEngineHttpTargetPtrOutput) Elem ¶
func (o AppEngineHttpTargetPtrOutput) Elem() AppEngineHttpTargetOutput
func (AppEngineHttpTargetPtrOutput) ElementType ¶
func (AppEngineHttpTargetPtrOutput) ElementType() reflect.Type
func (AppEngineHttpTargetPtrOutput) Headers ¶
func (o AppEngineHttpTargetPtrOutput) Headers() pulumi.StringMapOutput
HTTP request headers. This map contains the header field names and values. Headers can be set when the job is created. Cloud Scheduler 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 Scheduler will append `"AppEngine-Google; (+http://code.google.com/appengine)"` to the modified `User-Agent`. * `X-CloudScheduler`: This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will contain the job schedule time in RFC3339 UTC "Zulu" format. If the job has a body and the following headers are not set by the user, Cloud Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override this default by explicitly setting `Content-Type` to a particular media type when creating the job. For example, you can set `Content-Type` to `"application/json"`. The headers below are output only. They cannot be set or overridden: * `Content-Length`: This is computed by Cloud Scheduler. * `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google internal use only. In addition, some App Engine headers, which contain job-specific information, are also be sent to the job handler.
func (AppEngineHttpTargetPtrOutput) HttpMethod ¶
func (o AppEngineHttpTargetPtrOutput) HttpMethod() AppEngineHttpTargetHttpMethodPtrOutput
The HTTP method to use for the request. PATCH and OPTIONS are not permitted.
func (AppEngineHttpTargetPtrOutput) RelativeUri ¶
func (o AppEngineHttpTargetPtrOutput) RelativeUri() pulumi.StringPtrOutput
The relative URI. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path, query string arguments, and `#` fragments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters.
func (AppEngineHttpTargetPtrOutput) ToAppEngineHttpTargetPtrOutput ¶
func (o AppEngineHttpTargetPtrOutput) ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput
func (AppEngineHttpTargetPtrOutput) ToAppEngineHttpTargetPtrOutputWithContext ¶
func (o AppEngineHttpTargetPtrOutput) ToAppEngineHttpTargetPtrOutputWithContext(ctx context.Context) AppEngineHttpTargetPtrOutput
type AppEngineHttpTargetResponse ¶
type AppEngineHttpTargetResponse struct { // App Engine Routing setting for the job. AppEngineRouting AppEngineRoutingResponse `pulumi:"appEngineRouting"` // Body. HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It will result in invalid argument error to set a body on a job 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 job is created. Cloud Scheduler 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 Scheduler will append `"AppEngine-Google; (+http://code.google.com/appengine)"` to the modified `User-Agent`. * `X-CloudScheduler`: This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will contain the job schedule time in RFC3339 UTC "Zulu" format. If the job has a body and the following headers are not set by the user, Cloud Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override this default by explicitly setting `Content-Type` to a particular media type when creating the job. For example, you can set `Content-Type` to `"application/json"`. The headers below are output only. They cannot be set or overridden: * `Content-Length`: This is computed by Cloud Scheduler. * `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google internal use only. In addition, some App Engine headers, which contain job-specific information, are also be sent to the job handler. Headers map[string]string `pulumi:"headers"` // The HTTP method to use for the request. PATCH and OPTIONS are not permitted. HttpMethod string `pulumi:"httpMethod"` // The relative URI. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path, query string arguments, and `#` fragments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters. RelativeUri string `pulumi:"relativeUri"` }
App Engine target. The job will be pushed to a job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. Error 503 is considered an App Engine system error instead of an application error. Requests returning error 503 will be retried regardless of retry configuration and not counted against retry counts. Any other response code, or a failure to receive a response before the deadline, constitutes a failed attempt.
type AppEngineHttpTargetResponseOutput ¶
type AppEngineHttpTargetResponseOutput struct{ *pulumi.OutputState }
App Engine target. The job will be pushed to a job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. Error 503 is considered an App Engine system error instead of an application error. Requests returning error 503 will be retried regardless of retry configuration and not counted against retry counts. Any other response code, or a failure to receive a response before the deadline, constitutes a failed attempt.
func (AppEngineHttpTargetResponseOutput) AppEngineRouting ¶
func (o AppEngineHttpTargetResponseOutput) AppEngineRouting() AppEngineRoutingResponseOutput
App Engine Routing setting for the job.
func (AppEngineHttpTargetResponseOutput) Body ¶
func (o AppEngineHttpTargetResponseOutput) Body() pulumi.StringOutput
Body. HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It will result in invalid argument error to set a body on a job with an incompatible HttpMethod.
func (AppEngineHttpTargetResponseOutput) ElementType ¶
func (AppEngineHttpTargetResponseOutput) ElementType() reflect.Type
func (AppEngineHttpTargetResponseOutput) Headers ¶
func (o AppEngineHttpTargetResponseOutput) Headers() pulumi.StringMapOutput
HTTP request headers. This map contains the header field names and values. Headers can be set when the job is created. Cloud Scheduler 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 Scheduler will append `"AppEngine-Google; (+http://code.google.com/appengine)"` to the modified `User-Agent`. * `X-CloudScheduler`: This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will contain the job schedule time in RFC3339 UTC "Zulu" format. If the job has a body and the following headers are not set by the user, Cloud Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override this default by explicitly setting `Content-Type` to a particular media type when creating the job. For example, you can set `Content-Type` to `"application/json"`. The headers below are output only. They cannot be set or overridden: * `Content-Length`: This is computed by Cloud Scheduler. * `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google internal use only. In addition, some App Engine headers, which contain job-specific information, are also be sent to the job handler.
func (AppEngineHttpTargetResponseOutput) HttpMethod ¶
func (o AppEngineHttpTargetResponseOutput) HttpMethod() pulumi.StringOutput
The HTTP method to use for the request. PATCH and OPTIONS are not permitted.
func (AppEngineHttpTargetResponseOutput) RelativeUri ¶
func (o AppEngineHttpTargetResponseOutput) RelativeUri() pulumi.StringOutput
The relative URI. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path, query string arguments, and `#` fragments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters.
func (AppEngineHttpTargetResponseOutput) ToAppEngineHttpTargetResponseOutput ¶
func (o AppEngineHttpTargetResponseOutput) ToAppEngineHttpTargetResponseOutput() AppEngineHttpTargetResponseOutput
func (AppEngineHttpTargetResponseOutput) ToAppEngineHttpTargetResponseOutputWithContext ¶
func (o AppEngineHttpTargetResponseOutput) ToAppEngineHttpTargetResponseOutputWithContext(ctx context.Context) AppEngineHttpTargetResponseOutput
type AppEngineRouting ¶
type AppEngineRouting struct { // App instance. By default, the job is sent to an instance which is available when the job 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?#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 job is sent to the service which is the default service when the job is attempted. Service *string `pulumi:"service"` // App version. By default, the job is sent to the version which is the default version when the job is attempted. Version *string `pulumi:"version"` }
App Engine Routing. For more information about services, versions, and instances see [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
type AppEngineRoutingArgs ¶
type AppEngineRoutingArgs struct { // App instance. By default, the job is sent to an instance which is available when the job 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?#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 job is sent to the service which is the default service when the job is attempted. Service pulumi.StringPtrInput `pulumi:"service"` // App version. By default, the job is sent to the version which is the default version when the job is attempted. Version pulumi.StringPtrInput `pulumi:"version"` }
App Engine Routing. For more information about services, versions, and instances see [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
func (AppEngineRoutingArgs) ElementType ¶
func (AppEngineRoutingArgs) ElementType() reflect.Type
func (AppEngineRoutingArgs) ToAppEngineRoutingOutput ¶
func (i AppEngineRoutingArgs) ToAppEngineRoutingOutput() AppEngineRoutingOutput
func (AppEngineRoutingArgs) ToAppEngineRoutingOutputWithContext ¶
func (i AppEngineRoutingArgs) ToAppEngineRoutingOutputWithContext(ctx context.Context) AppEngineRoutingOutput
func (AppEngineRoutingArgs) ToAppEngineRoutingPtrOutput ¶
func (i AppEngineRoutingArgs) ToAppEngineRoutingPtrOutput() AppEngineRoutingPtrOutput
func (AppEngineRoutingArgs) ToAppEngineRoutingPtrOutputWithContext ¶
func (i AppEngineRoutingArgs) ToAppEngineRoutingPtrOutputWithContext(ctx context.Context) AppEngineRoutingPtrOutput
type AppEngineRoutingInput ¶
type AppEngineRoutingInput interface { pulumi.Input ToAppEngineRoutingOutput() AppEngineRoutingOutput ToAppEngineRoutingOutputWithContext(context.Context) AppEngineRoutingOutput }
AppEngineRoutingInput is an input type that accepts AppEngineRoutingArgs and AppEngineRoutingOutput values. You can construct a concrete instance of `AppEngineRoutingInput` via:
AppEngineRoutingArgs{...}
type AppEngineRoutingOutput ¶
type AppEngineRoutingOutput struct{ *pulumi.OutputState }
App Engine Routing. For more information about services, versions, and instances see [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
func (AppEngineRoutingOutput) ElementType ¶
func (AppEngineRoutingOutput) ElementType() reflect.Type
func (AppEngineRoutingOutput) Instance ¶
func (o AppEngineRoutingOutput) Instance() pulumi.StringPtrOutput
App instance. By default, the job is sent to an instance which is available when the job 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?#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 job is sent to the service which is the default service when the job is attempted.
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 job is sent to the version which is the default version when the job is attempted.
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 job is sent to an instance which is available when the job 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?#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 job is sent to the service which is the default service when the job is attempted.
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 job is sent to the version which is the default version when the job is attempted.
type AppEngineRoutingResponse ¶
type AppEngineRoutingResponse struct { // The host that the job is sent to. For more information about how App Engine requests are routed, see [here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). The host is constructed as: * `host = [application_domain_name]` `| [service] + '.' + [application_domain_name]` `| [version] + '.' + [application_domain_name]` `| [version_dot_service]+ '.' + [application_domain_name]` `| [instance] + '.' + [application_domain_name]` `| [instance_dot_service] + '.' + [application_domain_name]` `| [instance_dot_version] + '.' + [application_domain_name]` `| [instance_dot_version_dot_service] + '.' + [application_domain_name]` * `application_domain_name` = The domain name of the app, for example .appspot.com, which is associated with the job's project ID. * `service =` service * `version =` version * `version_dot_service =` version `+ '.' +` service * `instance =` instance * `instance_dot_service =` instance `+ '.' +` service * `instance_dot_version =` instance `+ '.' +` version * `instance_dot_version_dot_service =` instance `+ '.' +` version `+ '.' +` service If service is empty, then the job will be sent to the service which is the default service when the job is attempted. If version is empty, then the job will be sent to the version which is the default version when the job is attempted. If instance is empty, then the job will be sent to an instance which is available when the job is attempted. If service, version, or instance is invalid, then the job will be sent to the default version of the default service when the job is attempted. Host string `pulumi:"host"` // App instance. By default, the job is sent to an instance which is available when the job 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?#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 job is sent to the service which is the default service when the job is attempted. Service string `pulumi:"service"` // App version. By default, the job is sent to the version which is the default version when the job is attempted. Version string `pulumi:"version"` }
App Engine Routing. For more information about services, versions, and instances see [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
type AppEngineRoutingResponseOutput ¶
type AppEngineRoutingResponseOutput struct{ *pulumi.OutputState }
App Engine Routing. For more information about services, versions, and instances see [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
func (AppEngineRoutingResponseOutput) ElementType ¶
func (AppEngineRoutingResponseOutput) ElementType() reflect.Type
func (AppEngineRoutingResponseOutput) Host ¶
func (o AppEngineRoutingResponseOutput) Host() pulumi.StringOutput
The host that the job is sent to. For more information about how App Engine requests are routed, see [here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). The host is constructed as: * `host = [application_domain_name]` `| [service] + '.' + [application_domain_name]` `| [version] + '.' + [application_domain_name]` `| [version_dot_service]+ '.' + [application_domain_name]` `| [instance] + '.' + [application_domain_name]` `| [instance_dot_service] + '.' + [application_domain_name]` `| [instance_dot_version] + '.' + [application_domain_name]` `| [instance_dot_version_dot_service] + '.' + [application_domain_name]` * `application_domain_name` = The domain name of the app, for example .appspot.com, which is associated with the job's project ID. * `service =` service * `version =` version * `version_dot_service =` version `+ '.' +` service * `instance =` instance * `instance_dot_service =` instance `+ '.' +` service * `instance_dot_version =` instance `+ '.' +` version * `instance_dot_version_dot_service =` instance `+ '.' +` version `+ '.' +` service If service is empty, then the job will be sent to the service which is the default service when the job is attempted. If version is empty, then the job will be sent to the version which is the default version when the job is attempted. If instance is empty, then the job will be sent to an instance which is available when the job is attempted. If service, version, or instance is invalid, then the job will be sent to the default version of the default service when the job is attempted.
func (AppEngineRoutingResponseOutput) Instance ¶
func (o AppEngineRoutingResponseOutput) Instance() pulumi.StringOutput
App instance. By default, the job is sent to an instance which is available when the job 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?#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 job is sent to the service which is the default service when the job is attempted.
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 job is sent to the version which is the default version when the job is attempted.
type HttpTarget ¶
type HttpTarget 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 job with an incompatible HttpMethod. Body *string `pulumi:"body"` // HTTP request headers. This map contains the header field names and values. The user can specify HTTP request headers to send with the job's HTTP request. Repeated headers are not supported, but a header value can contain commas. The following headers represent a subset of the headers that accompany the job's HTTP request. Some HTTP request headers are ignored or replaced. A partial list of headers that are ignored or replaced is below: * Host: This will be computed by Cloud Scheduler and derived from uri. * `Content-Length`: This will be computed by Cloud Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: Google internal use only. * `X-AppEngine-*`: Google internal use only. * `X-CloudScheduler`: This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will contain the job schedule time in RFC3339 UTC "Zulu" format. If the job has a body and the following headers are not set by the user, Cloud Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override this default by explicitly setting `Content-Type` to a particular media type when creating the job. For example, you can set `Content-Type` to `"application/json"`. The total size of headers must be less than 80KB. Headers map[string]string `pulumi:"headers"` // Which HTTP method to use for the request. HttpMethod *HttpTargetHttpMethod `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 URI path that the request will be sent to. This string must begin with either "http://" or "https://". Some examples of valid values for uri are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Scheduler will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters after encoding. Uri string `pulumi:"uri"` }
Http target. The job will be pushed to the job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. A failure to receive a response constitutes a failed execution. For a redirected request, the response returned by the redirected request is considered.
type HttpTargetArgs ¶
type HttpTargetArgs 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 job with an incompatible HttpMethod. Body pulumi.StringPtrInput `pulumi:"body"` // HTTP request headers. This map contains the header field names and values. The user can specify HTTP request headers to send with the job's HTTP request. Repeated headers are not supported, but a header value can contain commas. The following headers represent a subset of the headers that accompany the job's HTTP request. Some HTTP request headers are ignored or replaced. A partial list of headers that are ignored or replaced is below: * Host: This will be computed by Cloud Scheduler and derived from uri. * `Content-Length`: This will be computed by Cloud Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: Google internal use only. * `X-AppEngine-*`: Google internal use only. * `X-CloudScheduler`: This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will contain the job schedule time in RFC3339 UTC "Zulu" format. If the job has a body and the following headers are not set by the user, Cloud Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override this default by explicitly setting `Content-Type` to a particular media type when creating the job. For example, you can set `Content-Type` to `"application/json"`. The total size of headers must be less than 80KB. Headers pulumi.StringMapInput `pulumi:"headers"` // Which HTTP method to use for the request. HttpMethod HttpTargetHttpMethodPtrInput `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 URI path that the request will be sent to. This string must begin with either "http://" or "https://". Some examples of valid values for uri are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Scheduler will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters after encoding. Uri pulumi.StringInput `pulumi:"uri"` }
Http target. The job will be pushed to the job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. A failure to receive a response constitutes a failed execution. For a redirected request, the response returned by the redirected request is considered.
func (HttpTargetArgs) ElementType ¶
func (HttpTargetArgs) ElementType() reflect.Type
func (HttpTargetArgs) ToHttpTargetOutput ¶
func (i HttpTargetArgs) ToHttpTargetOutput() HttpTargetOutput
func (HttpTargetArgs) ToHttpTargetOutputWithContext ¶
func (i HttpTargetArgs) ToHttpTargetOutputWithContext(ctx context.Context) HttpTargetOutput
func (HttpTargetArgs) ToHttpTargetPtrOutput ¶
func (i HttpTargetArgs) ToHttpTargetPtrOutput() HttpTargetPtrOutput
func (HttpTargetArgs) ToHttpTargetPtrOutputWithContext ¶
func (i HttpTargetArgs) ToHttpTargetPtrOutputWithContext(ctx context.Context) HttpTargetPtrOutput
type HttpTargetHttpMethod ¶ added in v0.4.0
type HttpTargetHttpMethod string
Which HTTP method to use for the request.
func (HttpTargetHttpMethod) ElementType ¶ added in v0.4.0
func (HttpTargetHttpMethod) ElementType() reflect.Type
func (HttpTargetHttpMethod) ToHttpTargetHttpMethodOutput ¶ added in v0.6.0
func (e HttpTargetHttpMethod) ToHttpTargetHttpMethodOutput() HttpTargetHttpMethodOutput
func (HttpTargetHttpMethod) ToHttpTargetHttpMethodOutputWithContext ¶ added in v0.6.0
func (e HttpTargetHttpMethod) ToHttpTargetHttpMethodOutputWithContext(ctx context.Context) HttpTargetHttpMethodOutput
func (HttpTargetHttpMethod) ToHttpTargetHttpMethodPtrOutput ¶ added in v0.6.0
func (e HttpTargetHttpMethod) ToHttpTargetHttpMethodPtrOutput() HttpTargetHttpMethodPtrOutput
func (HttpTargetHttpMethod) ToHttpTargetHttpMethodPtrOutputWithContext ¶ added in v0.6.0
func (e HttpTargetHttpMethod) ToHttpTargetHttpMethodPtrOutputWithContext(ctx context.Context) HttpTargetHttpMethodPtrOutput
func (HttpTargetHttpMethod) ToStringOutput ¶ added in v0.4.0
func (e HttpTargetHttpMethod) ToStringOutput() pulumi.StringOutput
func (HttpTargetHttpMethod) ToStringOutputWithContext ¶ added in v0.4.0
func (e HttpTargetHttpMethod) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (HttpTargetHttpMethod) ToStringPtrOutput ¶ added in v0.4.0
func (e HttpTargetHttpMethod) ToStringPtrOutput() pulumi.StringPtrOutput
func (HttpTargetHttpMethod) ToStringPtrOutputWithContext ¶ added in v0.4.0
func (e HttpTargetHttpMethod) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type HttpTargetHttpMethodInput ¶ added in v0.6.0
type HttpTargetHttpMethodInput interface { pulumi.Input ToHttpTargetHttpMethodOutput() HttpTargetHttpMethodOutput ToHttpTargetHttpMethodOutputWithContext(context.Context) HttpTargetHttpMethodOutput }
HttpTargetHttpMethodInput is an input type that accepts HttpTargetHttpMethodArgs and HttpTargetHttpMethodOutput values. You can construct a concrete instance of `HttpTargetHttpMethodInput` via:
HttpTargetHttpMethodArgs{...}
type HttpTargetHttpMethodOutput ¶ added in v0.6.0
type HttpTargetHttpMethodOutput struct{ *pulumi.OutputState }
func (HttpTargetHttpMethodOutput) ElementType ¶ added in v0.6.0
func (HttpTargetHttpMethodOutput) ElementType() reflect.Type
func (HttpTargetHttpMethodOutput) ToHttpTargetHttpMethodOutput ¶ added in v0.6.0
func (o HttpTargetHttpMethodOutput) ToHttpTargetHttpMethodOutput() HttpTargetHttpMethodOutput
func (HttpTargetHttpMethodOutput) ToHttpTargetHttpMethodOutputWithContext ¶ added in v0.6.0
func (o HttpTargetHttpMethodOutput) ToHttpTargetHttpMethodOutputWithContext(ctx context.Context) HttpTargetHttpMethodOutput
func (HttpTargetHttpMethodOutput) ToHttpTargetHttpMethodPtrOutput ¶ added in v0.6.0
func (o HttpTargetHttpMethodOutput) ToHttpTargetHttpMethodPtrOutput() HttpTargetHttpMethodPtrOutput
func (HttpTargetHttpMethodOutput) ToHttpTargetHttpMethodPtrOutputWithContext ¶ added in v0.6.0
func (o HttpTargetHttpMethodOutput) ToHttpTargetHttpMethodPtrOutputWithContext(ctx context.Context) HttpTargetHttpMethodPtrOutput
func (HttpTargetHttpMethodOutput) ToStringOutput ¶ added in v0.6.0
func (o HttpTargetHttpMethodOutput) ToStringOutput() pulumi.StringOutput
func (HttpTargetHttpMethodOutput) ToStringOutputWithContext ¶ added in v0.6.0
func (o HttpTargetHttpMethodOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (HttpTargetHttpMethodOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o HttpTargetHttpMethodOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (HttpTargetHttpMethodOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o HttpTargetHttpMethodOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type HttpTargetHttpMethodPtrInput ¶ added in v0.6.0
type HttpTargetHttpMethodPtrInput interface { pulumi.Input ToHttpTargetHttpMethodPtrOutput() HttpTargetHttpMethodPtrOutput ToHttpTargetHttpMethodPtrOutputWithContext(context.Context) HttpTargetHttpMethodPtrOutput }
func HttpTargetHttpMethodPtr ¶ added in v0.6.0
func HttpTargetHttpMethodPtr(v string) HttpTargetHttpMethodPtrInput
type HttpTargetHttpMethodPtrOutput ¶ added in v0.6.0
type HttpTargetHttpMethodPtrOutput struct{ *pulumi.OutputState }
func (HttpTargetHttpMethodPtrOutput) Elem ¶ added in v0.6.0
func (o HttpTargetHttpMethodPtrOutput) Elem() HttpTargetHttpMethodOutput
func (HttpTargetHttpMethodPtrOutput) ElementType ¶ added in v0.6.0
func (HttpTargetHttpMethodPtrOutput) ElementType() reflect.Type
func (HttpTargetHttpMethodPtrOutput) ToHttpTargetHttpMethodPtrOutput ¶ added in v0.6.0
func (o HttpTargetHttpMethodPtrOutput) ToHttpTargetHttpMethodPtrOutput() HttpTargetHttpMethodPtrOutput
func (HttpTargetHttpMethodPtrOutput) ToHttpTargetHttpMethodPtrOutputWithContext ¶ added in v0.6.0
func (o HttpTargetHttpMethodPtrOutput) ToHttpTargetHttpMethodPtrOutputWithContext(ctx context.Context) HttpTargetHttpMethodPtrOutput
func (HttpTargetHttpMethodPtrOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o HttpTargetHttpMethodPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (HttpTargetHttpMethodPtrOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o HttpTargetHttpMethodPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type HttpTargetInput ¶
type HttpTargetInput interface { pulumi.Input ToHttpTargetOutput() HttpTargetOutput ToHttpTargetOutputWithContext(context.Context) HttpTargetOutput }
HttpTargetInput is an input type that accepts HttpTargetArgs and HttpTargetOutput values. You can construct a concrete instance of `HttpTargetInput` via:
HttpTargetArgs{...}
type HttpTargetOutput ¶
type HttpTargetOutput struct{ *pulumi.OutputState }
Http target. The job will be pushed to the job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. A failure to receive a response constitutes a failed execution. For a redirected request, the response returned by the redirected request is considered.
func (HttpTargetOutput) Body ¶
func (o HttpTargetOutput) 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 job with an incompatible HttpMethod.
func (HttpTargetOutput) ElementType ¶
func (HttpTargetOutput) ElementType() reflect.Type
func (HttpTargetOutput) Headers ¶
func (o HttpTargetOutput) Headers() pulumi.StringMapOutput
HTTP request headers. This map contains the header field names and values. The user can specify HTTP request headers to send with the job's HTTP request. Repeated headers are not supported, but a header value can contain commas. The following headers represent a subset of the headers that accompany the job's HTTP request. Some HTTP request headers are ignored or replaced. A partial list of headers that are ignored or replaced is below: * Host: This will be computed by Cloud Scheduler and derived from uri. * `Content-Length`: This will be computed by Cloud Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: Google internal use only. * `X-AppEngine-*`: Google internal use only. * `X-CloudScheduler`: This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will contain the job schedule time in RFC3339 UTC "Zulu" format. If the job has a body and the following headers are not set by the user, Cloud Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override this default by explicitly setting `Content-Type` to a particular media type when creating the job. For example, you can set `Content-Type` to `"application/json"`. The total size of headers must be less than 80KB.
func (HttpTargetOutput) HttpMethod ¶
func (o HttpTargetOutput) HttpMethod() HttpTargetHttpMethodPtrOutput
Which HTTP method to use for the request.
func (HttpTargetOutput) OauthToken ¶
func (o HttpTargetOutput) 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 (HttpTargetOutput) OidcToken ¶
func (o HttpTargetOutput) 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 (HttpTargetOutput) ToHttpTargetOutput ¶
func (o HttpTargetOutput) ToHttpTargetOutput() HttpTargetOutput
func (HttpTargetOutput) ToHttpTargetOutputWithContext ¶
func (o HttpTargetOutput) ToHttpTargetOutputWithContext(ctx context.Context) HttpTargetOutput
func (HttpTargetOutput) ToHttpTargetPtrOutput ¶
func (o HttpTargetOutput) ToHttpTargetPtrOutput() HttpTargetPtrOutput
func (HttpTargetOutput) ToHttpTargetPtrOutputWithContext ¶
func (o HttpTargetOutput) ToHttpTargetPtrOutputWithContext(ctx context.Context) HttpTargetPtrOutput
func (HttpTargetOutput) Uri ¶
func (o HttpTargetOutput) Uri() pulumi.StringOutput
The full URI path that the request will be sent to. This string must begin with either "http://" or "https://". Some examples of valid values for uri are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Scheduler will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters after encoding.
type HttpTargetPtrInput ¶
type HttpTargetPtrInput interface { pulumi.Input ToHttpTargetPtrOutput() HttpTargetPtrOutput ToHttpTargetPtrOutputWithContext(context.Context) HttpTargetPtrOutput }
HttpTargetPtrInput is an input type that accepts HttpTargetArgs, HttpTargetPtr and HttpTargetPtrOutput values. You can construct a concrete instance of `HttpTargetPtrInput` via:
HttpTargetArgs{...} or: nil
func HttpTargetPtr ¶
func HttpTargetPtr(v *HttpTargetArgs) HttpTargetPtrInput
type HttpTargetPtrOutput ¶
type HttpTargetPtrOutput struct{ *pulumi.OutputState }
func (HttpTargetPtrOutput) Body ¶
func (o HttpTargetPtrOutput) 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 job with an incompatible HttpMethod.
func (HttpTargetPtrOutput) Elem ¶
func (o HttpTargetPtrOutput) Elem() HttpTargetOutput
func (HttpTargetPtrOutput) ElementType ¶
func (HttpTargetPtrOutput) ElementType() reflect.Type
func (HttpTargetPtrOutput) Headers ¶
func (o HttpTargetPtrOutput) Headers() pulumi.StringMapOutput
HTTP request headers. This map contains the header field names and values. The user can specify HTTP request headers to send with the job's HTTP request. Repeated headers are not supported, but a header value can contain commas. The following headers represent a subset of the headers that accompany the job's HTTP request. Some HTTP request headers are ignored or replaced. A partial list of headers that are ignored or replaced is below: * Host: This will be computed by Cloud Scheduler and derived from uri. * `Content-Length`: This will be computed by Cloud Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: Google internal use only. * `X-AppEngine-*`: Google internal use only. * `X-CloudScheduler`: This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will contain the job schedule time in RFC3339 UTC "Zulu" format. If the job has a body and the following headers are not set by the user, Cloud Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override this default by explicitly setting `Content-Type` to a particular media type when creating the job. For example, you can set `Content-Type` to `"application/json"`. The total size of headers must be less than 80KB.
func (HttpTargetPtrOutput) HttpMethod ¶
func (o HttpTargetPtrOutput) HttpMethod() HttpTargetHttpMethodPtrOutput
Which HTTP method to use for the request.
func (HttpTargetPtrOutput) OauthToken ¶
func (o HttpTargetPtrOutput) 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 (HttpTargetPtrOutput) OidcToken ¶
func (o HttpTargetPtrOutput) 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 (HttpTargetPtrOutput) ToHttpTargetPtrOutput ¶
func (o HttpTargetPtrOutput) ToHttpTargetPtrOutput() HttpTargetPtrOutput
func (HttpTargetPtrOutput) ToHttpTargetPtrOutputWithContext ¶
func (o HttpTargetPtrOutput) ToHttpTargetPtrOutputWithContext(ctx context.Context) HttpTargetPtrOutput
func (HttpTargetPtrOutput) Uri ¶
func (o HttpTargetPtrOutput) Uri() pulumi.StringPtrOutput
The full URI path that the request will be sent to. This string must begin with either "http://" or "https://". Some examples of valid values for uri are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Scheduler will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters after encoding.
type HttpTargetResponse ¶
type HttpTargetResponse 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 job with an incompatible HttpMethod. Body string `pulumi:"body"` // HTTP request headers. This map contains the header field names and values. The user can specify HTTP request headers to send with the job's HTTP request. Repeated headers are not supported, but a header value can contain commas. The following headers represent a subset of the headers that accompany the job's HTTP request. Some HTTP request headers are ignored or replaced. A partial list of headers that are ignored or replaced is below: * Host: This will be computed by Cloud Scheduler and derived from uri. * `Content-Length`: This will be computed by Cloud Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: Google internal use only. * `X-AppEngine-*`: Google internal use only. * `X-CloudScheduler`: This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will contain the job schedule time in RFC3339 UTC "Zulu" format. If the job has a body and the following headers are not set by the user, Cloud Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override this default by explicitly setting `Content-Type` to a particular media type when creating the job. For example, you can set `Content-Type` to `"application/json"`. The total size of headers must be less than 80KB. Headers map[string]string `pulumi:"headers"` // Which HTTP method to use for the request. 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 URI path that the request will be sent to. This string must begin with either "http://" or "https://". Some examples of valid values for uri are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Scheduler will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters after encoding. Uri string `pulumi:"uri"` }
Http target. The job will be pushed to the job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. A failure to receive a response constitutes a failed execution. For a redirected request, the response returned by the redirected request is considered.
type HttpTargetResponseOutput ¶
type HttpTargetResponseOutput struct{ *pulumi.OutputState }
Http target. The job will be pushed to the job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. A failure to receive a response constitutes a failed execution. For a redirected request, the response returned by the redirected request is considered.
func (HttpTargetResponseOutput) Body ¶
func (o HttpTargetResponseOutput) 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 job with an incompatible HttpMethod.
func (HttpTargetResponseOutput) ElementType ¶
func (HttpTargetResponseOutput) ElementType() reflect.Type
func (HttpTargetResponseOutput) Headers ¶
func (o HttpTargetResponseOutput) Headers() pulumi.StringMapOutput
HTTP request headers. This map contains the header field names and values. The user can specify HTTP request headers to send with the job's HTTP request. Repeated headers are not supported, but a header value can contain commas. The following headers represent a subset of the headers that accompany the job's HTTP request. Some HTTP request headers are ignored or replaced. A partial list of headers that are ignored or replaced is below: * Host: This will be computed by Cloud Scheduler and derived from uri. * `Content-Length`: This will be computed by Cloud Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: Google internal use only. * `X-AppEngine-*`: Google internal use only. * `X-CloudScheduler`: This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will contain the job schedule time in RFC3339 UTC "Zulu" format. If the job has a body and the following headers are not set by the user, Cloud Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override this default by explicitly setting `Content-Type` to a particular media type when creating the job. For example, you can set `Content-Type` to `"application/json"`. The total size of headers must be less than 80KB.
func (HttpTargetResponseOutput) HttpMethod ¶
func (o HttpTargetResponseOutput) HttpMethod() pulumi.StringOutput
Which HTTP method to use for the request.
func (HttpTargetResponseOutput) OauthToken ¶
func (o HttpTargetResponseOutput) 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 (HttpTargetResponseOutput) OidcToken ¶
func (o HttpTargetResponseOutput) 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 (HttpTargetResponseOutput) ToHttpTargetResponseOutput ¶
func (o HttpTargetResponseOutput) ToHttpTargetResponseOutput() HttpTargetResponseOutput
func (HttpTargetResponseOutput) ToHttpTargetResponseOutputWithContext ¶
func (o HttpTargetResponseOutput) ToHttpTargetResponseOutputWithContext(ctx context.Context) HttpTargetResponseOutput
func (HttpTargetResponseOutput) Uri ¶
func (o HttpTargetResponseOutput) Uri() pulumi.StringOutput
The full URI path that the request will be sent to. This string must begin with either "http://" or "https://". Some examples of valid values for uri are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Scheduler will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters after encoding.
type Job ¶
type Job struct { pulumi.CustomResourceState // App Engine HTTP target. AppEngineHttpTarget AppEngineHttpTargetResponseOutput `pulumi:"appEngineHttpTarget"` // The deadline for job attempts. If the request handler does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in execution logs. Cloud Scheduler will retry the job according to the RetryConfig. The default and the allowed values depend on the type of target: * For HTTP targets, the default is 3 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For App Engine HTTP targets, 0 indicates that the request has the default deadline. The default deadline depends on the scaling type 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]. * For Pub/Sub targets, this field is ignored. AttemptDeadline pulumi.StringOutput `pulumi:"attemptDeadline"` // Optionally caller-specified in CreateJob or UpdateJob. A human-readable description for the job. This string must not contain more than 500 characters. Description pulumi.StringOutput `pulumi:"description"` // HTTP target. HttpTarget HttpTargetResponseOutput `pulumi:"httpTarget"` // The time the last job attempt started. LastAttemptTime pulumi.StringOutput `pulumi:"lastAttemptTime"` Location pulumi.StringOutput `pulumi:"location"` // Optionally caller-specified in CreateJob, after which it becomes output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_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 job's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `JOB_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"` Project pulumi.StringOutput `pulumi:"project"` // Pub/Sub target. PubsubTarget PubsubTargetResponseOutput `pulumi:"pubsubTarget"` // Settings that determine the retry behavior. RetryConfig RetryConfigResponseOutput `pulumi:"retryConfig"` // Required, except when used with UpdateJob. Describes the schedule on which the job will be executed. The schedule can be either of the following types: * [Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) As a general rule, execution `n + 1` of a job will not begin until execution `n` has finished. Cloud Scheduler will never allow two simultaneously outstanding executions. For example, this implies that if the `n+1`th execution is scheduled to run at 16:00 but the `n`th execution takes until 16:15, the `n+1`th execution will not start until `16:15`. A scheduled start time will be delayed if the previous execution has not ended when its scheduled time occurs. If retry_count > 0 and a job attempt fails, the job will be tried a total of retry_count times, with exponential backoff, until the next scheduled start time. If retry_count is 0, a job attempt will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running according to schedule after the failure. Schedule pulumi.StringOutput `pulumi:"schedule"` // The next time the job is scheduled. Note that this may be a retry of a previously failed attempt or the next execution time according to the schedule. ScheduleTime pulumi.StringOutput `pulumi:"scheduleTime"` // State of the job. State pulumi.StringOutput `pulumi:"state"` // The response from the target for the last attempted execution. Status StatusResponseOutput `pulumi:"status"` // Specifies the time zone to be used in interpreting schedule. The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database). Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT). TimeZone pulumi.StringOutput `pulumi:"timeZone"` // The creation time of the job. UserUpdateTime pulumi.StringOutput `pulumi:"userUpdateTime"` }
Creates a job.
func GetJob ¶
func GetJob(ctx *pulumi.Context, name string, id pulumi.IDInput, state *JobState, opts ...pulumi.ResourceOption) (*Job, error)
GetJob gets an existing Job 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 NewJob ¶
func NewJob(ctx *pulumi.Context, name string, args *JobArgs, opts ...pulumi.ResourceOption) (*Job, error)
NewJob registers a new resource with the given unique name, arguments, and options.
func (*Job) ElementType ¶
func (*Job) ToJobOutput ¶
type JobArgs ¶
type JobArgs struct { // App Engine HTTP target. AppEngineHttpTarget AppEngineHttpTargetPtrInput // The deadline for job attempts. If the request handler does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in execution logs. Cloud Scheduler will retry the job according to the RetryConfig. The default and the allowed values depend on the type of target: * For HTTP targets, the default is 3 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For App Engine HTTP targets, 0 indicates that the request has the default deadline. The default deadline depends on the scaling type 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]. * For Pub/Sub targets, this field is ignored. AttemptDeadline pulumi.StringPtrInput // Optionally caller-specified in CreateJob or UpdateJob. A human-readable description for the job. This string must not contain more than 500 characters. Description pulumi.StringPtrInput // HTTP target. HttpTarget HttpTargetPtrInput Location pulumi.StringPtrInput // Optionally caller-specified in CreateJob, after which it becomes output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_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 job's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `JOB_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 // Pub/Sub target. PubsubTarget PubsubTargetPtrInput // Settings that determine the retry behavior. RetryConfig RetryConfigPtrInput // Required, except when used with UpdateJob. Describes the schedule on which the job will be executed. The schedule can be either of the following types: * [Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) As a general rule, execution `n + 1` of a job will not begin until execution `n` has finished. Cloud Scheduler will never allow two simultaneously outstanding executions. For example, this implies that if the `n+1`th execution is scheduled to run at 16:00 but the `n`th execution takes until 16:15, the `n+1`th execution will not start until `16:15`. A scheduled start time will be delayed if the previous execution has not ended when its scheduled time occurs. If retry_count > 0 and a job attempt fails, the job will be tried a total of retry_count times, with exponential backoff, until the next scheduled start time. If retry_count is 0, a job attempt will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running according to schedule after the failure. Schedule pulumi.StringPtrInput // Specifies the time zone to be used in interpreting schedule. The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database). Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT). TimeZone pulumi.StringPtrInput }
The set of arguments for constructing a Job resource.
func (JobArgs) ElementType ¶
type JobOutput ¶
type JobOutput struct{ *pulumi.OutputState }
func (JobOutput) AppEngineHttpTarget ¶ added in v0.19.0
func (o JobOutput) AppEngineHttpTarget() AppEngineHttpTargetResponseOutput
App Engine HTTP target.
func (JobOutput) AttemptDeadline ¶ added in v0.19.0
func (o JobOutput) AttemptDeadline() pulumi.StringOutput
The deadline for job attempts. If the request handler does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in execution logs. Cloud Scheduler will retry the job according to the RetryConfig. The default and the allowed values depend on the type of target: * For HTTP targets, the default is 3 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For App Engine HTTP targets, 0 indicates that the request has the default deadline. The default deadline depends on the scaling type 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]. * For Pub/Sub targets, this field is ignored.
func (JobOutput) Description ¶ added in v0.19.0
func (o JobOutput) Description() pulumi.StringOutput
Optionally caller-specified in CreateJob or UpdateJob. A human-readable description for the job. This string must not contain more than 500 characters.
func (JobOutput) ElementType ¶
func (JobOutput) HttpTarget ¶ added in v0.19.0
func (o JobOutput) HttpTarget() HttpTargetResponseOutput
HTTP target.
func (JobOutput) LastAttemptTime ¶ added in v0.19.0
func (o JobOutput) LastAttemptTime() pulumi.StringOutput
The time the last job attempt started.
func (JobOutput) Location ¶ added in v0.21.0
func (o JobOutput) Location() pulumi.StringOutput
func (JobOutput) Name ¶ added in v0.19.0
func (o JobOutput) Name() pulumi.StringOutput
Optionally caller-specified in CreateJob, after which it becomes output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_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 job's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.
func (JobOutput) Project ¶ added in v0.21.0
func (o JobOutput) Project() pulumi.StringOutput
func (JobOutput) PubsubTarget ¶ added in v0.19.0
func (o JobOutput) PubsubTarget() PubsubTargetResponseOutput
Pub/Sub target.
func (JobOutput) RetryConfig ¶ added in v0.19.0
func (o JobOutput) RetryConfig() RetryConfigResponseOutput
Settings that determine the retry behavior.
func (JobOutput) Schedule ¶ added in v0.19.0
func (o JobOutput) Schedule() pulumi.StringOutput
Required, except when used with UpdateJob. Describes the schedule on which the job will be executed. The schedule can be either of the following types: * [Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) As a general rule, execution `n + 1` of a job will not begin until execution `n` has finished. Cloud Scheduler will never allow two simultaneously outstanding executions. For example, this implies that if the `n+1`th execution is scheduled to run at 16:00 but the `n`th execution takes until 16:15, the `n+1`th execution will not start until `16:15`. A scheduled start time will be delayed if the previous execution has not ended when its scheduled time occurs. If retry_count > 0 and a job attempt fails, the job will be tried a total of retry_count times, with exponential backoff, until the next scheduled start time. If retry_count is 0, a job attempt will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running according to schedule after the failure.
func (JobOutput) ScheduleTime ¶ added in v0.19.0
func (o JobOutput) ScheduleTime() pulumi.StringOutput
The next time the job is scheduled. Note that this may be a retry of a previously failed attempt or the next execution time according to the schedule.
func (JobOutput) State ¶ added in v0.19.0
func (o JobOutput) State() pulumi.StringOutput
State of the job.
func (JobOutput) Status ¶ added in v0.19.0
func (o JobOutput) Status() StatusResponseOutput
The response from the target for the last attempted execution.
func (JobOutput) TimeZone ¶ added in v0.19.0
func (o JobOutput) TimeZone() pulumi.StringOutput
Specifies the time zone to be used in interpreting schedule. The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database). Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT).
func (JobOutput) ToJobOutput ¶
func (JobOutput) ToJobOutputWithContext ¶
func (JobOutput) UserUpdateTime ¶ added in v0.19.0
func (o JobOutput) UserUpdateTime() pulumi.StringOutput
The creation time of the job.
type LookupJobArgs ¶ added in v0.4.0
type LookupJobOutputArgs ¶ added in v0.8.0
type LookupJobOutputArgs struct { JobId pulumi.StringInput `pulumi:"jobId"` Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupJobOutputArgs) ElementType ¶ added in v0.8.0
func (LookupJobOutputArgs) ElementType() reflect.Type
type LookupJobResult ¶ added in v0.4.0
type LookupJobResult struct { // App Engine HTTP target. AppEngineHttpTarget AppEngineHttpTargetResponse `pulumi:"appEngineHttpTarget"` // The deadline for job attempts. If the request handler does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in execution logs. Cloud Scheduler will retry the job according to the RetryConfig. The default and the allowed values depend on the type of target: * For HTTP targets, the default is 3 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For App Engine HTTP targets, 0 indicates that the request has the default deadline. The default deadline depends on the scaling type 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]. * For Pub/Sub targets, this field is ignored. AttemptDeadline string `pulumi:"attemptDeadline"` // Optionally caller-specified in CreateJob or UpdateJob. A human-readable description for the job. This string must not contain more than 500 characters. Description string `pulumi:"description"` // HTTP target. HttpTarget HttpTargetResponse `pulumi:"httpTarget"` // The time the last job attempt started. LastAttemptTime string `pulumi:"lastAttemptTime"` // Optionally caller-specified in CreateJob, after which it becomes output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_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 job's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters. Name string `pulumi:"name"` // Pub/Sub target. PubsubTarget PubsubTargetResponse `pulumi:"pubsubTarget"` // Settings that determine the retry behavior. RetryConfig RetryConfigResponse `pulumi:"retryConfig"` // Required, except when used with UpdateJob. Describes the schedule on which the job will be executed. The schedule can be either of the following types: * [Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) As a general rule, execution `n + 1` of a job will not begin until execution `n` has finished. Cloud Scheduler will never allow two simultaneously outstanding executions. For example, this implies that if the `n+1`th execution is scheduled to run at 16:00 but the `n`th execution takes until 16:15, the `n+1`th execution will not start until `16:15`. A scheduled start time will be delayed if the previous execution has not ended when its scheduled time occurs. If retry_count > 0 and a job attempt fails, the job will be tried a total of retry_count times, with exponential backoff, until the next scheduled start time. If retry_count is 0, a job attempt will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running according to schedule after the failure. Schedule string `pulumi:"schedule"` // The next time the job is scheduled. Note that this may be a retry of a previously failed attempt or the next execution time according to the schedule. ScheduleTime string `pulumi:"scheduleTime"` // State of the job. State string `pulumi:"state"` // The response from the target for the last attempted execution. Status StatusResponse `pulumi:"status"` // Specifies the time zone to be used in interpreting schedule. The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database). Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT). TimeZone string `pulumi:"timeZone"` // The creation time of the job. UserUpdateTime string `pulumi:"userUpdateTime"` }
func LookupJob ¶ added in v0.4.0
func LookupJob(ctx *pulumi.Context, args *LookupJobArgs, opts ...pulumi.InvokeOption) (*LookupJobResult, error)
Gets a job.
type LookupJobResultOutput ¶ added in v0.8.0
type LookupJobResultOutput struct{ *pulumi.OutputState }
func LookupJobOutput ¶ added in v0.8.0
func LookupJobOutput(ctx *pulumi.Context, args LookupJobOutputArgs, opts ...pulumi.InvokeOption) LookupJobResultOutput
func (LookupJobResultOutput) AppEngineHttpTarget ¶ added in v0.8.0
func (o LookupJobResultOutput) AppEngineHttpTarget() AppEngineHttpTargetResponseOutput
App Engine HTTP target.
func (LookupJobResultOutput) AttemptDeadline ¶ added in v0.8.0
func (o LookupJobResultOutput) AttemptDeadline() pulumi.StringOutput
The deadline for job attempts. If the request handler does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in execution logs. Cloud Scheduler will retry the job according to the RetryConfig. The default and the allowed values depend on the type of target: * For HTTP targets, the default is 3 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For App Engine HTTP targets, 0 indicates that the request has the default deadline. The default deadline depends on the scaling type 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]. * For Pub/Sub targets, this field is ignored.
func (LookupJobResultOutput) Description ¶ added in v0.8.0
func (o LookupJobResultOutput) Description() pulumi.StringOutput
Optionally caller-specified in CreateJob or UpdateJob. A human-readable description for the job. This string must not contain more than 500 characters.
func (LookupJobResultOutput) ElementType ¶ added in v0.8.0
func (LookupJobResultOutput) ElementType() reflect.Type
func (LookupJobResultOutput) HttpTarget ¶ added in v0.8.0
func (o LookupJobResultOutput) HttpTarget() HttpTargetResponseOutput
HTTP target.
func (LookupJobResultOutput) LastAttemptTime ¶ added in v0.8.0
func (o LookupJobResultOutput) LastAttemptTime() pulumi.StringOutput
The time the last job attempt started.
func (LookupJobResultOutput) Name ¶ added in v0.8.0
func (o LookupJobResultOutput) Name() pulumi.StringOutput
Optionally caller-specified in CreateJob, after which it becomes output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_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 job's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.
func (LookupJobResultOutput) PubsubTarget ¶ added in v0.8.0
func (o LookupJobResultOutput) PubsubTarget() PubsubTargetResponseOutput
Pub/Sub target.
func (LookupJobResultOutput) RetryConfig ¶ added in v0.8.0
func (o LookupJobResultOutput) RetryConfig() RetryConfigResponseOutput
Settings that determine the retry behavior.
func (LookupJobResultOutput) Schedule ¶ added in v0.8.0
func (o LookupJobResultOutput) Schedule() pulumi.StringOutput
Required, except when used with UpdateJob. Describes the schedule on which the job will be executed. The schedule can be either of the following types: * [Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) As a general rule, execution `n + 1` of a job will not begin until execution `n` has finished. Cloud Scheduler will never allow two simultaneously outstanding executions. For example, this implies that if the `n+1`th execution is scheduled to run at 16:00 but the `n`th execution takes until 16:15, the `n+1`th execution will not start until `16:15`. A scheduled start time will be delayed if the previous execution has not ended when its scheduled time occurs. If retry_count > 0 and a job attempt fails, the job will be tried a total of retry_count times, with exponential backoff, until the next scheduled start time. If retry_count is 0, a job attempt will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running according to schedule after the failure.
func (LookupJobResultOutput) ScheduleTime ¶ added in v0.8.0
func (o LookupJobResultOutput) ScheduleTime() pulumi.StringOutput
The next time the job is scheduled. Note that this may be a retry of a previously failed attempt or the next execution time according to the schedule.
func (LookupJobResultOutput) State ¶ added in v0.8.0
func (o LookupJobResultOutput) State() pulumi.StringOutput
State of the job.
func (LookupJobResultOutput) Status ¶ added in v0.8.0
func (o LookupJobResultOutput) Status() StatusResponseOutput
The response from the target for the last attempted execution.
func (LookupJobResultOutput) TimeZone ¶ added in v0.8.0
func (o LookupJobResultOutput) TimeZone() pulumi.StringOutput
Specifies the time zone to be used in interpreting schedule. The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database). Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT).
func (LookupJobResultOutput) ToLookupJobResultOutput ¶ added in v0.8.0
func (o LookupJobResultOutput) ToLookupJobResultOutput() LookupJobResultOutput
func (LookupJobResultOutput) ToLookupJobResultOutputWithContext ¶ added in v0.8.0
func (o LookupJobResultOutput) ToLookupJobResultOutputWithContext(ctx context.Context) LookupJobResultOutput
func (LookupJobResultOutput) UserUpdateTime ¶ added in v0.8.0
func (o LookupJobResultOutput) UserUpdateTime() pulumi.StringOutput
The creation time of the job.
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 job. 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 job. 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 job. 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 job. 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 job. 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 job. 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 job. 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 job. 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 job. 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 job. 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 job. 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 job. 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 PubsubTarget ¶
type PubsubTarget struct { // Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute. Attributes map[string]string `pulumi:"attributes"` // The message payload for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute. Data *string `pulumi:"data"` // The name of the Cloud Pub/Sub topic to which messages will be published when a job is delivered. The topic name must be in the same format as required by Pub/Sub's [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest), for example `projects/PROJECT_ID/topics/TOPIC_ID`. The topic must be in the same project as the Cloud Scheduler job. TopicName string `pulumi:"topicName"` }
Pub/Sub target. The job will be delivered by publishing a message to the given Pub/Sub topic.
type PubsubTargetArgs ¶
type PubsubTargetArgs struct { // Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute. Attributes pulumi.StringMapInput `pulumi:"attributes"` // The message payload for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute. Data pulumi.StringPtrInput `pulumi:"data"` // The name of the Cloud Pub/Sub topic to which messages will be published when a job is delivered. The topic name must be in the same format as required by Pub/Sub's [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest), for example `projects/PROJECT_ID/topics/TOPIC_ID`. The topic must be in the same project as the Cloud Scheduler job. TopicName pulumi.StringInput `pulumi:"topicName"` }
Pub/Sub target. The job will be delivered by publishing a message to the given Pub/Sub topic.
func (PubsubTargetArgs) ElementType ¶
func (PubsubTargetArgs) ElementType() reflect.Type
func (PubsubTargetArgs) ToPubsubTargetOutput ¶
func (i PubsubTargetArgs) ToPubsubTargetOutput() PubsubTargetOutput
func (PubsubTargetArgs) ToPubsubTargetOutputWithContext ¶
func (i PubsubTargetArgs) ToPubsubTargetOutputWithContext(ctx context.Context) PubsubTargetOutput
func (PubsubTargetArgs) ToPubsubTargetPtrOutput ¶
func (i PubsubTargetArgs) ToPubsubTargetPtrOutput() PubsubTargetPtrOutput
func (PubsubTargetArgs) ToPubsubTargetPtrOutputWithContext ¶
func (i PubsubTargetArgs) ToPubsubTargetPtrOutputWithContext(ctx context.Context) PubsubTargetPtrOutput
type PubsubTargetInput ¶
type PubsubTargetInput interface { pulumi.Input ToPubsubTargetOutput() PubsubTargetOutput ToPubsubTargetOutputWithContext(context.Context) PubsubTargetOutput }
PubsubTargetInput is an input type that accepts PubsubTargetArgs and PubsubTargetOutput values. You can construct a concrete instance of `PubsubTargetInput` via:
PubsubTargetArgs{...}
type PubsubTargetOutput ¶
type PubsubTargetOutput struct{ *pulumi.OutputState }
Pub/Sub target. The job will be delivered by publishing a message to the given Pub/Sub topic.
func (PubsubTargetOutput) Attributes ¶
func (o PubsubTargetOutput) Attributes() pulumi.StringMapOutput
Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute.
func (PubsubTargetOutput) Data ¶
func (o PubsubTargetOutput) Data() pulumi.StringPtrOutput
The message payload for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute.
func (PubsubTargetOutput) ElementType ¶
func (PubsubTargetOutput) ElementType() reflect.Type
func (PubsubTargetOutput) ToPubsubTargetOutput ¶
func (o PubsubTargetOutput) ToPubsubTargetOutput() PubsubTargetOutput
func (PubsubTargetOutput) ToPubsubTargetOutputWithContext ¶
func (o PubsubTargetOutput) ToPubsubTargetOutputWithContext(ctx context.Context) PubsubTargetOutput
func (PubsubTargetOutput) ToPubsubTargetPtrOutput ¶
func (o PubsubTargetOutput) ToPubsubTargetPtrOutput() PubsubTargetPtrOutput
func (PubsubTargetOutput) ToPubsubTargetPtrOutputWithContext ¶
func (o PubsubTargetOutput) ToPubsubTargetPtrOutputWithContext(ctx context.Context) PubsubTargetPtrOutput
func (PubsubTargetOutput) TopicName ¶
func (o PubsubTargetOutput) TopicName() pulumi.StringOutput
The name of the Cloud Pub/Sub topic to which messages will be published when a job is delivered. The topic name must be in the same format as required by Pub/Sub's [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest), for example `projects/PROJECT_ID/topics/TOPIC_ID`. The topic must be in the same project as the Cloud Scheduler job.
type PubsubTargetPtrInput ¶
type PubsubTargetPtrInput interface { pulumi.Input ToPubsubTargetPtrOutput() PubsubTargetPtrOutput ToPubsubTargetPtrOutputWithContext(context.Context) PubsubTargetPtrOutput }
PubsubTargetPtrInput is an input type that accepts PubsubTargetArgs, PubsubTargetPtr and PubsubTargetPtrOutput values. You can construct a concrete instance of `PubsubTargetPtrInput` via:
PubsubTargetArgs{...} or: nil
func PubsubTargetPtr ¶
func PubsubTargetPtr(v *PubsubTargetArgs) PubsubTargetPtrInput
type PubsubTargetPtrOutput ¶
type PubsubTargetPtrOutput struct{ *pulumi.OutputState }
func (PubsubTargetPtrOutput) Attributes ¶
func (o PubsubTargetPtrOutput) Attributes() pulumi.StringMapOutput
Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute.
func (PubsubTargetPtrOutput) Data ¶
func (o PubsubTargetPtrOutput) Data() pulumi.StringPtrOutput
The message payload for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute.
func (PubsubTargetPtrOutput) Elem ¶
func (o PubsubTargetPtrOutput) Elem() PubsubTargetOutput
func (PubsubTargetPtrOutput) ElementType ¶
func (PubsubTargetPtrOutput) ElementType() reflect.Type
func (PubsubTargetPtrOutput) ToPubsubTargetPtrOutput ¶
func (o PubsubTargetPtrOutput) ToPubsubTargetPtrOutput() PubsubTargetPtrOutput
func (PubsubTargetPtrOutput) ToPubsubTargetPtrOutputWithContext ¶
func (o PubsubTargetPtrOutput) ToPubsubTargetPtrOutputWithContext(ctx context.Context) PubsubTargetPtrOutput
func (PubsubTargetPtrOutput) TopicName ¶
func (o PubsubTargetPtrOutput) TopicName() pulumi.StringPtrOutput
The name of the Cloud Pub/Sub topic to which messages will be published when a job is delivered. The topic name must be in the same format as required by Pub/Sub's [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest), for example `projects/PROJECT_ID/topics/TOPIC_ID`. The topic must be in the same project as the Cloud Scheduler job.
type PubsubTargetResponse ¶
type PubsubTargetResponse struct { // Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute. Attributes map[string]string `pulumi:"attributes"` // The message payload for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute. Data string `pulumi:"data"` // The name of the Cloud Pub/Sub topic to which messages will be published when a job is delivered. The topic name must be in the same format as required by Pub/Sub's [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest), for example `projects/PROJECT_ID/topics/TOPIC_ID`. The topic must be in the same project as the Cloud Scheduler job. TopicName string `pulumi:"topicName"` }
Pub/Sub target. The job will be delivered by publishing a message to the given Pub/Sub topic.
type PubsubTargetResponseOutput ¶
type PubsubTargetResponseOutput struct{ *pulumi.OutputState }
Pub/Sub target. The job will be delivered by publishing a message to the given Pub/Sub topic.
func (PubsubTargetResponseOutput) Attributes ¶
func (o PubsubTargetResponseOutput) Attributes() pulumi.StringMapOutput
Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute.
func (PubsubTargetResponseOutput) Data ¶
func (o PubsubTargetResponseOutput) Data() pulumi.StringOutput
The message payload for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute.
func (PubsubTargetResponseOutput) ElementType ¶
func (PubsubTargetResponseOutput) ElementType() reflect.Type
func (PubsubTargetResponseOutput) ToPubsubTargetResponseOutput ¶
func (o PubsubTargetResponseOutput) ToPubsubTargetResponseOutput() PubsubTargetResponseOutput
func (PubsubTargetResponseOutput) ToPubsubTargetResponseOutputWithContext ¶
func (o PubsubTargetResponseOutput) ToPubsubTargetResponseOutputWithContext(ctx context.Context) PubsubTargetResponseOutput
func (PubsubTargetResponseOutput) TopicName ¶
func (o PubsubTargetResponseOutput) TopicName() pulumi.StringOutput
The name of the Cloud Pub/Sub topic to which messages will be published when a job is delivered. The topic name must be in the same format as required by Pub/Sub's [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest), for example `projects/PROJECT_ID/topics/TOPIC_ID`. The topic must be in the same project as the Cloud Scheduler job.
type RetryConfig ¶
type RetryConfig struct { // The maximum amount of time to wait before retrying a job after it fails. The default value of this field is 1 hour. MaxBackoffDuration *string `pulumi:"maxBackoffDuration"` // The time between retries will double `max_doublings` times. A job's retry interval starts at min_backoff_duration, then doubles `max_doublings` times, then increases linearly, and finally retries at intervals of max_backoff_duration up to retry_count times. For example, if min_backoff_duration is 10s, max_backoff_duration is 300s, and `max_doublings` is 3, then the job will first be retried in 10s. The retry interval will double three times, and then increase linearly by 2^3 * 10s. Finally, the job will retry at intervals of max_backoff_duration until the job has been attempted retry_count times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... The default value of this field is 5. MaxDoublings *int `pulumi:"maxDoublings"` // The time limit for retrying a failed job, measured from time when an execution was first attempted. If specified with retry_count, the job will be retried until both limits are reached. The default value for max_retry_duration is zero, which means retry duration is unlimited. MaxRetryDuration *string `pulumi:"maxRetryDuration"` // The minimum amount of time to wait before retrying a job after it fails. The default value of this field is 5 seconds. MinBackoffDuration *string `pulumi:"minBackoffDuration"` // The number of attempts that the system will make to run a job using the exponential backoff procedure described by max_doublings. The default value of retry_count is zero. If retry_count is 0, a job attempt will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running according to schedule after the failure. If retry_count is set to a non-zero number then Cloud Scheduler will retry failed attempts, using exponential backoff, retry_count times, or until the next scheduled execution time, whichever comes first. Values greater than 5 and negative values are not allowed. RetryCount *int `pulumi:"retryCount"` }
Settings that determine the retry behavior. By default, if a job does not complete successfully (meaning that an acknowledgement is not received from the handler, then it will be retried with exponential backoff according to the settings in RetryConfig.
type RetryConfigArgs ¶
type RetryConfigArgs struct { // The maximum amount of time to wait before retrying a job after it fails. The default value of this field is 1 hour. MaxBackoffDuration pulumi.StringPtrInput `pulumi:"maxBackoffDuration"` // The time between retries will double `max_doublings` times. A job's retry interval starts at min_backoff_duration, then doubles `max_doublings` times, then increases linearly, and finally retries at intervals of max_backoff_duration up to retry_count times. For example, if min_backoff_duration is 10s, max_backoff_duration is 300s, and `max_doublings` is 3, then the job will first be retried in 10s. The retry interval will double three times, and then increase linearly by 2^3 * 10s. Finally, the job will retry at intervals of max_backoff_duration until the job has been attempted retry_count times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... The default value of this field is 5. MaxDoublings pulumi.IntPtrInput `pulumi:"maxDoublings"` // The time limit for retrying a failed job, measured from time when an execution was first attempted. If specified with retry_count, the job will be retried until both limits are reached. The default value for max_retry_duration is zero, which means retry duration is unlimited. MaxRetryDuration pulumi.StringPtrInput `pulumi:"maxRetryDuration"` // The minimum amount of time to wait before retrying a job after it fails. The default value of this field is 5 seconds. MinBackoffDuration pulumi.StringPtrInput `pulumi:"minBackoffDuration"` // The number of attempts that the system will make to run a job using the exponential backoff procedure described by max_doublings. The default value of retry_count is zero. If retry_count is 0, a job attempt will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running according to schedule after the failure. If retry_count is set to a non-zero number then Cloud Scheduler will retry failed attempts, using exponential backoff, retry_count times, or until the next scheduled execution time, whichever comes first. Values greater than 5 and negative values are not allowed. RetryCount pulumi.IntPtrInput `pulumi:"retryCount"` }
Settings that determine the retry behavior. By default, if a job does not complete successfully (meaning that an acknowledgement is not received from the handler, then it will be retried with exponential backoff according to the settings in RetryConfig.
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 }
Settings that determine the retry behavior. By default, if a job does not complete successfully (meaning that an acknowledgement is not received from the handler, then it will be retried with exponential backoff according to the settings in RetryConfig.
func (RetryConfigOutput) ElementType ¶
func (RetryConfigOutput) ElementType() reflect.Type
func (RetryConfigOutput) MaxBackoffDuration ¶
func (o RetryConfigOutput) MaxBackoffDuration() pulumi.StringPtrOutput
The maximum amount of time to wait before retrying a job after it fails. The default value of this field is 1 hour.
func (RetryConfigOutput) MaxDoublings ¶
func (o RetryConfigOutput) MaxDoublings() pulumi.IntPtrOutput
The time between retries will double `max_doublings` times. A job's retry interval starts at min_backoff_duration, then doubles `max_doublings` times, then increases linearly, and finally retries at intervals of max_backoff_duration up to retry_count times. For example, if min_backoff_duration is 10s, max_backoff_duration is 300s, and `max_doublings` is 3, then the job will first be retried in 10s. The retry interval will double three times, and then increase linearly by 2^3 * 10s. Finally, the job will retry at intervals of max_backoff_duration until the job has been attempted retry_count times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... The default value of this field is 5.
func (RetryConfigOutput) MaxRetryDuration ¶
func (o RetryConfigOutput) MaxRetryDuration() pulumi.StringPtrOutput
The time limit for retrying a failed job, measured from time when an execution was first attempted. If specified with retry_count, the job will be retried until both limits are reached. The default value for max_retry_duration is zero, which means retry duration is unlimited.
func (RetryConfigOutput) MinBackoffDuration ¶
func (o RetryConfigOutput) MinBackoffDuration() pulumi.StringPtrOutput
The minimum amount of time to wait before retrying a job after it fails. The default value of this field is 5 seconds.
func (RetryConfigOutput) RetryCount ¶
func (o RetryConfigOutput) RetryCount() pulumi.IntPtrOutput
The number of attempts that the system will make to run a job using the exponential backoff procedure described by max_doublings. The default value of retry_count is zero. If retry_count is 0, a job attempt will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running according to schedule after the failure. If retry_count is set to a non-zero number then Cloud Scheduler will retry failed attempts, using exponential backoff, retry_count times, or until the next scheduled execution time, whichever comes first. Values greater than 5 and negative values are not allowed.
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) MaxBackoffDuration ¶
func (o RetryConfigPtrOutput) MaxBackoffDuration() pulumi.StringPtrOutput
The maximum amount of time to wait before retrying a job after it fails. The default value of this field is 1 hour.
func (RetryConfigPtrOutput) MaxDoublings ¶
func (o RetryConfigPtrOutput) MaxDoublings() pulumi.IntPtrOutput
The time between retries will double `max_doublings` times. A job's retry interval starts at min_backoff_duration, then doubles `max_doublings` times, then increases linearly, and finally retries at intervals of max_backoff_duration up to retry_count times. For example, if min_backoff_duration is 10s, max_backoff_duration is 300s, and `max_doublings` is 3, then the job will first be retried in 10s. The retry interval will double three times, and then increase linearly by 2^3 * 10s. Finally, the job will retry at intervals of max_backoff_duration until the job has been attempted retry_count times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... The default value of this field is 5.
func (RetryConfigPtrOutput) MaxRetryDuration ¶
func (o RetryConfigPtrOutput) MaxRetryDuration() pulumi.StringPtrOutput
The time limit for retrying a failed job, measured from time when an execution was first attempted. If specified with retry_count, the job will be retried until both limits are reached. The default value for max_retry_duration is zero, which means retry duration is unlimited.
func (RetryConfigPtrOutput) MinBackoffDuration ¶
func (o RetryConfigPtrOutput) MinBackoffDuration() pulumi.StringPtrOutput
The minimum amount of time to wait before retrying a job after it fails. The default value of this field is 5 seconds.
func (RetryConfigPtrOutput) RetryCount ¶
func (o RetryConfigPtrOutput) RetryCount() pulumi.IntPtrOutput
The number of attempts that the system will make to run a job using the exponential backoff procedure described by max_doublings. The default value of retry_count is zero. If retry_count is 0, a job attempt will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running according to schedule after the failure. If retry_count is set to a non-zero number then Cloud Scheduler will retry failed attempts, using exponential backoff, retry_count times, or until the next scheduled execution time, whichever comes first. Values greater than 5 and negative values are not allowed.
func (RetryConfigPtrOutput) ToRetryConfigPtrOutput ¶
func (o RetryConfigPtrOutput) ToRetryConfigPtrOutput() RetryConfigPtrOutput
func (RetryConfigPtrOutput) ToRetryConfigPtrOutputWithContext ¶
func (o RetryConfigPtrOutput) ToRetryConfigPtrOutputWithContext(ctx context.Context) RetryConfigPtrOutput
type RetryConfigResponse ¶
type RetryConfigResponse struct { // The maximum amount of time to wait before retrying a job after it fails. The default value of this field is 1 hour. MaxBackoffDuration string `pulumi:"maxBackoffDuration"` // The time between retries will double `max_doublings` times. A job's retry interval starts at min_backoff_duration, then doubles `max_doublings` times, then increases linearly, and finally retries at intervals of max_backoff_duration up to retry_count times. For example, if min_backoff_duration is 10s, max_backoff_duration is 300s, and `max_doublings` is 3, then the job will first be retried in 10s. The retry interval will double three times, and then increase linearly by 2^3 * 10s. Finally, the job will retry at intervals of max_backoff_duration until the job has been attempted retry_count times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... The default value of this field is 5. MaxDoublings int `pulumi:"maxDoublings"` // The time limit for retrying a failed job, measured from time when an execution was first attempted. If specified with retry_count, the job will be retried until both limits are reached. The default value for max_retry_duration is zero, which means retry duration is unlimited. MaxRetryDuration string `pulumi:"maxRetryDuration"` // The minimum amount of time to wait before retrying a job after it fails. The default value of this field is 5 seconds. MinBackoffDuration string `pulumi:"minBackoffDuration"` // The number of attempts that the system will make to run a job using the exponential backoff procedure described by max_doublings. The default value of retry_count is zero. If retry_count is 0, a job attempt will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running according to schedule after the failure. If retry_count is set to a non-zero number then Cloud Scheduler will retry failed attempts, using exponential backoff, retry_count times, or until the next scheduled execution time, whichever comes first. Values greater than 5 and negative values are not allowed. RetryCount int `pulumi:"retryCount"` }
Settings that determine the retry behavior. By default, if a job does not complete successfully (meaning that an acknowledgement is not received from the handler, then it will be retried with exponential backoff according to the settings in RetryConfig.
type RetryConfigResponseOutput ¶
type RetryConfigResponseOutput struct{ *pulumi.OutputState }
Settings that determine the retry behavior. By default, if a job does not complete successfully (meaning that an acknowledgement is not received from the handler, then it will be retried with exponential backoff according to the settings in RetryConfig.
func (RetryConfigResponseOutput) ElementType ¶
func (RetryConfigResponseOutput) ElementType() reflect.Type
func (RetryConfigResponseOutput) MaxBackoffDuration ¶
func (o RetryConfigResponseOutput) MaxBackoffDuration() pulumi.StringOutput
The maximum amount of time to wait before retrying a job after it fails. The default value of this field is 1 hour.
func (RetryConfigResponseOutput) MaxDoublings ¶
func (o RetryConfigResponseOutput) MaxDoublings() pulumi.IntOutput
The time between retries will double `max_doublings` times. A job's retry interval starts at min_backoff_duration, then doubles `max_doublings` times, then increases linearly, and finally retries at intervals of max_backoff_duration up to retry_count times. For example, if min_backoff_duration is 10s, max_backoff_duration is 300s, and `max_doublings` is 3, then the job will first be retried in 10s. The retry interval will double three times, and then increase linearly by 2^3 * 10s. Finally, the job will retry at intervals of max_backoff_duration until the job has been attempted retry_count times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... The default value of this field is 5.
func (RetryConfigResponseOutput) MaxRetryDuration ¶
func (o RetryConfigResponseOutput) MaxRetryDuration() pulumi.StringOutput
The time limit for retrying a failed job, measured from time when an execution was first attempted. If specified with retry_count, the job will be retried until both limits are reached. The default value for max_retry_duration is zero, which means retry duration is unlimited.
func (RetryConfigResponseOutput) MinBackoffDuration ¶
func (o RetryConfigResponseOutput) MinBackoffDuration() pulumi.StringOutput
The minimum amount of time to wait before retrying a job after it fails. The default value of this field is 5 seconds.
func (RetryConfigResponseOutput) RetryCount ¶
func (o RetryConfigResponseOutput) RetryCount() pulumi.IntOutput
The number of attempts that the system will make to run a job using the exponential backoff procedure described by max_doublings. The default value of retry_count is zero. If retry_count is 0, a job attempt will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running according to schedule after the failure. If retry_count is set to a non-zero number then Cloud Scheduler will retry failed attempts, using exponential backoff, retry_count times, or until the next scheduled execution time, whichever comes first. Values greater than 5 and negative values are not allowed.
func (RetryConfigResponseOutput) ToRetryConfigResponseOutput ¶
func (o RetryConfigResponseOutput) ToRetryConfigResponseOutput() RetryConfigResponseOutput
func (RetryConfigResponseOutput) ToRetryConfigResponseOutputWithContext ¶
func (o RetryConfigResponseOutput) ToRetryConfigResponseOutputWithContext(ctx context.Context) RetryConfigResponseOutput
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