@maxim_mazurok/gapi.client.cloudscheduler-v1beta1
Advanced tools
Comparing version
773
index.d.ts
@@ -12,3 +12,3 @@ /* Type definitions for non-npm package Cloud Scheduler API v1beta1 0.0 */ | ||
// Generated from: https://cloudscheduler.googleapis.com/$discovery/rest?version=v1beta1 | ||
// Revision: 20230414 | ||
// Revision: 20230421 | ||
@@ -28,3 +28,4 @@ /// <reference types="gapi.client" /> | ||
/** App Engine Routing setting for the job. */ | ||
appEngineRouting?: AppEngineRouting; | ||
appEngineRouting?: | ||
AppEngineRouting; | ||
/** | ||
@@ -34,3 +35,4 @@ * 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 | ||
*/ | ||
body?: string; | ||
body?: | ||
string; | ||
/** | ||
@@ -47,5 +49,7 @@ * 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: * | ||
*/ | ||
headers?: { [P in string]: string }; | ||
headers?: | ||
{ [P in string]: string }; | ||
/** The HTTP method to use for the request. PATCH and OPTIONS are not permitted. */ | ||
httpMethod?: string; | ||
httpMethod?: | ||
string; | ||
/** | ||
@@ -55,3 +59,4 @@ * 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 | ||
*/ | ||
relativeUri?: string; | ||
relativeUri?: | ||
string; | ||
} | ||
@@ -71,3 +76,4 @@ interface AppEngineRouting { | ||
*/ | ||
host?: string; | ||
host?: | ||
string; | ||
/** | ||
@@ -79,7 +85,10 @@ * 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 | ||
*/ | ||
instance?: string; | ||
instance?: | ||
string; | ||
/** App service. By default, the job is sent to the service which is the default service when the job is attempted. */ | ||
service?: string; | ||
service?: | ||
string; | ||
/** App version. By default, the job is sent to the version which is the default version when the job is attempted. */ | ||
version?: string; | ||
version?: | ||
string; | ||
} | ||
@@ -91,3 +100,4 @@ // tslint:disable-next-line:no-empty-interface | ||
/** 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; | ||
body?: | ||
string; | ||
/** | ||
@@ -101,5 +111,7 @@ * The user can specify HTTP request headers to send with the job's HTTP request. This map contains the header field names and values. Repeated headers are not supported, but a header | ||
*/ | ||
headers?: { [P in string]: string }; | ||
headers?: | ||
{ [P in string]: string }; | ||
/** Which HTTP method to use for the request. */ | ||
httpMethod?: string; | ||
httpMethod?: | ||
string; | ||
/** | ||
@@ -109,3 +121,4 @@ * 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 | ||
*/ | ||
oauthToken?: OAuthToken; | ||
oauthToken?: | ||
OAuthToken; | ||
/** | ||
@@ -115,3 +128,4 @@ * 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 | ||
*/ | ||
oidcToken?: OidcToken; | ||
oidcToken?: | ||
OidcToken; | ||
/** | ||
@@ -122,7 +136,9 @@ * Required. 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: | ||
*/ | ||
uri?: string; | ||
uri?: | ||
string; | ||
} | ||
interface Job { | ||
/** App Engine HTTP target. */ | ||
appEngineHttpTarget?: AppEngineHttpTarget; | ||
appEngineHttpTarget?: | ||
AppEngineHttpTarget; | ||
/** | ||
@@ -136,9 +152,13 @@ * 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 | ||
*/ | ||
attemptDeadline?: string; | ||
attemptDeadline?: | ||
string; | ||
/** 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; | ||
description?: | ||
string; | ||
/** HTTP target. */ | ||
httpTarget?: HttpTarget; | ||
httpTarget?: | ||
HttpTarget; | ||
/** Output only. The time the last job attempt started. */ | ||
lastAttemptTime?: string; | ||
lastAttemptTime?: | ||
string; | ||
/** | ||
@@ -148,3 +168,4 @@ * Immutable. This field is used to manage the legacy App Engine Cron jobs using the Cloud Scheduler API. If the field is set to true, the job will be considered a legacy job. Note | ||
*/ | ||
legacyAppEngineCron?: boolean; | ||
legacyAppEngineCron?: | ||
boolean; | ||
/** | ||
@@ -157,7 +178,10 @@ * 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 | ||
*/ | ||
name?: string; | ||
name?: | ||
string; | ||
/** Pub/Sub target. */ | ||
pubsubTarget?: PubsubTarget; | ||
pubsubTarget?: | ||
PubsubTarget; | ||
/** Settings that determine the retry behavior. */ | ||
retryConfig?: RetryConfig; | ||
retryConfig?: | ||
RetryConfig; | ||
/** | ||
@@ -171,9 +195,13 @@ * 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: * | ||
*/ | ||
schedule?: string; | ||
schedule?: | ||
string; | ||
/** Output only. 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; | ||
scheduleTime?: | ||
string; | ||
/** Output only. State of the job. */ | ||
state?: string; | ||
state?: | ||
string; | ||
/** Output only. The response from the target for the last attempted execution. */ | ||
status?: Status; | ||
status?: | ||
Status; | ||
/** | ||
@@ -184,9 +212,12 @@ * 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 | ||
*/ | ||
timeZone?: string; | ||
timeZone?: | ||
string; | ||
/** Output only. The creation time of the job. */ | ||
userUpdateTime?: string; | ||
userUpdateTime?: | ||
string; | ||
} | ||
interface ListJobsResponse { | ||
/** The list of jobs. */ | ||
jobs?: Job[]; | ||
jobs?: | ||
Job[]; | ||
/** | ||
@@ -196,25 +227,34 @@ * A token to retrieve next page of results. Pass this value in the page_token field in the subsequent call to ListJobs to retrieve the next page of results. If this is empty it | ||
*/ | ||
nextPageToken?: string; | ||
nextPageToken?: | ||
string; | ||
} | ||
interface ListLocationsResponse { | ||
/** A list of locations that matches the specified filter in the request. */ | ||
locations?: Location[]; | ||
locations?: | ||
Location[]; | ||
/** The standard List next-page token. */ | ||
nextPageToken?: string; | ||
nextPageToken?: | ||
string; | ||
} | ||
interface Location { | ||
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */ | ||
displayName?: string; | ||
displayName?: | ||
string; | ||
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */ | ||
labels?: { [P in string]: string }; | ||
labels?: | ||
{ [P in string]: string }; | ||
/** The canonical id for this location. For example: `"us-east1"`. */ | ||
locationId?: string; | ||
locationId?: | ||
string; | ||
/** Service-specific metadata. For example the available capacity at the given location. */ | ||
metadata?: { [P in string]: any }; | ||
metadata?: | ||
{ [P in string]: any }; | ||
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */ | ||
name?: string; | ||
name?: | ||
string; | ||
} | ||
interface OAuthToken { | ||
/** 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; | ||
scope?: | ||
string; | ||
/** | ||
@@ -224,7 +264,9 @@ * [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. | ||
*/ | ||
serviceAccountEmail?: string; | ||
serviceAccountEmail?: | ||
string; | ||
} | ||
interface OidcToken { | ||
/** Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. */ | ||
audience?: string; | ||
audience?: | ||
string; | ||
/** | ||
@@ -234,3 +276,4 @@ * [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 | ||
*/ | ||
serviceAccountEmail?: string; | ||
serviceAccountEmail?: | ||
string; | ||
} | ||
@@ -242,5 +285,7 @@ // tslint:disable-next-line:no-empty-interface | ||
/** Attributes for this message. If this field is empty, the message must contain non-empty data. This can be used to filter messages on the subscription. */ | ||
attributes?: { [P in string]: string }; | ||
attributes?: | ||
{ [P in string]: string }; | ||
/** The message data field. If this field is empty, the message must contain at least one attribute. */ | ||
data?: string; | ||
data?: | ||
string; | ||
/** | ||
@@ -250,3 +295,4 @@ * ID of this message, assigned by the server when the message is published. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a | ||
*/ | ||
messageId?: string; | ||
messageId?: | ||
string; | ||
/** | ||
@@ -257,11 +303,15 @@ * If non-empty, identifies related messages for which publish order should be respected. If a `Subscription` has `enable_message_ordering` set to `true`, messages published with the | ||
*/ | ||
orderingKey?: string; | ||
orderingKey?: | ||
string; | ||
/** The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call. */ | ||
publishTime?: string; | ||
publishTime?: | ||
string; | ||
} | ||
interface PubsubTarget { | ||
/** Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute. */ | ||
attributes?: { [P in string]: string }; | ||
attributes?: | ||
{ [P in string]: string }; | ||
/** The message payload for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute. */ | ||
data?: string; | ||
data?: | ||
string; | ||
/** | ||
@@ -272,3 +322,4 @@ * Required. 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 | ||
*/ | ||
topicName?: string; | ||
topicName?: | ||
string; | ||
} | ||
@@ -280,3 +331,4 @@ // tslint:disable-next-line:no-empty-interface | ||
/** 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; | ||
maxBackoffDuration?: | ||
string; | ||
/** | ||
@@ -289,3 +341,4 @@ * 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 | ||
*/ | ||
maxDoublings?: number; | ||
maxDoublings?: | ||
number; | ||
/** | ||
@@ -295,5 +348,7 @@ * 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 | ||
*/ | ||
maxRetryDuration?: string; | ||
maxRetryDuration?: | ||
string; | ||
/** 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; | ||
minBackoffDuration?: | ||
string; | ||
/** | ||
@@ -305,3 +360,4 @@ * 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 | ||
*/ | ||
retryCount?: number; | ||
retryCount?: | ||
number; | ||
} | ||
@@ -313,9 +369,12 @@ interface RunJobRequest { | ||
*/ | ||
legacyAppEngineCron?: boolean; | ||
legacyAppEngineCron?: | ||
boolean; | ||
} | ||
interface Status { | ||
/** The status code, which should be an enum value of google.rpc.Code. */ | ||
code?: number; | ||
code?: | ||
number; | ||
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */ | ||
details?: Array<{ [P in string]: any }>; | ||
details?: | ||
Array<{ [P in string]: any }>; | ||
/** | ||
@@ -325,3 +384,4 @@ * 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 | ||
*/ | ||
message?: string; | ||
message?: | ||
string; | ||
} | ||
@@ -332,53 +392,78 @@ interface JobsResource { | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`. */ | ||
parent: string; | ||
parent: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
/** Request body */ | ||
resource: Job; | ||
resource: | ||
Job; | ||
}): Request<Job>; | ||
create(request: { | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`. */ | ||
parent: string; | ||
parent: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
}, | ||
@@ -389,13 +474,19 @@ body: Job): Request<Job>; | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** | ||
@@ -405,15 +496,22 @@ * This field is used to manage the legacy App Engine Cron jobs using the Cloud Scheduler API. If the field is set to true, the job in the __cron queue with the corresponding name | ||
*/ | ||
legacyAppEngineCron?: boolean; | ||
legacyAppEngineCron?: | ||
boolean; | ||
/** Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */ | ||
name: string; | ||
name: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
}): Request<{}>; | ||
@@ -423,25 +521,37 @@ /** Gets a job. */ | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */ | ||
name: string; | ||
name: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
}): Request<Job>; | ||
@@ -451,11 +561,16 @@ /** Lists jobs. */ | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** | ||
@@ -466,9 +581,13 @@ * `filter` can be used to specify a subset of jobs. If `filter` equals `target_config="HttpConfig"`, then the http target jobs are retrieved. If `filter` equals | ||
*/ | ||
filter?: string; | ||
filter?: | ||
string; | ||
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** This field is used to manage the legacy App Engine Cron jobs using the Cloud Scheduler API. If the field is set to true, the jobs in the __cron queue will be listed instead. */ | ||
legacyAppEngineCron?: boolean; | ||
legacyAppEngineCron?: | ||
boolean; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** | ||
@@ -478,3 +597,4 @@ * Requested page size. The maximum page size is 500. If unspecified, the page size will be the maximum. Fewer jobs than requested might be returned, even if more jobs exist; use | ||
*/ | ||
pageSize?: number; | ||
pageSize?: | ||
number; | ||
/** | ||
@@ -484,13 +604,19 @@ * A token identifying a page of results the server will return. To request the first page results, page_token must be empty. To request the next page of results, page_token must | ||
*/ | ||
pageToken?: string; | ||
pageToken?: | ||
string; | ||
/** Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`. */ | ||
parent: string; | ||
parent: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
}): Request<ListJobsResponse>; | ||
@@ -503,13 +629,19 @@ /** | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** | ||
@@ -522,31 +654,45 @@ * 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` | ||
*/ | ||
name: string; | ||
name: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** A mask used to specify which fields of the job are being updated. */ | ||
updateMask?: string; | ||
updateMask?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
/** Request body */ | ||
resource: Job; | ||
resource: | ||
Job; | ||
}): Request<Job>; | ||
patch(request: { | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** | ||
@@ -559,15 +705,22 @@ * 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` | ||
*/ | ||
name: string; | ||
name: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** A mask used to specify which fields of the job are being updated. */ | ||
updateMask?: string; | ||
updateMask?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
}, | ||
@@ -581,53 +734,78 @@ body: Job): Request<Job>; | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */ | ||
name: string; | ||
name: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
/** Request body */ | ||
resource: PauseJobRequest; | ||
resource: | ||
PauseJobRequest; | ||
}): Request<Job>; | ||
pause(request: { | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */ | ||
name: string; | ||
name: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
}, | ||
@@ -641,53 +819,78 @@ body: PauseJobRequest): Request<Job>; | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */ | ||
name: string; | ||
name: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
/** Request body */ | ||
resource: ResumeJobRequest; | ||
resource: | ||
ResumeJobRequest; | ||
}): Request<Job>; | ||
resume(request: { | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */ | ||
name: string; | ||
name: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
}, | ||
@@ -698,53 +901,78 @@ body: ResumeJobRequest): Request<Job>; | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */ | ||
name: string; | ||
name: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
/** Request body */ | ||
resource: RunJobRequest; | ||
resource: | ||
RunJobRequest; | ||
}): Request<Job>; | ||
run(request: { | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */ | ||
name: string; | ||
name: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
}, | ||
@@ -757,25 +985,37 @@ body: RunJobRequest): Request<Job>; | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** Resource name for the location. */ | ||
name: string; | ||
name: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
}): Request<Location>; | ||
@@ -785,11 +1025,16 @@ /** Lists information about the supported locations for this service. */ | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** | ||
@@ -799,26 +1044,38 @@ * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in | ||
*/ | ||
filter?: string; | ||
filter?: | ||
string; | ||
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** The resource that owns the locations collection, if applicable. */ | ||
name: string; | ||
name: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** The maximum number of results to return. If not set, the service selects a default. */ | ||
pageSize?: number; | ||
pageSize?: | ||
number; | ||
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */ | ||
pageToken?: string; | ||
pageToken?: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
}): Request<ListLocationsResponse>; | ||
jobs: JobsResource; | ||
jobs: | ||
JobsResource; | ||
} | ||
interface ProjectsResource { | ||
locations: LocationsResource; | ||
locations: | ||
LocationsResource; | ||
} | ||
@@ -825,0 +1082,0 @@ |
{ | ||
"name": "@maxim_mazurok/gapi.client.cloudscheduler-v1beta1", | ||
"version": "0.0.20230414", | ||
"version": "0.0.20230421", | ||
"description": "TypeScript typings for Cloud Scheduler API v1beta1", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -6,3 +6,3 @@ /* This is stub file for gapi.client.cloudscheduler-v1beta1 definition tests */ | ||
// Revision: 20230414 | ||
// Revision: 20230421 | ||
@@ -9,0 +9,0 @@ gapi.load('client', async () => { |
68850
7.65%1275
25.25%