export declare const AppEngineHttpRequestHttpMethod: { /** * HTTP method unspecified */ readonly HttpMethodUnspecified: "HTTP_METHOD_UNSPECIFIED"; /** * HTTP POST */ readonly Post: "POST"; /** * HTTP GET */ readonly Get: "GET"; /** * HTTP HEAD */ readonly Head: "HEAD"; /** * HTTP PUT */ readonly Put: "PUT"; /** * HTTP DELETE */ readonly Delete: "DELETE"; /** * HTTP PATCH */ readonly Patch: "PATCH"; /** * HTTP OPTIONS */ readonly Options: "OPTIONS"; }; /** * The HTTP method to use for the request. The default is POST. The app's request handler for the task's target URL must be able to handle HTTP requests with this http_method, otherwise the task attempt fails with error code 405 (Method Not Allowed). See [Writing a push task request handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) and the App Engine documentation for your runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled). */ export type AppEngineHttpRequestHttpMethod = (typeof AppEngineHttpRequestHttpMethod)[keyof typeof AppEngineHttpRequestHttpMethod]; export declare const HttpRequestHttpMethod: { /** * HTTP method unspecified */ readonly HttpMethodUnspecified: "HTTP_METHOD_UNSPECIFIED"; /** * HTTP POST */ readonly Post: "POST"; /** * HTTP GET */ readonly Get: "GET"; /** * HTTP HEAD */ readonly Head: "HEAD"; /** * HTTP PUT */ readonly Put: "PUT"; /** * HTTP DELETE */ readonly Delete: "DELETE"; /** * HTTP PATCH */ readonly Patch: "PATCH"; /** * HTTP OPTIONS */ readonly Options: "OPTIONS"; }; /** * The HTTP method to use for the request. The default is POST. */ export type HttpRequestHttpMethod = (typeof HttpRequestHttpMethod)[keyof typeof HttpRequestHttpMethod]; export declare const HttpTargetHttpMethod: { /** * HTTP method unspecified */ readonly HttpMethodUnspecified: "HTTP_METHOD_UNSPECIFIED"; /** * HTTP POST */ readonly Post: "POST"; /** * HTTP GET */ readonly Get: "GET"; /** * HTTP HEAD */ readonly Head: "HEAD"; /** * HTTP PUT */ readonly Put: "PUT"; /** * HTTP DELETE */ readonly Delete: "DELETE"; /** * HTTP PATCH */ readonly Patch: "PATCH"; /** * HTTP OPTIONS */ readonly Options: "OPTIONS"; }; /** * The HTTP method to use for the request. When specified, it overrides HttpRequest for the task. Note that if the value is set to HttpMethod the HttpRequest of the task will be ignored at execution time. */ export type HttpTargetHttpMethod = (typeof HttpTargetHttpMethod)[keyof typeof HttpTargetHttpMethod]; export declare const TaskResponseView: { /** * Unspecified. Defaults to BASIC. */ readonly ViewUnspecified: "VIEW_UNSPECIFIED"; /** * The basic view omits fields which can be large or can contain sensitive data. This view does not include the body in AppEngineHttpRequest. Bodies are desirable to return only when needed, because they can be large and because of the sensitivity of the data that you choose to store in it. */ readonly Basic: "BASIC"; /** * All information is returned. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Queue resource. */ readonly Full: "FULL"; }; /** * The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource. */ export type TaskResponseView = (typeof TaskResponseView)[keyof typeof TaskResponseView]; export declare const UriOverrideScheme: { /** * Scheme unspecified. Defaults to HTTPS. */ readonly SchemeUnspecified: "SCHEME_UNSPECIFIED"; /** * Convert the scheme to HTTP, e.g., https://www.google.ca will change to http://www.google.ca. */ readonly Http: "HTTP"; /** * Convert the scheme to HTTPS, e.g., http://www.google.ca will change to https://www.google.ca. */ readonly Https: "HTTPS"; }; /** * Scheme override. When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS). */ export type UriOverrideScheme = (typeof UriOverrideScheme)[keyof typeof UriOverrideScheme]; export declare const UriOverrideUriOverrideEnforceMode: { /** * UriOverrideEnforceMode Unspecified. Defaults to ALWAYS. */ readonly UriOverrideEnforceModeUnspecified: "URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED"; /** * In the IF_NOT_EXISTS mode, queue-level configuration is only applied where task-level configuration does not exist. */ readonly IfNotExists: "IF_NOT_EXISTS"; /** * In the ALWAYS mode, queue-level configuration overrides all task-level configuration */ readonly Always: "ALWAYS"; }; /** * URI Override Enforce Mode When specified, determines the Target UriOverride mode. If not specified, it defaults to ALWAYS. */ export type UriOverrideUriOverrideEnforceMode = (typeof UriOverrideUriOverrideEnforceMode)[keyof typeof UriOverrideUriOverrideEnforceMode];