@maxim_mazurok/gapi.client.redis-v1 0.0.20220728
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 +1109 -0
- package/package.json +20 -0
- package/readme.md +68 -0
- package/tests.ts +318 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,1109 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Google Cloud Memorystore for Redis API v1 0.0 */
|
|
2
|
+
// Project: https://cloud.google.com/memorystore/docs/redis/
|
|
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
|
+
// TypeScript Version: 2.8
|
|
8
|
+
|
|
9
|
+
// IMPORTANT
|
|
10
|
+
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
|
+
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
|
+
// Generated from: https://redis.googleapis.com/$discovery/rest?version=v1
|
|
13
|
+
// Revision: 20220728
|
|
14
|
+
|
|
15
|
+
/// <reference types="gapi.client" />
|
|
16
|
+
|
|
17
|
+
declare namespace gapi.client {
|
|
18
|
+
/** Load Google Cloud Memorystore for Redis API v1 */
|
|
19
|
+
function load(urlOrObject: "https://redis.googleapis.com/$discovery/rest?version=v1"): Promise<void>;
|
|
20
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
21
|
+
function load(name: "redis", version: "v1"): Promise<void>;
|
|
22
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
23
|
+
function load(name: "redis", version: "v1", callback: () => any): void;
|
|
24
|
+
|
|
25
|
+
namespace redis {
|
|
26
|
+
// tslint:disable-next-line:no-empty-interface
|
|
27
|
+
interface Empty {
|
|
28
|
+
}
|
|
29
|
+
interface ExportInstanceRequest {
|
|
30
|
+
/** Required. Specify data to be exported. */
|
|
31
|
+
outputConfig?: OutputConfig;
|
|
32
|
+
}
|
|
33
|
+
interface FailoverInstanceRequest {
|
|
34
|
+
/** Optional. Available data protection modes that the user can choose. If it's unspecified, data protection mode will be LIMITED_DATA_LOSS by default. */
|
|
35
|
+
dataProtectionMode?: string;
|
|
36
|
+
}
|
|
37
|
+
interface GcsDestination {
|
|
38
|
+
/** Required. Data destination URI (e.g. 'gs://my_bucket/my_object'). Existing files will be overwritten. */
|
|
39
|
+
uri?: string;
|
|
40
|
+
}
|
|
41
|
+
interface GcsSource {
|
|
42
|
+
/** Required. Source data URI. (e.g. 'gs://my_bucket/my_object'). */
|
|
43
|
+
uri?: string;
|
|
44
|
+
}
|
|
45
|
+
interface GoogleCloudRedisV1LocationMetadata {
|
|
46
|
+
/**
|
|
47
|
+
* Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by GCE. These keys can be specified in `location_id` or
|
|
48
|
+
* `alternative_location_id` fields when creating a Redis instance.
|
|
49
|
+
*/
|
|
50
|
+
availableZones?: { [P in string]: any };
|
|
51
|
+
}
|
|
52
|
+
interface GoogleCloudRedisV1OperationMetadata {
|
|
53
|
+
/** API version. */
|
|
54
|
+
apiVersion?: string;
|
|
55
|
+
/** Specifies if cancellation was requested for the operation. */
|
|
56
|
+
cancelRequested?: boolean;
|
|
57
|
+
/** Creation timestamp. */
|
|
58
|
+
createTime?: string;
|
|
59
|
+
/** End timestamp. */
|
|
60
|
+
endTime?: string;
|
|
61
|
+
/** Operation status details. */
|
|
62
|
+
statusDetail?: string;
|
|
63
|
+
/** Operation target. */
|
|
64
|
+
target?: string;
|
|
65
|
+
/** Operation verb. */
|
|
66
|
+
verb?: string;
|
|
67
|
+
}
|
|
68
|
+
// tslint:disable-next-line:no-empty-interface
|
|
69
|
+
interface GoogleCloudRedisV1ZoneMetadata {
|
|
70
|
+
}
|
|
71
|
+
interface ImportInstanceRequest {
|
|
72
|
+
/** Required. Specify data to be imported. */
|
|
73
|
+
inputConfig?: InputConfig;
|
|
74
|
+
}
|
|
75
|
+
interface InputConfig {
|
|
76
|
+
/** Google Cloud Storage location where input content is located. */
|
|
77
|
+
gcsSource?: GcsSource;
|
|
78
|
+
}
|
|
79
|
+
interface Instance {
|
|
80
|
+
/**
|
|
81
|
+
* Optional. If specified, at least one node will be provisioned in this zone in addition to the zone specified in location_id. Only applicable to standard tier. If provided, it must
|
|
82
|
+
* be a different zone from the one provided in [location_id]. Additional nodes beyond the first 2 will be placed in zones selected by the service.
|
|
83
|
+
*/
|
|
84
|
+
alternativeLocationId?: string;
|
|
85
|
+
/** Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to "true" AUTH is enabled on the instance. Default value is "false" meaning AUTH is disabled. */
|
|
86
|
+
authEnabled?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Optional. The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network
|
|
89
|
+
* will be used.
|
|
90
|
+
*/
|
|
91
|
+
authorizedNetwork?: string;
|
|
92
|
+
/** Optional. The network connect mode of the Redis instance. If not provided, the connect mode defaults to DIRECT_PEERING. */
|
|
93
|
+
connectMode?: string;
|
|
94
|
+
/** Output only. The time the instance was created. */
|
|
95
|
+
createTime?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Output only. The current zone where the Redis primary node is located. In basic tier, this will always be the same as [location_id]. In standard tier, this can be the zone of any
|
|
98
|
+
* node in the instance.
|
|
99
|
+
*/
|
|
100
|
+
currentLocationId?: string;
|
|
101
|
+
/** Optional. The KMS key reference that the customer provides when trying to create the instance. */
|
|
102
|
+
customerManagedKey?: string;
|
|
103
|
+
/** An arbitrary and optional user-provided name for the instance. */
|
|
104
|
+
displayName?: string;
|
|
105
|
+
/** Output only. Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service. */
|
|
106
|
+
host?: string;
|
|
107
|
+
/** Resource labels to represent user provided metadata */
|
|
108
|
+
labels?: { [P in string]: string };
|
|
109
|
+
/**
|
|
110
|
+
* Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, additional
|
|
111
|
+
* nodes will be added across multiple zones for protection against zonal failures. If specified, at least one node will be provisioned in this zone.
|
|
112
|
+
*/
|
|
113
|
+
locationId?: string;
|
|
114
|
+
/** Optional. The maintenance policy for the instance. If not provided, maintenance events can be performed at any time. */
|
|
115
|
+
maintenancePolicy?: MaintenancePolicy;
|
|
116
|
+
/** Output only. Date and time of upcoming maintenance events which have been scheduled. */
|
|
117
|
+
maintenanceSchedule?: MaintenanceSchedule;
|
|
118
|
+
/** Required. Redis memory size in GiB. */
|
|
119
|
+
memorySizeGb?: number;
|
|
120
|
+
/**
|
|
121
|
+
* Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note:
|
|
122
|
+
* Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for
|
|
123
|
+
* cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details.
|
|
124
|
+
*/
|
|
125
|
+
name?: string;
|
|
126
|
+
/** Output only. Info per node. */
|
|
127
|
+
nodes?: NodeInfo[];
|
|
128
|
+
/** Optional. Persistence configuration parameters */
|
|
129
|
+
persistenceConfig?: PersistenceConfig;
|
|
130
|
+
/**
|
|
131
|
+
* Output only. Cloud IAM identity used by import / export operations to transfer data to/from Cloud Storage. Format is "serviceAccount:". The value may change over time for a given
|
|
132
|
+
* instance so should be checked before each import/export operation.
|
|
133
|
+
*/
|
|
134
|
+
persistenceIamIdentity?: string;
|
|
135
|
+
/** Output only. The port number of the exposed Redis endpoint. */
|
|
136
|
+
port?: number;
|
|
137
|
+
/**
|
|
138
|
+
* Output only. Hostname or IP address of the exposed readonly Redis endpoint. Standard tier only. Targets all healthy replica nodes in instance. Replication is asynchronous and
|
|
139
|
+
* replica nodes will exhibit some lag behind the primary. Write requests must target 'host'.
|
|
140
|
+
*/
|
|
141
|
+
readEndpoint?: string;
|
|
142
|
+
/** Output only. The port number of the exposed readonly redis endpoint. Standard tier only. Write requests should target 'port'. */
|
|
143
|
+
readEndpointPort?: number;
|
|
144
|
+
/** Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED. */
|
|
145
|
+
readReplicasMode?: string;
|
|
146
|
+
/**
|
|
147
|
+
* Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy *
|
|
148
|
+
* notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes *
|
|
149
|
+
* stream-node-max-entries
|
|
150
|
+
*/
|
|
151
|
+
redisConfigs?: { [P in string]: string };
|
|
152
|
+
/**
|
|
153
|
+
* Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility *
|
|
154
|
+
* `REDIS_4_0` for Redis 4.0 compatibility (default) * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility
|
|
155
|
+
*/
|
|
156
|
+
redisVersion?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Optional. The number of replica nodes. The valid range for the Standard Tier with read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled for a Standard
|
|
159
|
+
* Tier instance, the only valid value is 1 and the default is 1. The valid value for basic tier is 0 and the default is also 0.
|
|
160
|
+
*/
|
|
161
|
+
replicaCount?: number;
|
|
162
|
+
/**
|
|
163
|
+
* Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an
|
|
164
|
+
* authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service
|
|
165
|
+
* will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED the default block size is /28.
|
|
166
|
+
*/
|
|
167
|
+
reservedIpRange?: string;
|
|
168
|
+
/**
|
|
169
|
+
* Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or
|
|
170
|
+
* "auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address range associated with the private service access connection, or "auto".
|
|
171
|
+
*/
|
|
172
|
+
secondaryIpRange?: string;
|
|
173
|
+
/** Output only. List of server CA certificates for the instance. */
|
|
174
|
+
serverCaCerts?: TlsCertificate[];
|
|
175
|
+
/** Output only. The current state of this instance. */
|
|
176
|
+
state?: string;
|
|
177
|
+
/** Output only. Additional information about the current status of this instance, if available. */
|
|
178
|
+
statusMessage?: string;
|
|
179
|
+
/** Optional. reasons that causes instance in "SUSPENDED" state. */
|
|
180
|
+
suspensionReasons?: string[];
|
|
181
|
+
/** Required. The service tier of the instance. */
|
|
182
|
+
tier?: string;
|
|
183
|
+
/** Optional. The TLS mode of the Redis instance. If not provided, TLS is disabled for the instance. */
|
|
184
|
+
transitEncryptionMode?: string;
|
|
185
|
+
}
|
|
186
|
+
interface InstanceAuthString {
|
|
187
|
+
/** AUTH string set on the instance. */
|
|
188
|
+
authString?: string;
|
|
189
|
+
}
|
|
190
|
+
interface ListInstancesResponse {
|
|
191
|
+
/**
|
|
192
|
+
* A list of Redis instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to
|
|
193
|
+
* the project are queried, and the results aggregated. If in such an aggregated query a location is unavailable, a placeholder Redis entry is included in the response with the `name`
|
|
194
|
+
* field set to a value of the form `projects/{project_id}/locations/{location_id}/instances/`- and the `status` field set to ERROR and `status_message` field set to "location not
|
|
195
|
+
* available for ListInstances".
|
|
196
|
+
*/
|
|
197
|
+
instances?: Instance[];
|
|
198
|
+
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
199
|
+
nextPageToken?: string;
|
|
200
|
+
/** Locations that could not be reached. */
|
|
201
|
+
unreachable?: string[];
|
|
202
|
+
}
|
|
203
|
+
interface ListLocationsResponse {
|
|
204
|
+
/** A list of locations that matches the specified filter in the request. */
|
|
205
|
+
locations?: Location[];
|
|
206
|
+
/** The standard List next-page token. */
|
|
207
|
+
nextPageToken?: string;
|
|
208
|
+
}
|
|
209
|
+
interface ListOperationsResponse {
|
|
210
|
+
/** The standard List next-page token. */
|
|
211
|
+
nextPageToken?: string;
|
|
212
|
+
/** A list of operations that matches the specified filter in the request. */
|
|
213
|
+
operations?: Operation[];
|
|
214
|
+
}
|
|
215
|
+
interface Location {
|
|
216
|
+
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
217
|
+
displayName?: string;
|
|
218
|
+
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
219
|
+
labels?: { [P in string]: string };
|
|
220
|
+
/** Resource ID for the region. For example: "us-east1". */
|
|
221
|
+
locationId?: string;
|
|
222
|
+
/**
|
|
223
|
+
* Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by Compute Engine. These keys can be specified in
|
|
224
|
+
* `location_id` or `alternative_location_id` fields when creating a Redis instance.
|
|
225
|
+
*/
|
|
226
|
+
metadata?: { [P in string]: any };
|
|
227
|
+
/** Full resource name for the region. For example: "projects/example-project/locations/us-east1". */
|
|
228
|
+
name?: string;
|
|
229
|
+
}
|
|
230
|
+
interface MaintenancePolicy {
|
|
231
|
+
/** Output only. The time when the policy was created. */
|
|
232
|
+
createTime?: string;
|
|
233
|
+
/** Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512. */
|
|
234
|
+
description?: string;
|
|
235
|
+
/** Output only. The time when the policy was last updated. */
|
|
236
|
+
updateTime?: string;
|
|
237
|
+
/** Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one. */
|
|
238
|
+
weeklyMaintenanceWindow?: WeeklyMaintenanceWindow[];
|
|
239
|
+
}
|
|
240
|
+
interface MaintenanceSchedule {
|
|
241
|
+
/** If the scheduled maintenance can be rescheduled, default is true. */
|
|
242
|
+
canReschedule?: boolean;
|
|
243
|
+
/** Output only. The end time of any upcoming scheduled maintenance for this instance. */
|
|
244
|
+
endTime?: string;
|
|
245
|
+
/** Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule. */
|
|
246
|
+
scheduleDeadlineTime?: string;
|
|
247
|
+
/** Output only. The start time of any upcoming scheduled maintenance for this instance. */
|
|
248
|
+
startTime?: string;
|
|
249
|
+
}
|
|
250
|
+
interface NodeInfo {
|
|
251
|
+
/** Output only. Node identifying string. e.g. 'node-0', 'node-1' */
|
|
252
|
+
id?: string;
|
|
253
|
+
/** Output only. Location of the node. */
|
|
254
|
+
zone?: string;
|
|
255
|
+
}
|
|
256
|
+
interface Operation {
|
|
257
|
+
/** 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. */
|
|
258
|
+
done?: boolean;
|
|
259
|
+
/** The error result of the operation in case of failure or cancellation. */
|
|
260
|
+
error?: Status;
|
|
261
|
+
/**
|
|
262
|
+
* { `createTime`: The time the operation was created. `endTime`: The time the operation finished running. `target`: Server-defined resource path for the target of the operation.
|
|
263
|
+
* `verb`: Name of the verb executed by the operation. `statusDetail`: Human-readable status of the operation, if any. `cancelRequested`: Identifies whether the user has requested
|
|
264
|
+
* 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`.
|
|
265
|
+
* `apiVersion`: API version used to start the operation. }
|
|
266
|
+
*/
|
|
267
|
+
metadata?: { [P in string]: any };
|
|
268
|
+
/**
|
|
269
|
+
* 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
|
|
270
|
+
* with `operations/{unique_id}`.
|
|
271
|
+
*/
|
|
272
|
+
name?: string;
|
|
273
|
+
/**
|
|
274
|
+
* The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
|
|
275
|
+
* 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
|
|
276
|
+
* original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
277
|
+
*/
|
|
278
|
+
response?: { [P in string]: any };
|
|
279
|
+
}
|
|
280
|
+
interface OutputConfig {
|
|
281
|
+
/** Google Cloud Storage destination for output content. */
|
|
282
|
+
gcsDestination?: GcsDestination;
|
|
283
|
+
}
|
|
284
|
+
interface PersistenceConfig {
|
|
285
|
+
/** Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used. */
|
|
286
|
+
persistenceMode?: string;
|
|
287
|
+
/** Output only. The next time that a snapshot attempt is scheduled to occur. */
|
|
288
|
+
rdbNextSnapshotTime?: string;
|
|
289
|
+
/**
|
|
290
|
+
* Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and
|
|
291
|
+
* SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided,
|
|
292
|
+
* TWENTY_FOUR_HOURS will be used as default.
|
|
293
|
+
*/
|
|
294
|
+
rdbSnapshotPeriod?: string;
|
|
295
|
+
/** Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used. */
|
|
296
|
+
rdbSnapshotStartTime?: string;
|
|
297
|
+
}
|
|
298
|
+
interface RescheduleMaintenanceRequest {
|
|
299
|
+
/** Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well. */
|
|
300
|
+
rescheduleType?: string;
|
|
301
|
+
/** Optional. Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:19:00.094Z`. */
|
|
302
|
+
scheduleTime?: string;
|
|
303
|
+
}
|
|
304
|
+
interface Status {
|
|
305
|
+
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
306
|
+
code?: number;
|
|
307
|
+
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
308
|
+
details?: Array<{ [P in string]: any }>;
|
|
309
|
+
/**
|
|
310
|
+
* 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
|
|
311
|
+
* client.
|
|
312
|
+
*/
|
|
313
|
+
message?: string;
|
|
314
|
+
}
|
|
315
|
+
interface TimeOfDay {
|
|
316
|
+
/** Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. */
|
|
317
|
+
hours?: number;
|
|
318
|
+
/** Minutes of hour of day. Must be from 0 to 59. */
|
|
319
|
+
minutes?: number;
|
|
320
|
+
/** Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. */
|
|
321
|
+
nanos?: number;
|
|
322
|
+
/** Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds. */
|
|
323
|
+
seconds?: number;
|
|
324
|
+
}
|
|
325
|
+
interface TlsCertificate {
|
|
326
|
+
/** PEM representation. */
|
|
327
|
+
cert?: string;
|
|
328
|
+
/** Output only. The time when the certificate was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2020-05-18T00:00:00.094Z`. */
|
|
329
|
+
createTime?: string;
|
|
330
|
+
/** Output only. The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2020-05-18T00:00:00.094Z`. */
|
|
331
|
+
expireTime?: string;
|
|
332
|
+
/** Serial number, as extracted from the certificate. */
|
|
333
|
+
serialNumber?: string;
|
|
334
|
+
/** Sha1 Fingerprint of the certificate. */
|
|
335
|
+
sha1Fingerprint?: string;
|
|
336
|
+
}
|
|
337
|
+
interface UpgradeInstanceRequest {
|
|
338
|
+
/** Required. Specifies the target version of Redis software to upgrade to. */
|
|
339
|
+
redisVersion?: string;
|
|
340
|
+
}
|
|
341
|
+
interface WeeklyMaintenanceWindow {
|
|
342
|
+
/** Required. The day of week that maintenance updates occur. */
|
|
343
|
+
day?: string;
|
|
344
|
+
/** Output only. Duration of the maintenance window. The current window is fixed at 1 hour. */
|
|
345
|
+
duration?: string;
|
|
346
|
+
/** Required. Start time of the window in UTC time. */
|
|
347
|
+
startTime?: TimeOfDay;
|
|
348
|
+
}
|
|
349
|
+
interface InstancesResource {
|
|
350
|
+
/**
|
|
351
|
+
* Creates a Redis instance based on the specified tier and memory size. By default, the instance is accessible from the project's [default
|
|
352
|
+
* network](https://cloud.google.com/vpc/docs/vpc). The creation is executed asynchronously and callers may check the returned operation to track its progress. Once the operation is
|
|
353
|
+
* completed the Redis instance will be fully functional. Completed longrunning.Operation will contain the new instance object in the response field. The returned operation is
|
|
354
|
+
* automatically deleted after a few hours, so there is no need to call DeleteOperation.
|
|
355
|
+
*/
|
|
356
|
+
create(request: {
|
|
357
|
+
/** V1 error format. */
|
|
358
|
+
"$.xgafv"?: string;
|
|
359
|
+
/** OAuth access token. */
|
|
360
|
+
access_token?: string;
|
|
361
|
+
/** Data format for response. */
|
|
362
|
+
alt?: string;
|
|
363
|
+
/** JSONP */
|
|
364
|
+
callback?: string;
|
|
365
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
366
|
+
fields?: string;
|
|
367
|
+
/**
|
|
368
|
+
* Required. The logical name of the Redis instance in the customer project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must
|
|
369
|
+
* start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project / location
|
|
370
|
+
*/
|
|
371
|
+
instanceId?: string;
|
|
372
|
+
/** 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. */
|
|
373
|
+
key?: string;
|
|
374
|
+
/** OAuth 2.0 token for the current user. */
|
|
375
|
+
oauth_token?: string;
|
|
376
|
+
/** Required. The resource name of the instance location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region. */
|
|
377
|
+
parent: string;
|
|
378
|
+
/** Returns response with indentations and line breaks. */
|
|
379
|
+
prettyPrint?: boolean;
|
|
380
|
+
/** 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. */
|
|
381
|
+
quotaUser?: string;
|
|
382
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
383
|
+
upload_protocol?: string;
|
|
384
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
385
|
+
uploadType?: string;
|
|
386
|
+
/** Request body */
|
|
387
|
+
resource: Instance;
|
|
388
|
+
}): Request<Operation>;
|
|
389
|
+
create(request: {
|
|
390
|
+
/** V1 error format. */
|
|
391
|
+
"$.xgafv"?: string;
|
|
392
|
+
/** OAuth access token. */
|
|
393
|
+
access_token?: string;
|
|
394
|
+
/** Data format for response. */
|
|
395
|
+
alt?: string;
|
|
396
|
+
/** JSONP */
|
|
397
|
+
callback?: string;
|
|
398
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
399
|
+
fields?: string;
|
|
400
|
+
/**
|
|
401
|
+
* Required. The logical name of the Redis instance in the customer project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must
|
|
402
|
+
* start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project / location
|
|
403
|
+
*/
|
|
404
|
+
instanceId?: string;
|
|
405
|
+
/** 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. */
|
|
406
|
+
key?: string;
|
|
407
|
+
/** OAuth 2.0 token for the current user. */
|
|
408
|
+
oauth_token?: string;
|
|
409
|
+
/** Required. The resource name of the instance location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region. */
|
|
410
|
+
parent: string;
|
|
411
|
+
/** Returns response with indentations and line breaks. */
|
|
412
|
+
prettyPrint?: boolean;
|
|
413
|
+
/** 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. */
|
|
414
|
+
quotaUser?: string;
|
|
415
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
416
|
+
upload_protocol?: string;
|
|
417
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
418
|
+
uploadType?: string;
|
|
419
|
+
},
|
|
420
|
+
body: Instance): Request<Operation>;
|
|
421
|
+
/** Deletes a specific Redis instance. Instance stops serving and data is deleted. */
|
|
422
|
+
delete(request?: {
|
|
423
|
+
/** V1 error format. */
|
|
424
|
+
"$.xgafv"?: string;
|
|
425
|
+
/** OAuth access token. */
|
|
426
|
+
access_token?: string;
|
|
427
|
+
/** Data format for response. */
|
|
428
|
+
alt?: string;
|
|
429
|
+
/** JSONP */
|
|
430
|
+
callback?: string;
|
|
431
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
432
|
+
fields?: string;
|
|
433
|
+
/** 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. */
|
|
434
|
+
key?: string;
|
|
435
|
+
/** Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region. */
|
|
436
|
+
name: string;
|
|
437
|
+
/** OAuth 2.0 token for the current user. */
|
|
438
|
+
oauth_token?: string;
|
|
439
|
+
/** Returns response with indentations and line breaks. */
|
|
440
|
+
prettyPrint?: boolean;
|
|
441
|
+
/** 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. */
|
|
442
|
+
quotaUser?: string;
|
|
443
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
444
|
+
upload_protocol?: string;
|
|
445
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
446
|
+
uploadType?: string;
|
|
447
|
+
}): Request<Operation>;
|
|
448
|
+
/**
|
|
449
|
+
* Export Redis instance data into a Redis RDB format file in Cloud Storage. Redis will continue serving during this operation. The returned operation is automatically deleted after a
|
|
450
|
+
* few hours, so there is no need to call DeleteOperation.
|
|
451
|
+
*/
|
|
452
|
+
export(request: {
|
|
453
|
+
/** V1 error format. */
|
|
454
|
+
"$.xgafv"?: string;
|
|
455
|
+
/** OAuth access token. */
|
|
456
|
+
access_token?: string;
|
|
457
|
+
/** Data format for response. */
|
|
458
|
+
alt?: string;
|
|
459
|
+
/** JSONP */
|
|
460
|
+
callback?: string;
|
|
461
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
462
|
+
fields?: string;
|
|
463
|
+
/** 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. */
|
|
464
|
+
key?: string;
|
|
465
|
+
/** Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region. */
|
|
466
|
+
name: string;
|
|
467
|
+
/** OAuth 2.0 token for the current user. */
|
|
468
|
+
oauth_token?: string;
|
|
469
|
+
/** Returns response with indentations and line breaks. */
|
|
470
|
+
prettyPrint?: boolean;
|
|
471
|
+
/** 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. */
|
|
472
|
+
quotaUser?: string;
|
|
473
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
474
|
+
upload_protocol?: string;
|
|
475
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
476
|
+
uploadType?: string;
|
|
477
|
+
/** Request body */
|
|
478
|
+
resource: ExportInstanceRequest;
|
|
479
|
+
}): Request<Operation>;
|
|
480
|
+
export(request: {
|
|
481
|
+
/** V1 error format. */
|
|
482
|
+
"$.xgafv"?: string;
|
|
483
|
+
/** OAuth access token. */
|
|
484
|
+
access_token?: string;
|
|
485
|
+
/** Data format for response. */
|
|
486
|
+
alt?: string;
|
|
487
|
+
/** JSONP */
|
|
488
|
+
callback?: string;
|
|
489
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
490
|
+
fields?: string;
|
|
491
|
+
/** 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. */
|
|
492
|
+
key?: string;
|
|
493
|
+
/** Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region. */
|
|
494
|
+
name: string;
|
|
495
|
+
/** OAuth 2.0 token for the current user. */
|
|
496
|
+
oauth_token?: string;
|
|
497
|
+
/** Returns response with indentations and line breaks. */
|
|
498
|
+
prettyPrint?: boolean;
|
|
499
|
+
/** 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. */
|
|
500
|
+
quotaUser?: string;
|
|
501
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
502
|
+
upload_protocol?: string;
|
|
503
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
504
|
+
uploadType?: string;
|
|
505
|
+
},
|
|
506
|
+
body: ExportInstanceRequest): Request<Operation>;
|
|
507
|
+
/** Initiates a failover of the primary node to current replica node for a specific STANDARD tier Cloud Memorystore for Redis instance. */
|
|
508
|
+
failover(request: {
|
|
509
|
+
/** V1 error format. */
|
|
510
|
+
"$.xgafv"?: string;
|
|
511
|
+
/** OAuth access token. */
|
|
512
|
+
access_token?: string;
|
|
513
|
+
/** Data format for response. */
|
|
514
|
+
alt?: string;
|
|
515
|
+
/** JSONP */
|
|
516
|
+
callback?: string;
|
|
517
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
518
|
+
fields?: string;
|
|
519
|
+
/** 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. */
|
|
520
|
+
key?: string;
|
|
521
|
+
/** Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region. */
|
|
522
|
+
name: string;
|
|
523
|
+
/** OAuth 2.0 token for the current user. */
|
|
524
|
+
oauth_token?: string;
|
|
525
|
+
/** Returns response with indentations and line breaks. */
|
|
526
|
+
prettyPrint?: boolean;
|
|
527
|
+
/** 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. */
|
|
528
|
+
quotaUser?: string;
|
|
529
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
530
|
+
upload_protocol?: string;
|
|
531
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
532
|
+
uploadType?: string;
|
|
533
|
+
/** Request body */
|
|
534
|
+
resource: FailoverInstanceRequest;
|
|
535
|
+
}): Request<Operation>;
|
|
536
|
+
failover(request: {
|
|
537
|
+
/** V1 error format. */
|
|
538
|
+
"$.xgafv"?: string;
|
|
539
|
+
/** OAuth access token. */
|
|
540
|
+
access_token?: string;
|
|
541
|
+
/** Data format for response. */
|
|
542
|
+
alt?: string;
|
|
543
|
+
/** JSONP */
|
|
544
|
+
callback?: string;
|
|
545
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
546
|
+
fields?: string;
|
|
547
|
+
/** 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. */
|
|
548
|
+
key?: string;
|
|
549
|
+
/** Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region. */
|
|
550
|
+
name: string;
|
|
551
|
+
/** OAuth 2.0 token for the current user. */
|
|
552
|
+
oauth_token?: string;
|
|
553
|
+
/** Returns response with indentations and line breaks. */
|
|
554
|
+
prettyPrint?: boolean;
|
|
555
|
+
/** 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. */
|
|
556
|
+
quotaUser?: string;
|
|
557
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
558
|
+
upload_protocol?: string;
|
|
559
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
560
|
+
uploadType?: string;
|
|
561
|
+
},
|
|
562
|
+
body: FailoverInstanceRequest): Request<Operation>;
|
|
563
|
+
/** Gets the details of a specific Redis instance. */
|
|
564
|
+
get(request?: {
|
|
565
|
+
/** V1 error format. */
|
|
566
|
+
"$.xgafv"?: string;
|
|
567
|
+
/** OAuth access token. */
|
|
568
|
+
access_token?: string;
|
|
569
|
+
/** Data format for response. */
|
|
570
|
+
alt?: string;
|
|
571
|
+
/** JSONP */
|
|
572
|
+
callback?: string;
|
|
573
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
574
|
+
fields?: string;
|
|
575
|
+
/** 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. */
|
|
576
|
+
key?: string;
|
|
577
|
+
/** Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region. */
|
|
578
|
+
name: string;
|
|
579
|
+
/** OAuth 2.0 token for the current user. */
|
|
580
|
+
oauth_token?: string;
|
|
581
|
+
/** Returns response with indentations and line breaks. */
|
|
582
|
+
prettyPrint?: boolean;
|
|
583
|
+
/** 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. */
|
|
584
|
+
quotaUser?: string;
|
|
585
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
586
|
+
upload_protocol?: string;
|
|
587
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
588
|
+
uploadType?: string;
|
|
589
|
+
}): Request<Instance>;
|
|
590
|
+
/**
|
|
591
|
+
* Gets the AUTH string for a Redis instance. If AUTH is not enabled for the instance the response will be empty. This information is not included in the details returned to
|
|
592
|
+
* GetInstance.
|
|
593
|
+
*/
|
|
594
|
+
getAuthString(request?: {
|
|
595
|
+
/** V1 error format. */
|
|
596
|
+
"$.xgafv"?: string;
|
|
597
|
+
/** OAuth access token. */
|
|
598
|
+
access_token?: string;
|
|
599
|
+
/** Data format for response. */
|
|
600
|
+
alt?: string;
|
|
601
|
+
/** JSONP */
|
|
602
|
+
callback?: string;
|
|
603
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
604
|
+
fields?: string;
|
|
605
|
+
/** 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. */
|
|
606
|
+
key?: string;
|
|
607
|
+
/** Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region. */
|
|
608
|
+
name: string;
|
|
609
|
+
/** OAuth 2.0 token for the current user. */
|
|
610
|
+
oauth_token?: string;
|
|
611
|
+
/** Returns response with indentations and line breaks. */
|
|
612
|
+
prettyPrint?: boolean;
|
|
613
|
+
/** 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. */
|
|
614
|
+
quotaUser?: string;
|
|
615
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
616
|
+
upload_protocol?: string;
|
|
617
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
618
|
+
uploadType?: string;
|
|
619
|
+
}): Request<InstanceAuthString>;
|
|
620
|
+
/**
|
|
621
|
+
* Import a Redis RDB snapshot file from Cloud Storage into a Redis instance. Redis may stop serving during this operation. Instance state will be IMPORTING for entire operation. When
|
|
622
|
+
* complete, the instance will contain only data from the imported file. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.
|
|
623
|
+
*/
|
|
624
|
+
import(request: {
|
|
625
|
+
/** V1 error format. */
|
|
626
|
+
"$.xgafv"?: string;
|
|
627
|
+
/** OAuth access token. */
|
|
628
|
+
access_token?: string;
|
|
629
|
+
/** Data format for response. */
|
|
630
|
+
alt?: string;
|
|
631
|
+
/** JSONP */
|
|
632
|
+
callback?: string;
|
|
633
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
634
|
+
fields?: string;
|
|
635
|
+
/** 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. */
|
|
636
|
+
key?: string;
|
|
637
|
+
/** Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region. */
|
|
638
|
+
name: string;
|
|
639
|
+
/** OAuth 2.0 token for the current user. */
|
|
640
|
+
oauth_token?: string;
|
|
641
|
+
/** Returns response with indentations and line breaks. */
|
|
642
|
+
prettyPrint?: boolean;
|
|
643
|
+
/** 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. */
|
|
644
|
+
quotaUser?: string;
|
|
645
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
646
|
+
upload_protocol?: string;
|
|
647
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
648
|
+
uploadType?: string;
|
|
649
|
+
/** Request body */
|
|
650
|
+
resource: ImportInstanceRequest;
|
|
651
|
+
}): Request<Operation>;
|
|
652
|
+
import(request: {
|
|
653
|
+
/** V1 error format. */
|
|
654
|
+
"$.xgafv"?: string;
|
|
655
|
+
/** OAuth access token. */
|
|
656
|
+
access_token?: string;
|
|
657
|
+
/** Data format for response. */
|
|
658
|
+
alt?: string;
|
|
659
|
+
/** JSONP */
|
|
660
|
+
callback?: string;
|
|
661
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
662
|
+
fields?: string;
|
|
663
|
+
/** 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. */
|
|
664
|
+
key?: string;
|
|
665
|
+
/** Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region. */
|
|
666
|
+
name: string;
|
|
667
|
+
/** OAuth 2.0 token for the current user. */
|
|
668
|
+
oauth_token?: string;
|
|
669
|
+
/** Returns response with indentations and line breaks. */
|
|
670
|
+
prettyPrint?: boolean;
|
|
671
|
+
/** 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. */
|
|
672
|
+
quotaUser?: string;
|
|
673
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
674
|
+
upload_protocol?: string;
|
|
675
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
676
|
+
uploadType?: string;
|
|
677
|
+
},
|
|
678
|
+
body: ImportInstanceRequest): Request<Operation>;
|
|
679
|
+
/**
|
|
680
|
+
* Lists all Redis instances owned by a project in either the specified location (region) or all locations. The location should have the following format: *
|
|
681
|
+
* `projects/{project_id}/locations/{location_id}` If `location_id` is specified as `-` (wildcard), then all regions available to the project are queried, and the results are
|
|
682
|
+
* aggregated.
|
|
683
|
+
*/
|
|
684
|
+
list(request?: {
|
|
685
|
+
/** V1 error format. */
|
|
686
|
+
"$.xgafv"?: string;
|
|
687
|
+
/** OAuth access token. */
|
|
688
|
+
access_token?: string;
|
|
689
|
+
/** Data format for response. */
|
|
690
|
+
alt?: string;
|
|
691
|
+
/** JSONP */
|
|
692
|
+
callback?: string;
|
|
693
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
694
|
+
fields?: string;
|
|
695
|
+
/** 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. */
|
|
696
|
+
key?: string;
|
|
697
|
+
/** OAuth 2.0 token for the current user. */
|
|
698
|
+
oauth_token?: string;
|
|
699
|
+
/**
|
|
700
|
+
* The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a
|
|
701
|
+
* partial list and a caller should only rely on response's `next_page_token` to determine if there are more instances left to be queried.
|
|
702
|
+
*/
|
|
703
|
+
pageSize?: number;
|
|
704
|
+
/** The `next_page_token` value returned from a previous ListInstances request, if any. */
|
|
705
|
+
pageToken?: string;
|
|
706
|
+
/** Required. The resource name of the instance location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region. */
|
|
707
|
+
parent: string;
|
|
708
|
+
/** Returns response with indentations and line breaks. */
|
|
709
|
+
prettyPrint?: boolean;
|
|
710
|
+
/** 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. */
|
|
711
|
+
quotaUser?: string;
|
|
712
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
713
|
+
upload_protocol?: string;
|
|
714
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
715
|
+
uploadType?: string;
|
|
716
|
+
}): Request<ListInstancesResponse>;
|
|
717
|
+
/**
|
|
718
|
+
* Updates the metadata and configuration of a specific Redis instance. Completed longrunning.Operation will contain the new instance object in the response field. The returned
|
|
719
|
+
* operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.
|
|
720
|
+
*/
|
|
721
|
+
patch(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
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
731
|
+
fields?: string;
|
|
732
|
+
/** 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. */
|
|
733
|
+
key?: string;
|
|
734
|
+
/**
|
|
735
|
+
* Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note:
|
|
736
|
+
* Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for
|
|
737
|
+
* cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details.
|
|
738
|
+
*/
|
|
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
|
+
/**
|
|
747
|
+
* Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Instance: *
|
|
748
|
+
* `displayName` * `labels` * `memorySizeGb` * `redisConfig` * `replica_count`
|
|
749
|
+
*/
|
|
750
|
+
updateMask?: string;
|
|
751
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
752
|
+
upload_protocol?: string;
|
|
753
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
754
|
+
uploadType?: string;
|
|
755
|
+
/** Request body */
|
|
756
|
+
resource: Instance;
|
|
757
|
+
}): Request<Operation>;
|
|
758
|
+
patch(request: {
|
|
759
|
+
/** V1 error format. */
|
|
760
|
+
"$.xgafv"?: string;
|
|
761
|
+
/** OAuth access token. */
|
|
762
|
+
access_token?: string;
|
|
763
|
+
/** Data format for response. */
|
|
764
|
+
alt?: string;
|
|
765
|
+
/** JSONP */
|
|
766
|
+
callback?: string;
|
|
767
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
768
|
+
fields?: string;
|
|
769
|
+
/** 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. */
|
|
770
|
+
key?: string;
|
|
771
|
+
/**
|
|
772
|
+
* Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note:
|
|
773
|
+
* Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for
|
|
774
|
+
* cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details.
|
|
775
|
+
*/
|
|
776
|
+
name: string;
|
|
777
|
+
/** OAuth 2.0 token for the current user. */
|
|
778
|
+
oauth_token?: string;
|
|
779
|
+
/** Returns response with indentations and line breaks. */
|
|
780
|
+
prettyPrint?: boolean;
|
|
781
|
+
/** 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. */
|
|
782
|
+
quotaUser?: string;
|
|
783
|
+
/**
|
|
784
|
+
* Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Instance: *
|
|
785
|
+
* `displayName` * `labels` * `memorySizeGb` * `redisConfig` * `replica_count`
|
|
786
|
+
*/
|
|
787
|
+
updateMask?: string;
|
|
788
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
789
|
+
upload_protocol?: string;
|
|
790
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
791
|
+
uploadType?: string;
|
|
792
|
+
},
|
|
793
|
+
body: Instance): Request<Operation>;
|
|
794
|
+
/** Reschedule maintenance for a given instance in a given project and location. */
|
|
795
|
+
rescheduleMaintenance(request: {
|
|
796
|
+
/** V1 error format. */
|
|
797
|
+
"$.xgafv"?: string;
|
|
798
|
+
/** OAuth access token. */
|
|
799
|
+
access_token?: string;
|
|
800
|
+
/** Data format for response. */
|
|
801
|
+
alt?: string;
|
|
802
|
+
/** JSONP */
|
|
803
|
+
callback?: string;
|
|
804
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
805
|
+
fields?: string;
|
|
806
|
+
/** 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. */
|
|
807
|
+
key?: string;
|
|
808
|
+
/** Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region. */
|
|
809
|
+
name: string;
|
|
810
|
+
/** OAuth 2.0 token for the current user. */
|
|
811
|
+
oauth_token?: string;
|
|
812
|
+
/** Returns response with indentations and line breaks. */
|
|
813
|
+
prettyPrint?: boolean;
|
|
814
|
+
/** 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. */
|
|
815
|
+
quotaUser?: string;
|
|
816
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
817
|
+
upload_protocol?: string;
|
|
818
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
819
|
+
uploadType?: string;
|
|
820
|
+
/** Request body */
|
|
821
|
+
resource: RescheduleMaintenanceRequest;
|
|
822
|
+
}): Request<Operation>;
|
|
823
|
+
rescheduleMaintenance(request: {
|
|
824
|
+
/** V1 error format. */
|
|
825
|
+
"$.xgafv"?: string;
|
|
826
|
+
/** OAuth access token. */
|
|
827
|
+
access_token?: string;
|
|
828
|
+
/** Data format for response. */
|
|
829
|
+
alt?: string;
|
|
830
|
+
/** JSONP */
|
|
831
|
+
callback?: string;
|
|
832
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
833
|
+
fields?: string;
|
|
834
|
+
/** 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. */
|
|
835
|
+
key?: string;
|
|
836
|
+
/** Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region. */
|
|
837
|
+
name: string;
|
|
838
|
+
/** OAuth 2.0 token for the current user. */
|
|
839
|
+
oauth_token?: string;
|
|
840
|
+
/** Returns response with indentations and line breaks. */
|
|
841
|
+
prettyPrint?: boolean;
|
|
842
|
+
/** 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. */
|
|
843
|
+
quotaUser?: string;
|
|
844
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
845
|
+
upload_protocol?: string;
|
|
846
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
847
|
+
uploadType?: string;
|
|
848
|
+
},
|
|
849
|
+
body: RescheduleMaintenanceRequest): Request<Operation>;
|
|
850
|
+
/** Upgrades Redis instance to the newer Redis version specified in the request. */
|
|
851
|
+
upgrade(request: {
|
|
852
|
+
/** V1 error format. */
|
|
853
|
+
"$.xgafv"?: string;
|
|
854
|
+
/** OAuth access token. */
|
|
855
|
+
access_token?: string;
|
|
856
|
+
/** Data format for response. */
|
|
857
|
+
alt?: string;
|
|
858
|
+
/** JSONP */
|
|
859
|
+
callback?: string;
|
|
860
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
861
|
+
fields?: string;
|
|
862
|
+
/** 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. */
|
|
863
|
+
key?: string;
|
|
864
|
+
/** Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region. */
|
|
865
|
+
name: string;
|
|
866
|
+
/** OAuth 2.0 token for the current user. */
|
|
867
|
+
oauth_token?: string;
|
|
868
|
+
/** Returns response with indentations and line breaks. */
|
|
869
|
+
prettyPrint?: boolean;
|
|
870
|
+
/** 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. */
|
|
871
|
+
quotaUser?: string;
|
|
872
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
873
|
+
upload_protocol?: string;
|
|
874
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
875
|
+
uploadType?: string;
|
|
876
|
+
/** Request body */
|
|
877
|
+
resource: UpgradeInstanceRequest;
|
|
878
|
+
}): Request<Operation>;
|
|
879
|
+
upgrade(request: {
|
|
880
|
+
/** V1 error format. */
|
|
881
|
+
"$.xgafv"?: string;
|
|
882
|
+
/** OAuth access token. */
|
|
883
|
+
access_token?: string;
|
|
884
|
+
/** Data format for response. */
|
|
885
|
+
alt?: string;
|
|
886
|
+
/** JSONP */
|
|
887
|
+
callback?: string;
|
|
888
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
889
|
+
fields?: string;
|
|
890
|
+
/** 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. */
|
|
891
|
+
key?: string;
|
|
892
|
+
/** Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region. */
|
|
893
|
+
name: string;
|
|
894
|
+
/** OAuth 2.0 token for the current user. */
|
|
895
|
+
oauth_token?: string;
|
|
896
|
+
/** Returns response with indentations and line breaks. */
|
|
897
|
+
prettyPrint?: boolean;
|
|
898
|
+
/** 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. */
|
|
899
|
+
quotaUser?: string;
|
|
900
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
901
|
+
upload_protocol?: string;
|
|
902
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
903
|
+
uploadType?: string;
|
|
904
|
+
},
|
|
905
|
+
body: UpgradeInstanceRequest): Request<Operation>;
|
|
906
|
+
}
|
|
907
|
+
interface OperationsResource {
|
|
908
|
+
/**
|
|
909
|
+
* 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
|
|
910
|
+
* 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
|
|
911
|
+
* operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
|
|
912
|
+
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
913
|
+
*/
|
|
914
|
+
cancel(request?: {
|
|
915
|
+
/** V1 error format. */
|
|
916
|
+
"$.xgafv"?: string;
|
|
917
|
+
/** OAuth access token. */
|
|
918
|
+
access_token?: string;
|
|
919
|
+
/** Data format for response. */
|
|
920
|
+
alt?: string;
|
|
921
|
+
/** JSONP */
|
|
922
|
+
callback?: string;
|
|
923
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
924
|
+
fields?: string;
|
|
925
|
+
/** 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. */
|
|
926
|
+
key?: string;
|
|
927
|
+
/** The name of the operation resource to be cancelled. */
|
|
928
|
+
name: string;
|
|
929
|
+
/** OAuth 2.0 token for the current user. */
|
|
930
|
+
oauth_token?: string;
|
|
931
|
+
/** Returns response with indentations and line breaks. */
|
|
932
|
+
prettyPrint?: boolean;
|
|
933
|
+
/** 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. */
|
|
934
|
+
quotaUser?: string;
|
|
935
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
936
|
+
upload_protocol?: string;
|
|
937
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
938
|
+
uploadType?: string;
|
|
939
|
+
}): Request<{}>;
|
|
940
|
+
/**
|
|
941
|
+
* 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
|
|
942
|
+
* support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
943
|
+
*/
|
|
944
|
+
delete(request?: {
|
|
945
|
+
/** V1 error format. */
|
|
946
|
+
"$.xgafv"?: string;
|
|
947
|
+
/** OAuth access token. */
|
|
948
|
+
access_token?: string;
|
|
949
|
+
/** Data format for response. */
|
|
950
|
+
alt?: string;
|
|
951
|
+
/** JSONP */
|
|
952
|
+
callback?: string;
|
|
953
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
954
|
+
fields?: string;
|
|
955
|
+
/** 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. */
|
|
956
|
+
key?: string;
|
|
957
|
+
/** The name of the operation resource to be deleted. */
|
|
958
|
+
name: string;
|
|
959
|
+
/** OAuth 2.0 token for the current user. */
|
|
960
|
+
oauth_token?: string;
|
|
961
|
+
/** Returns response with indentations and line breaks. */
|
|
962
|
+
prettyPrint?: boolean;
|
|
963
|
+
/** 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. */
|
|
964
|
+
quotaUser?: string;
|
|
965
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
966
|
+
upload_protocol?: string;
|
|
967
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
968
|
+
uploadType?: string;
|
|
969
|
+
}): Request<{}>;
|
|
970
|
+
/** 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. */
|
|
971
|
+
get(request?: {
|
|
972
|
+
/** V1 error format. */
|
|
973
|
+
"$.xgafv"?: string;
|
|
974
|
+
/** OAuth access token. */
|
|
975
|
+
access_token?: string;
|
|
976
|
+
/** Data format for response. */
|
|
977
|
+
alt?: string;
|
|
978
|
+
/** JSONP */
|
|
979
|
+
callback?: string;
|
|
980
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
981
|
+
fields?: string;
|
|
982
|
+
/** 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. */
|
|
983
|
+
key?: string;
|
|
984
|
+
/** The name of the operation resource. */
|
|
985
|
+
name: string;
|
|
986
|
+
/** OAuth 2.0 token for the current user. */
|
|
987
|
+
oauth_token?: string;
|
|
988
|
+
/** Returns response with indentations and line breaks. */
|
|
989
|
+
prettyPrint?: boolean;
|
|
990
|
+
/** 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. */
|
|
991
|
+
quotaUser?: string;
|
|
992
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
993
|
+
upload_protocol?: string;
|
|
994
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
995
|
+
uploadType?: string;
|
|
996
|
+
}): Request<Operation>;
|
|
997
|
+
/**
|
|
998
|
+
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
|
|
999
|
+
* to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as
|
|
1000
|
+
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
1001
|
+
* ensure the name binding is the parent resource, without the operations collection id.
|
|
1002
|
+
*/
|
|
1003
|
+
list(request?: {
|
|
1004
|
+
/** V1 error format. */
|
|
1005
|
+
"$.xgafv"?: string;
|
|
1006
|
+
/** OAuth access token. */
|
|
1007
|
+
access_token?: string;
|
|
1008
|
+
/** Data format for response. */
|
|
1009
|
+
alt?: string;
|
|
1010
|
+
/** JSONP */
|
|
1011
|
+
callback?: string;
|
|
1012
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1013
|
+
fields?: string;
|
|
1014
|
+
/** The standard list filter. */
|
|
1015
|
+
filter?: string;
|
|
1016
|
+
/** 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. */
|
|
1017
|
+
key?: string;
|
|
1018
|
+
/** The name of the operation's parent resource. */
|
|
1019
|
+
name: string;
|
|
1020
|
+
/** OAuth 2.0 token for the current user. */
|
|
1021
|
+
oauth_token?: string;
|
|
1022
|
+
/** The standard list page size. */
|
|
1023
|
+
pageSize?: number;
|
|
1024
|
+
/** The standard list page token. */
|
|
1025
|
+
pageToken?: string;
|
|
1026
|
+
/** Returns response with indentations and line breaks. */
|
|
1027
|
+
prettyPrint?: boolean;
|
|
1028
|
+
/** 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. */
|
|
1029
|
+
quotaUser?: string;
|
|
1030
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1031
|
+
upload_protocol?: string;
|
|
1032
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1033
|
+
uploadType?: string;
|
|
1034
|
+
}): Request<ListOperationsResponse>;
|
|
1035
|
+
}
|
|
1036
|
+
interface LocationsResource {
|
|
1037
|
+
/** Gets information about a location. */
|
|
1038
|
+
get(request?: {
|
|
1039
|
+
/** V1 error format. */
|
|
1040
|
+
"$.xgafv"?: string;
|
|
1041
|
+
/** OAuth access token. */
|
|
1042
|
+
access_token?: string;
|
|
1043
|
+
/** Data format for response. */
|
|
1044
|
+
alt?: string;
|
|
1045
|
+
/** JSONP */
|
|
1046
|
+
callback?: string;
|
|
1047
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1048
|
+
fields?: string;
|
|
1049
|
+
/** 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. */
|
|
1050
|
+
key?: string;
|
|
1051
|
+
/** Resource name for the location. */
|
|
1052
|
+
name: string;
|
|
1053
|
+
/** OAuth 2.0 token for the current user. */
|
|
1054
|
+
oauth_token?: string;
|
|
1055
|
+
/** Returns response with indentations and line breaks. */
|
|
1056
|
+
prettyPrint?: boolean;
|
|
1057
|
+
/** 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. */
|
|
1058
|
+
quotaUser?: string;
|
|
1059
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1060
|
+
upload_protocol?: string;
|
|
1061
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1062
|
+
uploadType?: string;
|
|
1063
|
+
}): Request<Location>;
|
|
1064
|
+
/** Lists information about the supported locations for this service. */
|
|
1065
|
+
list(request?: {
|
|
1066
|
+
/** V1 error format. */
|
|
1067
|
+
"$.xgafv"?: string;
|
|
1068
|
+
/** OAuth access token. */
|
|
1069
|
+
access_token?: string;
|
|
1070
|
+
/** Data format for response. */
|
|
1071
|
+
alt?: string;
|
|
1072
|
+
/** JSONP */
|
|
1073
|
+
callback?: string;
|
|
1074
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1075
|
+
fields?: string;
|
|
1076
|
+
/**
|
|
1077
|
+
* 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
|
|
1078
|
+
* [AIP-160](https://google.aip.dev/160).
|
|
1079
|
+
*/
|
|
1080
|
+
filter?: string;
|
|
1081
|
+
/** 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. */
|
|
1082
|
+
key?: string;
|
|
1083
|
+
/** The resource that owns the locations collection, if applicable. */
|
|
1084
|
+
name: string;
|
|
1085
|
+
/** OAuth 2.0 token for the current user. */
|
|
1086
|
+
oauth_token?: string;
|
|
1087
|
+
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
1088
|
+
pageSize?: number;
|
|
1089
|
+
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
1090
|
+
pageToken?: string;
|
|
1091
|
+
/** Returns response with indentations and line breaks. */
|
|
1092
|
+
prettyPrint?: boolean;
|
|
1093
|
+
/** 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. */
|
|
1094
|
+
quotaUser?: string;
|
|
1095
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1096
|
+
upload_protocol?: string;
|
|
1097
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1098
|
+
uploadType?: string;
|
|
1099
|
+
}): Request<ListLocationsResponse>;
|
|
1100
|
+
instances: InstancesResource;
|
|
1101
|
+
operations: OperationsResource;
|
|
1102
|
+
}
|
|
1103
|
+
interface ProjectsResource {
|
|
1104
|
+
locations: LocationsResource;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
const projects: ProjectsResource;
|
|
1108
|
+
}
|
|
1109
|
+
}
|