@maxim_mazurok/gapi.client.config-v1 0.0.20240410
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1789 -0
- package/package.json +20 -0
- package/readme.md +73 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,1789 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Infrastructure Manager API v1 0.0 */
|
|
2
|
+
// Project: https://cloud.google.com/infrastructure-manager/docs
|
|
3
|
+
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
|
+
// Nick Amoscato <https://github.com/namoscato>
|
|
5
|
+
// Declan Vong <https://github.com/declanvong>
|
|
6
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
+
|
|
8
|
+
// IMPORTANT
|
|
9
|
+
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
|
+
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
|
+
// Generated from: https://config.googleapis.com/$discovery/rest?version=v1
|
|
12
|
+
// Revision: 20240410
|
|
13
|
+
|
|
14
|
+
/// <reference types="gapi.client" />
|
|
15
|
+
|
|
16
|
+
declare namespace gapi.client {
|
|
17
|
+
/** Load Infrastructure Manager API v1 */
|
|
18
|
+
function load(
|
|
19
|
+
urlOrObject: 'https://config.googleapis.com/$discovery/rest?version=v1'
|
|
20
|
+
): Promise<void>;
|
|
21
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
22
|
+
function load(name: 'config', version: 'v1'): Promise<void>;
|
|
23
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
24
|
+
function load(name: 'config', version: 'v1', callback: () => any): void;
|
|
25
|
+
|
|
26
|
+
namespace config {
|
|
27
|
+
interface ApplyResults {
|
|
28
|
+
/** Location of artifacts (e.g. logs) in Google Cloud Storage. Format: `gs://{bucket}/{object}` */
|
|
29
|
+
artifacts?: string;
|
|
30
|
+
/** Location of a blueprint copy and other manifests in Google Cloud Storage. Format: `gs://{bucket}/{object}` */
|
|
31
|
+
content?: string;
|
|
32
|
+
/** Map of output name to output info. */
|
|
33
|
+
outputs?: {[P in string]: TerraformOutput};
|
|
34
|
+
}
|
|
35
|
+
interface AuditConfig {
|
|
36
|
+
/** The configuration for logging of each type of permission. */
|
|
37
|
+
auditLogConfigs?: AuditLogConfig[];
|
|
38
|
+
/** Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. */
|
|
39
|
+
service?: string;
|
|
40
|
+
}
|
|
41
|
+
interface AuditLogConfig {
|
|
42
|
+
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
43
|
+
exemptedMembers?: string[];
|
|
44
|
+
/** The log type that this config enables. */
|
|
45
|
+
logType?: string;
|
|
46
|
+
}
|
|
47
|
+
interface Binding {
|
|
48
|
+
/** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
49
|
+
condition?: Expr;
|
|
50
|
+
/** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */
|
|
51
|
+
members?: string[];
|
|
52
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). */
|
|
53
|
+
role?: string;
|
|
54
|
+
}
|
|
55
|
+
interface CancelOperationRequest {}
|
|
56
|
+
interface DeleteStatefileRequest {
|
|
57
|
+
/** Required. Lock ID of the lock file to verify that the user who is deleting the state file previously locked the Deployment. */
|
|
58
|
+
lockId?: string;
|
|
59
|
+
}
|
|
60
|
+
interface Deployment {
|
|
61
|
+
/** Optional. Arbitrary key-value metadata storage e.g. to help client tools identifiy deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations. */
|
|
62
|
+
annotations?: {[P in string]: string};
|
|
63
|
+
/** Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: `gs://--blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` - The field cannot be updated, including changing its presence */
|
|
64
|
+
artifactsGcsBucket?: string;
|
|
65
|
+
/** Output only. Time when the deployment was created. */
|
|
66
|
+
createTime?: string;
|
|
67
|
+
/** Output only. Cloud Build instance UUID associated with deleting this deployment. */
|
|
68
|
+
deleteBuild?: string;
|
|
69
|
+
/** Output only. Location of Cloud Build logs in Google Cloud Storage, populated when deleting this deployment. Format: `gs://{bucket}/{object}`. */
|
|
70
|
+
deleteLogs?: string;
|
|
71
|
+
/** Output only. Location of artifacts from a DeleteDeployment operation. */
|
|
72
|
+
deleteResults?: ApplyResults;
|
|
73
|
+
/** Output only. Error code describing errors that may have occurred. */
|
|
74
|
+
errorCode?: string;
|
|
75
|
+
/** Output only. Location of Terraform error logs in Google Cloud Storage. Format: `gs://{bucket}/{object}`. */
|
|
76
|
+
errorLogs?: string;
|
|
77
|
+
/** By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation. Not all resource types are supported, refer to documentation. */
|
|
78
|
+
importExistingResources?: boolean;
|
|
79
|
+
/** User-defined metadata for the deployment. */
|
|
80
|
+
labels?: {[P in string]: string};
|
|
81
|
+
/** Output only. Revision name that was most recently applied. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}` */
|
|
82
|
+
latestRevision?: string;
|
|
83
|
+
/** Output only. Current lock state of the deployment. */
|
|
84
|
+
lockState?: string;
|
|
85
|
+
/** Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}` */
|
|
86
|
+
name?: string;
|
|
87
|
+
/** Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies. */
|
|
88
|
+
quotaValidation?: string;
|
|
89
|
+
/** Optional. User-specified Service Account (SA) credentials to be used when actuating resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}` */
|
|
90
|
+
serviceAccount?: string;
|
|
91
|
+
/** Output only. Current state of the deployment. */
|
|
92
|
+
state?: string;
|
|
93
|
+
/** Output only. Additional information regarding the current state. */
|
|
94
|
+
stateDetail?: string;
|
|
95
|
+
/** A blueprint described using Terraform's HashiCorp Configuration Language as a root module. */
|
|
96
|
+
terraformBlueprint?: TerraformBlueprint;
|
|
97
|
+
/** Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details. */
|
|
98
|
+
tfErrors?: TerraformError[];
|
|
99
|
+
/** Output only. The current Terraform version set on the deployment. It is in the format of "Major.Minor.Patch", for example, "1.3.10". */
|
|
100
|
+
tfVersion?: string;
|
|
101
|
+
/** Optional. The user-specified Terraform version constraint. Example: "=1.3.10". */
|
|
102
|
+
tfVersionConstraint?: string;
|
|
103
|
+
/** Output only. Time when the deployment was last modified. */
|
|
104
|
+
updateTime?: string;
|
|
105
|
+
/** Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used. */
|
|
106
|
+
workerPool?: string;
|
|
107
|
+
}
|
|
108
|
+
interface DeploymentOperationMetadata {
|
|
109
|
+
/** Outputs and artifacts from applying a deployment. */
|
|
110
|
+
applyResults?: ApplyResults;
|
|
111
|
+
/** Output only. Cloud Build instance UUID associated with this operation. */
|
|
112
|
+
build?: string;
|
|
113
|
+
/** Output only. Location of Deployment operations logs in `gs://{bucket}/{object}` format. */
|
|
114
|
+
logs?: string;
|
|
115
|
+
/** The current step the deployment operation is running. */
|
|
116
|
+
step?: string;
|
|
117
|
+
}
|
|
118
|
+
interface Empty {}
|
|
119
|
+
interface ExportDeploymentStatefileRequest {
|
|
120
|
+
/** Optional. If this flag is set to true, the exported deployment state file will be the draft state. This will enable the draft file to be validated before copying it over to the working state on unlock. */
|
|
121
|
+
draft?: boolean;
|
|
122
|
+
}
|
|
123
|
+
interface ExportPreviewResultRequest {}
|
|
124
|
+
interface ExportPreviewResultResponse {
|
|
125
|
+
/** Output only. Signed URLs for accessing the plan files. */
|
|
126
|
+
result?: PreviewResult;
|
|
127
|
+
}
|
|
128
|
+
interface ExportRevisionStatefileRequest {}
|
|
129
|
+
interface Expr {
|
|
130
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
131
|
+
description?: string;
|
|
132
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
133
|
+
expression?: string;
|
|
134
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
135
|
+
location?: string;
|
|
136
|
+
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
137
|
+
title?: string;
|
|
138
|
+
}
|
|
139
|
+
interface GitSource {
|
|
140
|
+
/** Optional. Subdirectory inside the repository. Example: 'staging/my-package' */
|
|
141
|
+
directory?: string;
|
|
142
|
+
/** Optional. Git reference (e.g. branch or tag). */
|
|
143
|
+
ref?: string;
|
|
144
|
+
/** Optional. Repository URL. Example: 'https://github.com/kubernetes/examples.git' */
|
|
145
|
+
repo?: string;
|
|
146
|
+
}
|
|
147
|
+
interface ImportStatefileRequest {
|
|
148
|
+
/** Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment. */
|
|
149
|
+
lockId?: string;
|
|
150
|
+
}
|
|
151
|
+
interface ListDeploymentsResponse {
|
|
152
|
+
/** List of Deployments. */
|
|
153
|
+
deployments?: Deployment[];
|
|
154
|
+
/** Token to be supplied to the next ListDeployments request via `page_token` to obtain the next set of results. */
|
|
155
|
+
nextPageToken?: string;
|
|
156
|
+
/** Locations that could not be reached. */
|
|
157
|
+
unreachable?: string[];
|
|
158
|
+
}
|
|
159
|
+
interface ListLocationsResponse {
|
|
160
|
+
/** A list of locations that matches the specified filter in the request. */
|
|
161
|
+
locations?: Location[];
|
|
162
|
+
/** The standard List next-page token. */
|
|
163
|
+
nextPageToken?: string;
|
|
164
|
+
}
|
|
165
|
+
interface ListOperationsResponse {
|
|
166
|
+
/** The standard List next-page token. */
|
|
167
|
+
nextPageToken?: string;
|
|
168
|
+
/** A list of operations that matches the specified filter in the request. */
|
|
169
|
+
operations?: Operation[];
|
|
170
|
+
}
|
|
171
|
+
interface ListPreviewsResponse {
|
|
172
|
+
/** Token to be supplied to the next ListPreviews request via `page_token` to obtain the next set of results. */
|
|
173
|
+
nextPageToken?: string;
|
|
174
|
+
/** List of Previewss. */
|
|
175
|
+
previews?: Preview[];
|
|
176
|
+
/** Locations that could not be reached. */
|
|
177
|
+
unreachable?: string[];
|
|
178
|
+
}
|
|
179
|
+
interface ListResourcesResponse {
|
|
180
|
+
/** A token to request the next page of resources from the 'ListResources' method. The value of an empty string means that there are no more resources to return. */
|
|
181
|
+
nextPageToken?: string;
|
|
182
|
+
/** List of Resourcess. */
|
|
183
|
+
resources?: Resource[];
|
|
184
|
+
/** Locations that could not be reached. */
|
|
185
|
+
unreachable?: string[];
|
|
186
|
+
}
|
|
187
|
+
interface ListRevisionsResponse {
|
|
188
|
+
/** A token to request the next page of resources from the 'ListRevisions' method. The value of an empty string means that there are no more resources to return. */
|
|
189
|
+
nextPageToken?: string;
|
|
190
|
+
/** List of Revisions. */
|
|
191
|
+
revisions?: Revision[];
|
|
192
|
+
/** Locations that could not be reached. */
|
|
193
|
+
unreachable?: string[];
|
|
194
|
+
}
|
|
195
|
+
interface ListTerraformVersionsResponse {
|
|
196
|
+
/** Token to be supplied to the next ListTerraformVersions request via `page_token` to obtain the next set of results. */
|
|
197
|
+
nextPageToken?: string;
|
|
198
|
+
/** List of TerraformVersions. */
|
|
199
|
+
terraformVersions?: TerraformVersion[];
|
|
200
|
+
/** Unreachable resources, if any. */
|
|
201
|
+
unreachable?: string[];
|
|
202
|
+
}
|
|
203
|
+
interface Location {
|
|
204
|
+
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
205
|
+
displayName?: string;
|
|
206
|
+
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
207
|
+
labels?: {[P in string]: string};
|
|
208
|
+
/** The canonical id for this location. For example: `"us-east1"`. */
|
|
209
|
+
locationId?: string;
|
|
210
|
+
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
211
|
+
metadata?: {[P in string]: any};
|
|
212
|
+
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
213
|
+
name?: string;
|
|
214
|
+
}
|
|
215
|
+
interface LockDeploymentRequest {}
|
|
216
|
+
interface LockInfo {
|
|
217
|
+
/** Time that the lock was taken. */
|
|
218
|
+
createTime?: string;
|
|
219
|
+
/** Extra information to store with the lock, provided by the caller. */
|
|
220
|
+
info?: string;
|
|
221
|
+
/** Unique ID for the lock to be overridden with generation ID in the backend. */
|
|
222
|
+
lockId?: string;
|
|
223
|
+
/** Terraform operation, provided by the caller. */
|
|
224
|
+
operation?: string;
|
|
225
|
+
/** Terraform version */
|
|
226
|
+
version?: string;
|
|
227
|
+
/** user@hostname when available */
|
|
228
|
+
who?: string;
|
|
229
|
+
}
|
|
230
|
+
interface Operation {
|
|
231
|
+
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
232
|
+
done?: boolean;
|
|
233
|
+
/** The error result of the operation in case of failure or cancellation. */
|
|
234
|
+
error?: Status;
|
|
235
|
+
/** Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. */
|
|
236
|
+
metadata?: {[P in string]: any};
|
|
237
|
+
/** The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. */
|
|
238
|
+
name?: string;
|
|
239
|
+
/** The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. */
|
|
240
|
+
response?: {[P in string]: any};
|
|
241
|
+
}
|
|
242
|
+
interface OperationMetadata {
|
|
243
|
+
/** Output only. API version used to start the operation. */
|
|
244
|
+
apiVersion?: string;
|
|
245
|
+
/** Output only. Time when the operation was created. */
|
|
246
|
+
createTime?: string;
|
|
247
|
+
/** Output only. Metadata about the deployment operation state. */
|
|
248
|
+
deploymentMetadata?: DeploymentOperationMetadata;
|
|
249
|
+
/** Output only. Time when the operation finished running. */
|
|
250
|
+
endTime?: string;
|
|
251
|
+
/** Output only. Metadata about the preview operation state. */
|
|
252
|
+
previewMetadata?: PreviewOperationMetadata;
|
|
253
|
+
/** Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
|
|
254
|
+
requestedCancellation?: boolean;
|
|
255
|
+
/** Output only. Human-readable status of the operation, if any. */
|
|
256
|
+
statusMessage?: string;
|
|
257
|
+
/** Output only. Server-defined resource path for the target of the operation. */
|
|
258
|
+
target?: string;
|
|
259
|
+
/** Output only. Name of the verb executed by the operation. */
|
|
260
|
+
verb?: string;
|
|
261
|
+
}
|
|
262
|
+
interface Policy {
|
|
263
|
+
/** Specifies cloud audit logging configuration for this policy. */
|
|
264
|
+
auditConfigs?: AuditConfig[];
|
|
265
|
+
/** Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. */
|
|
266
|
+
bindings?: Binding[];
|
|
267
|
+
/** `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. */
|
|
268
|
+
etag?: string;
|
|
269
|
+
/** Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
270
|
+
version?: number;
|
|
271
|
+
}
|
|
272
|
+
interface Preview {
|
|
273
|
+
/** Optional. User-defined location of Cloud Build logs, artifacts, and in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty Default Bucket Format: `gs://--blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` If omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used. */
|
|
274
|
+
artifactsGcsBucket?: string;
|
|
275
|
+
/** Output only. Cloud Build instance UUID associated with this preview. */
|
|
276
|
+
build?: string;
|
|
277
|
+
/** Output only. Time the preview was created. */
|
|
278
|
+
createTime?: string;
|
|
279
|
+
/** Optional. Optional deployment reference. If specified, the preview will be performed using the provided deployment's current state and use any relevant fields from the deployment unless explicitly specified in the preview create request. */
|
|
280
|
+
deployment?: string;
|
|
281
|
+
/** Output only. Code describing any errors that may have occurred. */
|
|
282
|
+
errorCode?: string;
|
|
283
|
+
/** Output only. Link to tf-error.ndjson file, which contains the full list of the errors encountered during a Terraform preview. Format: `gs://{bucket}/{object}`. */
|
|
284
|
+
errorLogs?: string;
|
|
285
|
+
/** Output only. Additional information regarding the current state. */
|
|
286
|
+
errorStatus?: Status;
|
|
287
|
+
/** Optional. User-defined labels for the preview. */
|
|
288
|
+
labels?: {[P in string]: string};
|
|
289
|
+
/** Output only. Location of preview logs in `gs://{bucket}/{object}` format. */
|
|
290
|
+
logs?: string;
|
|
291
|
+
/** Identifier. Resource name of the preview. Resource name can be user provided or server generated ID if unspecified. Format: `projects/{project}/locations/{location}/previews/{preview}` */
|
|
292
|
+
name?: string;
|
|
293
|
+
/** Output only. Artifacts from preview. */
|
|
294
|
+
previewArtifacts?: PreviewArtifacts;
|
|
295
|
+
/** Optional. Current mode of preview. */
|
|
296
|
+
previewMode?: string;
|
|
297
|
+
/** Optional. User-specified Service Account (SA) credentials to be used when previewing resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}` */
|
|
298
|
+
serviceAccount?: string;
|
|
299
|
+
/** Output only. Current state of the preview. */
|
|
300
|
+
state?: string;
|
|
301
|
+
/** The terraform blueprint to preview. */
|
|
302
|
+
terraformBlueprint?: TerraformBlueprint;
|
|
303
|
+
/** Output only. Summary of errors encountered during Terraform preview. It has a size limit of 10, i.e. only top 10 errors will be summarized here. */
|
|
304
|
+
tfErrors?: TerraformError[];
|
|
305
|
+
/** Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format projects/{project}/locations/{location}/workerPools/{workerPoolId} If this field is unspecified, the default Cloud Build worker pool will be used. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used. */
|
|
306
|
+
workerPool?: string;
|
|
307
|
+
}
|
|
308
|
+
interface PreviewArtifacts {
|
|
309
|
+
/** Output only. Location of artifacts in Google Cloud Storage. Format: `gs://{bucket}/{object}` */
|
|
310
|
+
artifacts?: string;
|
|
311
|
+
/** Output only. Location of a blueprint copy and other content in Google Cloud Storage. Format: `gs://{bucket}/{object}` */
|
|
312
|
+
content?: string;
|
|
313
|
+
}
|
|
314
|
+
interface PreviewOperationMetadata {
|
|
315
|
+
/** Output only. Cloud Build instance UUID associated with this preview. */
|
|
316
|
+
build?: string;
|
|
317
|
+
/** Output only. Location of preview logs in `gs://{bucket}/{object}` format. */
|
|
318
|
+
logs?: string;
|
|
319
|
+
/** Artifacts from preview. */
|
|
320
|
+
previewArtifacts?: PreviewArtifacts;
|
|
321
|
+
/** The current step the preview operation is running. */
|
|
322
|
+
step?: string;
|
|
323
|
+
}
|
|
324
|
+
interface PreviewResult {
|
|
325
|
+
/** Output only. Plan binary signed URL */
|
|
326
|
+
binarySignedUri?: string;
|
|
327
|
+
/** Output only. Plan JSON signed URL */
|
|
328
|
+
jsonSignedUri?: string;
|
|
329
|
+
}
|
|
330
|
+
interface Resource {
|
|
331
|
+
/** Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI ID). CAI type format follows https://cloud.google.com/asset-inventory/docs/supported-asset-types */
|
|
332
|
+
caiAssets?: {[P in string]: ResourceCAIInfo};
|
|
333
|
+
/** Output only. Intent of the resource. */
|
|
334
|
+
intent?: string;
|
|
335
|
+
/** Output only. Resource name. Format: `projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}` */
|
|
336
|
+
name?: string;
|
|
337
|
+
/** Output only. Current state of the resource. */
|
|
338
|
+
state?: string;
|
|
339
|
+
/** Output only. Terraform-specific info if this resource was created using Terraform. */
|
|
340
|
+
terraformInfo?: ResourceTerraformInfo;
|
|
341
|
+
}
|
|
342
|
+
interface ResourceCAIInfo {
|
|
343
|
+
/** CAI resource name in the format following https://cloud.google.com/apis/design/resource_names#full_resource_name */
|
|
344
|
+
fullResourceName?: string;
|
|
345
|
+
}
|
|
346
|
+
interface ResourceTerraformInfo {
|
|
347
|
+
/** TF resource address that uniquely identifies this resource within this deployment. */
|
|
348
|
+
address?: string;
|
|
349
|
+
/** ID attribute of the TF resource */
|
|
350
|
+
id?: string;
|
|
351
|
+
/** TF resource type */
|
|
352
|
+
type?: string;
|
|
353
|
+
}
|
|
354
|
+
interface Revision {
|
|
355
|
+
/** Output only. The action which created this revision */
|
|
356
|
+
action?: string;
|
|
357
|
+
/** Output only. Outputs and artifacts from applying a deployment. */
|
|
358
|
+
applyResults?: ApplyResults;
|
|
359
|
+
/** Output only. Cloud Build instance UUID associated with this revision. */
|
|
360
|
+
build?: string;
|
|
361
|
+
/** Output only. Time when the revision was created. */
|
|
362
|
+
createTime?: string;
|
|
363
|
+
/** Output only. Code describing any errors that may have occurred. */
|
|
364
|
+
errorCode?: string;
|
|
365
|
+
/** Output only. Location of Terraform error logs in Google Cloud Storage. Format: `gs://{bucket}/{object}`. */
|
|
366
|
+
errorLogs?: string;
|
|
367
|
+
/** Output only. By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation. Not all resource types are supported, refer to documentation. */
|
|
368
|
+
importExistingResources?: boolean;
|
|
369
|
+
/** Output only. Location of Revision operation logs in `gs://{bucket}/{object}` format. */
|
|
370
|
+
logs?: string;
|
|
371
|
+
/** Revision name. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}` */
|
|
372
|
+
name?: string;
|
|
373
|
+
/** Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies. */
|
|
374
|
+
quotaValidation?: string;
|
|
375
|
+
/** Output only. Cloud Storage path containing quota validation results. This field is set when a user sets Deployment.quota_validation field to ENABLED or ENFORCED. Format: `gs://{bucket}/{object}`. */
|
|
376
|
+
quotaValidationResults?: string;
|
|
377
|
+
/** Output only. User-specified Service Account (SA) to be used as credential to manage resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}` */
|
|
378
|
+
serviceAccount?: string;
|
|
379
|
+
/** Output only. Current state of the revision. */
|
|
380
|
+
state?: string;
|
|
381
|
+
/** Output only. Additional info regarding the current state. */
|
|
382
|
+
stateDetail?: string;
|
|
383
|
+
/** Output only. A blueprint described using Terraform's HashiCorp Configuration Language as a root module. */
|
|
384
|
+
terraformBlueprint?: TerraformBlueprint;
|
|
385
|
+
/** Output only. Errors encountered when creating or updating this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details. */
|
|
386
|
+
tfErrors?: TerraformError[];
|
|
387
|
+
/** Output only. The version of Terraform used to create the Revision. It is in the format of "Major.Minor.Patch", for example, "1.3.10". */
|
|
388
|
+
tfVersion?: string;
|
|
389
|
+
/** Output only. The user-specified Terraform version constraint. Example: "=1.3.10". */
|
|
390
|
+
tfVersionConstraint?: string;
|
|
391
|
+
/** Output only. Time when the revision was last modified. */
|
|
392
|
+
updateTime?: string;
|
|
393
|
+
/** Output only. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used. */
|
|
394
|
+
workerPool?: string;
|
|
395
|
+
}
|
|
396
|
+
interface SetIamPolicyRequest {
|
|
397
|
+
/** REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
|
|
398
|
+
policy?: Policy;
|
|
399
|
+
/** OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` */
|
|
400
|
+
updateMask?: string;
|
|
401
|
+
}
|
|
402
|
+
interface Statefile {
|
|
403
|
+
/** Output only. Cloud Storage signed URI used for downloading or uploading the state file. */
|
|
404
|
+
signedUri?: string;
|
|
405
|
+
}
|
|
406
|
+
interface Status {
|
|
407
|
+
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
408
|
+
code?: number;
|
|
409
|
+
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
410
|
+
details?: Array<{[P in string]: any}>;
|
|
411
|
+
/** 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. */
|
|
412
|
+
message?: string;
|
|
413
|
+
}
|
|
414
|
+
interface TerraformBlueprint {
|
|
415
|
+
/** Required. URI of an object in Google Cloud Storage. Format: `gs://{bucket}/{object}` URI may also specify an object version for zipped objects. Format: `gs://{bucket}/{object}#{version}` */
|
|
416
|
+
gcsSource?: string;
|
|
417
|
+
/** Required. URI of a public Git repo. */
|
|
418
|
+
gitSource?: GitSource;
|
|
419
|
+
/** Input variable values for the Terraform blueprint. */
|
|
420
|
+
inputValues?: {[P in string]: TerraformVariable};
|
|
421
|
+
}
|
|
422
|
+
interface TerraformError {
|
|
423
|
+
/** Original error response from underlying Google API, if available. */
|
|
424
|
+
error?: Status;
|
|
425
|
+
/** A human-readable error description. */
|
|
426
|
+
errorDescription?: string;
|
|
427
|
+
/** HTTP response code returned from Google Cloud Platform APIs when Terraform fails to provision the resource. If unset or 0, no HTTP response code was returned by Terraform. */
|
|
428
|
+
httpResponseCode?: number;
|
|
429
|
+
/** Address of the resource associated with the error, e.g. `google_compute_network.vpc_network`. */
|
|
430
|
+
resourceAddress?: string;
|
|
431
|
+
}
|
|
432
|
+
interface TerraformOutput {
|
|
433
|
+
/** Identifies whether Terraform has set this output as a potential sensitive value. */
|
|
434
|
+
sensitive?: boolean;
|
|
435
|
+
/** Value of output. */
|
|
436
|
+
value?: any;
|
|
437
|
+
}
|
|
438
|
+
interface TerraformVariable {
|
|
439
|
+
/** Input variable value. */
|
|
440
|
+
inputValue?: any;
|
|
441
|
+
}
|
|
442
|
+
interface TerraformVersion {
|
|
443
|
+
/** Output only. When the version is deprecated. */
|
|
444
|
+
deprecateTime?: string;
|
|
445
|
+
/** Identifier. The version name is in the format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'. */
|
|
446
|
+
name?: string;
|
|
447
|
+
/** Output only. When the version is obsolete. */
|
|
448
|
+
obsoleteTime?: string;
|
|
449
|
+
/** Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE. */
|
|
450
|
+
state?: string;
|
|
451
|
+
/** Output only. When the version is supported. */
|
|
452
|
+
supportTime?: string;
|
|
453
|
+
}
|
|
454
|
+
interface TestIamPermissionsRequest {
|
|
455
|
+
/** The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). */
|
|
456
|
+
permissions?: string[];
|
|
457
|
+
}
|
|
458
|
+
interface TestIamPermissionsResponse {
|
|
459
|
+
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
460
|
+
permissions?: string[];
|
|
461
|
+
}
|
|
462
|
+
interface UnlockDeploymentRequest {
|
|
463
|
+
/** Required. Lock ID of the lock file to be unlocked. */
|
|
464
|
+
lockId?: string;
|
|
465
|
+
}
|
|
466
|
+
interface ResourcesResource {
|
|
467
|
+
/** Gets details about a Resource deployed by Infra Manager. */
|
|
468
|
+
get(request?: {
|
|
469
|
+
/** V1 error format. */
|
|
470
|
+
'$.xgafv'?: string;
|
|
471
|
+
/** OAuth access token. */
|
|
472
|
+
access_token?: string;
|
|
473
|
+
/** Data format for response. */
|
|
474
|
+
alt?: string;
|
|
475
|
+
/** JSONP */
|
|
476
|
+
callback?: string;
|
|
477
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
478
|
+
fields?: string;
|
|
479
|
+
/** 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. */
|
|
480
|
+
key?: string;
|
|
481
|
+
/** Required. The name of the Resource in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'. */
|
|
482
|
+
name: string;
|
|
483
|
+
/** OAuth 2.0 token for the current user. */
|
|
484
|
+
oauth_token?: string;
|
|
485
|
+
/** Returns response with indentations and line breaks. */
|
|
486
|
+
prettyPrint?: boolean;
|
|
487
|
+
/** 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. */
|
|
488
|
+
quotaUser?: string;
|
|
489
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
490
|
+
upload_protocol?: string;
|
|
491
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
492
|
+
uploadType?: string;
|
|
493
|
+
}): Request<Resource>;
|
|
494
|
+
/** Lists Resources in a given revision. */
|
|
495
|
+
list(request?: {
|
|
496
|
+
/** V1 error format. */
|
|
497
|
+
'$.xgafv'?: string;
|
|
498
|
+
/** OAuth access token. */
|
|
499
|
+
access_token?: string;
|
|
500
|
+
/** Data format for response. */
|
|
501
|
+
alt?: string;
|
|
502
|
+
/** JSONP */
|
|
503
|
+
callback?: string;
|
|
504
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
505
|
+
fields?: string;
|
|
506
|
+
/** Lists the Resources that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = "projects/foo/locations/us-central1/deployments/dep/revisions/bar/resources/baz */
|
|
507
|
+
filter?: string;
|
|
508
|
+
/** 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. */
|
|
509
|
+
key?: string;
|
|
510
|
+
/** OAuth 2.0 token for the current user. */
|
|
511
|
+
oauth_token?: string;
|
|
512
|
+
/** Field to use to sort the list. */
|
|
513
|
+
orderBy?: string;
|
|
514
|
+
/** When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000. */
|
|
515
|
+
pageSize?: number;
|
|
516
|
+
/** Token returned by previous call to 'ListResources' which specifies the position in the list from where to continue listing the resources. */
|
|
517
|
+
pageToken?: string;
|
|
518
|
+
/** Required. The parent in whose context the Resources are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. */
|
|
519
|
+
parent: string;
|
|
520
|
+
/** Returns response with indentations and line breaks. */
|
|
521
|
+
prettyPrint?: boolean;
|
|
522
|
+
/** 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. */
|
|
523
|
+
quotaUser?: string;
|
|
524
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
525
|
+
upload_protocol?: string;
|
|
526
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
527
|
+
uploadType?: string;
|
|
528
|
+
}): Request<ListResourcesResponse>;
|
|
529
|
+
}
|
|
530
|
+
interface RevisionsResource {
|
|
531
|
+
/** Exports Terraform state file from a given revision. */
|
|
532
|
+
exportState(request: {
|
|
533
|
+
/** V1 error format. */
|
|
534
|
+
'$.xgafv'?: string;
|
|
535
|
+
/** OAuth access token. */
|
|
536
|
+
access_token?: string;
|
|
537
|
+
/** Data format for response. */
|
|
538
|
+
alt?: string;
|
|
539
|
+
/** JSONP */
|
|
540
|
+
callback?: string;
|
|
541
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
542
|
+
fields?: string;
|
|
543
|
+
/** 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. */
|
|
544
|
+
key?: string;
|
|
545
|
+
/** OAuth 2.0 token for the current user. */
|
|
546
|
+
oauth_token?: string;
|
|
547
|
+
/** Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. */
|
|
548
|
+
parent: string;
|
|
549
|
+
/** Returns response with indentations and line breaks. */
|
|
550
|
+
prettyPrint?: boolean;
|
|
551
|
+
/** 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. */
|
|
552
|
+
quotaUser?: string;
|
|
553
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
554
|
+
upload_protocol?: string;
|
|
555
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
556
|
+
uploadType?: string;
|
|
557
|
+
/** Request body */
|
|
558
|
+
resource: ExportRevisionStatefileRequest;
|
|
559
|
+
}): Request<Statefile>;
|
|
560
|
+
exportState(
|
|
561
|
+
request: {
|
|
562
|
+
/** V1 error format. */
|
|
563
|
+
'$.xgafv'?: string;
|
|
564
|
+
/** OAuth access token. */
|
|
565
|
+
access_token?: string;
|
|
566
|
+
/** Data format for response. */
|
|
567
|
+
alt?: string;
|
|
568
|
+
/** JSONP */
|
|
569
|
+
callback?: string;
|
|
570
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
571
|
+
fields?: string;
|
|
572
|
+
/** 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. */
|
|
573
|
+
key?: string;
|
|
574
|
+
/** OAuth 2.0 token for the current user. */
|
|
575
|
+
oauth_token?: string;
|
|
576
|
+
/** Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. */
|
|
577
|
+
parent: string;
|
|
578
|
+
/** Returns response with indentations and line breaks. */
|
|
579
|
+
prettyPrint?: boolean;
|
|
580
|
+
/** 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. */
|
|
581
|
+
quotaUser?: string;
|
|
582
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
583
|
+
upload_protocol?: string;
|
|
584
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
585
|
+
uploadType?: string;
|
|
586
|
+
},
|
|
587
|
+
body: ExportRevisionStatefileRequest
|
|
588
|
+
): Request<Statefile>;
|
|
589
|
+
/** Gets details about a Revision. */
|
|
590
|
+
get(request?: {
|
|
591
|
+
/** V1 error format. */
|
|
592
|
+
'$.xgafv'?: string;
|
|
593
|
+
/** OAuth access token. */
|
|
594
|
+
access_token?: string;
|
|
595
|
+
/** Data format for response. */
|
|
596
|
+
alt?: string;
|
|
597
|
+
/** JSONP */
|
|
598
|
+
callback?: string;
|
|
599
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
600
|
+
fields?: string;
|
|
601
|
+
/** 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. */
|
|
602
|
+
key?: string;
|
|
603
|
+
/** Required. The name of the Revision in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. */
|
|
604
|
+
name: string;
|
|
605
|
+
/** OAuth 2.0 token for the current user. */
|
|
606
|
+
oauth_token?: string;
|
|
607
|
+
/** Returns response with indentations and line breaks. */
|
|
608
|
+
prettyPrint?: boolean;
|
|
609
|
+
/** 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. */
|
|
610
|
+
quotaUser?: string;
|
|
611
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
612
|
+
upload_protocol?: string;
|
|
613
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
614
|
+
uploadType?: string;
|
|
615
|
+
}): Request<Revision>;
|
|
616
|
+
/** Lists Revisions of a deployment. */
|
|
617
|
+
list(request?: {
|
|
618
|
+
/** V1 error format. */
|
|
619
|
+
'$.xgafv'?: string;
|
|
620
|
+
/** OAuth access token. */
|
|
621
|
+
access_token?: string;
|
|
622
|
+
/** Data format for response. */
|
|
623
|
+
alt?: string;
|
|
624
|
+
/** JSONP */
|
|
625
|
+
callback?: string;
|
|
626
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
627
|
+
fields?: string;
|
|
628
|
+
/** Lists the Revisions that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = "projects/foo/locations/us-central1/deployments/dep/revisions/bar - Filter by labels: - Resources that have a key called 'foo' labels.foo:* - Resources that have a key called 'foo' whose value is 'bar' labels.foo = bar - Filter by state: - Revisions in CREATING state. state=CREATING */
|
|
629
|
+
filter?: string;
|
|
630
|
+
/** 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. */
|
|
631
|
+
key?: string;
|
|
632
|
+
/** OAuth 2.0 token for the current user. */
|
|
633
|
+
oauth_token?: string;
|
|
634
|
+
/** Field to use to sort the list. */
|
|
635
|
+
orderBy?: string;
|
|
636
|
+
/** When requesting a page of resources, `page_size` specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000. */
|
|
637
|
+
pageSize?: number;
|
|
638
|
+
/** Token returned by previous call to 'ListRevisions' which specifies the position in the list from where to continue listing the resources. */
|
|
639
|
+
pageToken?: string;
|
|
640
|
+
/** Required. The parent in whose context the Revisions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. */
|
|
641
|
+
parent: string;
|
|
642
|
+
/** Returns response with indentations and line breaks. */
|
|
643
|
+
prettyPrint?: boolean;
|
|
644
|
+
/** 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. */
|
|
645
|
+
quotaUser?: string;
|
|
646
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
647
|
+
upload_protocol?: string;
|
|
648
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
649
|
+
uploadType?: string;
|
|
650
|
+
}): Request<ListRevisionsResponse>;
|
|
651
|
+
resources: ResourcesResource;
|
|
652
|
+
}
|
|
653
|
+
interface DeploymentsResource {
|
|
654
|
+
/** Creates a Deployment. */
|
|
655
|
+
create(request: {
|
|
656
|
+
/** V1 error format. */
|
|
657
|
+
'$.xgafv'?: string;
|
|
658
|
+
/** OAuth access token. */
|
|
659
|
+
access_token?: string;
|
|
660
|
+
/** Data format for response. */
|
|
661
|
+
alt?: string;
|
|
662
|
+
/** JSONP */
|
|
663
|
+
callback?: string;
|
|
664
|
+
/** Required. The Deployment ID. */
|
|
665
|
+
deploymentId?: string;
|
|
666
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
667
|
+
fields?: string;
|
|
668
|
+
/** 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. */
|
|
669
|
+
key?: string;
|
|
670
|
+
/** OAuth 2.0 token for the current user. */
|
|
671
|
+
oauth_token?: string;
|
|
672
|
+
/** Required. The parent in whose context the Deployment is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'. */
|
|
673
|
+
parent: string;
|
|
674
|
+
/** Returns response with indentations and line breaks. */
|
|
675
|
+
prettyPrint?: boolean;
|
|
676
|
+
/** 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. */
|
|
677
|
+
quotaUser?: string;
|
|
678
|
+
/** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
679
|
+
requestId?: string;
|
|
680
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
681
|
+
upload_protocol?: string;
|
|
682
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
683
|
+
uploadType?: string;
|
|
684
|
+
/** Request body */
|
|
685
|
+
resource: Deployment;
|
|
686
|
+
}): Request<Operation>;
|
|
687
|
+
create(
|
|
688
|
+
request: {
|
|
689
|
+
/** V1 error format. */
|
|
690
|
+
'$.xgafv'?: string;
|
|
691
|
+
/** OAuth access token. */
|
|
692
|
+
access_token?: string;
|
|
693
|
+
/** Data format for response. */
|
|
694
|
+
alt?: string;
|
|
695
|
+
/** JSONP */
|
|
696
|
+
callback?: string;
|
|
697
|
+
/** Required. The Deployment ID. */
|
|
698
|
+
deploymentId?: string;
|
|
699
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
700
|
+
fields?: string;
|
|
701
|
+
/** 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. */
|
|
702
|
+
key?: string;
|
|
703
|
+
/** OAuth 2.0 token for the current user. */
|
|
704
|
+
oauth_token?: string;
|
|
705
|
+
/** Required. The parent in whose context the Deployment is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'. */
|
|
706
|
+
parent: string;
|
|
707
|
+
/** Returns response with indentations and line breaks. */
|
|
708
|
+
prettyPrint?: boolean;
|
|
709
|
+
/** 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. */
|
|
710
|
+
quotaUser?: string;
|
|
711
|
+
/** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
712
|
+
requestId?: string;
|
|
713
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
714
|
+
upload_protocol?: string;
|
|
715
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
716
|
+
uploadType?: string;
|
|
717
|
+
},
|
|
718
|
+
body: Deployment
|
|
719
|
+
): Request<Operation>;
|
|
720
|
+
/** Deletes a Deployment. */
|
|
721
|
+
delete(request?: {
|
|
722
|
+
/** V1 error format. */
|
|
723
|
+
'$.xgafv'?: string;
|
|
724
|
+
/** OAuth access token. */
|
|
725
|
+
access_token?: string;
|
|
726
|
+
/** Data format for response. */
|
|
727
|
+
alt?: string;
|
|
728
|
+
/** JSONP */
|
|
729
|
+
callback?: string;
|
|
730
|
+
/** Optional. Policy on how resources actuated by the deployment should be deleted. If unspecified, the default behavior is to delete the underlying resources. */
|
|
731
|
+
deletePolicy?: string;
|
|
732
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
733
|
+
fields?: string;
|
|
734
|
+
/** Optional. If set to true, any revisions for this deployment will also be deleted. (Otherwise, the request will only work if the deployment has no revisions.) */
|
|
735
|
+
force?: boolean;
|
|
736
|
+
/** 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. */
|
|
737
|
+
key?: string;
|
|
738
|
+
/** Required. The name of the Deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. */
|
|
739
|
+
name: string;
|
|
740
|
+
/** OAuth 2.0 token for the current user. */
|
|
741
|
+
oauth_token?: string;
|
|
742
|
+
/** Returns response with indentations and line breaks. */
|
|
743
|
+
prettyPrint?: boolean;
|
|
744
|
+
/** 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. */
|
|
745
|
+
quotaUser?: string;
|
|
746
|
+
/** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
747
|
+
requestId?: string;
|
|
748
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
749
|
+
upload_protocol?: string;
|
|
750
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
751
|
+
uploadType?: string;
|
|
752
|
+
}): Request<Operation>;
|
|
753
|
+
/** Deletes Terraform state file in a given deployment. */
|
|
754
|
+
deleteState(request: {
|
|
755
|
+
/** V1 error format. */
|
|
756
|
+
'$.xgafv'?: string;
|
|
757
|
+
/** OAuth access token. */
|
|
758
|
+
access_token?: string;
|
|
759
|
+
/** Data format for response. */
|
|
760
|
+
alt?: string;
|
|
761
|
+
/** JSONP */
|
|
762
|
+
callback?: string;
|
|
763
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
764
|
+
fields?: string;
|
|
765
|
+
/** 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. */
|
|
766
|
+
key?: string;
|
|
767
|
+
/** Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. */
|
|
768
|
+
name: string;
|
|
769
|
+
/** OAuth 2.0 token for the current user. */
|
|
770
|
+
oauth_token?: string;
|
|
771
|
+
/** Returns response with indentations and line breaks. */
|
|
772
|
+
prettyPrint?: boolean;
|
|
773
|
+
/** 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. */
|
|
774
|
+
quotaUser?: string;
|
|
775
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
776
|
+
upload_protocol?: string;
|
|
777
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
778
|
+
uploadType?: string;
|
|
779
|
+
/** Request body */
|
|
780
|
+
resource: DeleteStatefileRequest;
|
|
781
|
+
}): Request<{}>;
|
|
782
|
+
deleteState(
|
|
783
|
+
request: {
|
|
784
|
+
/** V1 error format. */
|
|
785
|
+
'$.xgafv'?: string;
|
|
786
|
+
/** OAuth access token. */
|
|
787
|
+
access_token?: string;
|
|
788
|
+
/** Data format for response. */
|
|
789
|
+
alt?: string;
|
|
790
|
+
/** JSONP */
|
|
791
|
+
callback?: string;
|
|
792
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
793
|
+
fields?: string;
|
|
794
|
+
/** 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. */
|
|
795
|
+
key?: string;
|
|
796
|
+
/** Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. */
|
|
797
|
+
name: string;
|
|
798
|
+
/** OAuth 2.0 token for the current user. */
|
|
799
|
+
oauth_token?: string;
|
|
800
|
+
/** Returns response with indentations and line breaks. */
|
|
801
|
+
prettyPrint?: boolean;
|
|
802
|
+
/** 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. */
|
|
803
|
+
quotaUser?: string;
|
|
804
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
805
|
+
upload_protocol?: string;
|
|
806
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
807
|
+
uploadType?: string;
|
|
808
|
+
},
|
|
809
|
+
body: DeleteStatefileRequest
|
|
810
|
+
): Request<{}>;
|
|
811
|
+
/** Exports the lock info on a locked deployment. */
|
|
812
|
+
exportLock(request?: {
|
|
813
|
+
/** V1 error format. */
|
|
814
|
+
'$.xgafv'?: string;
|
|
815
|
+
/** OAuth access token. */
|
|
816
|
+
access_token?: string;
|
|
817
|
+
/** Data format for response. */
|
|
818
|
+
alt?: string;
|
|
819
|
+
/** JSONP */
|
|
820
|
+
callback?: string;
|
|
821
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
822
|
+
fields?: string;
|
|
823
|
+
/** 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. */
|
|
824
|
+
key?: string;
|
|
825
|
+
/** Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. */
|
|
826
|
+
name: string;
|
|
827
|
+
/** OAuth 2.0 token for the current user. */
|
|
828
|
+
oauth_token?: string;
|
|
829
|
+
/** Returns response with indentations and line breaks. */
|
|
830
|
+
prettyPrint?: boolean;
|
|
831
|
+
/** 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. */
|
|
832
|
+
quotaUser?: string;
|
|
833
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
834
|
+
upload_protocol?: string;
|
|
835
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
836
|
+
uploadType?: string;
|
|
837
|
+
}): Request<LockInfo>;
|
|
838
|
+
/** Exports Terraform state file from a given deployment. */
|
|
839
|
+
exportState(request: {
|
|
840
|
+
/** V1 error format. */
|
|
841
|
+
'$.xgafv'?: string;
|
|
842
|
+
/** OAuth access token. */
|
|
843
|
+
access_token?: string;
|
|
844
|
+
/** Data format for response. */
|
|
845
|
+
alt?: string;
|
|
846
|
+
/** JSONP */
|
|
847
|
+
callback?: string;
|
|
848
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
849
|
+
fields?: string;
|
|
850
|
+
/** 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. */
|
|
851
|
+
key?: string;
|
|
852
|
+
/** OAuth 2.0 token for the current user. */
|
|
853
|
+
oauth_token?: string;
|
|
854
|
+
/** Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. */
|
|
855
|
+
parent: string;
|
|
856
|
+
/** Returns response with indentations and line breaks. */
|
|
857
|
+
prettyPrint?: boolean;
|
|
858
|
+
/** 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. */
|
|
859
|
+
quotaUser?: string;
|
|
860
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
861
|
+
upload_protocol?: string;
|
|
862
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
863
|
+
uploadType?: string;
|
|
864
|
+
/** Request body */
|
|
865
|
+
resource: ExportDeploymentStatefileRequest;
|
|
866
|
+
}): Request<Statefile>;
|
|
867
|
+
exportState(
|
|
868
|
+
request: {
|
|
869
|
+
/** V1 error format. */
|
|
870
|
+
'$.xgafv'?: string;
|
|
871
|
+
/** OAuth access token. */
|
|
872
|
+
access_token?: string;
|
|
873
|
+
/** Data format for response. */
|
|
874
|
+
alt?: string;
|
|
875
|
+
/** JSONP */
|
|
876
|
+
callback?: string;
|
|
877
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
878
|
+
fields?: string;
|
|
879
|
+
/** 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. */
|
|
880
|
+
key?: string;
|
|
881
|
+
/** OAuth 2.0 token for the current user. */
|
|
882
|
+
oauth_token?: string;
|
|
883
|
+
/** Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. */
|
|
884
|
+
parent: string;
|
|
885
|
+
/** Returns response with indentations and line breaks. */
|
|
886
|
+
prettyPrint?: boolean;
|
|
887
|
+
/** 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. */
|
|
888
|
+
quotaUser?: string;
|
|
889
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
890
|
+
upload_protocol?: string;
|
|
891
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
892
|
+
uploadType?: string;
|
|
893
|
+
},
|
|
894
|
+
body: ExportDeploymentStatefileRequest
|
|
895
|
+
): Request<Statefile>;
|
|
896
|
+
/** Gets details about a Deployment. */
|
|
897
|
+
get(request?: {
|
|
898
|
+
/** V1 error format. */
|
|
899
|
+
'$.xgafv'?: string;
|
|
900
|
+
/** OAuth access token. */
|
|
901
|
+
access_token?: string;
|
|
902
|
+
/** Data format for response. */
|
|
903
|
+
alt?: string;
|
|
904
|
+
/** JSONP */
|
|
905
|
+
callback?: string;
|
|
906
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
907
|
+
fields?: string;
|
|
908
|
+
/** 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. */
|
|
909
|
+
key?: string;
|
|
910
|
+
/** Required. The name of the deployment. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. */
|
|
911
|
+
name: string;
|
|
912
|
+
/** OAuth 2.0 token for the current user. */
|
|
913
|
+
oauth_token?: string;
|
|
914
|
+
/** Returns response with indentations and line breaks. */
|
|
915
|
+
prettyPrint?: boolean;
|
|
916
|
+
/** 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. */
|
|
917
|
+
quotaUser?: string;
|
|
918
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
919
|
+
upload_protocol?: string;
|
|
920
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
921
|
+
uploadType?: string;
|
|
922
|
+
}): Request<Deployment>;
|
|
923
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
924
|
+
getIamPolicy(request?: {
|
|
925
|
+
/** V1 error format. */
|
|
926
|
+
'$.xgafv'?: string;
|
|
927
|
+
/** OAuth access token. */
|
|
928
|
+
access_token?: string;
|
|
929
|
+
/** Data format for response. */
|
|
930
|
+
alt?: string;
|
|
931
|
+
/** JSONP */
|
|
932
|
+
callback?: string;
|
|
933
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
934
|
+
fields?: string;
|
|
935
|
+
/** 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. */
|
|
936
|
+
key?: string;
|
|
937
|
+
/** OAuth 2.0 token for the current user. */
|
|
938
|
+
oauth_token?: string;
|
|
939
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
940
|
+
'options.requestedPolicyVersion'?: number;
|
|
941
|
+
/** Returns response with indentations and line breaks. */
|
|
942
|
+
prettyPrint?: boolean;
|
|
943
|
+
/** 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. */
|
|
944
|
+
quotaUser?: string;
|
|
945
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
946
|
+
resource: string;
|
|
947
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
948
|
+
upload_protocol?: string;
|
|
949
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
950
|
+
uploadType?: string;
|
|
951
|
+
}): Request<Policy>;
|
|
952
|
+
/** Imports Terraform state file in a given deployment. The state file does not take effect until the Deployment has been unlocked. */
|
|
953
|
+
importState(request: {
|
|
954
|
+
/** V1 error format. */
|
|
955
|
+
'$.xgafv'?: string;
|
|
956
|
+
/** OAuth access token. */
|
|
957
|
+
access_token?: string;
|
|
958
|
+
/** Data format for response. */
|
|
959
|
+
alt?: string;
|
|
960
|
+
/** JSONP */
|
|
961
|
+
callback?: string;
|
|
962
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
963
|
+
fields?: string;
|
|
964
|
+
/** 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. */
|
|
965
|
+
key?: string;
|
|
966
|
+
/** OAuth 2.0 token for the current user. */
|
|
967
|
+
oauth_token?: string;
|
|
968
|
+
/** Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. */
|
|
969
|
+
parent: string;
|
|
970
|
+
/** Returns response with indentations and line breaks. */
|
|
971
|
+
prettyPrint?: boolean;
|
|
972
|
+
/** 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. */
|
|
973
|
+
quotaUser?: string;
|
|
974
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
975
|
+
upload_protocol?: string;
|
|
976
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
977
|
+
uploadType?: string;
|
|
978
|
+
/** Request body */
|
|
979
|
+
resource: ImportStatefileRequest;
|
|
980
|
+
}): Request<Statefile>;
|
|
981
|
+
importState(
|
|
982
|
+
request: {
|
|
983
|
+
/** V1 error format. */
|
|
984
|
+
'$.xgafv'?: string;
|
|
985
|
+
/** OAuth access token. */
|
|
986
|
+
access_token?: string;
|
|
987
|
+
/** Data format for response. */
|
|
988
|
+
alt?: string;
|
|
989
|
+
/** JSONP */
|
|
990
|
+
callback?: string;
|
|
991
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
992
|
+
fields?: string;
|
|
993
|
+
/** 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. */
|
|
994
|
+
key?: string;
|
|
995
|
+
/** OAuth 2.0 token for the current user. */
|
|
996
|
+
oauth_token?: string;
|
|
997
|
+
/** Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. */
|
|
998
|
+
parent: string;
|
|
999
|
+
/** Returns response with indentations and line breaks. */
|
|
1000
|
+
prettyPrint?: boolean;
|
|
1001
|
+
/** 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. */
|
|
1002
|
+
quotaUser?: string;
|
|
1003
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1004
|
+
upload_protocol?: string;
|
|
1005
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1006
|
+
uploadType?: string;
|
|
1007
|
+
},
|
|
1008
|
+
body: ImportStatefileRequest
|
|
1009
|
+
): Request<Statefile>;
|
|
1010
|
+
/** Lists Deployments in a given project and location. */
|
|
1011
|
+
list(request?: {
|
|
1012
|
+
/** V1 error format. */
|
|
1013
|
+
'$.xgafv'?: string;
|
|
1014
|
+
/** OAuth access token. */
|
|
1015
|
+
access_token?: string;
|
|
1016
|
+
/** Data format for response. */
|
|
1017
|
+
alt?: string;
|
|
1018
|
+
/** JSONP */
|
|
1019
|
+
callback?: string;
|
|
1020
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1021
|
+
fields?: string;
|
|
1022
|
+
/** Lists the Deployments that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = "projects/foo/locations/us-central1/deployments/bar - Filter by labels: - Resources that have a key called 'foo' labels.foo:* - Resources that have a key called 'foo' whose value is 'bar' labels.foo = bar - Filter by state: - Deployments in CREATING state. state=CREATING */
|
|
1023
|
+
filter?: string;
|
|
1024
|
+
/** 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. */
|
|
1025
|
+
key?: string;
|
|
1026
|
+
/** OAuth 2.0 token for the current user. */
|
|
1027
|
+
oauth_token?: string;
|
|
1028
|
+
/** Field to use to sort the list. */
|
|
1029
|
+
orderBy?: string;
|
|
1030
|
+
/** When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000. */
|
|
1031
|
+
pageSize?: number;
|
|
1032
|
+
/** Token returned by previous call to 'ListDeployments' which specifies the position in the list from where to continue listing the resources. */
|
|
1033
|
+
pageToken?: string;
|
|
1034
|
+
/** Required. The parent in whose context the Deployments are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'. */
|
|
1035
|
+
parent: string;
|
|
1036
|
+
/** Returns response with indentations and line breaks. */
|
|
1037
|
+
prettyPrint?: boolean;
|
|
1038
|
+
/** 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. */
|
|
1039
|
+
quotaUser?: string;
|
|
1040
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1041
|
+
upload_protocol?: string;
|
|
1042
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1043
|
+
uploadType?: string;
|
|
1044
|
+
}): Request<ListDeploymentsResponse>;
|
|
1045
|
+
/** Locks a deployment. */
|
|
1046
|
+
lock(request: {
|
|
1047
|
+
/** V1 error format. */
|
|
1048
|
+
'$.xgafv'?: string;
|
|
1049
|
+
/** OAuth access token. */
|
|
1050
|
+
access_token?: string;
|
|
1051
|
+
/** Data format for response. */
|
|
1052
|
+
alt?: string;
|
|
1053
|
+
/** JSONP */
|
|
1054
|
+
callback?: string;
|
|
1055
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1056
|
+
fields?: string;
|
|
1057
|
+
/** 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. */
|
|
1058
|
+
key?: string;
|
|
1059
|
+
/** Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. */
|
|
1060
|
+
name: string;
|
|
1061
|
+
/** OAuth 2.0 token for the current user. */
|
|
1062
|
+
oauth_token?: string;
|
|
1063
|
+
/** Returns response with indentations and line breaks. */
|
|
1064
|
+
prettyPrint?: boolean;
|
|
1065
|
+
/** 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. */
|
|
1066
|
+
quotaUser?: string;
|
|
1067
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1068
|
+
upload_protocol?: string;
|
|
1069
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1070
|
+
uploadType?: string;
|
|
1071
|
+
/** Request body */
|
|
1072
|
+
resource: LockDeploymentRequest;
|
|
1073
|
+
}): Request<Operation>;
|
|
1074
|
+
lock(
|
|
1075
|
+
request: {
|
|
1076
|
+
/** V1 error format. */
|
|
1077
|
+
'$.xgafv'?: string;
|
|
1078
|
+
/** OAuth access token. */
|
|
1079
|
+
access_token?: string;
|
|
1080
|
+
/** Data format for response. */
|
|
1081
|
+
alt?: string;
|
|
1082
|
+
/** JSONP */
|
|
1083
|
+
callback?: string;
|
|
1084
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1085
|
+
fields?: string;
|
|
1086
|
+
/** 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. */
|
|
1087
|
+
key?: string;
|
|
1088
|
+
/** Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. */
|
|
1089
|
+
name: string;
|
|
1090
|
+
/** OAuth 2.0 token for the current user. */
|
|
1091
|
+
oauth_token?: string;
|
|
1092
|
+
/** Returns response with indentations and line breaks. */
|
|
1093
|
+
prettyPrint?: boolean;
|
|
1094
|
+
/** 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. */
|
|
1095
|
+
quotaUser?: string;
|
|
1096
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1097
|
+
upload_protocol?: string;
|
|
1098
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1099
|
+
uploadType?: string;
|
|
1100
|
+
},
|
|
1101
|
+
body: LockDeploymentRequest
|
|
1102
|
+
): Request<Operation>;
|
|
1103
|
+
/** Updates a Deployment. */
|
|
1104
|
+
patch(request: {
|
|
1105
|
+
/** V1 error format. */
|
|
1106
|
+
'$.xgafv'?: string;
|
|
1107
|
+
/** OAuth access token. */
|
|
1108
|
+
access_token?: string;
|
|
1109
|
+
/** Data format for response. */
|
|
1110
|
+
alt?: string;
|
|
1111
|
+
/** JSONP */
|
|
1112
|
+
callback?: string;
|
|
1113
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1114
|
+
fields?: string;
|
|
1115
|
+
/** 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. */
|
|
1116
|
+
key?: string;
|
|
1117
|
+
/** Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}` */
|
|
1118
|
+
name: string;
|
|
1119
|
+
/** OAuth 2.0 token for the current user. */
|
|
1120
|
+
oauth_token?: string;
|
|
1121
|
+
/** Returns response with indentations and line breaks. */
|
|
1122
|
+
prettyPrint?: boolean;
|
|
1123
|
+
/** 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. */
|
|
1124
|
+
quotaUser?: string;
|
|
1125
|
+
/** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
1126
|
+
requestId?: string;
|
|
1127
|
+
/** Optional. Field mask used to specify the fields to be overwritten in the Deployment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. */
|
|
1128
|
+
updateMask?: string;
|
|
1129
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1130
|
+
upload_protocol?: string;
|
|
1131
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1132
|
+
uploadType?: string;
|
|
1133
|
+
/** Request body */
|
|
1134
|
+
resource: Deployment;
|
|
1135
|
+
}): Request<Operation>;
|
|
1136
|
+
patch(
|
|
1137
|
+
request: {
|
|
1138
|
+
/** V1 error format. */
|
|
1139
|
+
'$.xgafv'?: string;
|
|
1140
|
+
/** OAuth access token. */
|
|
1141
|
+
access_token?: string;
|
|
1142
|
+
/** Data format for response. */
|
|
1143
|
+
alt?: string;
|
|
1144
|
+
/** JSONP */
|
|
1145
|
+
callback?: string;
|
|
1146
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1147
|
+
fields?: string;
|
|
1148
|
+
/** 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. */
|
|
1149
|
+
key?: string;
|
|
1150
|
+
/** Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}` */
|
|
1151
|
+
name: string;
|
|
1152
|
+
/** OAuth 2.0 token for the current user. */
|
|
1153
|
+
oauth_token?: string;
|
|
1154
|
+
/** Returns response with indentations and line breaks. */
|
|
1155
|
+
prettyPrint?: boolean;
|
|
1156
|
+
/** 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. */
|
|
1157
|
+
quotaUser?: string;
|
|
1158
|
+
/** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
1159
|
+
requestId?: string;
|
|
1160
|
+
/** Optional. Field mask used to specify the fields to be overwritten in the Deployment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. */
|
|
1161
|
+
updateMask?: string;
|
|
1162
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1163
|
+
upload_protocol?: string;
|
|
1164
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1165
|
+
uploadType?: string;
|
|
1166
|
+
},
|
|
1167
|
+
body: Deployment
|
|
1168
|
+
): Request<Operation>;
|
|
1169
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1170
|
+
setIamPolicy(
|
|
1171
|
+
request: {
|
|
1172
|
+
/** V1 error format. */
|
|
1173
|
+
'$.xgafv'?: string;
|
|
1174
|
+
/** OAuth access token. */
|
|
1175
|
+
access_token?: string;
|
|
1176
|
+
/** Data format for response. */
|
|
1177
|
+
alt?: string;
|
|
1178
|
+
/** JSONP */
|
|
1179
|
+
callback?: string;
|
|
1180
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1181
|
+
fields?: string;
|
|
1182
|
+
/** 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. */
|
|
1183
|
+
key?: string;
|
|
1184
|
+
/** OAuth 2.0 token for the current user. */
|
|
1185
|
+
oauth_token?: string;
|
|
1186
|
+
/** Returns response with indentations and line breaks. */
|
|
1187
|
+
prettyPrint?: boolean;
|
|
1188
|
+
/** 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. */
|
|
1189
|
+
quotaUser?: string;
|
|
1190
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1191
|
+
resource: string;
|
|
1192
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1193
|
+
upload_protocol?: string;
|
|
1194
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1195
|
+
uploadType?: string;
|
|
1196
|
+
},
|
|
1197
|
+
body: SetIamPolicyRequest
|
|
1198
|
+
): Request<Policy>;
|
|
1199
|
+
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
1200
|
+
testIamPermissions(
|
|
1201
|
+
request: {
|
|
1202
|
+
/** V1 error format. */
|
|
1203
|
+
'$.xgafv'?: string;
|
|
1204
|
+
/** OAuth access token. */
|
|
1205
|
+
access_token?: string;
|
|
1206
|
+
/** Data format for response. */
|
|
1207
|
+
alt?: string;
|
|
1208
|
+
/** JSONP */
|
|
1209
|
+
callback?: string;
|
|
1210
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1211
|
+
fields?: string;
|
|
1212
|
+
/** 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. */
|
|
1213
|
+
key?: string;
|
|
1214
|
+
/** OAuth 2.0 token for the current user. */
|
|
1215
|
+
oauth_token?: string;
|
|
1216
|
+
/** Returns response with indentations and line breaks. */
|
|
1217
|
+
prettyPrint?: boolean;
|
|
1218
|
+
/** 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. */
|
|
1219
|
+
quotaUser?: string;
|
|
1220
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1221
|
+
resource: string;
|
|
1222
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1223
|
+
upload_protocol?: string;
|
|
1224
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1225
|
+
uploadType?: string;
|
|
1226
|
+
},
|
|
1227
|
+
body: TestIamPermissionsRequest
|
|
1228
|
+
): Request<TestIamPermissionsResponse>;
|
|
1229
|
+
/** Unlocks a locked deployment. */
|
|
1230
|
+
unlock(request: {
|
|
1231
|
+
/** V1 error format. */
|
|
1232
|
+
'$.xgafv'?: string;
|
|
1233
|
+
/** OAuth access token. */
|
|
1234
|
+
access_token?: string;
|
|
1235
|
+
/** Data format for response. */
|
|
1236
|
+
alt?: string;
|
|
1237
|
+
/** JSONP */
|
|
1238
|
+
callback?: string;
|
|
1239
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1240
|
+
fields?: string;
|
|
1241
|
+
/** 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. */
|
|
1242
|
+
key?: string;
|
|
1243
|
+
/** Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. */
|
|
1244
|
+
name: string;
|
|
1245
|
+
/** OAuth 2.0 token for the current user. */
|
|
1246
|
+
oauth_token?: string;
|
|
1247
|
+
/** Returns response with indentations and line breaks. */
|
|
1248
|
+
prettyPrint?: boolean;
|
|
1249
|
+
/** 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. */
|
|
1250
|
+
quotaUser?: string;
|
|
1251
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1252
|
+
upload_protocol?: string;
|
|
1253
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1254
|
+
uploadType?: string;
|
|
1255
|
+
/** Request body */
|
|
1256
|
+
resource: UnlockDeploymentRequest;
|
|
1257
|
+
}): Request<Operation>;
|
|
1258
|
+
unlock(
|
|
1259
|
+
request: {
|
|
1260
|
+
/** V1 error format. */
|
|
1261
|
+
'$.xgafv'?: string;
|
|
1262
|
+
/** OAuth access token. */
|
|
1263
|
+
access_token?: string;
|
|
1264
|
+
/** Data format for response. */
|
|
1265
|
+
alt?: string;
|
|
1266
|
+
/** JSONP */
|
|
1267
|
+
callback?: string;
|
|
1268
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1269
|
+
fields?: string;
|
|
1270
|
+
/** 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. */
|
|
1271
|
+
key?: string;
|
|
1272
|
+
/** Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. */
|
|
1273
|
+
name: string;
|
|
1274
|
+
/** OAuth 2.0 token for the current user. */
|
|
1275
|
+
oauth_token?: string;
|
|
1276
|
+
/** Returns response with indentations and line breaks. */
|
|
1277
|
+
prettyPrint?: boolean;
|
|
1278
|
+
/** 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. */
|
|
1279
|
+
quotaUser?: string;
|
|
1280
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1281
|
+
upload_protocol?: string;
|
|
1282
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1283
|
+
uploadType?: string;
|
|
1284
|
+
},
|
|
1285
|
+
body: UnlockDeploymentRequest
|
|
1286
|
+
): Request<Operation>;
|
|
1287
|
+
revisions: RevisionsResource;
|
|
1288
|
+
}
|
|
1289
|
+
interface OperationsResource {
|
|
1290
|
+
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
|
|
1291
|
+
cancel(request: {
|
|
1292
|
+
/** V1 error format. */
|
|
1293
|
+
'$.xgafv'?: string;
|
|
1294
|
+
/** OAuth access token. */
|
|
1295
|
+
access_token?: string;
|
|
1296
|
+
/** Data format for response. */
|
|
1297
|
+
alt?: string;
|
|
1298
|
+
/** JSONP */
|
|
1299
|
+
callback?: string;
|
|
1300
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1301
|
+
fields?: string;
|
|
1302
|
+
/** 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. */
|
|
1303
|
+
key?: string;
|
|
1304
|
+
/** The name of the operation resource to be cancelled. */
|
|
1305
|
+
name: string;
|
|
1306
|
+
/** OAuth 2.0 token for the current user. */
|
|
1307
|
+
oauth_token?: string;
|
|
1308
|
+
/** Returns response with indentations and line breaks. */
|
|
1309
|
+
prettyPrint?: boolean;
|
|
1310
|
+
/** 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. */
|
|
1311
|
+
quotaUser?: string;
|
|
1312
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1313
|
+
upload_protocol?: string;
|
|
1314
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1315
|
+
uploadType?: string;
|
|
1316
|
+
/** Request body */
|
|
1317
|
+
resource: CancelOperationRequest;
|
|
1318
|
+
}): Request<{}>;
|
|
1319
|
+
cancel(
|
|
1320
|
+
request: {
|
|
1321
|
+
/** V1 error format. */
|
|
1322
|
+
'$.xgafv'?: string;
|
|
1323
|
+
/** OAuth access token. */
|
|
1324
|
+
access_token?: string;
|
|
1325
|
+
/** Data format for response. */
|
|
1326
|
+
alt?: string;
|
|
1327
|
+
/** JSONP */
|
|
1328
|
+
callback?: string;
|
|
1329
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1330
|
+
fields?: string;
|
|
1331
|
+
/** 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. */
|
|
1332
|
+
key?: string;
|
|
1333
|
+
/** The name of the operation resource to be cancelled. */
|
|
1334
|
+
name: string;
|
|
1335
|
+
/** OAuth 2.0 token for the current user. */
|
|
1336
|
+
oauth_token?: string;
|
|
1337
|
+
/** Returns response with indentations and line breaks. */
|
|
1338
|
+
prettyPrint?: boolean;
|
|
1339
|
+
/** 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. */
|
|
1340
|
+
quotaUser?: string;
|
|
1341
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1342
|
+
upload_protocol?: string;
|
|
1343
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1344
|
+
uploadType?: string;
|
|
1345
|
+
},
|
|
1346
|
+
body: CancelOperationRequest
|
|
1347
|
+
): Request<{}>;
|
|
1348
|
+
/** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
|
|
1349
|
+
delete(request?: {
|
|
1350
|
+
/** V1 error format. */
|
|
1351
|
+
'$.xgafv'?: string;
|
|
1352
|
+
/** OAuth access token. */
|
|
1353
|
+
access_token?: string;
|
|
1354
|
+
/** Data format for response. */
|
|
1355
|
+
alt?: string;
|
|
1356
|
+
/** JSONP */
|
|
1357
|
+
callback?: string;
|
|
1358
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1359
|
+
fields?: string;
|
|
1360
|
+
/** 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. */
|
|
1361
|
+
key?: string;
|
|
1362
|
+
/** The name of the operation resource to be deleted. */
|
|
1363
|
+
name: string;
|
|
1364
|
+
/** OAuth 2.0 token for the current user. */
|
|
1365
|
+
oauth_token?: string;
|
|
1366
|
+
/** Returns response with indentations and line breaks. */
|
|
1367
|
+
prettyPrint?: boolean;
|
|
1368
|
+
/** 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. */
|
|
1369
|
+
quotaUser?: string;
|
|
1370
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1371
|
+
upload_protocol?: string;
|
|
1372
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1373
|
+
uploadType?: string;
|
|
1374
|
+
}): Request<{}>;
|
|
1375
|
+
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1376
|
+
get(request?: {
|
|
1377
|
+
/** V1 error format. */
|
|
1378
|
+
'$.xgafv'?: string;
|
|
1379
|
+
/** OAuth access token. */
|
|
1380
|
+
access_token?: string;
|
|
1381
|
+
/** Data format for response. */
|
|
1382
|
+
alt?: string;
|
|
1383
|
+
/** JSONP */
|
|
1384
|
+
callback?: string;
|
|
1385
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1386
|
+
fields?: string;
|
|
1387
|
+
/** 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. */
|
|
1388
|
+
key?: string;
|
|
1389
|
+
/** The name of the operation resource. */
|
|
1390
|
+
name: string;
|
|
1391
|
+
/** OAuth 2.0 token for the current user. */
|
|
1392
|
+
oauth_token?: string;
|
|
1393
|
+
/** Returns response with indentations and line breaks. */
|
|
1394
|
+
prettyPrint?: boolean;
|
|
1395
|
+
/** 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. */
|
|
1396
|
+
quotaUser?: string;
|
|
1397
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1398
|
+
upload_protocol?: string;
|
|
1399
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1400
|
+
uploadType?: string;
|
|
1401
|
+
}): Request<Operation>;
|
|
1402
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1403
|
+
list(request?: {
|
|
1404
|
+
/** V1 error format. */
|
|
1405
|
+
'$.xgafv'?: string;
|
|
1406
|
+
/** OAuth access token. */
|
|
1407
|
+
access_token?: string;
|
|
1408
|
+
/** Data format for response. */
|
|
1409
|
+
alt?: string;
|
|
1410
|
+
/** JSONP */
|
|
1411
|
+
callback?: string;
|
|
1412
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1413
|
+
fields?: string;
|
|
1414
|
+
/** The standard list filter. */
|
|
1415
|
+
filter?: string;
|
|
1416
|
+
/** 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. */
|
|
1417
|
+
key?: string;
|
|
1418
|
+
/** The name of the operation's parent resource. */
|
|
1419
|
+
name: string;
|
|
1420
|
+
/** OAuth 2.0 token for the current user. */
|
|
1421
|
+
oauth_token?: string;
|
|
1422
|
+
/** The standard list page size. */
|
|
1423
|
+
pageSize?: number;
|
|
1424
|
+
/** The standard list page token. */
|
|
1425
|
+
pageToken?: string;
|
|
1426
|
+
/** Returns response with indentations and line breaks. */
|
|
1427
|
+
prettyPrint?: boolean;
|
|
1428
|
+
/** 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. */
|
|
1429
|
+
quotaUser?: string;
|
|
1430
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1431
|
+
upload_protocol?: string;
|
|
1432
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1433
|
+
uploadType?: string;
|
|
1434
|
+
}): Request<ListOperationsResponse>;
|
|
1435
|
+
}
|
|
1436
|
+
interface PreviewsResource {
|
|
1437
|
+
/** Creates a Preview. */
|
|
1438
|
+
create(request: {
|
|
1439
|
+
/** V1 error format. */
|
|
1440
|
+
'$.xgafv'?: string;
|
|
1441
|
+
/** OAuth access token. */
|
|
1442
|
+
access_token?: string;
|
|
1443
|
+
/** Data format for response. */
|
|
1444
|
+
alt?: string;
|
|
1445
|
+
/** JSONP */
|
|
1446
|
+
callback?: string;
|
|
1447
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1448
|
+
fields?: string;
|
|
1449
|
+
/** 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. */
|
|
1450
|
+
key?: string;
|
|
1451
|
+
/** OAuth 2.0 token for the current user. */
|
|
1452
|
+
oauth_token?: string;
|
|
1453
|
+
/** Required. The parent in whose context the Preview is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'. */
|
|
1454
|
+
parent: string;
|
|
1455
|
+
/** Returns response with indentations and line breaks. */
|
|
1456
|
+
prettyPrint?: boolean;
|
|
1457
|
+
/** Optional. The preview ID. */
|
|
1458
|
+
previewId?: string;
|
|
1459
|
+
/** 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. */
|
|
1460
|
+
quotaUser?: string;
|
|
1461
|
+
/** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
1462
|
+
requestId?: string;
|
|
1463
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1464
|
+
upload_protocol?: string;
|
|
1465
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1466
|
+
uploadType?: string;
|
|
1467
|
+
/** Request body */
|
|
1468
|
+
resource: Preview;
|
|
1469
|
+
}): Request<Operation>;
|
|
1470
|
+
create(
|
|
1471
|
+
request: {
|
|
1472
|
+
/** V1 error format. */
|
|
1473
|
+
'$.xgafv'?: string;
|
|
1474
|
+
/** OAuth access token. */
|
|
1475
|
+
access_token?: string;
|
|
1476
|
+
/** Data format for response. */
|
|
1477
|
+
alt?: string;
|
|
1478
|
+
/** JSONP */
|
|
1479
|
+
callback?: string;
|
|
1480
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1481
|
+
fields?: string;
|
|
1482
|
+
/** 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. */
|
|
1483
|
+
key?: string;
|
|
1484
|
+
/** OAuth 2.0 token for the current user. */
|
|
1485
|
+
oauth_token?: string;
|
|
1486
|
+
/** Required. The parent in whose context the Preview is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'. */
|
|
1487
|
+
parent: string;
|
|
1488
|
+
/** Returns response with indentations and line breaks. */
|
|
1489
|
+
prettyPrint?: boolean;
|
|
1490
|
+
/** Optional. The preview ID. */
|
|
1491
|
+
previewId?: string;
|
|
1492
|
+
/** 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. */
|
|
1493
|
+
quotaUser?: string;
|
|
1494
|
+
/** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
1495
|
+
requestId?: string;
|
|
1496
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1497
|
+
upload_protocol?: string;
|
|
1498
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1499
|
+
uploadType?: string;
|
|
1500
|
+
},
|
|
1501
|
+
body: Preview
|
|
1502
|
+
): Request<Operation>;
|
|
1503
|
+
/** Deletes a Preview. */
|
|
1504
|
+
delete(request?: {
|
|
1505
|
+
/** V1 error format. */
|
|
1506
|
+
'$.xgafv'?: string;
|
|
1507
|
+
/** OAuth access token. */
|
|
1508
|
+
access_token?: string;
|
|
1509
|
+
/** Data format for response. */
|
|
1510
|
+
alt?: string;
|
|
1511
|
+
/** JSONP */
|
|
1512
|
+
callback?: string;
|
|
1513
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1514
|
+
fields?: string;
|
|
1515
|
+
/** 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. */
|
|
1516
|
+
key?: string;
|
|
1517
|
+
/** Required. The name of the Preview in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. */
|
|
1518
|
+
name: string;
|
|
1519
|
+
/** OAuth 2.0 token for the current user. */
|
|
1520
|
+
oauth_token?: string;
|
|
1521
|
+
/** Returns response with indentations and line breaks. */
|
|
1522
|
+
prettyPrint?: boolean;
|
|
1523
|
+
/** 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. */
|
|
1524
|
+
quotaUser?: string;
|
|
1525
|
+
/** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
1526
|
+
requestId?: string;
|
|
1527
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1528
|
+
upload_protocol?: string;
|
|
1529
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1530
|
+
uploadType?: string;
|
|
1531
|
+
}): Request<Operation>;
|
|
1532
|
+
/** Export Preview results. */
|
|
1533
|
+
export(request: {
|
|
1534
|
+
/** V1 error format. */
|
|
1535
|
+
'$.xgafv'?: string;
|
|
1536
|
+
/** OAuth access token. */
|
|
1537
|
+
access_token?: string;
|
|
1538
|
+
/** Data format for response. */
|
|
1539
|
+
alt?: string;
|
|
1540
|
+
/** JSONP */
|
|
1541
|
+
callback?: string;
|
|
1542
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1543
|
+
fields?: string;
|
|
1544
|
+
/** 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. */
|
|
1545
|
+
key?: string;
|
|
1546
|
+
/** OAuth 2.0 token for the current user. */
|
|
1547
|
+
oauth_token?: string;
|
|
1548
|
+
/** Required. The preview whose results should be exported. The preview value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. */
|
|
1549
|
+
parent: string;
|
|
1550
|
+
/** Returns response with indentations and line breaks. */
|
|
1551
|
+
prettyPrint?: boolean;
|
|
1552
|
+
/** 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. */
|
|
1553
|
+
quotaUser?: string;
|
|
1554
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1555
|
+
upload_protocol?: string;
|
|
1556
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1557
|
+
uploadType?: string;
|
|
1558
|
+
/** Request body */
|
|
1559
|
+
resource: ExportPreviewResultRequest;
|
|
1560
|
+
}): Request<ExportPreviewResultResponse>;
|
|
1561
|
+
export(
|
|
1562
|
+
request: {
|
|
1563
|
+
/** V1 error format. */
|
|
1564
|
+
'$.xgafv'?: string;
|
|
1565
|
+
/** OAuth access token. */
|
|
1566
|
+
access_token?: string;
|
|
1567
|
+
/** Data format for response. */
|
|
1568
|
+
alt?: string;
|
|
1569
|
+
/** JSONP */
|
|
1570
|
+
callback?: string;
|
|
1571
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1572
|
+
fields?: string;
|
|
1573
|
+
/** 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. */
|
|
1574
|
+
key?: string;
|
|
1575
|
+
/** OAuth 2.0 token for the current user. */
|
|
1576
|
+
oauth_token?: string;
|
|
1577
|
+
/** Required. The preview whose results should be exported. The preview value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. */
|
|
1578
|
+
parent: string;
|
|
1579
|
+
/** Returns response with indentations and line breaks. */
|
|
1580
|
+
prettyPrint?: boolean;
|
|
1581
|
+
/** 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. */
|
|
1582
|
+
quotaUser?: string;
|
|
1583
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1584
|
+
upload_protocol?: string;
|
|
1585
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1586
|
+
uploadType?: string;
|
|
1587
|
+
},
|
|
1588
|
+
body: ExportPreviewResultRequest
|
|
1589
|
+
): Request<ExportPreviewResultResponse>;
|
|
1590
|
+
/** Gets details about a Preview. */
|
|
1591
|
+
get(request?: {
|
|
1592
|
+
/** V1 error format. */
|
|
1593
|
+
'$.xgafv'?: string;
|
|
1594
|
+
/** OAuth access token. */
|
|
1595
|
+
access_token?: string;
|
|
1596
|
+
/** Data format for response. */
|
|
1597
|
+
alt?: string;
|
|
1598
|
+
/** JSONP */
|
|
1599
|
+
callback?: string;
|
|
1600
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1601
|
+
fields?: string;
|
|
1602
|
+
/** 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. */
|
|
1603
|
+
key?: string;
|
|
1604
|
+
/** Required. The name of the preview. Format: 'projects/{project_id}/locations/{location}/previews/{preview}'. */
|
|
1605
|
+
name: string;
|
|
1606
|
+
/** OAuth 2.0 token for the current user. */
|
|
1607
|
+
oauth_token?: string;
|
|
1608
|
+
/** Returns response with indentations and line breaks. */
|
|
1609
|
+
prettyPrint?: boolean;
|
|
1610
|
+
/** 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. */
|
|
1611
|
+
quotaUser?: string;
|
|
1612
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1613
|
+
upload_protocol?: string;
|
|
1614
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1615
|
+
uploadType?: string;
|
|
1616
|
+
}): Request<Preview>;
|
|
1617
|
+
/** Lists Previews in a given project and location. */
|
|
1618
|
+
list(request?: {
|
|
1619
|
+
/** V1 error format. */
|
|
1620
|
+
'$.xgafv'?: string;
|
|
1621
|
+
/** OAuth access token. */
|
|
1622
|
+
access_token?: string;
|
|
1623
|
+
/** Data format for response. */
|
|
1624
|
+
alt?: string;
|
|
1625
|
+
/** JSONP */
|
|
1626
|
+
callback?: string;
|
|
1627
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1628
|
+
fields?: string;
|
|
1629
|
+
/** Optional. Lists the Deployments that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = "projects/foo/locations/us-central1/deployments/bar - Filter by labels: - Resources that have a key called 'foo' labels.foo:* - Resources that have a key called 'foo' whose value is 'bar' labels.foo = bar - Filter by state: - Deployments in CREATING state. state=CREATING */
|
|
1630
|
+
filter?: string;
|
|
1631
|
+
/** 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. */
|
|
1632
|
+
key?: string;
|
|
1633
|
+
/** OAuth 2.0 token for the current user. */
|
|
1634
|
+
oauth_token?: string;
|
|
1635
|
+
/** Optional. Field to use to sort the list. */
|
|
1636
|
+
orderBy?: string;
|
|
1637
|
+
/** Optional. When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000. */
|
|
1638
|
+
pageSize?: number;
|
|
1639
|
+
/** Optional. Token returned by previous call to 'ListDeployments' which specifies the position in the list from where to continue listing the resources. */
|
|
1640
|
+
pageToken?: string;
|
|
1641
|
+
/** Required. The parent in whose context the Previews are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'. */
|
|
1642
|
+
parent: string;
|
|
1643
|
+
/** Returns response with indentations and line breaks. */
|
|
1644
|
+
prettyPrint?: boolean;
|
|
1645
|
+
/** 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. */
|
|
1646
|
+
quotaUser?: string;
|
|
1647
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1648
|
+
upload_protocol?: string;
|
|
1649
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1650
|
+
uploadType?: string;
|
|
1651
|
+
}): Request<ListPreviewsResponse>;
|
|
1652
|
+
}
|
|
1653
|
+
interface TerraformVersionsResource {
|
|
1654
|
+
/** Gets details about a TerraformVersion. */
|
|
1655
|
+
get(request?: {
|
|
1656
|
+
/** V1 error format. */
|
|
1657
|
+
'$.xgafv'?: string;
|
|
1658
|
+
/** OAuth access token. */
|
|
1659
|
+
access_token?: string;
|
|
1660
|
+
/** Data format for response. */
|
|
1661
|
+
alt?: string;
|
|
1662
|
+
/** JSONP */
|
|
1663
|
+
callback?: string;
|
|
1664
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1665
|
+
fields?: string;
|
|
1666
|
+
/** 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. */
|
|
1667
|
+
key?: string;
|
|
1668
|
+
/** Required. The name of the TerraformVersion. Format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}' */
|
|
1669
|
+
name: string;
|
|
1670
|
+
/** OAuth 2.0 token for the current user. */
|
|
1671
|
+
oauth_token?: string;
|
|
1672
|
+
/** Returns response with indentations and line breaks. */
|
|
1673
|
+
prettyPrint?: boolean;
|
|
1674
|
+
/** 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. */
|
|
1675
|
+
quotaUser?: string;
|
|
1676
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1677
|
+
upload_protocol?: string;
|
|
1678
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1679
|
+
uploadType?: string;
|
|
1680
|
+
}): Request<TerraformVersion>;
|
|
1681
|
+
/** Lists TerraformVersions in a given project and location. */
|
|
1682
|
+
list(request?: {
|
|
1683
|
+
/** V1 error format. */
|
|
1684
|
+
'$.xgafv'?: string;
|
|
1685
|
+
/** OAuth access token. */
|
|
1686
|
+
access_token?: string;
|
|
1687
|
+
/** Data format for response. */
|
|
1688
|
+
alt?: string;
|
|
1689
|
+
/** JSONP */
|
|
1690
|
+
callback?: string;
|
|
1691
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1692
|
+
fields?: string;
|
|
1693
|
+
/** Optional. Lists the TerraformVersions that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. */
|
|
1694
|
+
filter?: string;
|
|
1695
|
+
/** 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. */
|
|
1696
|
+
key?: string;
|
|
1697
|
+
/** OAuth 2.0 token for the current user. */
|
|
1698
|
+
oauth_token?: string;
|
|
1699
|
+
/** Optional. Field to use to sort the list. */
|
|
1700
|
+
orderBy?: string;
|
|
1701
|
+
/** Optional. When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000. */
|
|
1702
|
+
pageSize?: number;
|
|
1703
|
+
/** Optional. Token returned by previous call to 'ListTerraformVersions' which specifies the position in the list from where to continue listing the resources. */
|
|
1704
|
+
pageToken?: string;
|
|
1705
|
+
/** Required. The parent in whose context the TerraformVersions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'. */
|
|
1706
|
+
parent: string;
|
|
1707
|
+
/** Returns response with indentations and line breaks. */
|
|
1708
|
+
prettyPrint?: boolean;
|
|
1709
|
+
/** 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. */
|
|
1710
|
+
quotaUser?: string;
|
|
1711
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1712
|
+
upload_protocol?: string;
|
|
1713
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1714
|
+
uploadType?: string;
|
|
1715
|
+
}): Request<ListTerraformVersionsResponse>;
|
|
1716
|
+
}
|
|
1717
|
+
interface LocationsResource {
|
|
1718
|
+
/** Gets information about a location. */
|
|
1719
|
+
get(request?: {
|
|
1720
|
+
/** V1 error format. */
|
|
1721
|
+
'$.xgafv'?: string;
|
|
1722
|
+
/** OAuth access token. */
|
|
1723
|
+
access_token?: string;
|
|
1724
|
+
/** Data format for response. */
|
|
1725
|
+
alt?: string;
|
|
1726
|
+
/** JSONP */
|
|
1727
|
+
callback?: string;
|
|
1728
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1729
|
+
fields?: string;
|
|
1730
|
+
/** 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. */
|
|
1731
|
+
key?: string;
|
|
1732
|
+
/** Resource name for the location. */
|
|
1733
|
+
name: string;
|
|
1734
|
+
/** OAuth 2.0 token for the current user. */
|
|
1735
|
+
oauth_token?: string;
|
|
1736
|
+
/** Returns response with indentations and line breaks. */
|
|
1737
|
+
prettyPrint?: boolean;
|
|
1738
|
+
/** 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. */
|
|
1739
|
+
quotaUser?: string;
|
|
1740
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1741
|
+
upload_protocol?: string;
|
|
1742
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1743
|
+
uploadType?: string;
|
|
1744
|
+
}): Request<Location>;
|
|
1745
|
+
/** Lists information about the supported locations for this service. */
|
|
1746
|
+
list(request?: {
|
|
1747
|
+
/** V1 error format. */
|
|
1748
|
+
'$.xgafv'?: string;
|
|
1749
|
+
/** OAuth access token. */
|
|
1750
|
+
access_token?: string;
|
|
1751
|
+
/** Data format for response. */
|
|
1752
|
+
alt?: string;
|
|
1753
|
+
/** JSONP */
|
|
1754
|
+
callback?: string;
|
|
1755
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1756
|
+
fields?: string;
|
|
1757
|
+
/** 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 [AIP-160](https://google.aip.dev/160). */
|
|
1758
|
+
filter?: string;
|
|
1759
|
+
/** 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. */
|
|
1760
|
+
key?: string;
|
|
1761
|
+
/** The resource that owns the locations collection, if applicable. */
|
|
1762
|
+
name: string;
|
|
1763
|
+
/** OAuth 2.0 token for the current user. */
|
|
1764
|
+
oauth_token?: string;
|
|
1765
|
+
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
1766
|
+
pageSize?: number;
|
|
1767
|
+
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
1768
|
+
pageToken?: string;
|
|
1769
|
+
/** Returns response with indentations and line breaks. */
|
|
1770
|
+
prettyPrint?: boolean;
|
|
1771
|
+
/** 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. */
|
|
1772
|
+
quotaUser?: string;
|
|
1773
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1774
|
+
upload_protocol?: string;
|
|
1775
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1776
|
+
uploadType?: string;
|
|
1777
|
+
}): Request<ListLocationsResponse>;
|
|
1778
|
+
deployments: DeploymentsResource;
|
|
1779
|
+
operations: OperationsResource;
|
|
1780
|
+
previews: PreviewsResource;
|
|
1781
|
+
terraformVersions: TerraformVersionsResource;
|
|
1782
|
+
}
|
|
1783
|
+
interface ProjectsResource {
|
|
1784
|
+
locations: LocationsResource;
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
const projects: ProjectsResource;
|
|
1788
|
+
}
|
|
1789
|
+
}
|