@maxim_mazurok/gapi.client.analyticshub-v1 0.0.20220923
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 +1017 -0
- package/package.json +20 -0
- package/readme.md +71 -0
- package/tests.ts +277 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,1017 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Analytics Hub API v1 0.0 */
|
|
2
|
+
// Project: https://cloud.google.com/bigquery/docs/analytics-hub-introduction
|
|
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://analyticshub.googleapis.com/$discovery/rest?version=v1
|
|
12
|
+
// Revision: 20220923
|
|
13
|
+
|
|
14
|
+
/// <reference types="gapi.client" />
|
|
15
|
+
|
|
16
|
+
declare namespace gapi.client {
|
|
17
|
+
/** Load Analytics Hub API v1 */
|
|
18
|
+
function load(urlOrObject: "https://analyticshub.googleapis.com/$discovery/rest?version=v1"): Promise<void>;
|
|
19
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
20
|
+
function load(name: "analyticshub", version: "v1"): Promise<void>;
|
|
21
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
22
|
+
function load(name: "analyticshub", version: "v1", callback: () => any): void;
|
|
23
|
+
|
|
24
|
+
namespace analyticshub {
|
|
25
|
+
interface AuditConfig {
|
|
26
|
+
/** The configuration for logging of each type of permission. */
|
|
27
|
+
auditLogConfigs?: AuditLogConfig[];
|
|
28
|
+
/**
|
|
29
|
+
* 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
|
|
30
|
+
* services.
|
|
31
|
+
*/
|
|
32
|
+
service?: string;
|
|
33
|
+
}
|
|
34
|
+
interface AuditLogConfig {
|
|
35
|
+
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
36
|
+
exemptedMembers?: string[];
|
|
37
|
+
/** The log type that this config enables. */
|
|
38
|
+
logType?: string;
|
|
39
|
+
}
|
|
40
|
+
interface BigQueryDatasetSource {
|
|
41
|
+
/** Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123` */
|
|
42
|
+
dataset?: string;
|
|
43
|
+
}
|
|
44
|
+
interface Binding {
|
|
45
|
+
/**
|
|
46
|
+
* 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`,
|
|
47
|
+
* 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
|
|
48
|
+
* resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
49
|
+
*/
|
|
50
|
+
condition?: Expr;
|
|
51
|
+
/**
|
|
52
|
+
* 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
|
|
53
|
+
* 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
|
|
54
|
+
* account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific
|
|
55
|
+
* Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example,
|
|
56
|
+
* `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service
|
|
57
|
+
* 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]`. *
|
|
58
|
+
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
59
|
+
* 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
|
|
60
|
+
* `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing
|
|
61
|
+
* 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
|
|
62
|
+
* 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
|
|
63
|
+
* 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
|
|
64
|
+
* `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For
|
|
65
|
+
* example, `google.com` or `example.com`.
|
|
66
|
+
*/
|
|
67
|
+
members?: string[];
|
|
68
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
69
|
+
role?: string;
|
|
70
|
+
}
|
|
71
|
+
interface DataExchange {
|
|
72
|
+
/**
|
|
73
|
+
* Optional. Description of the data exchange. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage
|
|
74
|
+
* returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
|
|
75
|
+
*/
|
|
76
|
+
description?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Required. Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands
|
|
79
|
+
* (&) and must not start or end with spaces. Default value is an empty string. Max length: 63 bytes.
|
|
80
|
+
*/
|
|
81
|
+
displayName?: string;
|
|
82
|
+
/** Optional. Documentation describing the data exchange. */
|
|
83
|
+
documentation?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the
|
|
86
|
+
* encoded data. Note: For byte fields, the content of the fields are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.
|
|
87
|
+
*/
|
|
88
|
+
icon?: string;
|
|
89
|
+
/** Output only. Number of listings contained in the data exchange. */
|
|
90
|
+
listingCount?: number;
|
|
91
|
+
/** Output only. The resource name of the data exchange. e.g. `projects/myproject/locations/US/dataExchanges/123`. */
|
|
92
|
+
name?: string;
|
|
93
|
+
/** Optional. Email or URL of the primary point of contact of the data exchange. Max Length: 1000 bytes. */
|
|
94
|
+
primaryContact?: string;
|
|
95
|
+
}
|
|
96
|
+
interface DataProvider {
|
|
97
|
+
/** Optional. Name of the data provider. */
|
|
98
|
+
name?: string;
|
|
99
|
+
/** Optional. Email or URL of the data provider. Max Length: 1000 bytes. */
|
|
100
|
+
primaryContact?: string;
|
|
101
|
+
}
|
|
102
|
+
interface DestinationDataset {
|
|
103
|
+
/** Required. A reference that identifies the destination dataset. */
|
|
104
|
+
datasetReference?: DestinationDatasetReference;
|
|
105
|
+
/** Optional. A user-friendly description of the dataset. */
|
|
106
|
+
description?: string;
|
|
107
|
+
/** Optional. A descriptive name for the dataset. */
|
|
108
|
+
friendlyName?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Optional. The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See
|
|
111
|
+
* https://cloud.google.com/resource-manager/docs/creating-managing-labels for more information.
|
|
112
|
+
*/
|
|
113
|
+
labels?: { [P in string]: string };
|
|
114
|
+
/** Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations. */
|
|
115
|
+
location?: string;
|
|
116
|
+
}
|
|
117
|
+
interface DestinationDatasetReference {
|
|
118
|
+
/**
|
|
119
|
+
* Required. A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024
|
|
120
|
+
* characters.
|
|
121
|
+
*/
|
|
122
|
+
datasetId?: string;
|
|
123
|
+
/** Required. The ID of the project containing this dataset. */
|
|
124
|
+
projectId?: string;
|
|
125
|
+
}
|
|
126
|
+
// tslint:disable-next-line:no-empty-interface
|
|
127
|
+
interface Empty {
|
|
128
|
+
}
|
|
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 GetIamPolicyRequest {
|
|
140
|
+
/** OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`. */
|
|
141
|
+
options?: GetPolicyOptions;
|
|
142
|
+
}
|
|
143
|
+
interface GetPolicyOptions {
|
|
144
|
+
/**
|
|
145
|
+
* 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
|
|
146
|
+
* 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
|
|
147
|
+
* 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
|
|
148
|
+
* bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
149
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
150
|
+
*/
|
|
151
|
+
requestedPolicyVersion?: number;
|
|
152
|
+
}
|
|
153
|
+
interface ListDataExchangesResponse {
|
|
154
|
+
/** The list of data exchanges. */
|
|
155
|
+
dataExchanges?: DataExchange[];
|
|
156
|
+
/** A token to request the next page of results. */
|
|
157
|
+
nextPageToken?: string;
|
|
158
|
+
}
|
|
159
|
+
interface Listing {
|
|
160
|
+
/** Required. Shared dataset i.e. BigQuery dataset source. */
|
|
161
|
+
bigqueryDataset?: BigQueryDatasetSource;
|
|
162
|
+
/** Optional. Categories of the listing. Up to two categories are allowed. */
|
|
163
|
+
categories?: string[];
|
|
164
|
+
/** Optional. Details of the data provider who owns the source data. */
|
|
165
|
+
dataProvider?: DataProvider;
|
|
166
|
+
/**
|
|
167
|
+
* Optional. Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns
|
|
168
|
+
* (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
|
|
169
|
+
*/
|
|
170
|
+
description?: string;
|
|
171
|
+
/**
|
|
172
|
+
* Required. Human-readable display name of the listing. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and
|
|
173
|
+
* can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
|
|
174
|
+
*/
|
|
175
|
+
displayName?: string;
|
|
176
|
+
/** Optional. Documentation describing the listing. */
|
|
177
|
+
documentation?: string;
|
|
178
|
+
/**
|
|
179
|
+
* Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the
|
|
180
|
+
* encoded data. Note: For byte fields, the contents of the field are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.
|
|
181
|
+
*/
|
|
182
|
+
icon?: string;
|
|
183
|
+
/** Output only. The resource name of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456` */
|
|
184
|
+
name?: string;
|
|
185
|
+
/** Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes. */
|
|
186
|
+
primaryContact?: string;
|
|
187
|
+
/** Optional. Details of the publisher who owns the listing and who can share the source data. */
|
|
188
|
+
publisher?: Publisher;
|
|
189
|
+
/** Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes. */
|
|
190
|
+
requestAccess?: string;
|
|
191
|
+
/** Output only. Current state of the listing. */
|
|
192
|
+
state?: string;
|
|
193
|
+
}
|
|
194
|
+
interface ListListingsResponse {
|
|
195
|
+
/** The list of Listing. */
|
|
196
|
+
listings?: Listing[];
|
|
197
|
+
/** A token to request the next page of results. */
|
|
198
|
+
nextPageToken?: string;
|
|
199
|
+
}
|
|
200
|
+
interface ListOrgDataExchangesResponse {
|
|
201
|
+
/** The list of data exchanges. */
|
|
202
|
+
dataExchanges?: DataExchange[];
|
|
203
|
+
/** A token to request the next page of results. */
|
|
204
|
+
nextPageToken?: string;
|
|
205
|
+
}
|
|
206
|
+
interface OperationMetadata {
|
|
207
|
+
/** Output only. API version used to start the operation. */
|
|
208
|
+
apiVersion?: string;
|
|
209
|
+
/**
|
|
210
|
+
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a
|
|
211
|
+
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
212
|
+
*/
|
|
213
|
+
cancelRequested?: boolean;
|
|
214
|
+
/** Output only. The time the operation was created. */
|
|
215
|
+
createTime?: string;
|
|
216
|
+
/** Output only. The time the operation finished running. */
|
|
217
|
+
endTime?: string;
|
|
218
|
+
/** Output only. Human-readable status of the operation, if any. */
|
|
219
|
+
statusDetail?: string;
|
|
220
|
+
/** Output only. Server-defined resource path for the target of the operation. */
|
|
221
|
+
target?: string;
|
|
222
|
+
/** Output only. Name of the verb executed by the operation. */
|
|
223
|
+
verb?: string;
|
|
224
|
+
}
|
|
225
|
+
interface Policy {
|
|
226
|
+
/** Specifies cloud audit logging configuration for this policy. */
|
|
227
|
+
auditConfigs?: AuditConfig[];
|
|
228
|
+
/**
|
|
229
|
+
* 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`
|
|
230
|
+
* 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
|
|
231
|
+
* 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
|
|
232
|
+
* 1,450 principals to the `bindings` in the `Policy`.
|
|
233
|
+
*/
|
|
234
|
+
bindings?: Binding[];
|
|
235
|
+
/**
|
|
236
|
+
* `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
|
|
237
|
+
* 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
|
|
238
|
+
* 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
|
|
239
|
+
* 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`
|
|
240
|
+
* policy, and all of the conditions in the version `3` policy are lost.
|
|
241
|
+
*/
|
|
242
|
+
etag?: string;
|
|
243
|
+
/**
|
|
244
|
+
* 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
|
|
245
|
+
* 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
|
|
246
|
+
* 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
|
|
247
|
+
* 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`
|
|
248
|
+
* 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
|
|
249
|
+
* 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).
|
|
250
|
+
*/
|
|
251
|
+
version?: number;
|
|
252
|
+
}
|
|
253
|
+
interface Publisher {
|
|
254
|
+
/** Optional. Name of the listing publisher. */
|
|
255
|
+
name?: string;
|
|
256
|
+
/** Optional. Email or URL of the listing publisher. Max Length: 1000 bytes. */
|
|
257
|
+
primaryContact?: string;
|
|
258
|
+
}
|
|
259
|
+
interface SetIamPolicyRequest {
|
|
260
|
+
/**
|
|
261
|
+
* 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
|
|
262
|
+
* services (such as Projects) might reject them.
|
|
263
|
+
*/
|
|
264
|
+
policy?: Policy;
|
|
265
|
+
/**
|
|
266
|
+
* 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:
|
|
267
|
+
* `paths: "bindings, etag"`
|
|
268
|
+
*/
|
|
269
|
+
updateMask?: string;
|
|
270
|
+
}
|
|
271
|
+
interface SubscribeListingRequest {
|
|
272
|
+
/** BigQuery destination dataset to create for the subscriber. */
|
|
273
|
+
destinationDataset?: DestinationDataset;
|
|
274
|
+
}
|
|
275
|
+
// tslint:disable-next-line:no-empty-interface
|
|
276
|
+
interface SubscribeListingResponse {
|
|
277
|
+
}
|
|
278
|
+
interface TestIamPermissionsRequest {
|
|
279
|
+
/**
|
|
280
|
+
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
281
|
+
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
282
|
+
*/
|
|
283
|
+
permissions?: string[];
|
|
284
|
+
}
|
|
285
|
+
interface TestIamPermissionsResponse {
|
|
286
|
+
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
287
|
+
permissions?: string[];
|
|
288
|
+
}
|
|
289
|
+
interface DataExchangesResource {
|
|
290
|
+
/** Lists all data exchanges from projects in a given organization and location. */
|
|
291
|
+
list(request?: {
|
|
292
|
+
/** V1 error format. */
|
|
293
|
+
"$.xgafv"?: string;
|
|
294
|
+
/** OAuth access token. */
|
|
295
|
+
access_token?: string;
|
|
296
|
+
/** Data format for response. */
|
|
297
|
+
alt?: string;
|
|
298
|
+
/** JSONP */
|
|
299
|
+
callback?: string;
|
|
300
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
301
|
+
fields?: string;
|
|
302
|
+
/** 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. */
|
|
303
|
+
key?: string;
|
|
304
|
+
/** OAuth 2.0 token for the current user. */
|
|
305
|
+
oauth_token?: string;
|
|
306
|
+
/** Required. The organization resource path of the projects containing DataExchanges. e.g. `organizations/myorg/locations/US`. */
|
|
307
|
+
organization: string;
|
|
308
|
+
/** The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection. */
|
|
309
|
+
pageSize?: number;
|
|
310
|
+
/** Page token, returned by a previous call, to request the next page of results. */
|
|
311
|
+
pageToken?: string;
|
|
312
|
+
/** Returns response with indentations and line breaks. */
|
|
313
|
+
prettyPrint?: boolean;
|
|
314
|
+
/** 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. */
|
|
315
|
+
quotaUser?: string;
|
|
316
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
317
|
+
upload_protocol?: string;
|
|
318
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
319
|
+
uploadType?: string;
|
|
320
|
+
}): Request<ListOrgDataExchangesResponse>;
|
|
321
|
+
}
|
|
322
|
+
interface LocationsResource {
|
|
323
|
+
dataExchanges: DataExchangesResource;
|
|
324
|
+
}
|
|
325
|
+
interface OrganizationsResource {
|
|
326
|
+
locations: LocationsResource;
|
|
327
|
+
}
|
|
328
|
+
interface ListingsResource {
|
|
329
|
+
/** Creates a new listing. */
|
|
330
|
+
create(request: {
|
|
331
|
+
/** V1 error format. */
|
|
332
|
+
"$.xgafv"?: string;
|
|
333
|
+
/** OAuth access token. */
|
|
334
|
+
access_token?: string;
|
|
335
|
+
/** Data format for response. */
|
|
336
|
+
alt?: string;
|
|
337
|
+
/** JSONP */
|
|
338
|
+
callback?: string;
|
|
339
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
340
|
+
fields?: string;
|
|
341
|
+
/** 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. */
|
|
342
|
+
key?: string;
|
|
343
|
+
/**
|
|
344
|
+
* Required. The ID of the listing to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters
|
|
345
|
+
* outside of ASCII, spaces. Max length: 100 bytes.
|
|
346
|
+
*/
|
|
347
|
+
listingId?: string;
|
|
348
|
+
/** OAuth 2.0 token for the current user. */
|
|
349
|
+
oauth_token?: string;
|
|
350
|
+
/** Required. The parent resource path of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123`. */
|
|
351
|
+
parent: string;
|
|
352
|
+
/** Returns response with indentations and line breaks. */
|
|
353
|
+
prettyPrint?: boolean;
|
|
354
|
+
/** 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. */
|
|
355
|
+
quotaUser?: string;
|
|
356
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
357
|
+
upload_protocol?: string;
|
|
358
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
359
|
+
uploadType?: string;
|
|
360
|
+
/** Request body */
|
|
361
|
+
resource: Listing;
|
|
362
|
+
}): Request<Listing>;
|
|
363
|
+
create(request: {
|
|
364
|
+
/** V1 error format. */
|
|
365
|
+
"$.xgafv"?: string;
|
|
366
|
+
/** OAuth access token. */
|
|
367
|
+
access_token?: string;
|
|
368
|
+
/** Data format for response. */
|
|
369
|
+
alt?: string;
|
|
370
|
+
/** JSONP */
|
|
371
|
+
callback?: string;
|
|
372
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
373
|
+
fields?: string;
|
|
374
|
+
/** 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. */
|
|
375
|
+
key?: string;
|
|
376
|
+
/**
|
|
377
|
+
* Required. The ID of the listing to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters
|
|
378
|
+
* outside of ASCII, spaces. Max length: 100 bytes.
|
|
379
|
+
*/
|
|
380
|
+
listingId?: string;
|
|
381
|
+
/** OAuth 2.0 token for the current user. */
|
|
382
|
+
oauth_token?: string;
|
|
383
|
+
/** Required. The parent resource path of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123`. */
|
|
384
|
+
parent: string;
|
|
385
|
+
/** Returns response with indentations and line breaks. */
|
|
386
|
+
prettyPrint?: boolean;
|
|
387
|
+
/** 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. */
|
|
388
|
+
quotaUser?: string;
|
|
389
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
390
|
+
upload_protocol?: string;
|
|
391
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
392
|
+
uploadType?: string;
|
|
393
|
+
},
|
|
394
|
+
body: Listing): Request<Listing>;
|
|
395
|
+
/** Deletes a listing. */
|
|
396
|
+
delete(request?: {
|
|
397
|
+
/** V1 error format. */
|
|
398
|
+
"$.xgafv"?: string;
|
|
399
|
+
/** OAuth access token. */
|
|
400
|
+
access_token?: string;
|
|
401
|
+
/** Data format for response. */
|
|
402
|
+
alt?: string;
|
|
403
|
+
/** JSONP */
|
|
404
|
+
callback?: string;
|
|
405
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
406
|
+
fields?: string;
|
|
407
|
+
/** 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. */
|
|
408
|
+
key?: string;
|
|
409
|
+
/** Required. Resource name of the listing to delete. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. */
|
|
410
|
+
name: string;
|
|
411
|
+
/** OAuth 2.0 token for the current user. */
|
|
412
|
+
oauth_token?: string;
|
|
413
|
+
/** Returns response with indentations and line breaks. */
|
|
414
|
+
prettyPrint?: boolean;
|
|
415
|
+
/** 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. */
|
|
416
|
+
quotaUser?: string;
|
|
417
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
418
|
+
upload_protocol?: string;
|
|
419
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
420
|
+
uploadType?: string;
|
|
421
|
+
}): Request<{}>;
|
|
422
|
+
/** Gets the details of a listing. */
|
|
423
|
+
get(request?: {
|
|
424
|
+
/** V1 error format. */
|
|
425
|
+
"$.xgafv"?: string;
|
|
426
|
+
/** OAuth access token. */
|
|
427
|
+
access_token?: string;
|
|
428
|
+
/** Data format for response. */
|
|
429
|
+
alt?: string;
|
|
430
|
+
/** JSONP */
|
|
431
|
+
callback?: string;
|
|
432
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
433
|
+
fields?: string;
|
|
434
|
+
/** 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. */
|
|
435
|
+
key?: string;
|
|
436
|
+
/** Required. The resource name of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. */
|
|
437
|
+
name: string;
|
|
438
|
+
/** OAuth 2.0 token for the current user. */
|
|
439
|
+
oauth_token?: string;
|
|
440
|
+
/** Returns response with indentations and line breaks. */
|
|
441
|
+
prettyPrint?: boolean;
|
|
442
|
+
/** 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. */
|
|
443
|
+
quotaUser?: string;
|
|
444
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
445
|
+
upload_protocol?: string;
|
|
446
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
447
|
+
uploadType?: string;
|
|
448
|
+
}): Request<Listing>;
|
|
449
|
+
/** Gets the IAM policy. */
|
|
450
|
+
getIamPolicy(request: {
|
|
451
|
+
/** V1 error format. */
|
|
452
|
+
"$.xgafv"?: string;
|
|
453
|
+
/** OAuth access token. */
|
|
454
|
+
access_token?: string;
|
|
455
|
+
/** Data format for response. */
|
|
456
|
+
alt?: string;
|
|
457
|
+
/** JSONP */
|
|
458
|
+
callback?: string;
|
|
459
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
460
|
+
fields?: string;
|
|
461
|
+
/** 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. */
|
|
462
|
+
key?: string;
|
|
463
|
+
/** OAuth 2.0 token for the current user. */
|
|
464
|
+
oauth_token?: string;
|
|
465
|
+
/** Returns response with indentations and line breaks. */
|
|
466
|
+
prettyPrint?: boolean;
|
|
467
|
+
/** 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. */
|
|
468
|
+
quotaUser?: string;
|
|
469
|
+
/**
|
|
470
|
+
* 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
|
|
471
|
+
* field.
|
|
472
|
+
*/
|
|
473
|
+
resource: string;
|
|
474
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
475
|
+
upload_protocol?: string;
|
|
476
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
477
|
+
uploadType?: string;
|
|
478
|
+
},
|
|
479
|
+
body: GetIamPolicyRequest): Request<Policy>;
|
|
480
|
+
/** Lists all listings in a given project and location. */
|
|
481
|
+
list(request?: {
|
|
482
|
+
/** V1 error format. */
|
|
483
|
+
"$.xgafv"?: string;
|
|
484
|
+
/** OAuth access token. */
|
|
485
|
+
access_token?: string;
|
|
486
|
+
/** Data format for response. */
|
|
487
|
+
alt?: string;
|
|
488
|
+
/** JSONP */
|
|
489
|
+
callback?: string;
|
|
490
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
491
|
+
fields?: string;
|
|
492
|
+
/** 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. */
|
|
493
|
+
key?: string;
|
|
494
|
+
/** OAuth 2.0 token for the current user. */
|
|
495
|
+
oauth_token?: string;
|
|
496
|
+
/** The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection. */
|
|
497
|
+
pageSize?: number;
|
|
498
|
+
/** Page token, returned by a previous call, to request the next page of results. */
|
|
499
|
+
pageToken?: string;
|
|
500
|
+
/** Required. The parent resource path of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123`. */
|
|
501
|
+
parent: string;
|
|
502
|
+
/** Returns response with indentations and line breaks. */
|
|
503
|
+
prettyPrint?: boolean;
|
|
504
|
+
/** 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. */
|
|
505
|
+
quotaUser?: string;
|
|
506
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
507
|
+
upload_protocol?: string;
|
|
508
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
509
|
+
uploadType?: string;
|
|
510
|
+
}): Request<ListListingsResponse>;
|
|
511
|
+
/** Updates an existing listing. */
|
|
512
|
+
patch(request: {
|
|
513
|
+
/** V1 error format. */
|
|
514
|
+
"$.xgafv"?: string;
|
|
515
|
+
/** OAuth access token. */
|
|
516
|
+
access_token?: string;
|
|
517
|
+
/** Data format for response. */
|
|
518
|
+
alt?: string;
|
|
519
|
+
/** JSONP */
|
|
520
|
+
callback?: string;
|
|
521
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
522
|
+
fields?: string;
|
|
523
|
+
/** 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. */
|
|
524
|
+
key?: string;
|
|
525
|
+
/** Output only. The resource name of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456` */
|
|
526
|
+
name: string;
|
|
527
|
+
/** OAuth 2.0 token for the current user. */
|
|
528
|
+
oauth_token?: string;
|
|
529
|
+
/** Returns response with indentations and line breaks. */
|
|
530
|
+
prettyPrint?: boolean;
|
|
531
|
+
/** 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. */
|
|
532
|
+
quotaUser?: string;
|
|
533
|
+
/** Required. Field mask specifies the fields to update in the listing resource. The fields specified in the `updateMask` are relative to the resource and are not a full request. */
|
|
534
|
+
updateMask?: string;
|
|
535
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
536
|
+
upload_protocol?: string;
|
|
537
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
538
|
+
uploadType?: string;
|
|
539
|
+
/** Request body */
|
|
540
|
+
resource: Listing;
|
|
541
|
+
}): Request<Listing>;
|
|
542
|
+
patch(request: {
|
|
543
|
+
/** V1 error format. */
|
|
544
|
+
"$.xgafv"?: string;
|
|
545
|
+
/** OAuth access token. */
|
|
546
|
+
access_token?: string;
|
|
547
|
+
/** Data format for response. */
|
|
548
|
+
alt?: string;
|
|
549
|
+
/** JSONP */
|
|
550
|
+
callback?: string;
|
|
551
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
552
|
+
fields?: string;
|
|
553
|
+
/** 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. */
|
|
554
|
+
key?: string;
|
|
555
|
+
/** Output only. The resource name of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456` */
|
|
556
|
+
name: string;
|
|
557
|
+
/** OAuth 2.0 token for the current user. */
|
|
558
|
+
oauth_token?: string;
|
|
559
|
+
/** Returns response with indentations and line breaks. */
|
|
560
|
+
prettyPrint?: boolean;
|
|
561
|
+
/** 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. */
|
|
562
|
+
quotaUser?: string;
|
|
563
|
+
/** Required. Field mask specifies the fields to update in the listing resource. The fields specified in the `updateMask` are relative to the resource and are not a full request. */
|
|
564
|
+
updateMask?: string;
|
|
565
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
566
|
+
upload_protocol?: string;
|
|
567
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
568
|
+
uploadType?: string;
|
|
569
|
+
},
|
|
570
|
+
body: Listing): Request<Listing>;
|
|
571
|
+
/** Sets the IAM policy. */
|
|
572
|
+
setIamPolicy(request: {
|
|
573
|
+
/** V1 error format. */
|
|
574
|
+
"$.xgafv"?: string;
|
|
575
|
+
/** OAuth access token. */
|
|
576
|
+
access_token?: string;
|
|
577
|
+
/** Data format for response. */
|
|
578
|
+
alt?: string;
|
|
579
|
+
/** JSONP */
|
|
580
|
+
callback?: string;
|
|
581
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
582
|
+
fields?: string;
|
|
583
|
+
/** 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. */
|
|
584
|
+
key?: string;
|
|
585
|
+
/** OAuth 2.0 token for the current user. */
|
|
586
|
+
oauth_token?: string;
|
|
587
|
+
/** Returns response with indentations and line breaks. */
|
|
588
|
+
prettyPrint?: boolean;
|
|
589
|
+
/** 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. */
|
|
590
|
+
quotaUser?: string;
|
|
591
|
+
/**
|
|
592
|
+
* 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
|
|
593
|
+
* field.
|
|
594
|
+
*/
|
|
595
|
+
resource: string;
|
|
596
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
597
|
+
upload_protocol?: string;
|
|
598
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
599
|
+
uploadType?: string;
|
|
600
|
+
},
|
|
601
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
602
|
+
/**
|
|
603
|
+
* Subscribes to a listing. Currently, with Analytics Hub, you can create listings that reference only BigQuery datasets. Upon subscription to a listing for a BigQuery dataset,
|
|
604
|
+
* Analytics Hub creates a linked dataset in the subscriber's project.
|
|
605
|
+
*/
|
|
606
|
+
subscribe(request: {
|
|
607
|
+
/** V1 error format. */
|
|
608
|
+
"$.xgafv"?: string;
|
|
609
|
+
/** OAuth access token. */
|
|
610
|
+
access_token?: string;
|
|
611
|
+
/** Data format for response. */
|
|
612
|
+
alt?: string;
|
|
613
|
+
/** JSONP */
|
|
614
|
+
callback?: string;
|
|
615
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
616
|
+
fields?: string;
|
|
617
|
+
/** 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. */
|
|
618
|
+
key?: string;
|
|
619
|
+
/** Required. Resource name of the listing that you want to subscribe to. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. */
|
|
620
|
+
name: string;
|
|
621
|
+
/** OAuth 2.0 token for the current user. */
|
|
622
|
+
oauth_token?: string;
|
|
623
|
+
/** Returns response with indentations and line breaks. */
|
|
624
|
+
prettyPrint?: boolean;
|
|
625
|
+
/** 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. */
|
|
626
|
+
quotaUser?: string;
|
|
627
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
628
|
+
upload_protocol?: string;
|
|
629
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
630
|
+
uploadType?: string;
|
|
631
|
+
/** Request body */
|
|
632
|
+
resource: SubscribeListingRequest;
|
|
633
|
+
}): Request<{}>;
|
|
634
|
+
subscribe(request: {
|
|
635
|
+
/** V1 error format. */
|
|
636
|
+
"$.xgafv"?: string;
|
|
637
|
+
/** OAuth access token. */
|
|
638
|
+
access_token?: string;
|
|
639
|
+
/** Data format for response. */
|
|
640
|
+
alt?: string;
|
|
641
|
+
/** JSONP */
|
|
642
|
+
callback?: string;
|
|
643
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
644
|
+
fields?: string;
|
|
645
|
+
/** 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. */
|
|
646
|
+
key?: string;
|
|
647
|
+
/** Required. Resource name of the listing that you want to subscribe to. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. */
|
|
648
|
+
name: string;
|
|
649
|
+
/** OAuth 2.0 token for the current user. */
|
|
650
|
+
oauth_token?: string;
|
|
651
|
+
/** Returns response with indentations and line breaks. */
|
|
652
|
+
prettyPrint?: boolean;
|
|
653
|
+
/** 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. */
|
|
654
|
+
quotaUser?: string;
|
|
655
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
656
|
+
upload_protocol?: string;
|
|
657
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
658
|
+
uploadType?: string;
|
|
659
|
+
},
|
|
660
|
+
body: SubscribeListingRequest): Request<{}>;
|
|
661
|
+
/** Returns the permissions that a caller has. */
|
|
662
|
+
testIamPermissions(request: {
|
|
663
|
+
/** V1 error format. */
|
|
664
|
+
"$.xgafv"?: string;
|
|
665
|
+
/** OAuth access token. */
|
|
666
|
+
access_token?: string;
|
|
667
|
+
/** Data format for response. */
|
|
668
|
+
alt?: string;
|
|
669
|
+
/** JSONP */
|
|
670
|
+
callback?: string;
|
|
671
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
672
|
+
fields?: string;
|
|
673
|
+
/** 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. */
|
|
674
|
+
key?: string;
|
|
675
|
+
/** OAuth 2.0 token for the current user. */
|
|
676
|
+
oauth_token?: string;
|
|
677
|
+
/** Returns response with indentations and line breaks. */
|
|
678
|
+
prettyPrint?: boolean;
|
|
679
|
+
/** 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. */
|
|
680
|
+
quotaUser?: string;
|
|
681
|
+
/**
|
|
682
|
+
* 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
|
|
683
|
+
* this field.
|
|
684
|
+
*/
|
|
685
|
+
resource: string;
|
|
686
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
687
|
+
upload_protocol?: string;
|
|
688
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
689
|
+
uploadType?: string;
|
|
690
|
+
},
|
|
691
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
692
|
+
}
|
|
693
|
+
interface DataExchangesResource {
|
|
694
|
+
/** Creates a new data exchange. */
|
|
695
|
+
create(request: {
|
|
696
|
+
/** V1 error format. */
|
|
697
|
+
"$.xgafv"?: string;
|
|
698
|
+
/** OAuth access token. */
|
|
699
|
+
access_token?: string;
|
|
700
|
+
/** Data format for response. */
|
|
701
|
+
alt?: string;
|
|
702
|
+
/** JSONP */
|
|
703
|
+
callback?: string;
|
|
704
|
+
/**
|
|
705
|
+
* Required. The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters
|
|
706
|
+
* outside of ASCII, spaces. Max length: 100 bytes.
|
|
707
|
+
*/
|
|
708
|
+
dataExchangeId?: string;
|
|
709
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
710
|
+
fields?: string;
|
|
711
|
+
/** 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. */
|
|
712
|
+
key?: string;
|
|
713
|
+
/** OAuth 2.0 token for the current user. */
|
|
714
|
+
oauth_token?: string;
|
|
715
|
+
/** Required. The parent resource path of the data exchange. e.g. `projects/myproject/locations/US`. */
|
|
716
|
+
parent: string;
|
|
717
|
+
/** Returns response with indentations and line breaks. */
|
|
718
|
+
prettyPrint?: boolean;
|
|
719
|
+
/** 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. */
|
|
720
|
+
quotaUser?: string;
|
|
721
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
722
|
+
upload_protocol?: string;
|
|
723
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
724
|
+
uploadType?: string;
|
|
725
|
+
/** Request body */
|
|
726
|
+
resource: DataExchange;
|
|
727
|
+
}): Request<DataExchange>;
|
|
728
|
+
create(request: {
|
|
729
|
+
/** V1 error format. */
|
|
730
|
+
"$.xgafv"?: string;
|
|
731
|
+
/** OAuth access token. */
|
|
732
|
+
access_token?: string;
|
|
733
|
+
/** Data format for response. */
|
|
734
|
+
alt?: string;
|
|
735
|
+
/** JSONP */
|
|
736
|
+
callback?: string;
|
|
737
|
+
/**
|
|
738
|
+
* Required. The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters
|
|
739
|
+
* outside of ASCII, spaces. Max length: 100 bytes.
|
|
740
|
+
*/
|
|
741
|
+
dataExchangeId?: string;
|
|
742
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
743
|
+
fields?: string;
|
|
744
|
+
/** 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. */
|
|
745
|
+
key?: string;
|
|
746
|
+
/** OAuth 2.0 token for the current user. */
|
|
747
|
+
oauth_token?: string;
|
|
748
|
+
/** Required. The parent resource path of the data exchange. e.g. `projects/myproject/locations/US`. */
|
|
749
|
+
parent: string;
|
|
750
|
+
/** Returns response with indentations and line breaks. */
|
|
751
|
+
prettyPrint?: boolean;
|
|
752
|
+
/** 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. */
|
|
753
|
+
quotaUser?: string;
|
|
754
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
755
|
+
upload_protocol?: string;
|
|
756
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
757
|
+
uploadType?: string;
|
|
758
|
+
},
|
|
759
|
+
body: DataExchange): Request<DataExchange>;
|
|
760
|
+
/** Deletes an existing data exchange. */
|
|
761
|
+
delete(request?: {
|
|
762
|
+
/** V1 error format. */
|
|
763
|
+
"$.xgafv"?: string;
|
|
764
|
+
/** OAuth access token. */
|
|
765
|
+
access_token?: string;
|
|
766
|
+
/** Data format for response. */
|
|
767
|
+
alt?: string;
|
|
768
|
+
/** JSONP */
|
|
769
|
+
callback?: string;
|
|
770
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
771
|
+
fields?: string;
|
|
772
|
+
/** 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. */
|
|
773
|
+
key?: string;
|
|
774
|
+
/** Required. The full name of the data exchange resource that you want to delete. For example, `projects/myproject/locations/US/dataExchanges/123`. */
|
|
775
|
+
name: string;
|
|
776
|
+
/** OAuth 2.0 token for the current user. */
|
|
777
|
+
oauth_token?: string;
|
|
778
|
+
/** Returns response with indentations and line breaks. */
|
|
779
|
+
prettyPrint?: boolean;
|
|
780
|
+
/** 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. */
|
|
781
|
+
quotaUser?: string;
|
|
782
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
783
|
+
upload_protocol?: string;
|
|
784
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
785
|
+
uploadType?: string;
|
|
786
|
+
}): Request<{}>;
|
|
787
|
+
/** Gets the details of a data exchange. */
|
|
788
|
+
get(request?: {
|
|
789
|
+
/** V1 error format. */
|
|
790
|
+
"$.xgafv"?: string;
|
|
791
|
+
/** OAuth access token. */
|
|
792
|
+
access_token?: string;
|
|
793
|
+
/** Data format for response. */
|
|
794
|
+
alt?: string;
|
|
795
|
+
/** JSONP */
|
|
796
|
+
callback?: string;
|
|
797
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
798
|
+
fields?: string;
|
|
799
|
+
/** 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. */
|
|
800
|
+
key?: string;
|
|
801
|
+
/** Required. The resource name of the data exchange. e.g. `projects/myproject/locations/US/dataExchanges/123`. */
|
|
802
|
+
name: string;
|
|
803
|
+
/** OAuth 2.0 token for the current user. */
|
|
804
|
+
oauth_token?: string;
|
|
805
|
+
/** Returns response with indentations and line breaks. */
|
|
806
|
+
prettyPrint?: boolean;
|
|
807
|
+
/** 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. */
|
|
808
|
+
quotaUser?: string;
|
|
809
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
810
|
+
upload_protocol?: string;
|
|
811
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
812
|
+
uploadType?: string;
|
|
813
|
+
}): Request<DataExchange>;
|
|
814
|
+
/** Gets the IAM policy. */
|
|
815
|
+
getIamPolicy(request: {
|
|
816
|
+
/** V1 error format. */
|
|
817
|
+
"$.xgafv"?: string;
|
|
818
|
+
/** OAuth access token. */
|
|
819
|
+
access_token?: string;
|
|
820
|
+
/** Data format for response. */
|
|
821
|
+
alt?: string;
|
|
822
|
+
/** JSONP */
|
|
823
|
+
callback?: string;
|
|
824
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
825
|
+
fields?: string;
|
|
826
|
+
/** 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. */
|
|
827
|
+
key?: string;
|
|
828
|
+
/** OAuth 2.0 token for the current user. */
|
|
829
|
+
oauth_token?: string;
|
|
830
|
+
/** Returns response with indentations and line breaks. */
|
|
831
|
+
prettyPrint?: boolean;
|
|
832
|
+
/** 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. */
|
|
833
|
+
quotaUser?: string;
|
|
834
|
+
/**
|
|
835
|
+
* 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
|
|
836
|
+
* field.
|
|
837
|
+
*/
|
|
838
|
+
resource: string;
|
|
839
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
840
|
+
upload_protocol?: string;
|
|
841
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
842
|
+
uploadType?: string;
|
|
843
|
+
},
|
|
844
|
+
body: GetIamPolicyRequest): Request<Policy>;
|
|
845
|
+
/** Lists all data exchanges in a given project and location. */
|
|
846
|
+
list(request?: {
|
|
847
|
+
/** V1 error format. */
|
|
848
|
+
"$.xgafv"?: string;
|
|
849
|
+
/** OAuth access token. */
|
|
850
|
+
access_token?: string;
|
|
851
|
+
/** Data format for response. */
|
|
852
|
+
alt?: string;
|
|
853
|
+
/** JSONP */
|
|
854
|
+
callback?: string;
|
|
855
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
856
|
+
fields?: string;
|
|
857
|
+
/** 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. */
|
|
858
|
+
key?: string;
|
|
859
|
+
/** OAuth 2.0 token for the current user. */
|
|
860
|
+
oauth_token?: string;
|
|
861
|
+
/** The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection. */
|
|
862
|
+
pageSize?: number;
|
|
863
|
+
/** Page token, returned by a previous call, to request the next page of results. */
|
|
864
|
+
pageToken?: string;
|
|
865
|
+
/** Required. The parent resource path of the data exchanges. e.g. `projects/myproject/locations/US`. */
|
|
866
|
+
parent: string;
|
|
867
|
+
/** Returns response with indentations and line breaks. */
|
|
868
|
+
prettyPrint?: boolean;
|
|
869
|
+
/** 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. */
|
|
870
|
+
quotaUser?: string;
|
|
871
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
872
|
+
upload_protocol?: string;
|
|
873
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
874
|
+
uploadType?: string;
|
|
875
|
+
}): Request<ListDataExchangesResponse>;
|
|
876
|
+
/** Updates an existing data exchange. */
|
|
877
|
+
patch(request: {
|
|
878
|
+
/** V1 error format. */
|
|
879
|
+
"$.xgafv"?: string;
|
|
880
|
+
/** OAuth access token. */
|
|
881
|
+
access_token?: string;
|
|
882
|
+
/** Data format for response. */
|
|
883
|
+
alt?: string;
|
|
884
|
+
/** JSONP */
|
|
885
|
+
callback?: string;
|
|
886
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
887
|
+
fields?: string;
|
|
888
|
+
/** 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. */
|
|
889
|
+
key?: string;
|
|
890
|
+
/** Output only. The resource name of the data exchange. e.g. `projects/myproject/locations/US/dataExchanges/123`. */
|
|
891
|
+
name: string;
|
|
892
|
+
/** OAuth 2.0 token for the current user. */
|
|
893
|
+
oauth_token?: string;
|
|
894
|
+
/** Returns response with indentations and line breaks. */
|
|
895
|
+
prettyPrint?: boolean;
|
|
896
|
+
/** 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. */
|
|
897
|
+
quotaUser?: string;
|
|
898
|
+
/**
|
|
899
|
+
* Required. Field mask specifies the fields to update in the data exchange resource. The fields specified in the `updateMask` are relative to the resource and are not a full
|
|
900
|
+
* request.
|
|
901
|
+
*/
|
|
902
|
+
updateMask?: string;
|
|
903
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
904
|
+
upload_protocol?: string;
|
|
905
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
906
|
+
uploadType?: string;
|
|
907
|
+
/** Request body */
|
|
908
|
+
resource: DataExchange;
|
|
909
|
+
}): Request<DataExchange>;
|
|
910
|
+
patch(request: {
|
|
911
|
+
/** V1 error format. */
|
|
912
|
+
"$.xgafv"?: string;
|
|
913
|
+
/** OAuth access token. */
|
|
914
|
+
access_token?: string;
|
|
915
|
+
/** Data format for response. */
|
|
916
|
+
alt?: string;
|
|
917
|
+
/** JSONP */
|
|
918
|
+
callback?: string;
|
|
919
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
920
|
+
fields?: string;
|
|
921
|
+
/** 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. */
|
|
922
|
+
key?: string;
|
|
923
|
+
/** Output only. The resource name of the data exchange. e.g. `projects/myproject/locations/US/dataExchanges/123`. */
|
|
924
|
+
name: string;
|
|
925
|
+
/** OAuth 2.0 token for the current user. */
|
|
926
|
+
oauth_token?: string;
|
|
927
|
+
/** Returns response with indentations and line breaks. */
|
|
928
|
+
prettyPrint?: boolean;
|
|
929
|
+
/** 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. */
|
|
930
|
+
quotaUser?: string;
|
|
931
|
+
/**
|
|
932
|
+
* Required. Field mask specifies the fields to update in the data exchange resource. The fields specified in the `updateMask` are relative to the resource and are not a full
|
|
933
|
+
* request.
|
|
934
|
+
*/
|
|
935
|
+
updateMask?: string;
|
|
936
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
937
|
+
upload_protocol?: string;
|
|
938
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
939
|
+
uploadType?: string;
|
|
940
|
+
},
|
|
941
|
+
body: DataExchange): Request<DataExchange>;
|
|
942
|
+
/** Sets the IAM policy. */
|
|
943
|
+
setIamPolicy(request: {
|
|
944
|
+
/** V1 error format. */
|
|
945
|
+
"$.xgafv"?: string;
|
|
946
|
+
/** OAuth access token. */
|
|
947
|
+
access_token?: string;
|
|
948
|
+
/** Data format for response. */
|
|
949
|
+
alt?: string;
|
|
950
|
+
/** JSONP */
|
|
951
|
+
callback?: string;
|
|
952
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
953
|
+
fields?: string;
|
|
954
|
+
/** 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. */
|
|
955
|
+
key?: string;
|
|
956
|
+
/** OAuth 2.0 token for the current user. */
|
|
957
|
+
oauth_token?: string;
|
|
958
|
+
/** Returns response with indentations and line breaks. */
|
|
959
|
+
prettyPrint?: boolean;
|
|
960
|
+
/** 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. */
|
|
961
|
+
quotaUser?: string;
|
|
962
|
+
/**
|
|
963
|
+
* 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
|
|
964
|
+
* field.
|
|
965
|
+
*/
|
|
966
|
+
resource: string;
|
|
967
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
968
|
+
upload_protocol?: string;
|
|
969
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
970
|
+
uploadType?: string;
|
|
971
|
+
},
|
|
972
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
973
|
+
/** Returns the permissions that a caller has. */
|
|
974
|
+
testIamPermissions(request: {
|
|
975
|
+
/** V1 error format. */
|
|
976
|
+
"$.xgafv"?: string;
|
|
977
|
+
/** OAuth access token. */
|
|
978
|
+
access_token?: string;
|
|
979
|
+
/** Data format for response. */
|
|
980
|
+
alt?: string;
|
|
981
|
+
/** JSONP */
|
|
982
|
+
callback?: string;
|
|
983
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
984
|
+
fields?: string;
|
|
985
|
+
/** 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. */
|
|
986
|
+
key?: string;
|
|
987
|
+
/** OAuth 2.0 token for the current user. */
|
|
988
|
+
oauth_token?: string;
|
|
989
|
+
/** Returns response with indentations and line breaks. */
|
|
990
|
+
prettyPrint?: boolean;
|
|
991
|
+
/** 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. */
|
|
992
|
+
quotaUser?: string;
|
|
993
|
+
/**
|
|
994
|
+
* 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
|
|
995
|
+
* this field.
|
|
996
|
+
*/
|
|
997
|
+
resource: string;
|
|
998
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
999
|
+
upload_protocol?: string;
|
|
1000
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1001
|
+
uploadType?: string;
|
|
1002
|
+
},
|
|
1003
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1004
|
+
listings: ListingsResource;
|
|
1005
|
+
}
|
|
1006
|
+
interface LocationsResource {
|
|
1007
|
+
dataExchanges: DataExchangesResource;
|
|
1008
|
+
}
|
|
1009
|
+
interface ProjectsResource {
|
|
1010
|
+
locations: LocationsResource;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
const organizations: OrganizationsResource;
|
|
1014
|
+
|
|
1015
|
+
const projects: ProjectsResource;
|
|
1016
|
+
}
|
|
1017
|
+
}
|