@maxim_mazurok/gapi.client.datacatalog-v1 0.0.20220805
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 +3613 -0
- package/package.json +20 -0
- package/readme.md +78 -0
- package/tests.ts +1212 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,3613 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Google Cloud Data Catalog API v1 0.0 */
|
|
2
|
+
// Project: https://cloud.google.com/data-catalog/docs/
|
|
3
|
+
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
|
+
// Nick Amoscato <https://github.com/namoscato>
|
|
5
|
+
// Declan Vong <https://github.com/declanvong>
|
|
6
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
+
// 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://datacatalog.googleapis.com/$discovery/rest?version=v1
|
|
13
|
+
// Revision: 20220805
|
|
14
|
+
|
|
15
|
+
/// <reference types="gapi.client" />
|
|
16
|
+
|
|
17
|
+
declare namespace gapi.client {
|
|
18
|
+
/** Load Google Cloud Data Catalog API v1 */
|
|
19
|
+
function load(urlOrObject: "https://datacatalog.googleapis.com/$discovery/rest?version=v1"): Promise<void>;
|
|
20
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
21
|
+
function load(name: "datacatalog", version: "v1"): Promise<void>;
|
|
22
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
23
|
+
function load(name: "datacatalog", version: "v1", callback: () => any): void;
|
|
24
|
+
|
|
25
|
+
namespace datacatalog {
|
|
26
|
+
interface Binding {
|
|
27
|
+
/**
|
|
28
|
+
* 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`,
|
|
29
|
+
* 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
|
|
30
|
+
* resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
31
|
+
*/
|
|
32
|
+
condition?: Expr;
|
|
33
|
+
/**
|
|
34
|
+
* 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
|
|
35
|
+
* 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
|
|
36
|
+
* account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that
|
|
37
|
+
* represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier
|
|
38
|
+
* for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example,
|
|
39
|
+
* `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. *
|
|
40
|
+
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example,
|
|
41
|
+
* `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. *
|
|
42
|
+
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example,
|
|
43
|
+
* `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service
|
|
44
|
+
* account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently
|
|
45
|
+
* deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in
|
|
46
|
+
* the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
|
|
47
|
+
*/
|
|
48
|
+
members?: string[];
|
|
49
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
50
|
+
role?: string;
|
|
51
|
+
}
|
|
52
|
+
// tslint:disable-next-line:no-empty-interface
|
|
53
|
+
interface Empty {
|
|
54
|
+
}
|
|
55
|
+
interface Expr {
|
|
56
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
57
|
+
description?: string;
|
|
58
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
59
|
+
expression?: string;
|
|
60
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
61
|
+
location?: string;
|
|
62
|
+
/** 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. */
|
|
63
|
+
title?: string;
|
|
64
|
+
}
|
|
65
|
+
interface GetIamPolicyRequest {
|
|
66
|
+
/** OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`. */
|
|
67
|
+
options?: GetPolicyOptions;
|
|
68
|
+
}
|
|
69
|
+
interface GetPolicyOptions {
|
|
70
|
+
/**
|
|
71
|
+
* 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
|
|
72
|
+
* 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
|
|
73
|
+
* 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
|
|
74
|
+
* bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
75
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
76
|
+
*/
|
|
77
|
+
requestedPolicyVersion?: number;
|
|
78
|
+
}
|
|
79
|
+
interface GoogleCloudDatacatalogV1BigQueryConnectionSpec {
|
|
80
|
+
/** Specification for the BigQuery connection to a Cloud SQL instance. */
|
|
81
|
+
cloudSql?: GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec;
|
|
82
|
+
/** The type of the BigQuery connection. */
|
|
83
|
+
connectionType?: string;
|
|
84
|
+
/** True if there are credentials attached to the BigQuery connection; false otherwise. */
|
|
85
|
+
hasCredential?: boolean;
|
|
86
|
+
}
|
|
87
|
+
interface GoogleCloudDatacatalogV1BigQueryDateShardedSpec {
|
|
88
|
+
/**
|
|
89
|
+
* Output only. The Data Catalog resource name of the dataset entry the current table belongs to. For example:
|
|
90
|
+
* `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
|
|
91
|
+
*/
|
|
92
|
+
dataset?: string;
|
|
93
|
+
/** Output only. BigQuery resource name of the latest shard. */
|
|
94
|
+
latestShardResource?: string;
|
|
95
|
+
/** Output only. Total number of shards. */
|
|
96
|
+
shardCount?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Output only. The table name prefix of the shards. The name of any given shard is `[table_prefix]YYYYMMDD`. For example, for the `MyTable20180101` shard, the `table_prefix` is
|
|
99
|
+
* `MyTable`.
|
|
100
|
+
*/
|
|
101
|
+
tablePrefix?: string;
|
|
102
|
+
}
|
|
103
|
+
interface GoogleCloudDatacatalogV1BigQueryRoutineSpec {
|
|
104
|
+
/** Paths of the imported libraries. */
|
|
105
|
+
importedLibraries?: string[];
|
|
106
|
+
}
|
|
107
|
+
interface GoogleCloudDatacatalogV1BigQueryTableSpec {
|
|
108
|
+
/** Output only. The table source type. */
|
|
109
|
+
tableSourceType?: string;
|
|
110
|
+
/** Specification of a BigQuery table. Populated only if the `table_source_type` is `BIGQUERY_TABLE`. */
|
|
111
|
+
tableSpec?: GoogleCloudDatacatalogV1TableSpec;
|
|
112
|
+
/** Table view specification. Populated only if the `table_source_type` is `BIGQUERY_VIEW`. */
|
|
113
|
+
viewSpec?: GoogleCloudDatacatalogV1ViewSpec;
|
|
114
|
+
}
|
|
115
|
+
interface GoogleCloudDatacatalogV1BusinessContext {
|
|
116
|
+
/** Contact people for the entry. */
|
|
117
|
+
contacts?: GoogleCloudDatacatalogV1Contacts;
|
|
118
|
+
/** Entry overview fields for rich text descriptions of entries. */
|
|
119
|
+
entryOverview?: GoogleCloudDatacatalogV1EntryOverview;
|
|
120
|
+
}
|
|
121
|
+
interface GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec {
|
|
122
|
+
/** Database name. */
|
|
123
|
+
database?: string;
|
|
124
|
+
/** Cloud SQL instance ID in the format of `project:location:instance`. */
|
|
125
|
+
instanceId?: string;
|
|
126
|
+
/** Type of the Cloud SQL database. */
|
|
127
|
+
type?: string;
|
|
128
|
+
}
|
|
129
|
+
interface GoogleCloudDatacatalogV1ColumnSchema {
|
|
130
|
+
/** Required. Name of the column. Must be a UTF-8 string without dots (.). The maximum size is 64 bytes. */
|
|
131
|
+
column?: string;
|
|
132
|
+
/** Optional. Description of the column. Default value is an empty string. The description must be a UTF-8 string with the maximum size of 2000 bytes. */
|
|
133
|
+
description?: string;
|
|
134
|
+
/** Looker specific column info of this column. */
|
|
135
|
+
lookerColumnSpec?: GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec;
|
|
136
|
+
/**
|
|
137
|
+
* Optional. A column's mode indicates whether values in this column are required, nullable, or repeated. Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported. Default mode
|
|
138
|
+
* is `NULLABLE`.
|
|
139
|
+
*/
|
|
140
|
+
mode?: string;
|
|
141
|
+
/** Optional. Schema of sub-columns. A column can have zero or more sub-columns. */
|
|
142
|
+
subcolumns?: GoogleCloudDatacatalogV1ColumnSchema[];
|
|
143
|
+
/** Required. Type of the column. Must be a UTF-8 string with the maximum size of 128 bytes. */
|
|
144
|
+
type?: string;
|
|
145
|
+
}
|
|
146
|
+
interface GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec {
|
|
147
|
+
/** Looker specific column type of this column. */
|
|
148
|
+
type?: string;
|
|
149
|
+
}
|
|
150
|
+
interface GoogleCloudDatacatalogV1Contacts {
|
|
151
|
+
/** The list of contact people for the entry. */
|
|
152
|
+
people?: GoogleCloudDatacatalogV1ContactsPerson[];
|
|
153
|
+
}
|
|
154
|
+
interface GoogleCloudDatacatalogV1ContactsPerson {
|
|
155
|
+
/** Designation of the person, for example, Data Steward. */
|
|
156
|
+
designation?: string;
|
|
157
|
+
/** Email of the person in the format of `john.doe@xyz`, ``, or `John Doe`. */
|
|
158
|
+
email?: string;
|
|
159
|
+
}
|
|
160
|
+
interface GoogleCloudDatacatalogV1CrossRegionalSource {
|
|
161
|
+
/** Required. The resource name of the source taxonomy to import. */
|
|
162
|
+
taxonomy?: string;
|
|
163
|
+
}
|
|
164
|
+
interface GoogleCloudDatacatalogV1DatabaseTableSpec {
|
|
165
|
+
/** Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries. */
|
|
166
|
+
dataplexTable?: GoogleCloudDatacatalogV1DataplexTableSpec;
|
|
167
|
+
/** Type of this table. */
|
|
168
|
+
type?: string;
|
|
169
|
+
}
|
|
170
|
+
interface GoogleCloudDatacatalogV1DataplexExternalTable {
|
|
171
|
+
/** Name of the Data Catalog entry representing the external table. */
|
|
172
|
+
dataCatalogEntry?: string;
|
|
173
|
+
/** Fully qualified name (FQN) of the external table. */
|
|
174
|
+
fullyQualifiedName?: string;
|
|
175
|
+
/** Google Cloud resource name of the external table. */
|
|
176
|
+
googleCloudResource?: string;
|
|
177
|
+
/** Service in which the external table is registered. */
|
|
178
|
+
system?: string;
|
|
179
|
+
}
|
|
180
|
+
interface GoogleCloudDatacatalogV1DataplexFilesetSpec {
|
|
181
|
+
/** Common Dataplex fields. */
|
|
182
|
+
dataplexSpec?: GoogleCloudDatacatalogV1DataplexSpec;
|
|
183
|
+
}
|
|
184
|
+
interface GoogleCloudDatacatalogV1DataplexSpec {
|
|
185
|
+
/** Fully qualified resource name of an asset in Dataplex, to which the underlying data source (Cloud Storage bucket or BigQuery dataset) of the entity is attached. */
|
|
186
|
+
asset?: string;
|
|
187
|
+
/** Compression format of the data, e.g., zip, gzip etc. */
|
|
188
|
+
compressionFormat?: string;
|
|
189
|
+
/** Format of the data. */
|
|
190
|
+
dataFormat?: GoogleCloudDatacatalogV1PhysicalSchema;
|
|
191
|
+
/** Project ID of the underlying Cloud Storage or BigQuery data. Note that this may not be the same project as the correspondingly Dataplex lake / zone / asset. */
|
|
192
|
+
projectId?: string;
|
|
193
|
+
}
|
|
194
|
+
interface GoogleCloudDatacatalogV1DataplexTableSpec {
|
|
195
|
+
/** Common Dataplex fields. */
|
|
196
|
+
dataplexSpec?: GoogleCloudDatacatalogV1DataplexSpec;
|
|
197
|
+
/** List of external tables registered by Dataplex in other systems based on the same underlying data. External tables allow to query this data in those systems. */
|
|
198
|
+
externalTables?: GoogleCloudDatacatalogV1DataplexExternalTable[];
|
|
199
|
+
/** Indicates if the table schema is managed by the user or not. */
|
|
200
|
+
userManaged?: boolean;
|
|
201
|
+
}
|
|
202
|
+
interface GoogleCloudDatacatalogV1DataSource {
|
|
203
|
+
/** Full name of a resource as defined by the service. For example: `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}` */
|
|
204
|
+
resource?: string;
|
|
205
|
+
/** Service that physically stores the data. */
|
|
206
|
+
service?: string;
|
|
207
|
+
/** Output only. Data Catalog entry name, if applicable. */
|
|
208
|
+
sourceEntry?: string;
|
|
209
|
+
/** Detailed properties of the underlying storage. */
|
|
210
|
+
storageProperties?: GoogleCloudDatacatalogV1StorageProperties;
|
|
211
|
+
}
|
|
212
|
+
interface GoogleCloudDatacatalogV1DataSourceConnectionSpec {
|
|
213
|
+
/** Output only. Fields specific to BigQuery connections. */
|
|
214
|
+
bigqueryConnectionSpec?: GoogleCloudDatacatalogV1BigQueryConnectionSpec;
|
|
215
|
+
}
|
|
216
|
+
interface GoogleCloudDatacatalogV1Entry {
|
|
217
|
+
/**
|
|
218
|
+
* Output only. Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name pattern. For more information, see [Introduction to partitioned tables]
|
|
219
|
+
* (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
|
|
220
|
+
*/
|
|
221
|
+
bigqueryDateShardedSpec?: GoogleCloudDatacatalogV1BigQueryDateShardedSpec;
|
|
222
|
+
/** Output only. Specification that applies to a BigQuery table. Valid only for entries with the `TABLE` type. */
|
|
223
|
+
bigqueryTableSpec?: GoogleCloudDatacatalogV1BigQueryTableSpec;
|
|
224
|
+
/** Business Context of the entry. Not supported for BigQuery datasets */
|
|
225
|
+
businessContext?: GoogleCloudDatacatalogV1BusinessContext;
|
|
226
|
+
/** Specification that applies to a table resource. Valid only for entries with the `TABLE` type. */
|
|
227
|
+
databaseTableSpec?: GoogleCloudDatacatalogV1DatabaseTableSpec;
|
|
228
|
+
/** Output only. Physical location of the entry. */
|
|
229
|
+
dataSource?: GoogleCloudDatacatalogV1DataSource;
|
|
230
|
+
/** Specification that applies to a data source connection. Valid only for entries with the `DATA_SOURCE_CONNECTION` type. */
|
|
231
|
+
dataSourceConnectionSpec?: GoogleCloudDatacatalogV1DataSourceConnectionSpec;
|
|
232
|
+
/**
|
|
233
|
+
* Entry description that can consist of several sentences or paragraphs that describe entry contents. The description must not contain Unicode non-characters as well as C0 and C1
|
|
234
|
+
* control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). The maximum size is 2000 bytes when encoded in UTF-8. Default value is an empty string.
|
|
235
|
+
*/
|
|
236
|
+
description?: string;
|
|
237
|
+
/**
|
|
238
|
+
* Display name of an entry. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum size is
|
|
239
|
+
* 200 bytes when encoded in UTF-8. Default value is an empty string.
|
|
240
|
+
*/
|
|
241
|
+
displayName?: string;
|
|
242
|
+
/** Specification that applies to a fileset resource. Valid only for entries with the `FILESET` type. */
|
|
243
|
+
filesetSpec?: GoogleCloudDatacatalogV1FilesetSpec;
|
|
244
|
+
/**
|
|
245
|
+
* Fully qualified name (FQN) of the resource. Set automatically for entries representing resources from synced systems. Settable only during creation and read-only afterwards. Can be
|
|
246
|
+
* used for search and lookup of the entries. FQNs take two forms: * For non-regionalized resources: `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * For regionalized
|
|
247
|
+
* resources: `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` Example for a DPMS table:
|
|
248
|
+
* `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}`
|
|
249
|
+
*/
|
|
250
|
+
fullyQualifiedName?: string;
|
|
251
|
+
/** Specification that applies to a Cloud Storage fileset. Valid only for entries with the `FILESET` type. */
|
|
252
|
+
gcsFilesetSpec?: GoogleCloudDatacatalogV1GcsFilesetSpec;
|
|
253
|
+
/** Output only. Indicates the entry's source system that Data Catalog integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore. */
|
|
254
|
+
integratedSystem?: string;
|
|
255
|
+
/**
|
|
256
|
+
* Cloud labels attached to the entry. In Data Catalog, you can create and modify labels attached only to custom entries. Synced entries have unmodifiable labels that come from the
|
|
257
|
+
* source system.
|
|
258
|
+
*/
|
|
259
|
+
labels?: { [P in string]: string };
|
|
260
|
+
/**
|
|
261
|
+
* The resource this metadata entry refers to. For Google Cloud Platform resources, `linked_resource` is the [Full Resource Name]
|
|
262
|
+
* (https://cloud.google.com/apis/design/resource_names#full_resource_name). For example, the `linked_resource` for a table resource from BigQuery is:
|
|
263
|
+
* `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}` Output only when the entry is one of the types in the `EntryType` enum. For entries with a
|
|
264
|
+
* `user_specified_type`, this field is optional and defaults to an empty string. The resource string must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), periods (.),
|
|
265
|
+
* colons (:), slashes (/), dashes (-), and hashes (#). The maximum size is 200 bytes when encoded in UTF-8.
|
|
266
|
+
*/
|
|
267
|
+
linkedResource?: string;
|
|
268
|
+
/** Output only. The resource name of an entry in URL format. Note: The entry itself and its child resources might not be stored in the location specified in its name. */
|
|
269
|
+
name?: string;
|
|
270
|
+
/** Output only. Additional information related to the entry. Private to the current user. */
|
|
271
|
+
personalDetails?: GoogleCloudDatacatalogV1PersonalDetails;
|
|
272
|
+
/** Specification that applies to a user-defined function or procedure. Valid only for entries with the `ROUTINE` type. */
|
|
273
|
+
routineSpec?: GoogleCloudDatacatalogV1RoutineSpec;
|
|
274
|
+
/** Schema of the entry. An entry might not have any schema attached to it. */
|
|
275
|
+
schema?: GoogleCloudDatacatalogV1Schema;
|
|
276
|
+
/**
|
|
277
|
+
* Timestamps from the underlying resource, not from the Data Catalog entry. Output only when the entry has a type listed in the `EntryType` enum. For entries with
|
|
278
|
+
* `user_specified_type`, this field is optional and defaults to an empty timestamp.
|
|
279
|
+
*/
|
|
280
|
+
sourceSystemTimestamps?: GoogleCloudDatacatalogV1SystemTimestamps;
|
|
281
|
+
/**
|
|
282
|
+
* The type of the entry. Only used for entries with types listed in the `EntryType` enum. Currently, only `FILESET` enum value is allowed. All other entries created in Data Catalog
|
|
283
|
+
* must use the `user_specified_type`.
|
|
284
|
+
*/
|
|
285
|
+
type?: string;
|
|
286
|
+
/** Output only. Resource usage statistics. */
|
|
287
|
+
usageSignal?: GoogleCloudDatacatalogV1UsageSignal;
|
|
288
|
+
/**
|
|
289
|
+
* Indicates the entry's source system that Data Catalog doesn't automatically integrate with. The `user_specified_system` string has the following limitations: * Is case insensitive.
|
|
290
|
+
* * Must begin with a letter or underscore. * Can only contain letters, numbers, and underscores. * Must be at least 1 character and at most 64 characters long.
|
|
291
|
+
*/
|
|
292
|
+
userSpecifiedSystem?: string;
|
|
293
|
+
/**
|
|
294
|
+
* Custom entry type that doesn't match any of the values allowed for input and listed in the `EntryType` enum. When creating an entry, first check the type values in the enum. If
|
|
295
|
+
* there are no appropriate types for the new entry, provide a custom value, for example, `my_special_type`. The `user_specified_type` string has the following limitations: * Is case
|
|
296
|
+
* insensitive. * Must begin with a letter or underscore. * Can only contain letters, numbers, and underscores. * Must be at least 1 character and at most 64 characters long.
|
|
297
|
+
*/
|
|
298
|
+
userSpecifiedType?: string;
|
|
299
|
+
}
|
|
300
|
+
interface GoogleCloudDatacatalogV1EntryGroup {
|
|
301
|
+
/** Output only. Timestamps of the entry group. Default value is empty. */
|
|
302
|
+
dataCatalogTimestamps?: GoogleCloudDatacatalogV1SystemTimestamps;
|
|
303
|
+
/** Entry group description. Can consist of several sentences or paragraphs that describe the entry group contents. Default value is an empty string. */
|
|
304
|
+
description?: string;
|
|
305
|
+
/** A short name to identify the entry group, for example, "analytics data - jan 2011". Default value is an empty string. */
|
|
306
|
+
displayName?: string;
|
|
307
|
+
/** The resource name of the entry group in URL format. Note: The entry group itself and its child resources might not be stored in the location specified in its name. */
|
|
308
|
+
name?: string;
|
|
309
|
+
}
|
|
310
|
+
interface GoogleCloudDatacatalogV1EntryOverview {
|
|
311
|
+
/**
|
|
312
|
+
* Entry overview with support for rich text. The overview must only contain Unicode characters, and should be formatted using HTML. The maximum length is 10 MiB as this value holds
|
|
313
|
+
* HTML descriptions including encoded images. The maximum length of the text without images is 100 KiB.
|
|
314
|
+
*/
|
|
315
|
+
overview?: string;
|
|
316
|
+
}
|
|
317
|
+
interface GoogleCloudDatacatalogV1ExportTaxonomiesResponse {
|
|
318
|
+
/** List of taxonomies and policy tags as nested protocol buffers. */
|
|
319
|
+
taxonomies?: GoogleCloudDatacatalogV1SerializedTaxonomy[];
|
|
320
|
+
}
|
|
321
|
+
interface GoogleCloudDatacatalogV1FieldType {
|
|
322
|
+
/** An enum type. */
|
|
323
|
+
enumType?: GoogleCloudDatacatalogV1FieldTypeEnumType;
|
|
324
|
+
/** Primitive types, such as string, boolean, etc. */
|
|
325
|
+
primitiveType?: string;
|
|
326
|
+
}
|
|
327
|
+
interface GoogleCloudDatacatalogV1FieldTypeEnumType {
|
|
328
|
+
/**
|
|
329
|
+
* The set of allowed values for this enum. This set must not be empty and can include up to 100 allowed values. The display names of the values in this set must not be empty and must
|
|
330
|
+
* be case-insensitively unique within this set. The order of items in this set is preserved. This field can be used to create, remove, and reorder enum values. To rename enum values,
|
|
331
|
+
* use the `RenameTagTemplateFieldEnumValue` method.
|
|
332
|
+
*/
|
|
333
|
+
allowedValues?: GoogleCloudDatacatalogV1FieldTypeEnumTypeEnumValue[];
|
|
334
|
+
}
|
|
335
|
+
interface GoogleCloudDatacatalogV1FieldTypeEnumTypeEnumValue {
|
|
336
|
+
/**
|
|
337
|
+
* Required. The display name of the enum value. Must not be an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and
|
|
338
|
+
* can't start or end with spaces. The maximum length is 200 characters.
|
|
339
|
+
*/
|
|
340
|
+
displayName?: string;
|
|
341
|
+
}
|
|
342
|
+
interface GoogleCloudDatacatalogV1FilesetSpec {
|
|
343
|
+
/** Fields specific to a Dataplex fileset and present only in the Dataplex fileset entries. */
|
|
344
|
+
dataplexFileset?: GoogleCloudDatacatalogV1DataplexFilesetSpec;
|
|
345
|
+
}
|
|
346
|
+
interface GoogleCloudDatacatalogV1GcsFilesetSpec {
|
|
347
|
+
/**
|
|
348
|
+
* Required. Patterns to identify a set of files in Google Cloud Storage. For more information, see [Wildcard Names]
|
|
349
|
+
* (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). Note: Currently, bucket wildcards are not supported. Examples of valid `file_patterns`: *
|
|
350
|
+
* `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir` directory * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` and all subdirectories *
|
|
351
|
+
* `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` *
|
|
352
|
+
* `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain
|
|
353
|
+
* `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match the `a/*/b` pattern, such as `a/c/b`, `a/d/b` *
|
|
354
|
+
* `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to match complex sets of files, for example: `gs://bucket_name/[a-m]??.j*g`
|
|
355
|
+
*/
|
|
356
|
+
filePatterns?: string[];
|
|
357
|
+
/** Output only. Sample files contained in this fileset, not all files contained in this fileset are represented here. */
|
|
358
|
+
sampleGcsFileSpecs?: GoogleCloudDatacatalogV1GcsFileSpec[];
|
|
359
|
+
}
|
|
360
|
+
interface GoogleCloudDatacatalogV1GcsFileSpec {
|
|
361
|
+
/** Required. Full file path. Example: `gs://bucket_name/a/b.txt`. */
|
|
362
|
+
filePath?: string;
|
|
363
|
+
/** Output only. Creation, modification, and expiration timestamps of a Cloud Storage file. */
|
|
364
|
+
gcsTimestamps?: GoogleCloudDatacatalogV1SystemTimestamps;
|
|
365
|
+
/** Output only. File size in bytes. */
|
|
366
|
+
sizeBytes?: string;
|
|
367
|
+
}
|
|
368
|
+
interface GoogleCloudDatacatalogV1ImportTaxonomiesRequest {
|
|
369
|
+
/** Cross-regional source taxonomy to import. */
|
|
370
|
+
crossRegionalSource?: GoogleCloudDatacatalogV1CrossRegionalSource;
|
|
371
|
+
/** Inline source taxonomy to import. */
|
|
372
|
+
inlineSource?: GoogleCloudDatacatalogV1InlineSource;
|
|
373
|
+
}
|
|
374
|
+
interface GoogleCloudDatacatalogV1ImportTaxonomiesResponse {
|
|
375
|
+
/** Imported taxonomies. */
|
|
376
|
+
taxonomies?: GoogleCloudDatacatalogV1Taxonomy[];
|
|
377
|
+
}
|
|
378
|
+
interface GoogleCloudDatacatalogV1InlineSource {
|
|
379
|
+
/** Required. Taxonomies to import. */
|
|
380
|
+
taxonomies?: GoogleCloudDatacatalogV1SerializedTaxonomy[];
|
|
381
|
+
}
|
|
382
|
+
interface GoogleCloudDatacatalogV1ListEntriesResponse {
|
|
383
|
+
/** Entry details. */
|
|
384
|
+
entries?: GoogleCloudDatacatalogV1Entry[];
|
|
385
|
+
/** Pagination token of the next results page. Empty if there are no more items in results. */
|
|
386
|
+
nextPageToken?: string;
|
|
387
|
+
}
|
|
388
|
+
interface GoogleCloudDatacatalogV1ListEntryGroupsResponse {
|
|
389
|
+
/** Entry group details. */
|
|
390
|
+
entryGroups?: GoogleCloudDatacatalogV1EntryGroup[];
|
|
391
|
+
/** Pagination token to specify in the next call to retrieve the next page of results. Empty if there are no more items. */
|
|
392
|
+
nextPageToken?: string;
|
|
393
|
+
}
|
|
394
|
+
interface GoogleCloudDatacatalogV1ListPolicyTagsResponse {
|
|
395
|
+
/** Pagination token of the next results page. Empty if there are no more results in the list. */
|
|
396
|
+
nextPageToken?: string;
|
|
397
|
+
/** The policy tags that belong to the taxonomy. */
|
|
398
|
+
policyTags?: GoogleCloudDatacatalogV1PolicyTag[];
|
|
399
|
+
}
|
|
400
|
+
interface GoogleCloudDatacatalogV1ListTagsResponse {
|
|
401
|
+
/** Pagination token of the next results page. Empty if there are no more items in results. */
|
|
402
|
+
nextPageToken?: string;
|
|
403
|
+
/** Tag details. */
|
|
404
|
+
tags?: GoogleCloudDatacatalogV1Tag[];
|
|
405
|
+
}
|
|
406
|
+
interface GoogleCloudDatacatalogV1ListTaxonomiesResponse {
|
|
407
|
+
/** Pagination token of the next results page. Empty if there are no more results in the list. */
|
|
408
|
+
nextPageToken?: string;
|
|
409
|
+
/** Taxonomies that the project contains. */
|
|
410
|
+
taxonomies?: GoogleCloudDatacatalogV1Taxonomy[];
|
|
411
|
+
}
|
|
412
|
+
interface GoogleCloudDatacatalogV1ModifyEntryContactsRequest {
|
|
413
|
+
/** Required. The new value for the Contacts. */
|
|
414
|
+
contacts?: GoogleCloudDatacatalogV1Contacts;
|
|
415
|
+
}
|
|
416
|
+
interface GoogleCloudDatacatalogV1ModifyEntryOverviewRequest {
|
|
417
|
+
/** Required. The new value for the Entry Overview. */
|
|
418
|
+
entryOverview?: GoogleCloudDatacatalogV1EntryOverview;
|
|
419
|
+
}
|
|
420
|
+
interface GoogleCloudDatacatalogV1PersonalDetails {
|
|
421
|
+
/** True if the entry is starred by the user; false otherwise. */
|
|
422
|
+
starred?: boolean;
|
|
423
|
+
/** Set if the entry is starred; unset otherwise. */
|
|
424
|
+
starTime?: string;
|
|
425
|
+
}
|
|
426
|
+
interface GoogleCloudDatacatalogV1PhysicalSchema {
|
|
427
|
+
/** Schema in Avro JSON format. */
|
|
428
|
+
avro?: GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema;
|
|
429
|
+
/** Marks a CSV-encoded data source. */
|
|
430
|
+
csv?: any;
|
|
431
|
+
/** Marks an ORC-encoded data source. */
|
|
432
|
+
orc?: any;
|
|
433
|
+
/** Marks a Parquet-encoded data source. */
|
|
434
|
+
parquet?: any;
|
|
435
|
+
/** Schema in protocol buffer format. */
|
|
436
|
+
protobuf?: GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema;
|
|
437
|
+
/** Schema in Thrift format. */
|
|
438
|
+
thrift?: GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema;
|
|
439
|
+
}
|
|
440
|
+
interface GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema {
|
|
441
|
+
/** JSON source of the Avro schema. */
|
|
442
|
+
text?: string;
|
|
443
|
+
}
|
|
444
|
+
// tslint:disable-next-line:no-empty-interface
|
|
445
|
+
interface GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema {
|
|
446
|
+
}
|
|
447
|
+
// tslint:disable-next-line:no-empty-interface
|
|
448
|
+
interface GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema {
|
|
449
|
+
}
|
|
450
|
+
// tslint:disable-next-line:no-empty-interface
|
|
451
|
+
interface GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema {
|
|
452
|
+
}
|
|
453
|
+
interface GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema {
|
|
454
|
+
/** Protocol buffer source of the schema. */
|
|
455
|
+
text?: string;
|
|
456
|
+
}
|
|
457
|
+
interface GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema {
|
|
458
|
+
/** Thrift IDL source of the schema. */
|
|
459
|
+
text?: string;
|
|
460
|
+
}
|
|
461
|
+
interface GoogleCloudDatacatalogV1PolicyTag {
|
|
462
|
+
/** Output only. Resource names of child policy tags of this policy tag. */
|
|
463
|
+
childPolicyTags?: string[];
|
|
464
|
+
/**
|
|
465
|
+
* Description of this policy tag. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns and page breaks, and be at most
|
|
466
|
+
* 2000 bytes long when encoded in UTF-8.
|
|
467
|
+
*/
|
|
468
|
+
description?: string;
|
|
469
|
+
/**
|
|
470
|
+
* Required. User-defined name of this policy tag. The name can't start or end with spaces and must be unique within the parent taxonomy, contain only Unicode letters, numbers,
|
|
471
|
+
* underscores, dashes and spaces, and be at most 200 bytes long when encoded in UTF-8.
|
|
472
|
+
*/
|
|
473
|
+
displayName?: string;
|
|
474
|
+
/** Output only. Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs. */
|
|
475
|
+
name?: string;
|
|
476
|
+
/**
|
|
477
|
+
* Resource name of this policy tag's parent policy tag. If empty, this is a top level tag. If not set, defaults to an empty string. For example, for the "LatLong" policy tag in the
|
|
478
|
+
* example above, this field contains the resource name of the "Geolocation" policy tag, and, for "Geolocation", this field is empty.
|
|
479
|
+
*/
|
|
480
|
+
parentPolicyTag?: string;
|
|
481
|
+
}
|
|
482
|
+
interface GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest {
|
|
483
|
+
/** Required. The new display name of the enum value. For example, `my_new_enum_value`. */
|
|
484
|
+
newEnumValueDisplayName?: string;
|
|
485
|
+
}
|
|
486
|
+
interface GoogleCloudDatacatalogV1RenameTagTemplateFieldRequest {
|
|
487
|
+
/** Required. The new ID of this tag template field. For example, `my_new_field`. */
|
|
488
|
+
newTagTemplateFieldId?: string;
|
|
489
|
+
}
|
|
490
|
+
interface GoogleCloudDatacatalogV1ReplaceTaxonomyRequest {
|
|
491
|
+
/** Required. Taxonomy to update along with its child policy tags. */
|
|
492
|
+
serializedTaxonomy?: GoogleCloudDatacatalogV1SerializedTaxonomy;
|
|
493
|
+
}
|
|
494
|
+
interface GoogleCloudDatacatalogV1RoutineSpec {
|
|
495
|
+
/** Fields specific for BigQuery routines. */
|
|
496
|
+
bigqueryRoutineSpec?: GoogleCloudDatacatalogV1BigQueryRoutineSpec;
|
|
497
|
+
/** The body of the routine. */
|
|
498
|
+
definitionBody?: string;
|
|
499
|
+
/** The language the routine is written in. The exact value depends on the source system. For BigQuery routines, possible values are: * `SQL` * `JAVASCRIPT` */
|
|
500
|
+
language?: string;
|
|
501
|
+
/** Return type of the argument. The exact value depends on the source system and the language. */
|
|
502
|
+
returnType?: string;
|
|
503
|
+
/** Arguments of the routine. */
|
|
504
|
+
routineArguments?: GoogleCloudDatacatalogV1RoutineSpecArgument[];
|
|
505
|
+
/** The type of the routine. */
|
|
506
|
+
routineType?: string;
|
|
507
|
+
}
|
|
508
|
+
interface GoogleCloudDatacatalogV1RoutineSpecArgument {
|
|
509
|
+
/** Specifies whether the argument is input or output. */
|
|
510
|
+
mode?: string;
|
|
511
|
+
/** The name of the argument. A return argument of a function might not have a name. */
|
|
512
|
+
name?: string;
|
|
513
|
+
/** Type of the argument. The exact value depends on the source system and the language. */
|
|
514
|
+
type?: string;
|
|
515
|
+
}
|
|
516
|
+
interface GoogleCloudDatacatalogV1Schema {
|
|
517
|
+
/** The unified GoogleSQL-like schema of columns. The overall maximum number of columns and nested columns is 10,000. The maximum nested depth is 15 levels. */
|
|
518
|
+
columns?: GoogleCloudDatacatalogV1ColumnSchema[];
|
|
519
|
+
}
|
|
520
|
+
interface GoogleCloudDatacatalogV1SearchCatalogRequest {
|
|
521
|
+
/**
|
|
522
|
+
* Specifies the order of results. Currently supported case-sensitive values are: * `relevance` that can only be descending * `last_modified_timestamp [asc|desc]` with descending
|
|
523
|
+
* (`desc`) as default * `default` that can only be descending If this parameter is omitted, it defaults to the descending `relevance`.
|
|
524
|
+
*/
|
|
525
|
+
orderBy?: string;
|
|
526
|
+
/**
|
|
527
|
+
* Number of results to return in a single search page. Can't be negative or 0, defaults to 10 in this case. The maximum number is 1000. If exceeded, throws an "invalid argument"
|
|
528
|
+
* exception.
|
|
529
|
+
*/
|
|
530
|
+
pageSize?: number;
|
|
531
|
+
/**
|
|
532
|
+
* Optional. Pagination token that, if specified, returns the next page of search results. If empty, returns the first page. This token is returned in the
|
|
533
|
+
* SearchCatalogResponse.next_page_token field of the response to a previous SearchCatalogRequest call.
|
|
534
|
+
*/
|
|
535
|
+
pageToken?: string;
|
|
536
|
+
/**
|
|
537
|
+
* Optional. The query string with a minimum of 3 characters and specific syntax. For more information, see [Data Catalog search
|
|
538
|
+
* syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference). An empty query string returns all data assets (in the specified scope) that you have access to. A query
|
|
539
|
+
* string can be a simple `xyz` or qualified by predicates: * `name:x` * `column:y` * `description:z`
|
|
540
|
+
*/
|
|
541
|
+
query?: string;
|
|
542
|
+
/**
|
|
543
|
+
* Required. The scope of this search request. The `scope` is invalid if `include_org_ids`, `include_project_ids` are empty AND `include_gcp_public_datasets` is set to `false`. In this
|
|
544
|
+
* case, the request returns an error.
|
|
545
|
+
*/
|
|
546
|
+
scope?: GoogleCloudDatacatalogV1SearchCatalogRequestScope;
|
|
547
|
+
}
|
|
548
|
+
interface GoogleCloudDatacatalogV1SearchCatalogRequestScope {
|
|
549
|
+
/**
|
|
550
|
+
* If `true`, include Google Cloud Platform (GCP) public datasets in search results. By default, they are excluded. See [Google Cloud Public Datasets](/public-datasets) for more
|
|
551
|
+
* information.
|
|
552
|
+
*/
|
|
553
|
+
includeGcpPublicDatasets?: boolean;
|
|
554
|
+
/**
|
|
555
|
+
* The list of organization IDs to search within. To find your organization ID, follow the steps from [Creating and managing organizations]
|
|
556
|
+
* (/resource-manager/docs/creating-managing-organization).
|
|
557
|
+
*/
|
|
558
|
+
includeOrgIds?: string[];
|
|
559
|
+
/** The list of project IDs to search within. For more information on the distinction between project names, IDs, and numbers, see [Projects](/docs/overview/#projects). */
|
|
560
|
+
includeProjectIds?: string[];
|
|
561
|
+
/** Optional. This field is deprecated. The search mechanism for public and private tag templates is the same. */
|
|
562
|
+
includePublicTagTemplates?: boolean;
|
|
563
|
+
/**
|
|
564
|
+
* Optional. The list of locations to search within. If empty, all locations are searched. Returns an error if any location in the list isn't one of the [Supported
|
|
565
|
+
* regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions). If a location is unreachable, its name is returned in the
|
|
566
|
+
* `SearchCatalogResponse.unreachable` field. To get additional information on the error, repeat the search request and set the location name as the value of this parameter.
|
|
567
|
+
*/
|
|
568
|
+
restrictedLocations?: string[];
|
|
569
|
+
/** Optional. If `true`, search only among starred entries. By default, all results are returned, starred or not. */
|
|
570
|
+
starredOnly?: boolean;
|
|
571
|
+
}
|
|
572
|
+
interface GoogleCloudDatacatalogV1SearchCatalogResponse {
|
|
573
|
+
/** Pagination token that can be used in subsequent calls to retrieve the next page of results. */
|
|
574
|
+
nextPageToken?: string;
|
|
575
|
+
/** Search results. */
|
|
576
|
+
results?: GoogleCloudDatacatalogV1SearchCatalogResult[];
|
|
577
|
+
/**
|
|
578
|
+
* Unreachable locations. Search results don't include data from those locations. To get additional information on an error, repeat the search request and restrict it to specific
|
|
579
|
+
* locations by setting the `SearchCatalogRequest.scope.restricted_locations` parameter.
|
|
580
|
+
*/
|
|
581
|
+
unreachable?: string[];
|
|
582
|
+
}
|
|
583
|
+
interface GoogleCloudDatacatalogV1SearchCatalogResult {
|
|
584
|
+
/** Entry description that can consist of several sentences or paragraphs that describe entry contents. */
|
|
585
|
+
description?: string;
|
|
586
|
+
/** The display name of the result. */
|
|
587
|
+
displayName?: string;
|
|
588
|
+
/**
|
|
589
|
+
* Fully qualified name (FQN) of the resource. FQNs take two forms: * For non-regionalized resources: `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * For regionalized
|
|
590
|
+
* resources: `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` Example for a DPMS table:
|
|
591
|
+
* `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`
|
|
592
|
+
*/
|
|
593
|
+
fullyQualifiedName?: string;
|
|
594
|
+
/** Output only. The source system that Data Catalog automatically integrates with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore. */
|
|
595
|
+
integratedSystem?: string;
|
|
596
|
+
/**
|
|
597
|
+
* The full name of the Google Cloud resource the entry belongs to. For more information, see [Full Resource Name] (/apis/design/resource_names#full_resource_name). Example:
|
|
598
|
+
* `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID`
|
|
599
|
+
*/
|
|
600
|
+
linkedResource?: string;
|
|
601
|
+
/** The last modification timestamp of the entry in the source system. */
|
|
602
|
+
modifyTime?: string;
|
|
603
|
+
/**
|
|
604
|
+
* The relative name of the resource in URL format. Examples: * `projects/{PROJECT_ID}/locations/{LOCATION_ID}/entryGroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}` *
|
|
605
|
+
* `projects/{PROJECT_ID}/tagTemplates/{TAG_TEMPLATE_ID}`
|
|
606
|
+
*/
|
|
607
|
+
relativeResourceName?: string;
|
|
608
|
+
/**
|
|
609
|
+
* Sub-type of the search result. A dot-delimited full type of the resource. The same type you specify in the `type` search predicate. Examples: `entry.table`, `entry.dataStream`,
|
|
610
|
+
* `tagTemplate`.
|
|
611
|
+
*/
|
|
612
|
+
searchResultSubtype?: string;
|
|
613
|
+
/** Type of the search result. You can use this field to determine which get method to call to fetch the full resource. */
|
|
614
|
+
searchResultType?: string;
|
|
615
|
+
/** Custom source system that you can manually integrate Data Catalog with. */
|
|
616
|
+
userSpecifiedSystem?: string;
|
|
617
|
+
}
|
|
618
|
+
interface GoogleCloudDatacatalogV1SerializedPolicyTag {
|
|
619
|
+
/** Children of the policy tag, if any. */
|
|
620
|
+
childPolicyTags?: GoogleCloudDatacatalogV1SerializedPolicyTag[];
|
|
621
|
+
/** Description of the serialized policy tag. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description. */
|
|
622
|
+
description?: string;
|
|
623
|
+
/** Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8. */
|
|
624
|
+
displayName?: string;
|
|
625
|
+
/** Resource name of the policy tag. This field is ignored when calling `ImportTaxonomies`. */
|
|
626
|
+
policyTag?: string;
|
|
627
|
+
}
|
|
628
|
+
interface GoogleCloudDatacatalogV1SerializedTaxonomy {
|
|
629
|
+
/** A list of policy types that are activated per taxonomy. */
|
|
630
|
+
activatedPolicyTypes?: string[];
|
|
631
|
+
/** Description of the serialized taxonomy. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description. */
|
|
632
|
+
description?: string;
|
|
633
|
+
/** Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8. */
|
|
634
|
+
displayName?: string;
|
|
635
|
+
/** Top level policy tags associated with the taxonomy, if any. */
|
|
636
|
+
policyTags?: GoogleCloudDatacatalogV1SerializedPolicyTag[];
|
|
637
|
+
}
|
|
638
|
+
// tslint:disable-next-line:no-empty-interface
|
|
639
|
+
interface GoogleCloudDatacatalogV1StarEntryRequest {
|
|
640
|
+
}
|
|
641
|
+
// tslint:disable-next-line:no-empty-interface
|
|
642
|
+
interface GoogleCloudDatacatalogV1StarEntryResponse {
|
|
643
|
+
}
|
|
644
|
+
interface GoogleCloudDatacatalogV1StorageProperties {
|
|
645
|
+
/**
|
|
646
|
+
* Patterns to identify a set of files for this fileset. Examples of a valid `file_pattern`: * `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir` directory *
|
|
647
|
+
* `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir` and all subdirectories recursively * `gs://bucket_name/file*`: matches files prefixed by `file` in
|
|
648
|
+
* `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a
|
|
649
|
+
* single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` *
|
|
650
|
+
* `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match the `a/*/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches
|
|
651
|
+
* `gs://another_bucket/a.txt`
|
|
652
|
+
*/
|
|
653
|
+
filePattern?: string[];
|
|
654
|
+
/** File type in MIME format, for example, `text/plain`. */
|
|
655
|
+
fileType?: string;
|
|
656
|
+
}
|
|
657
|
+
interface GoogleCloudDatacatalogV1SystemTimestamps {
|
|
658
|
+
/** Creation timestamp of the resource within the given system. */
|
|
659
|
+
createTime?: string;
|
|
660
|
+
/** Output only. Expiration timestamp of the resource within the given system. Currently only applicable to BigQuery resources. */
|
|
661
|
+
expireTime?: string;
|
|
662
|
+
/**
|
|
663
|
+
* Timestamp of the last modification of the resource or its metadata within a given system. Note: Depending on the source system, not every modification updates this timestamp. For
|
|
664
|
+
* example, BigQuery timestamps every metadata modification but not data or permission changes.
|
|
665
|
+
*/
|
|
666
|
+
updateTime?: string;
|
|
667
|
+
}
|
|
668
|
+
interface GoogleCloudDatacatalogV1TableSpec {
|
|
669
|
+
/**
|
|
670
|
+
* Output only. If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource name of the date-sharded grouped entry.
|
|
671
|
+
* For example: `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`. Otherwise, `grouped_entry` is empty.
|
|
672
|
+
*/
|
|
673
|
+
groupedEntry?: string;
|
|
674
|
+
}
|
|
675
|
+
interface GoogleCloudDatacatalogV1Tag {
|
|
676
|
+
/**
|
|
677
|
+
* Resources like entry can have schemas associated with them. This scope allows you to attach tags to an individual column based on that schema. To attach a tag to a nested column,
|
|
678
|
+
* separate column names with a dot (`.`). Example: `column.nested_column`.
|
|
679
|
+
*/
|
|
680
|
+
column?: string;
|
|
681
|
+
/**
|
|
682
|
+
* Required. Maps the ID of a tag field to its value and additional information about that field. Tag template defines valid field IDs. A tag must have at least 1 field and at most 500
|
|
683
|
+
* fields.
|
|
684
|
+
*/
|
|
685
|
+
fields?: { [P in string]: GoogleCloudDatacatalogV1TagField };
|
|
686
|
+
/** The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name. */
|
|
687
|
+
name?: string;
|
|
688
|
+
/**
|
|
689
|
+
* Required. The resource name of the tag template this tag uses. Example: `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}` This field cannot be modified
|
|
690
|
+
* after creation.
|
|
691
|
+
*/
|
|
692
|
+
template?: string;
|
|
693
|
+
/** Output only. The display name of the tag template. */
|
|
694
|
+
templateDisplayName?: string;
|
|
695
|
+
}
|
|
696
|
+
interface GoogleCloudDatacatalogV1TagField {
|
|
697
|
+
/** The value of a tag field with a boolean type. */
|
|
698
|
+
boolValue?: boolean;
|
|
699
|
+
/** Output only. The display name of this field. */
|
|
700
|
+
displayName?: string;
|
|
701
|
+
/** The value of a tag field with a double type. */
|
|
702
|
+
doubleValue?: number;
|
|
703
|
+
/** The value of a tag field with an enum type. This value must be one of the allowed values listed in this enum. */
|
|
704
|
+
enumValue?: GoogleCloudDatacatalogV1TagFieldEnumValue;
|
|
705
|
+
/**
|
|
706
|
+
* Output only. The order of this field with respect to other fields in this tag. Can be set by Tag. For example, a higher value can indicate a more important field. The value can be
|
|
707
|
+
* negative. Multiple fields can have the same order, and field orders within a tag don't have to be sequential.
|
|
708
|
+
*/
|
|
709
|
+
order?: number;
|
|
710
|
+
/**
|
|
711
|
+
* The value of a tag field with a rich text type. The maximum length is 10 MiB as this value holds HTML descriptions including encoded images. The maximum length of the text without
|
|
712
|
+
* images is 100 KiB.
|
|
713
|
+
*/
|
|
714
|
+
richtextValue?: string;
|
|
715
|
+
/** The value of a tag field with a string type. The maximum length is 2000 UTF-8 characters. */
|
|
716
|
+
stringValue?: string;
|
|
717
|
+
/** The value of a tag field with a timestamp type. */
|
|
718
|
+
timestampValue?: string;
|
|
719
|
+
}
|
|
720
|
+
interface GoogleCloudDatacatalogV1TagFieldEnumValue {
|
|
721
|
+
/** The display name of the enum value. */
|
|
722
|
+
displayName?: string;
|
|
723
|
+
}
|
|
724
|
+
interface GoogleCloudDatacatalogV1TagTemplate {
|
|
725
|
+
/**
|
|
726
|
+
* Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or
|
|
727
|
+
* end with spaces. The maximum length is 200 characters.
|
|
728
|
+
*/
|
|
729
|
+
displayName?: string;
|
|
730
|
+
/**
|
|
731
|
+
* Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. The map must contain at least one field and at most 500
|
|
732
|
+
* fields. The keys to this map are tag template field IDs. The IDs have the following limitations: * Can contain uppercase and lowercase letters, numbers (0-9) and underscores (_). *
|
|
733
|
+
* Must be at least 1 character and at most 64 characters long. * Must start with a letter or underscore.
|
|
734
|
+
*/
|
|
735
|
+
fields?: { [P in string]: GoogleCloudDatacatalogV1TagTemplateField };
|
|
736
|
+
/**
|
|
737
|
+
* Indicates whether tags created with this template are public. Public tags do not require tag template access to appear in ListTags API response. Additionally, you can search for a
|
|
738
|
+
* public tag by value with a simple search query in addition to using a ``tag:`` predicate.
|
|
739
|
+
*/
|
|
740
|
+
isPubliclyReadable?: boolean;
|
|
741
|
+
/** The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name. */
|
|
742
|
+
name?: string;
|
|
743
|
+
}
|
|
744
|
+
interface GoogleCloudDatacatalogV1TagTemplateField {
|
|
745
|
+
/** The description for this field. Defaults to an empty string. */
|
|
746
|
+
description?: string;
|
|
747
|
+
/**
|
|
748
|
+
* The display name for this field. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or
|
|
749
|
+
* end with spaces. The maximum length is 200 characters.
|
|
750
|
+
*/
|
|
751
|
+
displayName?: string;
|
|
752
|
+
/** If true, this field is required. Defaults to false. */
|
|
753
|
+
isRequired?: boolean;
|
|
754
|
+
/**
|
|
755
|
+
* Output only. The resource name of the tag template field in URL format. Example: `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}` Note: The
|
|
756
|
+
* tag template field itself might not be stored in the location specified in its name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start
|
|
757
|
+
* with a letter or underscore. The maximum length is 64 characters.
|
|
758
|
+
*/
|
|
759
|
+
name?: string;
|
|
760
|
+
/**
|
|
761
|
+
* The order of this field with respect to other fields in this tag template. For example, a higher value can indicate a more important field. The value can be negative. Multiple
|
|
762
|
+
* fields can have the same order and field orders within a tag don't have to be sequential.
|
|
763
|
+
*/
|
|
764
|
+
order?: number;
|
|
765
|
+
/** Required. The type of value this tag field can contain. */
|
|
766
|
+
type?: GoogleCloudDatacatalogV1FieldType;
|
|
767
|
+
}
|
|
768
|
+
interface GoogleCloudDatacatalogV1Taxonomy {
|
|
769
|
+
/** Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list. */
|
|
770
|
+
activatedPolicyTypes?: string[];
|
|
771
|
+
/**
|
|
772
|
+
* Optional. Description of this taxonomy. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns, and page breaks, and
|
|
773
|
+
* be at most 2000 bytes long when encoded in UTF-8.
|
|
774
|
+
*/
|
|
775
|
+
description?: string;
|
|
776
|
+
/**
|
|
777
|
+
* Required. User-defined name of this taxonomy. The name can't start or end with spaces, must contain only Unicode letters, numbers, underscores, dashes, and spaces, and be at most
|
|
778
|
+
* 200 bytes long when encoded in UTF-8. The taxonomy display name must be unique within an organization.
|
|
779
|
+
*/
|
|
780
|
+
displayName?: string;
|
|
781
|
+
/** Output only. Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs. */
|
|
782
|
+
name?: string;
|
|
783
|
+
/** Output only. Number of policy tags in this taxonomy. */
|
|
784
|
+
policyTagCount?: number;
|
|
785
|
+
/** Output only. Creation and modification timestamps of this taxonomy. */
|
|
786
|
+
taxonomyTimestamps?: GoogleCloudDatacatalogV1SystemTimestamps;
|
|
787
|
+
}
|
|
788
|
+
// tslint:disable-next-line:no-empty-interface
|
|
789
|
+
interface GoogleCloudDatacatalogV1UnstarEntryRequest {
|
|
790
|
+
}
|
|
791
|
+
// tslint:disable-next-line:no-empty-interface
|
|
792
|
+
interface GoogleCloudDatacatalogV1UnstarEntryResponse {
|
|
793
|
+
}
|
|
794
|
+
interface GoogleCloudDatacatalogV1UsageSignal {
|
|
795
|
+
/** The end timestamp of the duration of usage statistics. */
|
|
796
|
+
updateTime?: string;
|
|
797
|
+
/** Usage statistics over each of the predefined time ranges. Supported time ranges are `{"24H", "7D", "30D"}`. */
|
|
798
|
+
usageWithinTimeRange?: { [P in string]: GoogleCloudDatacatalogV1UsageStats };
|
|
799
|
+
}
|
|
800
|
+
interface GoogleCloudDatacatalogV1UsageStats {
|
|
801
|
+
/** The number of cancelled attempts to use the underlying entry. */
|
|
802
|
+
totalCancellations?: number;
|
|
803
|
+
/** The number of successful uses of the underlying entry. */
|
|
804
|
+
totalCompletions?: number;
|
|
805
|
+
/** Total time spent only on successful uses, in milliseconds. */
|
|
806
|
+
totalExecutionTimeForCompletionsMillis?: number;
|
|
807
|
+
/** The number of failed attempts to use the underlying entry. */
|
|
808
|
+
totalFailures?: number;
|
|
809
|
+
}
|
|
810
|
+
interface GoogleCloudDatacatalogV1ViewSpec {
|
|
811
|
+
/** Output only. The query that defines the table view. */
|
|
812
|
+
viewQuery?: string;
|
|
813
|
+
}
|
|
814
|
+
interface Policy {
|
|
815
|
+
/**
|
|
816
|
+
* 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`
|
|
817
|
+
* 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
|
|
818
|
+
* 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
|
|
819
|
+
* 1,450 principals to the `bindings` in the `Policy`.
|
|
820
|
+
*/
|
|
821
|
+
bindings?: Binding[];
|
|
822
|
+
/**
|
|
823
|
+
* `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
|
|
824
|
+
* 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
|
|
825
|
+
* 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
|
|
826
|
+
* 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`
|
|
827
|
+
* policy, and all of the conditions in the version `3` policy are lost.
|
|
828
|
+
*/
|
|
829
|
+
etag?: string;
|
|
830
|
+
/**
|
|
831
|
+
* 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
|
|
832
|
+
* 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
|
|
833
|
+
* 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
|
|
834
|
+
* 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`
|
|
835
|
+
* 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
|
|
836
|
+
* 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).
|
|
837
|
+
*/
|
|
838
|
+
version?: number;
|
|
839
|
+
}
|
|
840
|
+
interface SetIamPolicyRequest {
|
|
841
|
+
/**
|
|
842
|
+
* 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
|
|
843
|
+
* services (such as Projects) might reject them.
|
|
844
|
+
*/
|
|
845
|
+
policy?: Policy;
|
|
846
|
+
}
|
|
847
|
+
interface TestIamPermissionsRequest {
|
|
848
|
+
/**
|
|
849
|
+
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
850
|
+
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
851
|
+
*/
|
|
852
|
+
permissions?: string[];
|
|
853
|
+
}
|
|
854
|
+
interface TestIamPermissionsResponse {
|
|
855
|
+
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
856
|
+
permissions?: string[];
|
|
857
|
+
}
|
|
858
|
+
interface CatalogResource {
|
|
859
|
+
/**
|
|
860
|
+
* Searches Data Catalog for multiple resources like entries and tags that match a query. This is a [Custom Method] (https://cloud.google.com/apis/design/custom_methods) that doesn't
|
|
861
|
+
* return all information on a resource, only its ID and high level fields. To get more information, you can subsequently call specific get methods. Note: Data Catalog search queries
|
|
862
|
+
* don't guarantee full recall. Results that match your query might not be returned, even in subsequent result pages. Additionally, returned (and not returned) results can vary if you
|
|
863
|
+
* repeat search queries. For more information, see [Data Catalog search syntax] (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
|
|
864
|
+
*/
|
|
865
|
+
search(request: {
|
|
866
|
+
/** V1 error format. */
|
|
867
|
+
"$.xgafv"?: string;
|
|
868
|
+
/** OAuth access token. */
|
|
869
|
+
access_token?: string;
|
|
870
|
+
/** Data format for response. */
|
|
871
|
+
alt?: string;
|
|
872
|
+
/** JSONP */
|
|
873
|
+
callback?: string;
|
|
874
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
875
|
+
fields?: string;
|
|
876
|
+
/** 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. */
|
|
877
|
+
key?: string;
|
|
878
|
+
/** OAuth 2.0 token for the current user. */
|
|
879
|
+
oauth_token?: string;
|
|
880
|
+
/** Returns response with indentations and line breaks. */
|
|
881
|
+
prettyPrint?: boolean;
|
|
882
|
+
/** 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. */
|
|
883
|
+
quotaUser?: string;
|
|
884
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
885
|
+
upload_protocol?: string;
|
|
886
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
887
|
+
uploadType?: string;
|
|
888
|
+
/** Request body */
|
|
889
|
+
resource: GoogleCloudDatacatalogV1SearchCatalogRequest;
|
|
890
|
+
}): Request<GoogleCloudDatacatalogV1SearchCatalogResponse>;
|
|
891
|
+
search(request: {
|
|
892
|
+
/** V1 error format. */
|
|
893
|
+
"$.xgafv"?: string;
|
|
894
|
+
/** OAuth access token. */
|
|
895
|
+
access_token?: string;
|
|
896
|
+
/** Data format for response. */
|
|
897
|
+
alt?: string;
|
|
898
|
+
/** JSONP */
|
|
899
|
+
callback?: string;
|
|
900
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
901
|
+
fields?: string;
|
|
902
|
+
/** 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. */
|
|
903
|
+
key?: string;
|
|
904
|
+
/** OAuth 2.0 token for the current user. */
|
|
905
|
+
oauth_token?: string;
|
|
906
|
+
/** Returns response with indentations and line breaks. */
|
|
907
|
+
prettyPrint?: boolean;
|
|
908
|
+
/** 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. */
|
|
909
|
+
quotaUser?: string;
|
|
910
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
911
|
+
upload_protocol?: string;
|
|
912
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
913
|
+
uploadType?: string;
|
|
914
|
+
},
|
|
915
|
+
body: GoogleCloudDatacatalogV1SearchCatalogRequest): Request<GoogleCloudDatacatalogV1SearchCatalogResponse>;
|
|
916
|
+
}
|
|
917
|
+
interface EntriesResource {
|
|
918
|
+
/** Gets an entry by its target resource name. The resource name comes from the source Google Cloud Platform service. */
|
|
919
|
+
lookup(request?: {
|
|
920
|
+
/** V1 error format. */
|
|
921
|
+
"$.xgafv"?: string;
|
|
922
|
+
/** OAuth access token. */
|
|
923
|
+
access_token?: string;
|
|
924
|
+
/** Data format for response. */
|
|
925
|
+
alt?: string;
|
|
926
|
+
/** JSONP */
|
|
927
|
+
callback?: string;
|
|
928
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
929
|
+
fields?: string;
|
|
930
|
+
/**
|
|
931
|
+
* Fully qualified name (FQN) of the resource. FQNs take two forms: * For non-regionalized resources: `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * For regionalized
|
|
932
|
+
* resources: `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` Example for a DPMS table:
|
|
933
|
+
* `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}`
|
|
934
|
+
*/
|
|
935
|
+
fullyQualifiedName?: string;
|
|
936
|
+
/** 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. */
|
|
937
|
+
key?: string;
|
|
938
|
+
/**
|
|
939
|
+
* The full name of the Google Cloud Platform resource the Data Catalog entry represents. For more information, see [Full Resource Name]
|
|
940
|
+
* (https://cloud.google.com/apis/design/resource_names#full_resource_name). Full names are case-sensitive. For example: *
|
|
941
|
+
* `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}` * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
|
|
942
|
+
*/
|
|
943
|
+
linkedResource?: string;
|
|
944
|
+
/** OAuth 2.0 token for the current user. */
|
|
945
|
+
oauth_token?: string;
|
|
946
|
+
/** Returns response with indentations and line breaks. */
|
|
947
|
+
prettyPrint?: boolean;
|
|
948
|
+
/** 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. */
|
|
949
|
+
quotaUser?: string;
|
|
950
|
+
/**
|
|
951
|
+
* The SQL name of the entry. SQL names are case-sensitive. Examples: * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}` * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\` *
|
|
952
|
+
* `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}` * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}` * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
|
|
953
|
+
* Identifiers (`*_ID`) should comply with the [Lexical structure in Standard SQL] (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
|
|
954
|
+
*/
|
|
955
|
+
sqlResource?: string;
|
|
956
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
957
|
+
upload_protocol?: string;
|
|
958
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
959
|
+
uploadType?: string;
|
|
960
|
+
}): Request<GoogleCloudDatacatalogV1Entry>;
|
|
961
|
+
}
|
|
962
|
+
interface TagsResource {
|
|
963
|
+
/**
|
|
964
|
+
* Creates a tag and assigns it to: * An Entry if the method name is `projects.locations.entryGroups.entries.tags.create`. * Or EntryGroupif the method name is
|
|
965
|
+
* `projects.locations.entryGroups.tags.create`. Note: The project identified by the `parent` parameter for the [tag]
|
|
966
|
+
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters) and the [tag template]
|
|
967
|
+
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters) used to create the tag must be in the same organization.
|
|
968
|
+
*/
|
|
969
|
+
create(request: {
|
|
970
|
+
/** V1 error format. */
|
|
971
|
+
"$.xgafv"?: string;
|
|
972
|
+
/** OAuth access token. */
|
|
973
|
+
access_token?: string;
|
|
974
|
+
/** Data format for response. */
|
|
975
|
+
alt?: string;
|
|
976
|
+
/** JSONP */
|
|
977
|
+
callback?: string;
|
|
978
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
979
|
+
fields?: string;
|
|
980
|
+
/** 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. */
|
|
981
|
+
key?: string;
|
|
982
|
+
/** OAuth 2.0 token for the current user. */
|
|
983
|
+
oauth_token?: string;
|
|
984
|
+
/**
|
|
985
|
+
* Required. The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its
|
|
986
|
+
* child resources might not be stored in the location specified in its name.
|
|
987
|
+
*/
|
|
988
|
+
parent: 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
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
994
|
+
upload_protocol?: string;
|
|
995
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
996
|
+
uploadType?: string;
|
|
997
|
+
/** Request body */
|
|
998
|
+
resource: GoogleCloudDatacatalogV1Tag;
|
|
999
|
+
}): Request<GoogleCloudDatacatalogV1Tag>;
|
|
1000
|
+
create(request: {
|
|
1001
|
+
/** V1 error format. */
|
|
1002
|
+
"$.xgafv"?: string;
|
|
1003
|
+
/** OAuth access token. */
|
|
1004
|
+
access_token?: string;
|
|
1005
|
+
/** Data format for response. */
|
|
1006
|
+
alt?: string;
|
|
1007
|
+
/** JSONP */
|
|
1008
|
+
callback?: string;
|
|
1009
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1010
|
+
fields?: string;
|
|
1011
|
+
/** 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. */
|
|
1012
|
+
key?: string;
|
|
1013
|
+
/** OAuth 2.0 token for the current user. */
|
|
1014
|
+
oauth_token?: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* Required. The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its
|
|
1017
|
+
* child resources might not be stored in the location specified in its name.
|
|
1018
|
+
*/
|
|
1019
|
+
parent: string;
|
|
1020
|
+
/** Returns response with indentations and line breaks. */
|
|
1021
|
+
prettyPrint?: boolean;
|
|
1022
|
+
/** 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. */
|
|
1023
|
+
quotaUser?: string;
|
|
1024
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1025
|
+
upload_protocol?: string;
|
|
1026
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1027
|
+
uploadType?: string;
|
|
1028
|
+
},
|
|
1029
|
+
body: GoogleCloudDatacatalogV1Tag): Request<GoogleCloudDatacatalogV1Tag>;
|
|
1030
|
+
/** Deletes a tag. */
|
|
1031
|
+
delete(request?: {
|
|
1032
|
+
/** V1 error format. */
|
|
1033
|
+
"$.xgafv"?: string;
|
|
1034
|
+
/** OAuth access token. */
|
|
1035
|
+
access_token?: string;
|
|
1036
|
+
/** Data format for response. */
|
|
1037
|
+
alt?: string;
|
|
1038
|
+
/** JSONP */
|
|
1039
|
+
callback?: string;
|
|
1040
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1041
|
+
fields?: string;
|
|
1042
|
+
/** 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. */
|
|
1043
|
+
key?: string;
|
|
1044
|
+
/** Required. The name of the tag to delete. */
|
|
1045
|
+
name: string;
|
|
1046
|
+
/** OAuth 2.0 token for the current user. */
|
|
1047
|
+
oauth_token?: string;
|
|
1048
|
+
/** Returns response with indentations and line breaks. */
|
|
1049
|
+
prettyPrint?: boolean;
|
|
1050
|
+
/** 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. */
|
|
1051
|
+
quotaUser?: string;
|
|
1052
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1053
|
+
upload_protocol?: string;
|
|
1054
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1055
|
+
uploadType?: string;
|
|
1056
|
+
}): Request<{}>;
|
|
1057
|
+
/** Lists tags assigned to an Entry. The columns in the response are lowercased. */
|
|
1058
|
+
list(request?: {
|
|
1059
|
+
/** V1 error format. */
|
|
1060
|
+
"$.xgafv"?: string;
|
|
1061
|
+
/** OAuth access token. */
|
|
1062
|
+
access_token?: string;
|
|
1063
|
+
/** Data format for response. */
|
|
1064
|
+
alt?: string;
|
|
1065
|
+
/** JSONP */
|
|
1066
|
+
callback?: string;
|
|
1067
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1068
|
+
fields?: string;
|
|
1069
|
+
/** 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. */
|
|
1070
|
+
key?: string;
|
|
1071
|
+
/** OAuth 2.0 token for the current user. */
|
|
1072
|
+
oauth_token?: string;
|
|
1073
|
+
/** The maximum number of tags to return. Default is 10. Maximum limit is 1000. */
|
|
1074
|
+
pageSize?: number;
|
|
1075
|
+
/** Pagination token that specifies the next page to return. If empty, the first page is returned. */
|
|
1076
|
+
pageToken?: string;
|
|
1077
|
+
/** Required. The name of the Data Catalog resource to list the tags of. The resource can be an Entry or an EntryGroup (without `/entries/{entries}` at the end). */
|
|
1078
|
+
parent: string;
|
|
1079
|
+
/** Returns response with indentations and line breaks. */
|
|
1080
|
+
prettyPrint?: boolean;
|
|
1081
|
+
/** 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. */
|
|
1082
|
+
quotaUser?: string;
|
|
1083
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1084
|
+
upload_protocol?: string;
|
|
1085
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1086
|
+
uploadType?: string;
|
|
1087
|
+
}): Request<GoogleCloudDatacatalogV1ListTagsResponse>;
|
|
1088
|
+
/** Updates an existing tag. */
|
|
1089
|
+
patch(request: {
|
|
1090
|
+
/** V1 error format. */
|
|
1091
|
+
"$.xgafv"?: string;
|
|
1092
|
+
/** OAuth access token. */
|
|
1093
|
+
access_token?: string;
|
|
1094
|
+
/** Data format for response. */
|
|
1095
|
+
alt?: string;
|
|
1096
|
+
/** JSONP */
|
|
1097
|
+
callback?: string;
|
|
1098
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1099
|
+
fields?: string;
|
|
1100
|
+
/** 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. */
|
|
1101
|
+
key?: string;
|
|
1102
|
+
/** The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name. */
|
|
1103
|
+
name: string;
|
|
1104
|
+
/** OAuth 2.0 token for the current user. */
|
|
1105
|
+
oauth_token?: string;
|
|
1106
|
+
/** Returns response with indentations and line breaks. */
|
|
1107
|
+
prettyPrint?: boolean;
|
|
1108
|
+
/** 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. */
|
|
1109
|
+
quotaUser?: string;
|
|
1110
|
+
/**
|
|
1111
|
+
* Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the name `fields`. In general, if this parameter is absent or empty, all
|
|
1112
|
+
* modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.
|
|
1113
|
+
*/
|
|
1114
|
+
updateMask?: string;
|
|
1115
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1116
|
+
upload_protocol?: string;
|
|
1117
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1118
|
+
uploadType?: string;
|
|
1119
|
+
/** Request body */
|
|
1120
|
+
resource: GoogleCloudDatacatalogV1Tag;
|
|
1121
|
+
}): Request<GoogleCloudDatacatalogV1Tag>;
|
|
1122
|
+
patch(request: {
|
|
1123
|
+
/** V1 error format. */
|
|
1124
|
+
"$.xgafv"?: string;
|
|
1125
|
+
/** OAuth access token. */
|
|
1126
|
+
access_token?: string;
|
|
1127
|
+
/** Data format for response. */
|
|
1128
|
+
alt?: string;
|
|
1129
|
+
/** JSONP */
|
|
1130
|
+
callback?: string;
|
|
1131
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1132
|
+
fields?: string;
|
|
1133
|
+
/** 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. */
|
|
1134
|
+
key?: string;
|
|
1135
|
+
/** The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name. */
|
|
1136
|
+
name: string;
|
|
1137
|
+
/** OAuth 2.0 token for the current user. */
|
|
1138
|
+
oauth_token?: string;
|
|
1139
|
+
/** Returns response with indentations and line breaks. */
|
|
1140
|
+
prettyPrint?: boolean;
|
|
1141
|
+
/** 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. */
|
|
1142
|
+
quotaUser?: string;
|
|
1143
|
+
/**
|
|
1144
|
+
* Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the name `fields`. In general, if this parameter is absent or empty, all
|
|
1145
|
+
* modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.
|
|
1146
|
+
*/
|
|
1147
|
+
updateMask?: string;
|
|
1148
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1149
|
+
upload_protocol?: string;
|
|
1150
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1151
|
+
uploadType?: string;
|
|
1152
|
+
},
|
|
1153
|
+
body: GoogleCloudDatacatalogV1Tag): Request<GoogleCloudDatacatalogV1Tag>;
|
|
1154
|
+
}
|
|
1155
|
+
interface EntriesResource {
|
|
1156
|
+
/**
|
|
1157
|
+
* Creates an entry. You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data Catalog automatically creates entries with other types during metadata
|
|
1158
|
+
* ingestion from integrated systems. You must enable the Data Catalog API in the project identified by the `parent` parameter. For more information, see [Data Catalog resource
|
|
1159
|
+
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). An entry group can have a maximum of 100,000 entries.
|
|
1160
|
+
*/
|
|
1161
|
+
create(request: {
|
|
1162
|
+
/** V1 error format. */
|
|
1163
|
+
"$.xgafv"?: string;
|
|
1164
|
+
/** OAuth access token. */
|
|
1165
|
+
access_token?: string;
|
|
1166
|
+
/** Data format for response. */
|
|
1167
|
+
alt?: string;
|
|
1168
|
+
/** JSONP */
|
|
1169
|
+
callback?: string;
|
|
1170
|
+
/** Required. The ID of the entry to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8. */
|
|
1171
|
+
entryId?: string;
|
|
1172
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1173
|
+
fields?: string;
|
|
1174
|
+
/** 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. */
|
|
1175
|
+
key?: string;
|
|
1176
|
+
/** OAuth 2.0 token for the current user. */
|
|
1177
|
+
oauth_token?: string;
|
|
1178
|
+
/** Required. The name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name. */
|
|
1179
|
+
parent: string;
|
|
1180
|
+
/** Returns response with indentations and line breaks. */
|
|
1181
|
+
prettyPrint?: boolean;
|
|
1182
|
+
/** 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. */
|
|
1183
|
+
quotaUser?: string;
|
|
1184
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1185
|
+
upload_protocol?: string;
|
|
1186
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1187
|
+
uploadType?: string;
|
|
1188
|
+
/** Request body */
|
|
1189
|
+
resource: GoogleCloudDatacatalogV1Entry;
|
|
1190
|
+
}): Request<GoogleCloudDatacatalogV1Entry>;
|
|
1191
|
+
create(request: {
|
|
1192
|
+
/** V1 error format. */
|
|
1193
|
+
"$.xgafv"?: string;
|
|
1194
|
+
/** OAuth access token. */
|
|
1195
|
+
access_token?: string;
|
|
1196
|
+
/** Data format for response. */
|
|
1197
|
+
alt?: string;
|
|
1198
|
+
/** JSONP */
|
|
1199
|
+
callback?: string;
|
|
1200
|
+
/** Required. The ID of the entry to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8. */
|
|
1201
|
+
entryId?: string;
|
|
1202
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1203
|
+
fields?: string;
|
|
1204
|
+
/** 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. */
|
|
1205
|
+
key?: string;
|
|
1206
|
+
/** OAuth 2.0 token for the current user. */
|
|
1207
|
+
oauth_token?: string;
|
|
1208
|
+
/** Required. The name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name. */
|
|
1209
|
+
parent: string;
|
|
1210
|
+
/** Returns response with indentations and line breaks. */
|
|
1211
|
+
prettyPrint?: boolean;
|
|
1212
|
+
/** 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. */
|
|
1213
|
+
quotaUser?: string;
|
|
1214
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1215
|
+
upload_protocol?: string;
|
|
1216
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1217
|
+
uploadType?: string;
|
|
1218
|
+
},
|
|
1219
|
+
body: GoogleCloudDatacatalogV1Entry): Request<GoogleCloudDatacatalogV1Entry>;
|
|
1220
|
+
/**
|
|
1221
|
+
* Deletes an existing entry. You can delete only the entries created by the CreateEntry method. You must enable the Data Catalog API in the project identified by the `name` parameter.
|
|
1222
|
+
* For more information, see [Data Catalog resource project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
|
|
1223
|
+
*/
|
|
1224
|
+
delete(request?: {
|
|
1225
|
+
/** V1 error format. */
|
|
1226
|
+
"$.xgafv"?: string;
|
|
1227
|
+
/** OAuth access token. */
|
|
1228
|
+
access_token?: string;
|
|
1229
|
+
/** Data format for response. */
|
|
1230
|
+
alt?: string;
|
|
1231
|
+
/** JSONP */
|
|
1232
|
+
callback?: string;
|
|
1233
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1234
|
+
fields?: string;
|
|
1235
|
+
/** 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. */
|
|
1236
|
+
key?: string;
|
|
1237
|
+
/** Required. The name of the entry to delete. */
|
|
1238
|
+
name: string;
|
|
1239
|
+
/** OAuth 2.0 token for the current user. */
|
|
1240
|
+
oauth_token?: string;
|
|
1241
|
+
/** Returns response with indentations and line breaks. */
|
|
1242
|
+
prettyPrint?: boolean;
|
|
1243
|
+
/** 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. */
|
|
1244
|
+
quotaUser?: string;
|
|
1245
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1246
|
+
upload_protocol?: string;
|
|
1247
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1248
|
+
uploadType?: string;
|
|
1249
|
+
}): Request<{}>;
|
|
1250
|
+
/** Gets an entry. */
|
|
1251
|
+
get(request?: {
|
|
1252
|
+
/** V1 error format. */
|
|
1253
|
+
"$.xgafv"?: string;
|
|
1254
|
+
/** OAuth access token. */
|
|
1255
|
+
access_token?: string;
|
|
1256
|
+
/** Data format for response. */
|
|
1257
|
+
alt?: string;
|
|
1258
|
+
/** JSONP */
|
|
1259
|
+
callback?: string;
|
|
1260
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1261
|
+
fields?: string;
|
|
1262
|
+
/** 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. */
|
|
1263
|
+
key?: string;
|
|
1264
|
+
/** Required. The name of the entry to get. */
|
|
1265
|
+
name: string;
|
|
1266
|
+
/** OAuth 2.0 token for the current user. */
|
|
1267
|
+
oauth_token?: string;
|
|
1268
|
+
/** Returns response with indentations and line breaks. */
|
|
1269
|
+
prettyPrint?: boolean;
|
|
1270
|
+
/** 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. */
|
|
1271
|
+
quotaUser?: string;
|
|
1272
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1273
|
+
upload_protocol?: string;
|
|
1274
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1275
|
+
uploadType?: string;
|
|
1276
|
+
}): Request<GoogleCloudDatacatalogV1Entry>;
|
|
1277
|
+
/**
|
|
1278
|
+
* Gets the access control policy for a resource. May return: * A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view it. * An empty policy if the
|
|
1279
|
+
* resource exists but doesn't have a set policy. Supported resources are: - Tag templates - Entry groups Note: This method doesn't get policies from Google Cloud Platform resources
|
|
1280
|
+
* ingested into Data Catalog. To call this method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. -
|
|
1281
|
+
* `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
|
|
1282
|
+
*/
|
|
1283
|
+
getIamPolicy(request: {
|
|
1284
|
+
/** V1 error format. */
|
|
1285
|
+
"$.xgafv"?: string;
|
|
1286
|
+
/** OAuth access token. */
|
|
1287
|
+
access_token?: string;
|
|
1288
|
+
/** Data format for response. */
|
|
1289
|
+
alt?: string;
|
|
1290
|
+
/** JSONP */
|
|
1291
|
+
callback?: string;
|
|
1292
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1293
|
+
fields?: string;
|
|
1294
|
+
/** 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. */
|
|
1295
|
+
key?: string;
|
|
1296
|
+
/** OAuth 2.0 token for the current user. */
|
|
1297
|
+
oauth_token?: string;
|
|
1298
|
+
/** Returns response with indentations and line breaks. */
|
|
1299
|
+
prettyPrint?: boolean;
|
|
1300
|
+
/** 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. */
|
|
1301
|
+
quotaUser?: string;
|
|
1302
|
+
/**
|
|
1303
|
+
* 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
|
|
1304
|
+
* field.
|
|
1305
|
+
*/
|
|
1306
|
+
resource: string;
|
|
1307
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1308
|
+
upload_protocol?: string;
|
|
1309
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1310
|
+
uploadType?: string;
|
|
1311
|
+
},
|
|
1312
|
+
body: GetIamPolicyRequest): Request<Policy>;
|
|
1313
|
+
/** Lists entries. Note: Currently, this method can list only custom entries. To get a list of both custom and automatically created entries, use SearchCatalog. */
|
|
1314
|
+
list(request?: {
|
|
1315
|
+
/** V1 error format. */
|
|
1316
|
+
"$.xgafv"?: string;
|
|
1317
|
+
/** OAuth access token. */
|
|
1318
|
+
access_token?: string;
|
|
1319
|
+
/** Data format for response. */
|
|
1320
|
+
alt?: string;
|
|
1321
|
+
/** JSONP */
|
|
1322
|
+
callback?: string;
|
|
1323
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1324
|
+
fields?: string;
|
|
1325
|
+
/** 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. */
|
|
1326
|
+
key?: string;
|
|
1327
|
+
/** OAuth 2.0 token for the current user. */
|
|
1328
|
+
oauth_token?: string;
|
|
1329
|
+
/** The maximum number of items to return. Default is 10. Maximum limit is 1000. Throws an invalid argument if `page_size` is more than 1000. */
|
|
1330
|
+
pageSize?: number;
|
|
1331
|
+
/** Pagination token that specifies the next page to return. If empty, the first page is returned. */
|
|
1332
|
+
pageToken?: string;
|
|
1333
|
+
/** Required. The name of the entry group that contains the entries to list. Can be provided in URL format. */
|
|
1334
|
+
parent: string;
|
|
1335
|
+
/** Returns response with indentations and line breaks. */
|
|
1336
|
+
prettyPrint?: boolean;
|
|
1337
|
+
/** 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. */
|
|
1338
|
+
quotaUser?: string;
|
|
1339
|
+
/**
|
|
1340
|
+
* The fields to return for each entry. If empty or omitted, all fields are returned. For example, to return a list of entries with only the `name` field, set `read_mask` to only
|
|
1341
|
+
* one path with the `name` value.
|
|
1342
|
+
*/
|
|
1343
|
+
readMask?: string;
|
|
1344
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1345
|
+
upload_protocol?: string;
|
|
1346
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1347
|
+
uploadType?: string;
|
|
1348
|
+
}): Request<GoogleCloudDatacatalogV1ListEntriesResponse>;
|
|
1349
|
+
/** Modifies contacts, part of the business context of an Entry. To call this method, you must have the `datacatalog.entries.updateContacts` IAM permission on the corresponding project. */
|
|
1350
|
+
modifyEntryContacts(request: {
|
|
1351
|
+
/** V1 error format. */
|
|
1352
|
+
"$.xgafv"?: string;
|
|
1353
|
+
/** OAuth access token. */
|
|
1354
|
+
access_token?: string;
|
|
1355
|
+
/** Data format for response. */
|
|
1356
|
+
alt?: string;
|
|
1357
|
+
/** JSONP */
|
|
1358
|
+
callback?: string;
|
|
1359
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1360
|
+
fields?: string;
|
|
1361
|
+
/** 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. */
|
|
1362
|
+
key?: string;
|
|
1363
|
+
/** Required. The full resource name of the entry. */
|
|
1364
|
+
name: string;
|
|
1365
|
+
/** OAuth 2.0 token for the current user. */
|
|
1366
|
+
oauth_token?: string;
|
|
1367
|
+
/** Returns response with indentations and line breaks. */
|
|
1368
|
+
prettyPrint?: boolean;
|
|
1369
|
+
/** 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. */
|
|
1370
|
+
quotaUser?: string;
|
|
1371
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1372
|
+
upload_protocol?: string;
|
|
1373
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1374
|
+
uploadType?: string;
|
|
1375
|
+
/** Request body */
|
|
1376
|
+
resource: GoogleCloudDatacatalogV1ModifyEntryContactsRequest;
|
|
1377
|
+
}): Request<GoogleCloudDatacatalogV1Contacts>;
|
|
1378
|
+
modifyEntryContacts(request: {
|
|
1379
|
+
/** V1 error format. */
|
|
1380
|
+
"$.xgafv"?: string;
|
|
1381
|
+
/** OAuth access token. */
|
|
1382
|
+
access_token?: string;
|
|
1383
|
+
/** Data format for response. */
|
|
1384
|
+
alt?: string;
|
|
1385
|
+
/** JSONP */
|
|
1386
|
+
callback?: string;
|
|
1387
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1388
|
+
fields?: string;
|
|
1389
|
+
/** 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. */
|
|
1390
|
+
key?: string;
|
|
1391
|
+
/** Required. The full resource name of the entry. */
|
|
1392
|
+
name: string;
|
|
1393
|
+
/** OAuth 2.0 token for the current user. */
|
|
1394
|
+
oauth_token?: string;
|
|
1395
|
+
/** Returns response with indentations and line breaks. */
|
|
1396
|
+
prettyPrint?: boolean;
|
|
1397
|
+
/** 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. */
|
|
1398
|
+
quotaUser?: string;
|
|
1399
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1400
|
+
upload_protocol?: string;
|
|
1401
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1402
|
+
uploadType?: string;
|
|
1403
|
+
},
|
|
1404
|
+
body: GoogleCloudDatacatalogV1ModifyEntryContactsRequest): Request<GoogleCloudDatacatalogV1Contacts>;
|
|
1405
|
+
/**
|
|
1406
|
+
* Modifies entry overview, part of the business context of an Entry. To call this method, you must have the `datacatalog.entries.updateOverview` IAM permission on the corresponding
|
|
1407
|
+
* project.
|
|
1408
|
+
*/
|
|
1409
|
+
modifyEntryOverview(request: {
|
|
1410
|
+
/** V1 error format. */
|
|
1411
|
+
"$.xgafv"?: string;
|
|
1412
|
+
/** OAuth access token. */
|
|
1413
|
+
access_token?: string;
|
|
1414
|
+
/** Data format for response. */
|
|
1415
|
+
alt?: string;
|
|
1416
|
+
/** JSONP */
|
|
1417
|
+
callback?: string;
|
|
1418
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1419
|
+
fields?: string;
|
|
1420
|
+
/** 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. */
|
|
1421
|
+
key?: string;
|
|
1422
|
+
/** Required. The full resource name of the entry. */
|
|
1423
|
+
name: string;
|
|
1424
|
+
/** OAuth 2.0 token for the current user. */
|
|
1425
|
+
oauth_token?: string;
|
|
1426
|
+
/** Returns response with indentations and line breaks. */
|
|
1427
|
+
prettyPrint?: boolean;
|
|
1428
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1429
|
+
quotaUser?: string;
|
|
1430
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1431
|
+
upload_protocol?: string;
|
|
1432
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1433
|
+
uploadType?: string;
|
|
1434
|
+
/** Request body */
|
|
1435
|
+
resource: GoogleCloudDatacatalogV1ModifyEntryOverviewRequest;
|
|
1436
|
+
}): Request<GoogleCloudDatacatalogV1EntryOverview>;
|
|
1437
|
+
modifyEntryOverview(request: {
|
|
1438
|
+
/** V1 error format. */
|
|
1439
|
+
"$.xgafv"?: string;
|
|
1440
|
+
/** OAuth access token. */
|
|
1441
|
+
access_token?: string;
|
|
1442
|
+
/** Data format for response. */
|
|
1443
|
+
alt?: string;
|
|
1444
|
+
/** JSONP */
|
|
1445
|
+
callback?: string;
|
|
1446
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1447
|
+
fields?: string;
|
|
1448
|
+
/** 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. */
|
|
1449
|
+
key?: string;
|
|
1450
|
+
/** Required. The full resource name of the entry. */
|
|
1451
|
+
name: string;
|
|
1452
|
+
/** OAuth 2.0 token for the current user. */
|
|
1453
|
+
oauth_token?: string;
|
|
1454
|
+
/** Returns response with indentations and line breaks. */
|
|
1455
|
+
prettyPrint?: boolean;
|
|
1456
|
+
/** 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. */
|
|
1457
|
+
quotaUser?: string;
|
|
1458
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1459
|
+
upload_protocol?: string;
|
|
1460
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1461
|
+
uploadType?: string;
|
|
1462
|
+
},
|
|
1463
|
+
body: GoogleCloudDatacatalogV1ModifyEntryOverviewRequest): Request<GoogleCloudDatacatalogV1EntryOverview>;
|
|
1464
|
+
/**
|
|
1465
|
+
* Updates an existing entry. You must enable the Data Catalog API in the project identified by the `entry.name` parameter. For more information, see [Data Catalog resource
|
|
1466
|
+
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
|
|
1467
|
+
*/
|
|
1468
|
+
patch(request: {
|
|
1469
|
+
/** V1 error format. */
|
|
1470
|
+
"$.xgafv"?: string;
|
|
1471
|
+
/** OAuth access token. */
|
|
1472
|
+
access_token?: string;
|
|
1473
|
+
/** Data format for response. */
|
|
1474
|
+
alt?: string;
|
|
1475
|
+
/** JSONP */
|
|
1476
|
+
callback?: string;
|
|
1477
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1478
|
+
fields?: string;
|
|
1479
|
+
/** 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. */
|
|
1480
|
+
key?: string;
|
|
1481
|
+
/** Output only. The resource name of an entry in URL format. Note: The entry itself and its child resources might not be stored in the location specified in its name. */
|
|
1482
|
+
name: string;
|
|
1483
|
+
/** OAuth 2.0 token for the current user. */
|
|
1484
|
+
oauth_token?: string;
|
|
1485
|
+
/** Returns response with indentations and line breaks. */
|
|
1486
|
+
prettyPrint?: boolean;
|
|
1487
|
+
/** 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. */
|
|
1488
|
+
quotaUser?: string;
|
|
1489
|
+
/**
|
|
1490
|
+
* Names of fields whose values to overwrite on an entry. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted
|
|
1491
|
+
* in the request body, their values are emptied. You can modify only the fields listed below. For entries with type `DATA_STREAM`: * `schema` For entries with type `FILESET`: *
|
|
1492
|
+
* `schema` * `display_name` * `description` * `gcs_fileset_spec` * `gcs_fileset_spec.file_patterns` For entries with `user_specified_type`: * `schema` * `display_name` *
|
|
1493
|
+
* `description` * `user_specified_type` * `user_specified_system` * `linked_resource` * `source_system_timestamps`
|
|
1494
|
+
*/
|
|
1495
|
+
updateMask?: string;
|
|
1496
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1497
|
+
upload_protocol?: string;
|
|
1498
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1499
|
+
uploadType?: string;
|
|
1500
|
+
/** Request body */
|
|
1501
|
+
resource: GoogleCloudDatacatalogV1Entry;
|
|
1502
|
+
}): Request<GoogleCloudDatacatalogV1Entry>;
|
|
1503
|
+
patch(request: {
|
|
1504
|
+
/** V1 error format. */
|
|
1505
|
+
"$.xgafv"?: string;
|
|
1506
|
+
/** OAuth access token. */
|
|
1507
|
+
access_token?: string;
|
|
1508
|
+
/** Data format for response. */
|
|
1509
|
+
alt?: string;
|
|
1510
|
+
/** JSONP */
|
|
1511
|
+
callback?: string;
|
|
1512
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1513
|
+
fields?: string;
|
|
1514
|
+
/** 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. */
|
|
1515
|
+
key?: string;
|
|
1516
|
+
/** Output only. The resource name of an entry in URL format. Note: The entry itself and its child resources might not be stored in the location specified in its name. */
|
|
1517
|
+
name: string;
|
|
1518
|
+
/** OAuth 2.0 token for the current user. */
|
|
1519
|
+
oauth_token?: string;
|
|
1520
|
+
/** Returns response with indentations and line breaks. */
|
|
1521
|
+
prettyPrint?: boolean;
|
|
1522
|
+
/** 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. */
|
|
1523
|
+
quotaUser?: string;
|
|
1524
|
+
/**
|
|
1525
|
+
* Names of fields whose values to overwrite on an entry. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted
|
|
1526
|
+
* in the request body, their values are emptied. You can modify only the fields listed below. For entries with type `DATA_STREAM`: * `schema` For entries with type `FILESET`: *
|
|
1527
|
+
* `schema` * `display_name` * `description` * `gcs_fileset_spec` * `gcs_fileset_spec.file_patterns` For entries with `user_specified_type`: * `schema` * `display_name` *
|
|
1528
|
+
* `description` * `user_specified_type` * `user_specified_system` * `linked_resource` * `source_system_timestamps`
|
|
1529
|
+
*/
|
|
1530
|
+
updateMask?: string;
|
|
1531
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1532
|
+
upload_protocol?: string;
|
|
1533
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1534
|
+
uploadType?: string;
|
|
1535
|
+
},
|
|
1536
|
+
body: GoogleCloudDatacatalogV1Entry): Request<GoogleCloudDatacatalogV1Entry>;
|
|
1537
|
+
/** Marks an Entry as starred by the current user. Starring information is private to each user. */
|
|
1538
|
+
star(request: {
|
|
1539
|
+
/** V1 error format. */
|
|
1540
|
+
"$.xgafv"?: string;
|
|
1541
|
+
/** OAuth access token. */
|
|
1542
|
+
access_token?: string;
|
|
1543
|
+
/** Data format for response. */
|
|
1544
|
+
alt?: string;
|
|
1545
|
+
/** JSONP */
|
|
1546
|
+
callback?: string;
|
|
1547
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1548
|
+
fields?: string;
|
|
1549
|
+
/** 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. */
|
|
1550
|
+
key?: string;
|
|
1551
|
+
/** Required. The name of the entry to mark as starred. */
|
|
1552
|
+
name: string;
|
|
1553
|
+
/** OAuth 2.0 token for the current user. */
|
|
1554
|
+
oauth_token?: string;
|
|
1555
|
+
/** Returns response with indentations and line breaks. */
|
|
1556
|
+
prettyPrint?: boolean;
|
|
1557
|
+
/** 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. */
|
|
1558
|
+
quotaUser?: string;
|
|
1559
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1560
|
+
upload_protocol?: string;
|
|
1561
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1562
|
+
uploadType?: string;
|
|
1563
|
+
/** Request body */
|
|
1564
|
+
resource: GoogleCloudDatacatalogV1StarEntryRequest;
|
|
1565
|
+
}): Request<{}>;
|
|
1566
|
+
star(request: {
|
|
1567
|
+
/** V1 error format. */
|
|
1568
|
+
"$.xgafv"?: string;
|
|
1569
|
+
/** OAuth access token. */
|
|
1570
|
+
access_token?: string;
|
|
1571
|
+
/** Data format for response. */
|
|
1572
|
+
alt?: string;
|
|
1573
|
+
/** JSONP */
|
|
1574
|
+
callback?: string;
|
|
1575
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1576
|
+
fields?: string;
|
|
1577
|
+
/** 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. */
|
|
1578
|
+
key?: string;
|
|
1579
|
+
/** Required. The name of the entry to mark as starred. */
|
|
1580
|
+
name: string;
|
|
1581
|
+
/** OAuth 2.0 token for the current user. */
|
|
1582
|
+
oauth_token?: string;
|
|
1583
|
+
/** Returns response with indentations and line breaks. */
|
|
1584
|
+
prettyPrint?: boolean;
|
|
1585
|
+
/** 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. */
|
|
1586
|
+
quotaUser?: string;
|
|
1587
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1588
|
+
upload_protocol?: string;
|
|
1589
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1590
|
+
uploadType?: string;
|
|
1591
|
+
},
|
|
1592
|
+
body: GoogleCloudDatacatalogV1StarEntryRequest): Request<{}>;
|
|
1593
|
+
/**
|
|
1594
|
+
* Gets your permissions on a resource. Returns an empty set of permissions if the resource doesn't exist. Supported resources are: - Tag templates - Entry groups Note: This method
|
|
1595
|
+
* gets policies only within Data Catalog and can't be used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources ingested into
|
|
1596
|
+
* Data Catalog. No Google IAM permissions are required to call this method.
|
|
1597
|
+
*/
|
|
1598
|
+
testIamPermissions(request: {
|
|
1599
|
+
/** V1 error format. */
|
|
1600
|
+
"$.xgafv"?: string;
|
|
1601
|
+
/** OAuth access token. */
|
|
1602
|
+
access_token?: string;
|
|
1603
|
+
/** Data format for response. */
|
|
1604
|
+
alt?: string;
|
|
1605
|
+
/** JSONP */
|
|
1606
|
+
callback?: string;
|
|
1607
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1608
|
+
fields?: string;
|
|
1609
|
+
/** 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. */
|
|
1610
|
+
key?: string;
|
|
1611
|
+
/** OAuth 2.0 token for the current user. */
|
|
1612
|
+
oauth_token?: string;
|
|
1613
|
+
/** Returns response with indentations and line breaks. */
|
|
1614
|
+
prettyPrint?: boolean;
|
|
1615
|
+
/** 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. */
|
|
1616
|
+
quotaUser?: string;
|
|
1617
|
+
/**
|
|
1618
|
+
* 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
|
|
1619
|
+
* this field.
|
|
1620
|
+
*/
|
|
1621
|
+
resource: string;
|
|
1622
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1623
|
+
upload_protocol?: string;
|
|
1624
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1625
|
+
uploadType?: string;
|
|
1626
|
+
},
|
|
1627
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1628
|
+
/** Marks an Entry as NOT starred by the current user. Starring information is private to each user. */
|
|
1629
|
+
unstar(request: {
|
|
1630
|
+
/** V1 error format. */
|
|
1631
|
+
"$.xgafv"?: string;
|
|
1632
|
+
/** OAuth access token. */
|
|
1633
|
+
access_token?: string;
|
|
1634
|
+
/** Data format for response. */
|
|
1635
|
+
alt?: string;
|
|
1636
|
+
/** JSONP */
|
|
1637
|
+
callback?: string;
|
|
1638
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1639
|
+
fields?: string;
|
|
1640
|
+
/** 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. */
|
|
1641
|
+
key?: string;
|
|
1642
|
+
/** Required. The name of the entry to mark as **not** starred. */
|
|
1643
|
+
name: string;
|
|
1644
|
+
/** OAuth 2.0 token for the current user. */
|
|
1645
|
+
oauth_token?: string;
|
|
1646
|
+
/** Returns response with indentations and line breaks. */
|
|
1647
|
+
prettyPrint?: boolean;
|
|
1648
|
+
/** 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. */
|
|
1649
|
+
quotaUser?: string;
|
|
1650
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1651
|
+
upload_protocol?: string;
|
|
1652
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1653
|
+
uploadType?: string;
|
|
1654
|
+
/** Request body */
|
|
1655
|
+
resource: GoogleCloudDatacatalogV1UnstarEntryRequest;
|
|
1656
|
+
}): Request<{}>;
|
|
1657
|
+
unstar(request: {
|
|
1658
|
+
/** V1 error format. */
|
|
1659
|
+
"$.xgafv"?: string;
|
|
1660
|
+
/** OAuth access token. */
|
|
1661
|
+
access_token?: string;
|
|
1662
|
+
/** Data format for response. */
|
|
1663
|
+
alt?: string;
|
|
1664
|
+
/** JSONP */
|
|
1665
|
+
callback?: string;
|
|
1666
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1667
|
+
fields?: string;
|
|
1668
|
+
/** 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. */
|
|
1669
|
+
key?: string;
|
|
1670
|
+
/** Required. The name of the entry to mark as **not** starred. */
|
|
1671
|
+
name: string;
|
|
1672
|
+
/** OAuth 2.0 token for the current user. */
|
|
1673
|
+
oauth_token?: string;
|
|
1674
|
+
/** Returns response with indentations and line breaks. */
|
|
1675
|
+
prettyPrint?: boolean;
|
|
1676
|
+
/** 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. */
|
|
1677
|
+
quotaUser?: string;
|
|
1678
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1679
|
+
upload_protocol?: string;
|
|
1680
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1681
|
+
uploadType?: string;
|
|
1682
|
+
},
|
|
1683
|
+
body: GoogleCloudDatacatalogV1UnstarEntryRequest): Request<{}>;
|
|
1684
|
+
tags: TagsResource;
|
|
1685
|
+
}
|
|
1686
|
+
interface TagsResource {
|
|
1687
|
+
/**
|
|
1688
|
+
* Creates a tag and assigns it to: * An Entry if the method name is `projects.locations.entryGroups.entries.tags.create`. * Or EntryGroupif the method name is
|
|
1689
|
+
* `projects.locations.entryGroups.tags.create`. Note: The project identified by the `parent` parameter for the [tag]
|
|
1690
|
+
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters) and the [tag template]
|
|
1691
|
+
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters) used to create the tag must be in the same organization.
|
|
1692
|
+
*/
|
|
1693
|
+
create(request: {
|
|
1694
|
+
/** V1 error format. */
|
|
1695
|
+
"$.xgafv"?: string;
|
|
1696
|
+
/** OAuth access token. */
|
|
1697
|
+
access_token?: string;
|
|
1698
|
+
/** Data format for response. */
|
|
1699
|
+
alt?: string;
|
|
1700
|
+
/** JSONP */
|
|
1701
|
+
callback?: string;
|
|
1702
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1703
|
+
fields?: string;
|
|
1704
|
+
/** 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. */
|
|
1705
|
+
key?: string;
|
|
1706
|
+
/** OAuth 2.0 token for the current user. */
|
|
1707
|
+
oauth_token?: string;
|
|
1708
|
+
/**
|
|
1709
|
+
* Required. The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its
|
|
1710
|
+
* child resources might not be stored in the location specified in its name.
|
|
1711
|
+
*/
|
|
1712
|
+
parent: string;
|
|
1713
|
+
/** Returns response with indentations and line breaks. */
|
|
1714
|
+
prettyPrint?: boolean;
|
|
1715
|
+
/** 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. */
|
|
1716
|
+
quotaUser?: string;
|
|
1717
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1718
|
+
upload_protocol?: string;
|
|
1719
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1720
|
+
uploadType?: string;
|
|
1721
|
+
/** Request body */
|
|
1722
|
+
resource: GoogleCloudDatacatalogV1Tag;
|
|
1723
|
+
}): Request<GoogleCloudDatacatalogV1Tag>;
|
|
1724
|
+
create(request: {
|
|
1725
|
+
/** V1 error format. */
|
|
1726
|
+
"$.xgafv"?: string;
|
|
1727
|
+
/** OAuth access token. */
|
|
1728
|
+
access_token?: string;
|
|
1729
|
+
/** Data format for response. */
|
|
1730
|
+
alt?: string;
|
|
1731
|
+
/** JSONP */
|
|
1732
|
+
callback?: string;
|
|
1733
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1734
|
+
fields?: string;
|
|
1735
|
+
/** 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. */
|
|
1736
|
+
key?: string;
|
|
1737
|
+
/** OAuth 2.0 token for the current user. */
|
|
1738
|
+
oauth_token?: string;
|
|
1739
|
+
/**
|
|
1740
|
+
* Required. The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its
|
|
1741
|
+
* child resources might not be stored in the location specified in its name.
|
|
1742
|
+
*/
|
|
1743
|
+
parent: string;
|
|
1744
|
+
/** Returns response with indentations and line breaks. */
|
|
1745
|
+
prettyPrint?: boolean;
|
|
1746
|
+
/** 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. */
|
|
1747
|
+
quotaUser?: string;
|
|
1748
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1749
|
+
upload_protocol?: string;
|
|
1750
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1751
|
+
uploadType?: string;
|
|
1752
|
+
},
|
|
1753
|
+
body: GoogleCloudDatacatalogV1Tag): Request<GoogleCloudDatacatalogV1Tag>;
|
|
1754
|
+
/** Deletes a tag. */
|
|
1755
|
+
delete(request?: {
|
|
1756
|
+
/** V1 error format. */
|
|
1757
|
+
"$.xgafv"?: string;
|
|
1758
|
+
/** OAuth access token. */
|
|
1759
|
+
access_token?: string;
|
|
1760
|
+
/** Data format for response. */
|
|
1761
|
+
alt?: string;
|
|
1762
|
+
/** JSONP */
|
|
1763
|
+
callback?: string;
|
|
1764
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1765
|
+
fields?: string;
|
|
1766
|
+
/** 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. */
|
|
1767
|
+
key?: string;
|
|
1768
|
+
/** Required. The name of the tag to delete. */
|
|
1769
|
+
name: string;
|
|
1770
|
+
/** OAuth 2.0 token for the current user. */
|
|
1771
|
+
oauth_token?: string;
|
|
1772
|
+
/** Returns response with indentations and line breaks. */
|
|
1773
|
+
prettyPrint?: boolean;
|
|
1774
|
+
/** 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. */
|
|
1775
|
+
quotaUser?: string;
|
|
1776
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1777
|
+
upload_protocol?: string;
|
|
1778
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1779
|
+
uploadType?: string;
|
|
1780
|
+
}): Request<{}>;
|
|
1781
|
+
/** Lists tags assigned to an Entry. The columns in the response are lowercased. */
|
|
1782
|
+
list(request?: {
|
|
1783
|
+
/** V1 error format. */
|
|
1784
|
+
"$.xgafv"?: string;
|
|
1785
|
+
/** OAuth access token. */
|
|
1786
|
+
access_token?: string;
|
|
1787
|
+
/** Data format for response. */
|
|
1788
|
+
alt?: string;
|
|
1789
|
+
/** JSONP */
|
|
1790
|
+
callback?: string;
|
|
1791
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1792
|
+
fields?: string;
|
|
1793
|
+
/** 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. */
|
|
1794
|
+
key?: string;
|
|
1795
|
+
/** OAuth 2.0 token for the current user. */
|
|
1796
|
+
oauth_token?: string;
|
|
1797
|
+
/** The maximum number of tags to return. Default is 10. Maximum limit is 1000. */
|
|
1798
|
+
pageSize?: number;
|
|
1799
|
+
/** Pagination token that specifies the next page to return. If empty, the first page is returned. */
|
|
1800
|
+
pageToken?: string;
|
|
1801
|
+
/** Required. The name of the Data Catalog resource to list the tags of. The resource can be an Entry or an EntryGroup (without `/entries/{entries}` at the end). */
|
|
1802
|
+
parent: string;
|
|
1803
|
+
/** Returns response with indentations and line breaks. */
|
|
1804
|
+
prettyPrint?: boolean;
|
|
1805
|
+
/** 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. */
|
|
1806
|
+
quotaUser?: string;
|
|
1807
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1808
|
+
upload_protocol?: string;
|
|
1809
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1810
|
+
uploadType?: string;
|
|
1811
|
+
}): Request<GoogleCloudDatacatalogV1ListTagsResponse>;
|
|
1812
|
+
/** Updates an existing tag. */
|
|
1813
|
+
patch(request: {
|
|
1814
|
+
/** V1 error format. */
|
|
1815
|
+
"$.xgafv"?: string;
|
|
1816
|
+
/** OAuth access token. */
|
|
1817
|
+
access_token?: string;
|
|
1818
|
+
/** Data format for response. */
|
|
1819
|
+
alt?: string;
|
|
1820
|
+
/** JSONP */
|
|
1821
|
+
callback?: string;
|
|
1822
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1823
|
+
fields?: string;
|
|
1824
|
+
/** 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. */
|
|
1825
|
+
key?: string;
|
|
1826
|
+
/** The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name. */
|
|
1827
|
+
name: string;
|
|
1828
|
+
/** OAuth 2.0 token for the current user. */
|
|
1829
|
+
oauth_token?: string;
|
|
1830
|
+
/** Returns response with indentations and line breaks. */
|
|
1831
|
+
prettyPrint?: boolean;
|
|
1832
|
+
/** 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. */
|
|
1833
|
+
quotaUser?: string;
|
|
1834
|
+
/**
|
|
1835
|
+
* Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the name `fields`. In general, if this parameter is absent or empty, all
|
|
1836
|
+
* modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.
|
|
1837
|
+
*/
|
|
1838
|
+
updateMask?: string;
|
|
1839
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1840
|
+
upload_protocol?: string;
|
|
1841
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1842
|
+
uploadType?: string;
|
|
1843
|
+
/** Request body */
|
|
1844
|
+
resource: GoogleCloudDatacatalogV1Tag;
|
|
1845
|
+
}): Request<GoogleCloudDatacatalogV1Tag>;
|
|
1846
|
+
patch(request: {
|
|
1847
|
+
/** V1 error format. */
|
|
1848
|
+
"$.xgafv"?: string;
|
|
1849
|
+
/** OAuth access token. */
|
|
1850
|
+
access_token?: string;
|
|
1851
|
+
/** Data format for response. */
|
|
1852
|
+
alt?: string;
|
|
1853
|
+
/** JSONP */
|
|
1854
|
+
callback?: string;
|
|
1855
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1856
|
+
fields?: string;
|
|
1857
|
+
/** 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. */
|
|
1858
|
+
key?: string;
|
|
1859
|
+
/** The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name. */
|
|
1860
|
+
name: string;
|
|
1861
|
+
/** OAuth 2.0 token for the current user. */
|
|
1862
|
+
oauth_token?: string;
|
|
1863
|
+
/** Returns response with indentations and line breaks. */
|
|
1864
|
+
prettyPrint?: boolean;
|
|
1865
|
+
/** 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. */
|
|
1866
|
+
quotaUser?: string;
|
|
1867
|
+
/**
|
|
1868
|
+
* Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the name `fields`. In general, if this parameter is absent or empty, all
|
|
1869
|
+
* modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.
|
|
1870
|
+
*/
|
|
1871
|
+
updateMask?: string;
|
|
1872
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1873
|
+
upload_protocol?: string;
|
|
1874
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1875
|
+
uploadType?: string;
|
|
1876
|
+
},
|
|
1877
|
+
body: GoogleCloudDatacatalogV1Tag): Request<GoogleCloudDatacatalogV1Tag>;
|
|
1878
|
+
}
|
|
1879
|
+
interface EntryGroupsResource {
|
|
1880
|
+
/**
|
|
1881
|
+
* Creates an entry group. An entry group contains logically related entries together with [Cloud Identity and Access Management](/data-catalog/docs/concepts/iam) policies. These
|
|
1882
|
+
* policies specify users who can create, edit, and view entries within entry groups. Data Catalog automatically creates entry groups with names that start with the `@` symbol for the
|
|
1883
|
+
* following resources: * BigQuery entries (`@bigquery`) * Pub/Sub topics (`@pubsub`) * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`) You can create your own
|
|
1884
|
+
* entry groups for Cloud Storage fileset entries and custom entries together with the corresponding IAM policies. User-created entry groups can't contain the `@` symbol, it is
|
|
1885
|
+
* reserved for automatically created groups. Entry groups, like entries, can be searched. A maximum of 10,000 entry groups may be created per organization across all locations. You
|
|
1886
|
+
* must enable the Data Catalog API in the project identified by the `parent` parameter. For more information, see [Data Catalog resource
|
|
1887
|
+
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
|
|
1888
|
+
*/
|
|
1889
|
+
create(request: {
|
|
1890
|
+
/** V1 error format. */
|
|
1891
|
+
"$.xgafv"?: string;
|
|
1892
|
+
/** OAuth access token. */
|
|
1893
|
+
access_token?: string;
|
|
1894
|
+
/** Data format for response. */
|
|
1895
|
+
alt?: string;
|
|
1896
|
+
/** JSONP */
|
|
1897
|
+
callback?: string;
|
|
1898
|
+
/**
|
|
1899
|
+
* Required. The ID of the entry group to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and must start with a letter or underscore. The
|
|
1900
|
+
* maximum size is 64 bytes when encoded in UTF-8.
|
|
1901
|
+
*/
|
|
1902
|
+
entryGroupId?: string;
|
|
1903
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1904
|
+
fields?: string;
|
|
1905
|
+
/** 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. */
|
|
1906
|
+
key?: string;
|
|
1907
|
+
/** OAuth 2.0 token for the current user. */
|
|
1908
|
+
oauth_token?: string;
|
|
1909
|
+
/**
|
|
1910
|
+
* Required. The names of the project and location that the new entry group belongs to. Note: The entry group itself and its child resources might not be stored in the location
|
|
1911
|
+
* specified in its name.
|
|
1912
|
+
*/
|
|
1913
|
+
parent: string;
|
|
1914
|
+
/** Returns response with indentations and line breaks. */
|
|
1915
|
+
prettyPrint?: boolean;
|
|
1916
|
+
/** 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. */
|
|
1917
|
+
quotaUser?: string;
|
|
1918
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1919
|
+
upload_protocol?: string;
|
|
1920
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1921
|
+
uploadType?: string;
|
|
1922
|
+
/** Request body */
|
|
1923
|
+
resource: GoogleCloudDatacatalogV1EntryGroup;
|
|
1924
|
+
}): Request<GoogleCloudDatacatalogV1EntryGroup>;
|
|
1925
|
+
create(request: {
|
|
1926
|
+
/** V1 error format. */
|
|
1927
|
+
"$.xgafv"?: string;
|
|
1928
|
+
/** OAuth access token. */
|
|
1929
|
+
access_token?: string;
|
|
1930
|
+
/** Data format for response. */
|
|
1931
|
+
alt?: string;
|
|
1932
|
+
/** JSONP */
|
|
1933
|
+
callback?: string;
|
|
1934
|
+
/**
|
|
1935
|
+
* Required. The ID of the entry group to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and must start with a letter or underscore. The
|
|
1936
|
+
* maximum size is 64 bytes when encoded in UTF-8.
|
|
1937
|
+
*/
|
|
1938
|
+
entryGroupId?: string;
|
|
1939
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1940
|
+
fields?: string;
|
|
1941
|
+
/** 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. */
|
|
1942
|
+
key?: string;
|
|
1943
|
+
/** OAuth 2.0 token for the current user. */
|
|
1944
|
+
oauth_token?: string;
|
|
1945
|
+
/**
|
|
1946
|
+
* Required. The names of the project and location that the new entry group belongs to. Note: The entry group itself and its child resources might not be stored in the location
|
|
1947
|
+
* specified in its name.
|
|
1948
|
+
*/
|
|
1949
|
+
parent: string;
|
|
1950
|
+
/** Returns response with indentations and line breaks. */
|
|
1951
|
+
prettyPrint?: boolean;
|
|
1952
|
+
/** 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. */
|
|
1953
|
+
quotaUser?: string;
|
|
1954
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1955
|
+
upload_protocol?: string;
|
|
1956
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1957
|
+
uploadType?: string;
|
|
1958
|
+
},
|
|
1959
|
+
body: GoogleCloudDatacatalogV1EntryGroup): Request<GoogleCloudDatacatalogV1EntryGroup>;
|
|
1960
|
+
/**
|
|
1961
|
+
* Deletes an entry group. You must enable the Data Catalog API in the project identified by the `name` parameter. For more information, see [Data Catalog resource
|
|
1962
|
+
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
|
|
1963
|
+
*/
|
|
1964
|
+
delete(request?: {
|
|
1965
|
+
/** V1 error format. */
|
|
1966
|
+
"$.xgafv"?: string;
|
|
1967
|
+
/** OAuth access token. */
|
|
1968
|
+
access_token?: string;
|
|
1969
|
+
/** Data format for response. */
|
|
1970
|
+
alt?: string;
|
|
1971
|
+
/** JSONP */
|
|
1972
|
+
callback?: string;
|
|
1973
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1974
|
+
fields?: string;
|
|
1975
|
+
/** Optional. If true, deletes all entries in the entry group. */
|
|
1976
|
+
force?: boolean;
|
|
1977
|
+
/** 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. */
|
|
1978
|
+
key?: string;
|
|
1979
|
+
/** Required. The name of the entry group to delete. */
|
|
1980
|
+
name: string;
|
|
1981
|
+
/** OAuth 2.0 token for the current user. */
|
|
1982
|
+
oauth_token?: string;
|
|
1983
|
+
/** Returns response with indentations and line breaks. */
|
|
1984
|
+
prettyPrint?: boolean;
|
|
1985
|
+
/** 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. */
|
|
1986
|
+
quotaUser?: string;
|
|
1987
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1988
|
+
upload_protocol?: string;
|
|
1989
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1990
|
+
uploadType?: string;
|
|
1991
|
+
}): Request<{}>;
|
|
1992
|
+
/** Gets an entry group. */
|
|
1993
|
+
get(request?: {
|
|
1994
|
+
/** V1 error format. */
|
|
1995
|
+
"$.xgafv"?: string;
|
|
1996
|
+
/** OAuth access token. */
|
|
1997
|
+
access_token?: string;
|
|
1998
|
+
/** Data format for response. */
|
|
1999
|
+
alt?: string;
|
|
2000
|
+
/** JSONP */
|
|
2001
|
+
callback?: string;
|
|
2002
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2003
|
+
fields?: string;
|
|
2004
|
+
/** 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. */
|
|
2005
|
+
key?: string;
|
|
2006
|
+
/** Required. The name of the entry group to get. */
|
|
2007
|
+
name: string;
|
|
2008
|
+
/** OAuth 2.0 token for the current user. */
|
|
2009
|
+
oauth_token?: string;
|
|
2010
|
+
/** Returns response with indentations and line breaks. */
|
|
2011
|
+
prettyPrint?: boolean;
|
|
2012
|
+
/** 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. */
|
|
2013
|
+
quotaUser?: string;
|
|
2014
|
+
/** The fields to return. If empty or omitted, all fields are returned. */
|
|
2015
|
+
readMask?: string;
|
|
2016
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2017
|
+
upload_protocol?: string;
|
|
2018
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2019
|
+
uploadType?: string;
|
|
2020
|
+
}): Request<GoogleCloudDatacatalogV1EntryGroup>;
|
|
2021
|
+
/**
|
|
2022
|
+
* Gets the access control policy for a resource. May return: * A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view it. * An empty policy if the
|
|
2023
|
+
* resource exists but doesn't have a set policy. Supported resources are: - Tag templates - Entry groups Note: This method doesn't get policies from Google Cloud Platform resources
|
|
2024
|
+
* ingested into Data Catalog. To call this method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. -
|
|
2025
|
+
* `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
|
|
2026
|
+
*/
|
|
2027
|
+
getIamPolicy(request: {
|
|
2028
|
+
/** V1 error format. */
|
|
2029
|
+
"$.xgafv"?: string;
|
|
2030
|
+
/** OAuth access token. */
|
|
2031
|
+
access_token?: string;
|
|
2032
|
+
/** Data format for response. */
|
|
2033
|
+
alt?: string;
|
|
2034
|
+
/** JSONP */
|
|
2035
|
+
callback?: string;
|
|
2036
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2037
|
+
fields?: string;
|
|
2038
|
+
/** 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. */
|
|
2039
|
+
key?: string;
|
|
2040
|
+
/** OAuth 2.0 token for the current user. */
|
|
2041
|
+
oauth_token?: string;
|
|
2042
|
+
/** Returns response with indentations and line breaks. */
|
|
2043
|
+
prettyPrint?: boolean;
|
|
2044
|
+
/** 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. */
|
|
2045
|
+
quotaUser?: string;
|
|
2046
|
+
/**
|
|
2047
|
+
* 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
|
|
2048
|
+
* field.
|
|
2049
|
+
*/
|
|
2050
|
+
resource: string;
|
|
2051
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2052
|
+
upload_protocol?: string;
|
|
2053
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2054
|
+
uploadType?: string;
|
|
2055
|
+
},
|
|
2056
|
+
body: GetIamPolicyRequest): Request<Policy>;
|
|
2057
|
+
/** Lists entry groups. */
|
|
2058
|
+
list(request?: {
|
|
2059
|
+
/** V1 error format. */
|
|
2060
|
+
"$.xgafv"?: string;
|
|
2061
|
+
/** OAuth access token. */
|
|
2062
|
+
access_token?: string;
|
|
2063
|
+
/** Data format for response. */
|
|
2064
|
+
alt?: string;
|
|
2065
|
+
/** JSONP */
|
|
2066
|
+
callback?: string;
|
|
2067
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2068
|
+
fields?: string;
|
|
2069
|
+
/** 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. */
|
|
2070
|
+
key?: string;
|
|
2071
|
+
/** OAuth 2.0 token for the current user. */
|
|
2072
|
+
oauth_token?: string;
|
|
2073
|
+
/** Optional. The maximum number of items to return. Default is 10. Maximum limit is 1000. Throws an invalid argument if `page_size` is greater than 1000. */
|
|
2074
|
+
pageSize?: number;
|
|
2075
|
+
/** Optional. Pagination token that specifies the next page to return. If empty, returns the first page. */
|
|
2076
|
+
pageToken?: string;
|
|
2077
|
+
/** Required. The name of the location that contains the entry groups to list. Can be provided as a URL. */
|
|
2078
|
+
parent: string;
|
|
2079
|
+
/** Returns response with indentations and line breaks. */
|
|
2080
|
+
prettyPrint?: boolean;
|
|
2081
|
+
/** 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. */
|
|
2082
|
+
quotaUser?: string;
|
|
2083
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2084
|
+
upload_protocol?: string;
|
|
2085
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2086
|
+
uploadType?: string;
|
|
2087
|
+
}): Request<GoogleCloudDatacatalogV1ListEntryGroupsResponse>;
|
|
2088
|
+
/**
|
|
2089
|
+
* Updates an entry group. You must enable the Data Catalog API in the project identified by the `entry_group.name` parameter. For more information, see [Data Catalog resource
|
|
2090
|
+
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
|
|
2091
|
+
*/
|
|
2092
|
+
patch(request: {
|
|
2093
|
+
/** V1 error format. */
|
|
2094
|
+
"$.xgafv"?: string;
|
|
2095
|
+
/** OAuth access token. */
|
|
2096
|
+
access_token?: string;
|
|
2097
|
+
/** Data format for response. */
|
|
2098
|
+
alt?: string;
|
|
2099
|
+
/** JSONP */
|
|
2100
|
+
callback?: string;
|
|
2101
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2102
|
+
fields?: string;
|
|
2103
|
+
/** 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. */
|
|
2104
|
+
key?: string;
|
|
2105
|
+
/** The resource name of the entry group in URL format. Note: The entry group itself and its child resources might not be stored in the location specified in its name. */
|
|
2106
|
+
name: string;
|
|
2107
|
+
/** OAuth 2.0 token for the current user. */
|
|
2108
|
+
oauth_token?: string;
|
|
2109
|
+
/** Returns response with indentations and line breaks. */
|
|
2110
|
+
prettyPrint?: boolean;
|
|
2111
|
+
/** 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. */
|
|
2112
|
+
quotaUser?: string;
|
|
2113
|
+
/**
|
|
2114
|
+
* Names of fields whose values to overwrite on an entry group. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and
|
|
2115
|
+
* omitted in the request body, their values are emptied.
|
|
2116
|
+
*/
|
|
2117
|
+
updateMask?: string;
|
|
2118
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2119
|
+
upload_protocol?: string;
|
|
2120
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2121
|
+
uploadType?: string;
|
|
2122
|
+
/** Request body */
|
|
2123
|
+
resource: GoogleCloudDatacatalogV1EntryGroup;
|
|
2124
|
+
}): Request<GoogleCloudDatacatalogV1EntryGroup>;
|
|
2125
|
+
patch(request: {
|
|
2126
|
+
/** V1 error format. */
|
|
2127
|
+
"$.xgafv"?: string;
|
|
2128
|
+
/** OAuth access token. */
|
|
2129
|
+
access_token?: string;
|
|
2130
|
+
/** Data format for response. */
|
|
2131
|
+
alt?: string;
|
|
2132
|
+
/** JSONP */
|
|
2133
|
+
callback?: string;
|
|
2134
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2135
|
+
fields?: string;
|
|
2136
|
+
/** 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. */
|
|
2137
|
+
key?: string;
|
|
2138
|
+
/** The resource name of the entry group in URL format. Note: The entry group itself and its child resources might not be stored in the location specified in its name. */
|
|
2139
|
+
name: string;
|
|
2140
|
+
/** OAuth 2.0 token for the current user. */
|
|
2141
|
+
oauth_token?: string;
|
|
2142
|
+
/** Returns response with indentations and line breaks. */
|
|
2143
|
+
prettyPrint?: boolean;
|
|
2144
|
+
/** 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. */
|
|
2145
|
+
quotaUser?: string;
|
|
2146
|
+
/**
|
|
2147
|
+
* Names of fields whose values to overwrite on an entry group. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and
|
|
2148
|
+
* omitted in the request body, their values are emptied.
|
|
2149
|
+
*/
|
|
2150
|
+
updateMask?: string;
|
|
2151
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2152
|
+
upload_protocol?: string;
|
|
2153
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2154
|
+
uploadType?: string;
|
|
2155
|
+
},
|
|
2156
|
+
body: GoogleCloudDatacatalogV1EntryGroup): Request<GoogleCloudDatacatalogV1EntryGroup>;
|
|
2157
|
+
/**
|
|
2158
|
+
* Sets an access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates - Entry groups Note: This method sets policies only within Data
|
|
2159
|
+
* Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog. To call this
|
|
2160
|
+
* method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entryGroups.setIamPolicy` to
|
|
2161
|
+
* set policies on entry groups.
|
|
2162
|
+
*/
|
|
2163
|
+
setIamPolicy(request: {
|
|
2164
|
+
/** V1 error format. */
|
|
2165
|
+
"$.xgafv"?: string;
|
|
2166
|
+
/** OAuth access token. */
|
|
2167
|
+
access_token?: string;
|
|
2168
|
+
/** Data format for response. */
|
|
2169
|
+
alt?: string;
|
|
2170
|
+
/** JSONP */
|
|
2171
|
+
callback?: string;
|
|
2172
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2173
|
+
fields?: string;
|
|
2174
|
+
/** 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. */
|
|
2175
|
+
key?: string;
|
|
2176
|
+
/** OAuth 2.0 token for the current user. */
|
|
2177
|
+
oauth_token?: string;
|
|
2178
|
+
/** Returns response with indentations and line breaks. */
|
|
2179
|
+
prettyPrint?: boolean;
|
|
2180
|
+
/** 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. */
|
|
2181
|
+
quotaUser?: string;
|
|
2182
|
+
/**
|
|
2183
|
+
* 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
|
|
2184
|
+
* field.
|
|
2185
|
+
*/
|
|
2186
|
+
resource: string;
|
|
2187
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2188
|
+
upload_protocol?: string;
|
|
2189
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2190
|
+
uploadType?: string;
|
|
2191
|
+
},
|
|
2192
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
2193
|
+
/**
|
|
2194
|
+
* Gets your permissions on a resource. Returns an empty set of permissions if the resource doesn't exist. Supported resources are: - Tag templates - Entry groups Note: This method
|
|
2195
|
+
* gets policies only within Data Catalog and can't be used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources ingested into
|
|
2196
|
+
* Data Catalog. No Google IAM permissions are required to call this method.
|
|
2197
|
+
*/
|
|
2198
|
+
testIamPermissions(request: {
|
|
2199
|
+
/** V1 error format. */
|
|
2200
|
+
"$.xgafv"?: string;
|
|
2201
|
+
/** OAuth access token. */
|
|
2202
|
+
access_token?: string;
|
|
2203
|
+
/** Data format for response. */
|
|
2204
|
+
alt?: string;
|
|
2205
|
+
/** JSONP */
|
|
2206
|
+
callback?: string;
|
|
2207
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2208
|
+
fields?: string;
|
|
2209
|
+
/** 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. */
|
|
2210
|
+
key?: string;
|
|
2211
|
+
/** OAuth 2.0 token for the current user. */
|
|
2212
|
+
oauth_token?: string;
|
|
2213
|
+
/** Returns response with indentations and line breaks. */
|
|
2214
|
+
prettyPrint?: boolean;
|
|
2215
|
+
/** 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. */
|
|
2216
|
+
quotaUser?: string;
|
|
2217
|
+
/**
|
|
2218
|
+
* 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
|
|
2219
|
+
* this field.
|
|
2220
|
+
*/
|
|
2221
|
+
resource: string;
|
|
2222
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2223
|
+
upload_protocol?: string;
|
|
2224
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2225
|
+
uploadType?: string;
|
|
2226
|
+
},
|
|
2227
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
2228
|
+
entries: EntriesResource;
|
|
2229
|
+
tags: TagsResource;
|
|
2230
|
+
}
|
|
2231
|
+
interface EnumValuesResource {
|
|
2232
|
+
/** Renames an enum value in a tag template. Within a single enum field, enum values must be unique. */
|
|
2233
|
+
rename(request: {
|
|
2234
|
+
/** V1 error format. */
|
|
2235
|
+
"$.xgafv"?: string;
|
|
2236
|
+
/** OAuth access token. */
|
|
2237
|
+
access_token?: string;
|
|
2238
|
+
/** Data format for response. */
|
|
2239
|
+
alt?: string;
|
|
2240
|
+
/** JSONP */
|
|
2241
|
+
callback?: string;
|
|
2242
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2243
|
+
fields?: string;
|
|
2244
|
+
/** 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. */
|
|
2245
|
+
key?: string;
|
|
2246
|
+
/** Required. The name of the enum field value. */
|
|
2247
|
+
name: string;
|
|
2248
|
+
/** OAuth 2.0 token for the current user. */
|
|
2249
|
+
oauth_token?: string;
|
|
2250
|
+
/** Returns response with indentations and line breaks. */
|
|
2251
|
+
prettyPrint?: boolean;
|
|
2252
|
+
/** 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. */
|
|
2253
|
+
quotaUser?: string;
|
|
2254
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2255
|
+
upload_protocol?: string;
|
|
2256
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2257
|
+
uploadType?: string;
|
|
2258
|
+
/** Request body */
|
|
2259
|
+
resource: GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest;
|
|
2260
|
+
}): Request<GoogleCloudDatacatalogV1TagTemplateField>;
|
|
2261
|
+
rename(request: {
|
|
2262
|
+
/** V1 error format. */
|
|
2263
|
+
"$.xgafv"?: string;
|
|
2264
|
+
/** OAuth access token. */
|
|
2265
|
+
access_token?: string;
|
|
2266
|
+
/** Data format for response. */
|
|
2267
|
+
alt?: string;
|
|
2268
|
+
/** JSONP */
|
|
2269
|
+
callback?: string;
|
|
2270
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2271
|
+
fields?: string;
|
|
2272
|
+
/** 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. */
|
|
2273
|
+
key?: string;
|
|
2274
|
+
/** Required. The name of the enum field value. */
|
|
2275
|
+
name: string;
|
|
2276
|
+
/** OAuth 2.0 token for the current user. */
|
|
2277
|
+
oauth_token?: string;
|
|
2278
|
+
/** Returns response with indentations and line breaks. */
|
|
2279
|
+
prettyPrint?: boolean;
|
|
2280
|
+
/** 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. */
|
|
2281
|
+
quotaUser?: string;
|
|
2282
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2283
|
+
upload_protocol?: string;
|
|
2284
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2285
|
+
uploadType?: string;
|
|
2286
|
+
},
|
|
2287
|
+
body: GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest): Request<GoogleCloudDatacatalogV1TagTemplateField>;
|
|
2288
|
+
}
|
|
2289
|
+
interface FieldsResource {
|
|
2290
|
+
/**
|
|
2291
|
+
* Creates a field in a tag template. You must enable the Data Catalog API in the project identified by the `parent` parameter. For more information, see [Data Catalog resource
|
|
2292
|
+
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
|
|
2293
|
+
*/
|
|
2294
|
+
create(request: {
|
|
2295
|
+
/** V1 error format. */
|
|
2296
|
+
"$.xgafv"?: string;
|
|
2297
|
+
/** OAuth access token. */
|
|
2298
|
+
access_token?: string;
|
|
2299
|
+
/** Data format for response. */
|
|
2300
|
+
alt?: string;
|
|
2301
|
+
/** JSONP */
|
|
2302
|
+
callback?: string;
|
|
2303
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2304
|
+
fields?: string;
|
|
2305
|
+
/** 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. */
|
|
2306
|
+
key?: string;
|
|
2307
|
+
/** OAuth 2.0 token for the current user. */
|
|
2308
|
+
oauth_token?: string;
|
|
2309
|
+
/** Required. The name of the project and the template location [region](https://cloud.google.com/data-catalog/docs/concepts/regions). */
|
|
2310
|
+
parent: string;
|
|
2311
|
+
/** Returns response with indentations and line breaks. */
|
|
2312
|
+
prettyPrint?: boolean;
|
|
2313
|
+
/** 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. */
|
|
2314
|
+
quotaUser?: string;
|
|
2315
|
+
/**
|
|
2316
|
+
* Required. The ID of the tag template field to create. Note: Adding a required field to an existing template is *not* allowed. Field IDs can contain letters (both uppercase and
|
|
2317
|
+
* lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within
|
|
2318
|
+
* their template.
|
|
2319
|
+
*/
|
|
2320
|
+
tagTemplateFieldId?: string;
|
|
2321
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2322
|
+
upload_protocol?: string;
|
|
2323
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2324
|
+
uploadType?: string;
|
|
2325
|
+
/** Request body */
|
|
2326
|
+
resource: GoogleCloudDatacatalogV1TagTemplateField;
|
|
2327
|
+
}): Request<GoogleCloudDatacatalogV1TagTemplateField>;
|
|
2328
|
+
create(request: {
|
|
2329
|
+
/** V1 error format. */
|
|
2330
|
+
"$.xgafv"?: string;
|
|
2331
|
+
/** OAuth access token. */
|
|
2332
|
+
access_token?: string;
|
|
2333
|
+
/** Data format for response. */
|
|
2334
|
+
alt?: string;
|
|
2335
|
+
/** JSONP */
|
|
2336
|
+
callback?: string;
|
|
2337
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2338
|
+
fields?: string;
|
|
2339
|
+
/** 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. */
|
|
2340
|
+
key?: string;
|
|
2341
|
+
/** OAuth 2.0 token for the current user. */
|
|
2342
|
+
oauth_token?: string;
|
|
2343
|
+
/** Required. The name of the project and the template location [region](https://cloud.google.com/data-catalog/docs/concepts/regions). */
|
|
2344
|
+
parent: string;
|
|
2345
|
+
/** Returns response with indentations and line breaks. */
|
|
2346
|
+
prettyPrint?: boolean;
|
|
2347
|
+
/** 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. */
|
|
2348
|
+
quotaUser?: string;
|
|
2349
|
+
/**
|
|
2350
|
+
* Required. The ID of the tag template field to create. Note: Adding a required field to an existing template is *not* allowed. Field IDs can contain letters (both uppercase and
|
|
2351
|
+
* lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within
|
|
2352
|
+
* their template.
|
|
2353
|
+
*/
|
|
2354
|
+
tagTemplateFieldId?: string;
|
|
2355
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2356
|
+
upload_protocol?: string;
|
|
2357
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2358
|
+
uploadType?: string;
|
|
2359
|
+
},
|
|
2360
|
+
body: GoogleCloudDatacatalogV1TagTemplateField): Request<GoogleCloudDatacatalogV1TagTemplateField>;
|
|
2361
|
+
/**
|
|
2362
|
+
* Deletes a field in a tag template and all uses of this field from the tags based on this template. You must enable the Data Catalog API in the project identified by the `name`
|
|
2363
|
+
* parameter. For more information, see [Data Catalog resource project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
|
|
2364
|
+
*/
|
|
2365
|
+
delete(request?: {
|
|
2366
|
+
/** V1 error format. */
|
|
2367
|
+
"$.xgafv"?: string;
|
|
2368
|
+
/** OAuth access token. */
|
|
2369
|
+
access_token?: string;
|
|
2370
|
+
/** Data format for response. */
|
|
2371
|
+
alt?: string;
|
|
2372
|
+
/** JSONP */
|
|
2373
|
+
callback?: string;
|
|
2374
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2375
|
+
fields?: string;
|
|
2376
|
+
/** Required. If true, deletes this field from any tags that use it. Currently, `true` is the only supported value. */
|
|
2377
|
+
force?: boolean;
|
|
2378
|
+
/** 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. */
|
|
2379
|
+
key?: string;
|
|
2380
|
+
/** Required. The name of the tag template field to delete. */
|
|
2381
|
+
name: string;
|
|
2382
|
+
/** OAuth 2.0 token for the current user. */
|
|
2383
|
+
oauth_token?: string;
|
|
2384
|
+
/** Returns response with indentations and line breaks. */
|
|
2385
|
+
prettyPrint?: boolean;
|
|
2386
|
+
/** 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. */
|
|
2387
|
+
quotaUser?: string;
|
|
2388
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2389
|
+
upload_protocol?: string;
|
|
2390
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2391
|
+
uploadType?: string;
|
|
2392
|
+
}): Request<{}>;
|
|
2393
|
+
/**
|
|
2394
|
+
* Updates a field in a tag template. You can't update the field type with this method. You must enable the Data Catalog API in the project identified by the `name` parameter. For more
|
|
2395
|
+
* information, see [Data Catalog resource project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
|
|
2396
|
+
*/
|
|
2397
|
+
patch(request: {
|
|
2398
|
+
/** V1 error format. */
|
|
2399
|
+
"$.xgafv"?: string;
|
|
2400
|
+
/** OAuth access token. */
|
|
2401
|
+
access_token?: string;
|
|
2402
|
+
/** Data format for response. */
|
|
2403
|
+
alt?: string;
|
|
2404
|
+
/** JSONP */
|
|
2405
|
+
callback?: string;
|
|
2406
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2407
|
+
fields?: string;
|
|
2408
|
+
/** 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. */
|
|
2409
|
+
key?: string;
|
|
2410
|
+
/** Required. The name of the tag template field. */
|
|
2411
|
+
name: string;
|
|
2412
|
+
/** OAuth 2.0 token for the current user. */
|
|
2413
|
+
oauth_token?: string;
|
|
2414
|
+
/** Returns response with indentations and line breaks. */
|
|
2415
|
+
prettyPrint?: boolean;
|
|
2416
|
+
/** 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. */
|
|
2417
|
+
quotaUser?: string;
|
|
2418
|
+
/**
|
|
2419
|
+
* Optional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable: * `display_name` * `type.enum_type` *
|
|
2420
|
+
* `is_required` If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are
|
|
2421
|
+
* emptied with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values
|
|
2422
|
+
* cannot be deleted or renamed. Additionally, updating a template field from optional to required is *not* allowed.
|
|
2423
|
+
*/
|
|
2424
|
+
updateMask?: string;
|
|
2425
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2426
|
+
upload_protocol?: string;
|
|
2427
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2428
|
+
uploadType?: string;
|
|
2429
|
+
/** Request body */
|
|
2430
|
+
resource: GoogleCloudDatacatalogV1TagTemplateField;
|
|
2431
|
+
}): Request<GoogleCloudDatacatalogV1TagTemplateField>;
|
|
2432
|
+
patch(request: {
|
|
2433
|
+
/** V1 error format. */
|
|
2434
|
+
"$.xgafv"?: string;
|
|
2435
|
+
/** OAuth access token. */
|
|
2436
|
+
access_token?: string;
|
|
2437
|
+
/** Data format for response. */
|
|
2438
|
+
alt?: string;
|
|
2439
|
+
/** JSONP */
|
|
2440
|
+
callback?: string;
|
|
2441
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2442
|
+
fields?: string;
|
|
2443
|
+
/** 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. */
|
|
2444
|
+
key?: string;
|
|
2445
|
+
/** Required. The name of the tag template field. */
|
|
2446
|
+
name: string;
|
|
2447
|
+
/** OAuth 2.0 token for the current user. */
|
|
2448
|
+
oauth_token?: string;
|
|
2449
|
+
/** Returns response with indentations and line breaks. */
|
|
2450
|
+
prettyPrint?: boolean;
|
|
2451
|
+
/** 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. */
|
|
2452
|
+
quotaUser?: string;
|
|
2453
|
+
/**
|
|
2454
|
+
* Optional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable: * `display_name` * `type.enum_type` *
|
|
2455
|
+
* `is_required` If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are
|
|
2456
|
+
* emptied with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values
|
|
2457
|
+
* cannot be deleted or renamed. Additionally, updating a template field from optional to required is *not* allowed.
|
|
2458
|
+
*/
|
|
2459
|
+
updateMask?: string;
|
|
2460
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2461
|
+
upload_protocol?: string;
|
|
2462
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2463
|
+
uploadType?: string;
|
|
2464
|
+
},
|
|
2465
|
+
body: GoogleCloudDatacatalogV1TagTemplateField): Request<GoogleCloudDatacatalogV1TagTemplateField>;
|
|
2466
|
+
/**
|
|
2467
|
+
* Renames a field in a tag template. You must enable the Data Catalog API in the project identified by the `name` parameter. For more information, see [Data Catalog resource project]
|
|
2468
|
+
* (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
|
|
2469
|
+
*/
|
|
2470
|
+
rename(request: {
|
|
2471
|
+
/** V1 error format. */
|
|
2472
|
+
"$.xgafv"?: string;
|
|
2473
|
+
/** OAuth access token. */
|
|
2474
|
+
access_token?: string;
|
|
2475
|
+
/** Data format for response. */
|
|
2476
|
+
alt?: string;
|
|
2477
|
+
/** JSONP */
|
|
2478
|
+
callback?: string;
|
|
2479
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2480
|
+
fields?: string;
|
|
2481
|
+
/** 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. */
|
|
2482
|
+
key?: string;
|
|
2483
|
+
/** Required. The name of the tag template field. */
|
|
2484
|
+
name: string;
|
|
2485
|
+
/** OAuth 2.0 token for the current user. */
|
|
2486
|
+
oauth_token?: string;
|
|
2487
|
+
/** Returns response with indentations and line breaks. */
|
|
2488
|
+
prettyPrint?: boolean;
|
|
2489
|
+
/** 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. */
|
|
2490
|
+
quotaUser?: string;
|
|
2491
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2492
|
+
upload_protocol?: string;
|
|
2493
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2494
|
+
uploadType?: string;
|
|
2495
|
+
/** Request body */
|
|
2496
|
+
resource: GoogleCloudDatacatalogV1RenameTagTemplateFieldRequest;
|
|
2497
|
+
}): Request<GoogleCloudDatacatalogV1TagTemplateField>;
|
|
2498
|
+
rename(request: {
|
|
2499
|
+
/** V1 error format. */
|
|
2500
|
+
"$.xgafv"?: string;
|
|
2501
|
+
/** OAuth access token. */
|
|
2502
|
+
access_token?: string;
|
|
2503
|
+
/** Data format for response. */
|
|
2504
|
+
alt?: string;
|
|
2505
|
+
/** JSONP */
|
|
2506
|
+
callback?: string;
|
|
2507
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2508
|
+
fields?: string;
|
|
2509
|
+
/** 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. */
|
|
2510
|
+
key?: string;
|
|
2511
|
+
/** Required. The name of the tag template field. */
|
|
2512
|
+
name: string;
|
|
2513
|
+
/** OAuth 2.0 token for the current user. */
|
|
2514
|
+
oauth_token?: string;
|
|
2515
|
+
/** Returns response with indentations and line breaks. */
|
|
2516
|
+
prettyPrint?: boolean;
|
|
2517
|
+
/** 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. */
|
|
2518
|
+
quotaUser?: string;
|
|
2519
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2520
|
+
upload_protocol?: string;
|
|
2521
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2522
|
+
uploadType?: string;
|
|
2523
|
+
},
|
|
2524
|
+
body: GoogleCloudDatacatalogV1RenameTagTemplateFieldRequest): Request<GoogleCloudDatacatalogV1TagTemplateField>;
|
|
2525
|
+
enumValues: EnumValuesResource;
|
|
2526
|
+
}
|
|
2527
|
+
interface TagTemplatesResource {
|
|
2528
|
+
/**
|
|
2529
|
+
* Creates a tag template. You must enable the Data Catalog API in the project identified by the `parent` parameter. For more information, see [Data Catalog resource project]
|
|
2530
|
+
* (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
|
|
2531
|
+
*/
|
|
2532
|
+
create(request: {
|
|
2533
|
+
/** V1 error format. */
|
|
2534
|
+
"$.xgafv"?: string;
|
|
2535
|
+
/** OAuth access token. */
|
|
2536
|
+
access_token?: string;
|
|
2537
|
+
/** Data format for response. */
|
|
2538
|
+
alt?: string;
|
|
2539
|
+
/** JSONP */
|
|
2540
|
+
callback?: string;
|
|
2541
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2542
|
+
fields?: string;
|
|
2543
|
+
/** 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. */
|
|
2544
|
+
key?: string;
|
|
2545
|
+
/** OAuth 2.0 token for the current user. */
|
|
2546
|
+
oauth_token?: string;
|
|
2547
|
+
/** Required. The name of the project and the template location [region](https://cloud.google.com/data-catalog/docs/concepts/regions). */
|
|
2548
|
+
parent: string;
|
|
2549
|
+
/** Returns response with indentations and line breaks. */
|
|
2550
|
+
prettyPrint?: boolean;
|
|
2551
|
+
/** 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. */
|
|
2552
|
+
quotaUser?: string;
|
|
2553
|
+
/**
|
|
2554
|
+
* Required. The ID of the tag template to create. The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore.
|
|
2555
|
+
* The maximum size is 64 bytes when encoded in UTF-8.
|
|
2556
|
+
*/
|
|
2557
|
+
tagTemplateId?: string;
|
|
2558
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2559
|
+
upload_protocol?: string;
|
|
2560
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2561
|
+
uploadType?: string;
|
|
2562
|
+
/** Request body */
|
|
2563
|
+
resource: GoogleCloudDatacatalogV1TagTemplate;
|
|
2564
|
+
}): Request<GoogleCloudDatacatalogV1TagTemplate>;
|
|
2565
|
+
create(request: {
|
|
2566
|
+
/** V1 error format. */
|
|
2567
|
+
"$.xgafv"?: string;
|
|
2568
|
+
/** OAuth access token. */
|
|
2569
|
+
access_token?: string;
|
|
2570
|
+
/** Data format for response. */
|
|
2571
|
+
alt?: string;
|
|
2572
|
+
/** JSONP */
|
|
2573
|
+
callback?: string;
|
|
2574
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2575
|
+
fields?: string;
|
|
2576
|
+
/** 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. */
|
|
2577
|
+
key?: string;
|
|
2578
|
+
/** OAuth 2.0 token for the current user. */
|
|
2579
|
+
oauth_token?: string;
|
|
2580
|
+
/** Required. The name of the project and the template location [region](https://cloud.google.com/data-catalog/docs/concepts/regions). */
|
|
2581
|
+
parent: string;
|
|
2582
|
+
/** Returns response with indentations and line breaks. */
|
|
2583
|
+
prettyPrint?: boolean;
|
|
2584
|
+
/** 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. */
|
|
2585
|
+
quotaUser?: string;
|
|
2586
|
+
/**
|
|
2587
|
+
* Required. The ID of the tag template to create. The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore.
|
|
2588
|
+
* The maximum size is 64 bytes when encoded in UTF-8.
|
|
2589
|
+
*/
|
|
2590
|
+
tagTemplateId?: string;
|
|
2591
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2592
|
+
upload_protocol?: string;
|
|
2593
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2594
|
+
uploadType?: string;
|
|
2595
|
+
},
|
|
2596
|
+
body: GoogleCloudDatacatalogV1TagTemplate): Request<GoogleCloudDatacatalogV1TagTemplate>;
|
|
2597
|
+
/**
|
|
2598
|
+
* Deletes a tag template and all tags that use it. You must enable the Data Catalog API in the project identified by the `name` parameter. For more information, see [Data Catalog
|
|
2599
|
+
* resource project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
|
|
2600
|
+
*/
|
|
2601
|
+
delete(request?: {
|
|
2602
|
+
/** V1 error format. */
|
|
2603
|
+
"$.xgafv"?: string;
|
|
2604
|
+
/** OAuth access token. */
|
|
2605
|
+
access_token?: string;
|
|
2606
|
+
/** Data format for response. */
|
|
2607
|
+
alt?: string;
|
|
2608
|
+
/** JSONP */
|
|
2609
|
+
callback?: string;
|
|
2610
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2611
|
+
fields?: string;
|
|
2612
|
+
/** Required. If true, deletes all tags that use this template. Currently, `true` is the only supported value. */
|
|
2613
|
+
force?: boolean;
|
|
2614
|
+
/** 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. */
|
|
2615
|
+
key?: string;
|
|
2616
|
+
/** Required. The name of the tag template to delete. */
|
|
2617
|
+
name: string;
|
|
2618
|
+
/** OAuth 2.0 token for the current user. */
|
|
2619
|
+
oauth_token?: string;
|
|
2620
|
+
/** Returns response with indentations and line breaks. */
|
|
2621
|
+
prettyPrint?: boolean;
|
|
2622
|
+
/** 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. */
|
|
2623
|
+
quotaUser?: string;
|
|
2624
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2625
|
+
upload_protocol?: string;
|
|
2626
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2627
|
+
uploadType?: string;
|
|
2628
|
+
}): Request<{}>;
|
|
2629
|
+
/** Gets a tag template. */
|
|
2630
|
+
get(request?: {
|
|
2631
|
+
/** V1 error format. */
|
|
2632
|
+
"$.xgafv"?: string;
|
|
2633
|
+
/** OAuth access token. */
|
|
2634
|
+
access_token?: string;
|
|
2635
|
+
/** Data format for response. */
|
|
2636
|
+
alt?: string;
|
|
2637
|
+
/** JSONP */
|
|
2638
|
+
callback?: string;
|
|
2639
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2640
|
+
fields?: string;
|
|
2641
|
+
/** 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. */
|
|
2642
|
+
key?: string;
|
|
2643
|
+
/** Required. The name of the tag template to get. */
|
|
2644
|
+
name: string;
|
|
2645
|
+
/** OAuth 2.0 token for the current user. */
|
|
2646
|
+
oauth_token?: string;
|
|
2647
|
+
/** Returns response with indentations and line breaks. */
|
|
2648
|
+
prettyPrint?: boolean;
|
|
2649
|
+
/** 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. */
|
|
2650
|
+
quotaUser?: string;
|
|
2651
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2652
|
+
upload_protocol?: string;
|
|
2653
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2654
|
+
uploadType?: string;
|
|
2655
|
+
}): Request<GoogleCloudDatacatalogV1TagTemplate>;
|
|
2656
|
+
/**
|
|
2657
|
+
* Gets the access control policy for a resource. May return: * A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view it. * An empty policy if the
|
|
2658
|
+
* resource exists but doesn't have a set policy. Supported resources are: - Tag templates - Entry groups Note: This method doesn't get policies from Google Cloud Platform resources
|
|
2659
|
+
* ingested into Data Catalog. To call this method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. -
|
|
2660
|
+
* `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
|
|
2661
|
+
*/
|
|
2662
|
+
getIamPolicy(request: {
|
|
2663
|
+
/** V1 error format. */
|
|
2664
|
+
"$.xgafv"?: string;
|
|
2665
|
+
/** OAuth access token. */
|
|
2666
|
+
access_token?: string;
|
|
2667
|
+
/** Data format for response. */
|
|
2668
|
+
alt?: string;
|
|
2669
|
+
/** JSONP */
|
|
2670
|
+
callback?: string;
|
|
2671
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2672
|
+
fields?: string;
|
|
2673
|
+
/** 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. */
|
|
2674
|
+
key?: string;
|
|
2675
|
+
/** OAuth 2.0 token for the current user. */
|
|
2676
|
+
oauth_token?: string;
|
|
2677
|
+
/** Returns response with indentations and line breaks. */
|
|
2678
|
+
prettyPrint?: boolean;
|
|
2679
|
+
/** 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. */
|
|
2680
|
+
quotaUser?: string;
|
|
2681
|
+
/**
|
|
2682
|
+
* 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
|
|
2683
|
+
* field.
|
|
2684
|
+
*/
|
|
2685
|
+
resource: string;
|
|
2686
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2687
|
+
upload_protocol?: string;
|
|
2688
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2689
|
+
uploadType?: string;
|
|
2690
|
+
},
|
|
2691
|
+
body: GetIamPolicyRequest): Request<Policy>;
|
|
2692
|
+
/**
|
|
2693
|
+
* Updates a tag template. You can't update template fields with this method. These fields are separate resources with their own create, update, and delete methods. You must enable the
|
|
2694
|
+
* Data Catalog API in the project identified by the `tag_template.name` parameter. For more information, see [Data Catalog resource
|
|
2695
|
+
* project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
|
|
2696
|
+
*/
|
|
2697
|
+
patch(request: {
|
|
2698
|
+
/** V1 error format. */
|
|
2699
|
+
"$.xgafv"?: string;
|
|
2700
|
+
/** OAuth access token. */
|
|
2701
|
+
access_token?: string;
|
|
2702
|
+
/** Data format for response. */
|
|
2703
|
+
alt?: string;
|
|
2704
|
+
/** JSONP */
|
|
2705
|
+
callback?: string;
|
|
2706
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2707
|
+
fields?: string;
|
|
2708
|
+
/** 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. */
|
|
2709
|
+
key?: string;
|
|
2710
|
+
/** The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name. */
|
|
2711
|
+
name: string;
|
|
2712
|
+
/** OAuth 2.0 token for the current user. */
|
|
2713
|
+
oauth_token?: string;
|
|
2714
|
+
/** Returns response with indentations and line breaks. */
|
|
2715
|
+
prettyPrint?: boolean;
|
|
2716
|
+
/** 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. */
|
|
2717
|
+
quotaUser?: string;
|
|
2718
|
+
/**
|
|
2719
|
+
* Names of fields whose values to overwrite on a tag template. Currently, only `display_name` and `is_publicly_readable` can be overwritten. If this parameter is absent or empty,
|
|
2720
|
+
* all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. Note: Updating the `is_publicly_readable` field
|
|
2721
|
+
* may require up to 12 hours to take effect in search results.
|
|
2722
|
+
*/
|
|
2723
|
+
updateMask?: string;
|
|
2724
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2725
|
+
upload_protocol?: string;
|
|
2726
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2727
|
+
uploadType?: string;
|
|
2728
|
+
/** Request body */
|
|
2729
|
+
resource: GoogleCloudDatacatalogV1TagTemplate;
|
|
2730
|
+
}): Request<GoogleCloudDatacatalogV1TagTemplate>;
|
|
2731
|
+
patch(request: {
|
|
2732
|
+
/** V1 error format. */
|
|
2733
|
+
"$.xgafv"?: string;
|
|
2734
|
+
/** OAuth access token. */
|
|
2735
|
+
access_token?: string;
|
|
2736
|
+
/** Data format for response. */
|
|
2737
|
+
alt?: string;
|
|
2738
|
+
/** JSONP */
|
|
2739
|
+
callback?: string;
|
|
2740
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2741
|
+
fields?: string;
|
|
2742
|
+
/** 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. */
|
|
2743
|
+
key?: string;
|
|
2744
|
+
/** The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name. */
|
|
2745
|
+
name: string;
|
|
2746
|
+
/** OAuth 2.0 token for the current user. */
|
|
2747
|
+
oauth_token?: string;
|
|
2748
|
+
/** Returns response with indentations and line breaks. */
|
|
2749
|
+
prettyPrint?: boolean;
|
|
2750
|
+
/** 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. */
|
|
2751
|
+
quotaUser?: string;
|
|
2752
|
+
/**
|
|
2753
|
+
* Names of fields whose values to overwrite on a tag template. Currently, only `display_name` and `is_publicly_readable` can be overwritten. If this parameter is absent or empty,
|
|
2754
|
+
* all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. Note: Updating the `is_publicly_readable` field
|
|
2755
|
+
* may require up to 12 hours to take effect in search results.
|
|
2756
|
+
*/
|
|
2757
|
+
updateMask?: string;
|
|
2758
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2759
|
+
upload_protocol?: string;
|
|
2760
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2761
|
+
uploadType?: string;
|
|
2762
|
+
},
|
|
2763
|
+
body: GoogleCloudDatacatalogV1TagTemplate): Request<GoogleCloudDatacatalogV1TagTemplate>;
|
|
2764
|
+
/**
|
|
2765
|
+
* Sets an access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates - Entry groups Note: This method sets policies only within Data
|
|
2766
|
+
* Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog. To call this
|
|
2767
|
+
* method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entryGroups.setIamPolicy` to
|
|
2768
|
+
* set policies on entry groups.
|
|
2769
|
+
*/
|
|
2770
|
+
setIamPolicy(request: {
|
|
2771
|
+
/** V1 error format. */
|
|
2772
|
+
"$.xgafv"?: string;
|
|
2773
|
+
/** OAuth access token. */
|
|
2774
|
+
access_token?: string;
|
|
2775
|
+
/** Data format for response. */
|
|
2776
|
+
alt?: string;
|
|
2777
|
+
/** JSONP */
|
|
2778
|
+
callback?: string;
|
|
2779
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2780
|
+
fields?: string;
|
|
2781
|
+
/** 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. */
|
|
2782
|
+
key?: string;
|
|
2783
|
+
/** OAuth 2.0 token for the current user. */
|
|
2784
|
+
oauth_token?: string;
|
|
2785
|
+
/** Returns response with indentations and line breaks. */
|
|
2786
|
+
prettyPrint?: boolean;
|
|
2787
|
+
/** 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. */
|
|
2788
|
+
quotaUser?: string;
|
|
2789
|
+
/**
|
|
2790
|
+
* 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
|
|
2791
|
+
* field.
|
|
2792
|
+
*/
|
|
2793
|
+
resource: string;
|
|
2794
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2795
|
+
upload_protocol?: string;
|
|
2796
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2797
|
+
uploadType?: string;
|
|
2798
|
+
},
|
|
2799
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
2800
|
+
/**
|
|
2801
|
+
* Gets your permissions on a resource. Returns an empty set of permissions if the resource doesn't exist. Supported resources are: - Tag templates - Entry groups Note: This method
|
|
2802
|
+
* gets policies only within Data Catalog and can't be used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources ingested into
|
|
2803
|
+
* Data Catalog. No Google IAM permissions are required to call this method.
|
|
2804
|
+
*/
|
|
2805
|
+
testIamPermissions(request: {
|
|
2806
|
+
/** V1 error format. */
|
|
2807
|
+
"$.xgafv"?: string;
|
|
2808
|
+
/** OAuth access token. */
|
|
2809
|
+
access_token?: string;
|
|
2810
|
+
/** Data format for response. */
|
|
2811
|
+
alt?: string;
|
|
2812
|
+
/** JSONP */
|
|
2813
|
+
callback?: string;
|
|
2814
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2815
|
+
fields?: string;
|
|
2816
|
+
/** 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. */
|
|
2817
|
+
key?: string;
|
|
2818
|
+
/** OAuth 2.0 token for the current user. */
|
|
2819
|
+
oauth_token?: string;
|
|
2820
|
+
/** Returns response with indentations and line breaks. */
|
|
2821
|
+
prettyPrint?: boolean;
|
|
2822
|
+
/** 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. */
|
|
2823
|
+
quotaUser?: string;
|
|
2824
|
+
/**
|
|
2825
|
+
* 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
|
|
2826
|
+
* this field.
|
|
2827
|
+
*/
|
|
2828
|
+
resource: string;
|
|
2829
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2830
|
+
upload_protocol?: string;
|
|
2831
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2832
|
+
uploadType?: string;
|
|
2833
|
+
},
|
|
2834
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
2835
|
+
fields: FieldsResource;
|
|
2836
|
+
}
|
|
2837
|
+
interface PolicyTagsResource {
|
|
2838
|
+
/** Creates a policy tag in a taxonomy. */
|
|
2839
|
+
create(request: {
|
|
2840
|
+
/** V1 error format. */
|
|
2841
|
+
"$.xgafv"?: string;
|
|
2842
|
+
/** OAuth access token. */
|
|
2843
|
+
access_token?: string;
|
|
2844
|
+
/** Data format for response. */
|
|
2845
|
+
alt?: string;
|
|
2846
|
+
/** JSONP */
|
|
2847
|
+
callback?: string;
|
|
2848
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2849
|
+
fields?: string;
|
|
2850
|
+
/** 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. */
|
|
2851
|
+
key?: string;
|
|
2852
|
+
/** OAuth 2.0 token for the current user. */
|
|
2853
|
+
oauth_token?: string;
|
|
2854
|
+
/** Required. Resource name of the taxonomy that the policy tag will belong to. */
|
|
2855
|
+
parent: string;
|
|
2856
|
+
/** Returns response with indentations and line breaks. */
|
|
2857
|
+
prettyPrint?: boolean;
|
|
2858
|
+
/** 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. */
|
|
2859
|
+
quotaUser?: string;
|
|
2860
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2861
|
+
upload_protocol?: string;
|
|
2862
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2863
|
+
uploadType?: string;
|
|
2864
|
+
/** Request body */
|
|
2865
|
+
resource: GoogleCloudDatacatalogV1PolicyTag;
|
|
2866
|
+
}): Request<GoogleCloudDatacatalogV1PolicyTag>;
|
|
2867
|
+
create(request: {
|
|
2868
|
+
/** V1 error format. */
|
|
2869
|
+
"$.xgafv"?: string;
|
|
2870
|
+
/** OAuth access token. */
|
|
2871
|
+
access_token?: string;
|
|
2872
|
+
/** Data format for response. */
|
|
2873
|
+
alt?: string;
|
|
2874
|
+
/** JSONP */
|
|
2875
|
+
callback?: string;
|
|
2876
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2877
|
+
fields?: string;
|
|
2878
|
+
/** 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. */
|
|
2879
|
+
key?: string;
|
|
2880
|
+
/** OAuth 2.0 token for the current user. */
|
|
2881
|
+
oauth_token?: string;
|
|
2882
|
+
/** Required. Resource name of the taxonomy that the policy tag will belong to. */
|
|
2883
|
+
parent: string;
|
|
2884
|
+
/** Returns response with indentations and line breaks. */
|
|
2885
|
+
prettyPrint?: boolean;
|
|
2886
|
+
/** 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. */
|
|
2887
|
+
quotaUser?: string;
|
|
2888
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2889
|
+
upload_protocol?: string;
|
|
2890
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2891
|
+
uploadType?: string;
|
|
2892
|
+
},
|
|
2893
|
+
body: GoogleCloudDatacatalogV1PolicyTag): Request<GoogleCloudDatacatalogV1PolicyTag>;
|
|
2894
|
+
/**
|
|
2895
|
+
* Deletes a policy tag together with the following: * All of its descendant policy tags, if any * Policies associated with the policy tag and its descendants * References from
|
|
2896
|
+
* BigQuery table schema of the policy tag and its descendants
|
|
2897
|
+
*/
|
|
2898
|
+
delete(request?: {
|
|
2899
|
+
/** V1 error format. */
|
|
2900
|
+
"$.xgafv"?: string;
|
|
2901
|
+
/** OAuth access token. */
|
|
2902
|
+
access_token?: string;
|
|
2903
|
+
/** Data format for response. */
|
|
2904
|
+
alt?: string;
|
|
2905
|
+
/** JSONP */
|
|
2906
|
+
callback?: string;
|
|
2907
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2908
|
+
fields?: string;
|
|
2909
|
+
/** 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. */
|
|
2910
|
+
key?: string;
|
|
2911
|
+
/** Required. Resource name of the policy tag to delete. Note: All of its descendant policy tags are also deleted. */
|
|
2912
|
+
name: string;
|
|
2913
|
+
/** OAuth 2.0 token for the current user. */
|
|
2914
|
+
oauth_token?: string;
|
|
2915
|
+
/** Returns response with indentations and line breaks. */
|
|
2916
|
+
prettyPrint?: boolean;
|
|
2917
|
+
/** 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. */
|
|
2918
|
+
quotaUser?: string;
|
|
2919
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2920
|
+
upload_protocol?: string;
|
|
2921
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2922
|
+
uploadType?: string;
|
|
2923
|
+
}): Request<{}>;
|
|
2924
|
+
/** Gets a policy tag. */
|
|
2925
|
+
get(request?: {
|
|
2926
|
+
/** V1 error format. */
|
|
2927
|
+
"$.xgafv"?: string;
|
|
2928
|
+
/** OAuth access token. */
|
|
2929
|
+
access_token?: string;
|
|
2930
|
+
/** Data format for response. */
|
|
2931
|
+
alt?: string;
|
|
2932
|
+
/** JSONP */
|
|
2933
|
+
callback?: string;
|
|
2934
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2935
|
+
fields?: string;
|
|
2936
|
+
/** 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. */
|
|
2937
|
+
key?: string;
|
|
2938
|
+
/** Required. Resource name of the policy tag. */
|
|
2939
|
+
name: string;
|
|
2940
|
+
/** OAuth 2.0 token for the current user. */
|
|
2941
|
+
oauth_token?: string;
|
|
2942
|
+
/** Returns response with indentations and line breaks. */
|
|
2943
|
+
prettyPrint?: boolean;
|
|
2944
|
+
/** 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. */
|
|
2945
|
+
quotaUser?: string;
|
|
2946
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2947
|
+
upload_protocol?: string;
|
|
2948
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2949
|
+
uploadType?: string;
|
|
2950
|
+
}): Request<GoogleCloudDatacatalogV1PolicyTag>;
|
|
2951
|
+
/** Gets the IAM policy for a policy tag or a taxonomy. */
|
|
2952
|
+
getIamPolicy(request: {
|
|
2953
|
+
/** V1 error format. */
|
|
2954
|
+
"$.xgafv"?: string;
|
|
2955
|
+
/** OAuth access token. */
|
|
2956
|
+
access_token?: string;
|
|
2957
|
+
/** Data format for response. */
|
|
2958
|
+
alt?: string;
|
|
2959
|
+
/** JSONP */
|
|
2960
|
+
callback?: string;
|
|
2961
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2962
|
+
fields?: string;
|
|
2963
|
+
/** 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. */
|
|
2964
|
+
key?: string;
|
|
2965
|
+
/** OAuth 2.0 token for the current user. */
|
|
2966
|
+
oauth_token?: string;
|
|
2967
|
+
/** Returns response with indentations and line breaks. */
|
|
2968
|
+
prettyPrint?: boolean;
|
|
2969
|
+
/** 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. */
|
|
2970
|
+
quotaUser?: string;
|
|
2971
|
+
/**
|
|
2972
|
+
* 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
|
|
2973
|
+
* field.
|
|
2974
|
+
*/
|
|
2975
|
+
resource: string;
|
|
2976
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2977
|
+
upload_protocol?: string;
|
|
2978
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2979
|
+
uploadType?: string;
|
|
2980
|
+
},
|
|
2981
|
+
body: GetIamPolicyRequest): Request<Policy>;
|
|
2982
|
+
/** Lists all policy tags in a taxonomy. */
|
|
2983
|
+
list(request?: {
|
|
2984
|
+
/** V1 error format. */
|
|
2985
|
+
"$.xgafv"?: string;
|
|
2986
|
+
/** OAuth access token. */
|
|
2987
|
+
access_token?: string;
|
|
2988
|
+
/** Data format for response. */
|
|
2989
|
+
alt?: string;
|
|
2990
|
+
/** JSONP */
|
|
2991
|
+
callback?: string;
|
|
2992
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2993
|
+
fields?: string;
|
|
2994
|
+
/** 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. */
|
|
2995
|
+
key?: string;
|
|
2996
|
+
/** OAuth 2.0 token for the current user. */
|
|
2997
|
+
oauth_token?: string;
|
|
2998
|
+
/** The maximum number of items to return. Must be a value between 1 and 1000 inclusively. If not set, defaults to 50. */
|
|
2999
|
+
pageSize?: number;
|
|
3000
|
+
/** The pagination token of the next results page. If not set, returns the first page. The token is returned in the response to a previous list request. */
|
|
3001
|
+
pageToken?: string;
|
|
3002
|
+
/** Required. Resource name of the taxonomy to list the policy tags of. */
|
|
3003
|
+
parent: string;
|
|
3004
|
+
/** Returns response with indentations and line breaks. */
|
|
3005
|
+
prettyPrint?: boolean;
|
|
3006
|
+
/** 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. */
|
|
3007
|
+
quotaUser?: string;
|
|
3008
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3009
|
+
upload_protocol?: string;
|
|
3010
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3011
|
+
uploadType?: string;
|
|
3012
|
+
}): Request<GoogleCloudDatacatalogV1ListPolicyTagsResponse>;
|
|
3013
|
+
/** Updates a policy tag, including its display name, description, and parent policy tag. */
|
|
3014
|
+
patch(request: {
|
|
3015
|
+
/** V1 error format. */
|
|
3016
|
+
"$.xgafv"?: string;
|
|
3017
|
+
/** OAuth access token. */
|
|
3018
|
+
access_token?: string;
|
|
3019
|
+
/** Data format for response. */
|
|
3020
|
+
alt?: string;
|
|
3021
|
+
/** JSONP */
|
|
3022
|
+
callback?: string;
|
|
3023
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3024
|
+
fields?: string;
|
|
3025
|
+
/** 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. */
|
|
3026
|
+
key?: string;
|
|
3027
|
+
/** Output only. Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs. */
|
|
3028
|
+
name: string;
|
|
3029
|
+
/** OAuth 2.0 token for the current user. */
|
|
3030
|
+
oauth_token?: string;
|
|
3031
|
+
/** Returns response with indentations and line breaks. */
|
|
3032
|
+
prettyPrint?: boolean;
|
|
3033
|
+
/** 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. */
|
|
3034
|
+
quotaUser?: string;
|
|
3035
|
+
/**
|
|
3036
|
+
* Specifies the fields to update. You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see
|
|
3037
|
+
* [FieldMask] (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
|
|
3038
|
+
*/
|
|
3039
|
+
updateMask?: string;
|
|
3040
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3041
|
+
upload_protocol?: string;
|
|
3042
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3043
|
+
uploadType?: string;
|
|
3044
|
+
/** Request body */
|
|
3045
|
+
resource: GoogleCloudDatacatalogV1PolicyTag;
|
|
3046
|
+
}): Request<GoogleCloudDatacatalogV1PolicyTag>;
|
|
3047
|
+
patch(request: {
|
|
3048
|
+
/** V1 error format. */
|
|
3049
|
+
"$.xgafv"?: string;
|
|
3050
|
+
/** OAuth access token. */
|
|
3051
|
+
access_token?: string;
|
|
3052
|
+
/** Data format for response. */
|
|
3053
|
+
alt?: string;
|
|
3054
|
+
/** JSONP */
|
|
3055
|
+
callback?: string;
|
|
3056
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3057
|
+
fields?: string;
|
|
3058
|
+
/** 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. */
|
|
3059
|
+
key?: string;
|
|
3060
|
+
/** Output only. Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs. */
|
|
3061
|
+
name: string;
|
|
3062
|
+
/** OAuth 2.0 token for the current user. */
|
|
3063
|
+
oauth_token?: string;
|
|
3064
|
+
/** Returns response with indentations and line breaks. */
|
|
3065
|
+
prettyPrint?: boolean;
|
|
3066
|
+
/** 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. */
|
|
3067
|
+
quotaUser?: string;
|
|
3068
|
+
/**
|
|
3069
|
+
* Specifies the fields to update. You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see
|
|
3070
|
+
* [FieldMask] (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
|
|
3071
|
+
*/
|
|
3072
|
+
updateMask?: string;
|
|
3073
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3074
|
+
upload_protocol?: string;
|
|
3075
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3076
|
+
uploadType?: string;
|
|
3077
|
+
},
|
|
3078
|
+
body: GoogleCloudDatacatalogV1PolicyTag): Request<GoogleCloudDatacatalogV1PolicyTag>;
|
|
3079
|
+
/** Sets the IAM policy for a policy tag or a taxonomy. */
|
|
3080
|
+
setIamPolicy(request: {
|
|
3081
|
+
/** V1 error format. */
|
|
3082
|
+
"$.xgafv"?: string;
|
|
3083
|
+
/** OAuth access token. */
|
|
3084
|
+
access_token?: string;
|
|
3085
|
+
/** Data format for response. */
|
|
3086
|
+
alt?: string;
|
|
3087
|
+
/** JSONP */
|
|
3088
|
+
callback?: string;
|
|
3089
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3090
|
+
fields?: string;
|
|
3091
|
+
/** 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. */
|
|
3092
|
+
key?: string;
|
|
3093
|
+
/** OAuth 2.0 token for the current user. */
|
|
3094
|
+
oauth_token?: string;
|
|
3095
|
+
/** Returns response with indentations and line breaks. */
|
|
3096
|
+
prettyPrint?: boolean;
|
|
3097
|
+
/** 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. */
|
|
3098
|
+
quotaUser?: string;
|
|
3099
|
+
/**
|
|
3100
|
+
* 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
|
|
3101
|
+
* field.
|
|
3102
|
+
*/
|
|
3103
|
+
resource: string;
|
|
3104
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3105
|
+
upload_protocol?: string;
|
|
3106
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3107
|
+
uploadType?: string;
|
|
3108
|
+
},
|
|
3109
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
3110
|
+
/** Returns your permissions on a specified policy tag or taxonomy. */
|
|
3111
|
+
testIamPermissions(request: {
|
|
3112
|
+
/** V1 error format. */
|
|
3113
|
+
"$.xgafv"?: string;
|
|
3114
|
+
/** OAuth access token. */
|
|
3115
|
+
access_token?: string;
|
|
3116
|
+
/** Data format for response. */
|
|
3117
|
+
alt?: string;
|
|
3118
|
+
/** JSONP */
|
|
3119
|
+
callback?: string;
|
|
3120
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3121
|
+
fields?: string;
|
|
3122
|
+
/** 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. */
|
|
3123
|
+
key?: string;
|
|
3124
|
+
/** OAuth 2.0 token for the current user. */
|
|
3125
|
+
oauth_token?: string;
|
|
3126
|
+
/** Returns response with indentations and line breaks. */
|
|
3127
|
+
prettyPrint?: boolean;
|
|
3128
|
+
/** 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. */
|
|
3129
|
+
quotaUser?: string;
|
|
3130
|
+
/**
|
|
3131
|
+
* 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
|
|
3132
|
+
* this field.
|
|
3133
|
+
*/
|
|
3134
|
+
resource: string;
|
|
3135
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3136
|
+
upload_protocol?: string;
|
|
3137
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3138
|
+
uploadType?: string;
|
|
3139
|
+
},
|
|
3140
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
3141
|
+
}
|
|
3142
|
+
interface TaxonomiesResource {
|
|
3143
|
+
/** Creates a taxonomy in a specified project. The taxonomy is initially empty, that is, it doesn't contain policy tags. */
|
|
3144
|
+
create(request: {
|
|
3145
|
+
/** V1 error format. */
|
|
3146
|
+
"$.xgafv"?: string;
|
|
3147
|
+
/** OAuth access token. */
|
|
3148
|
+
access_token?: string;
|
|
3149
|
+
/** Data format for response. */
|
|
3150
|
+
alt?: string;
|
|
3151
|
+
/** JSONP */
|
|
3152
|
+
callback?: string;
|
|
3153
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3154
|
+
fields?: string;
|
|
3155
|
+
/** 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. */
|
|
3156
|
+
key?: string;
|
|
3157
|
+
/** OAuth 2.0 token for the current user. */
|
|
3158
|
+
oauth_token?: string;
|
|
3159
|
+
/** Required. Resource name of the project that the taxonomy will belong to. */
|
|
3160
|
+
parent: string;
|
|
3161
|
+
/** Returns response with indentations and line breaks. */
|
|
3162
|
+
prettyPrint?: boolean;
|
|
3163
|
+
/** 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. */
|
|
3164
|
+
quotaUser?: string;
|
|
3165
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3166
|
+
upload_protocol?: string;
|
|
3167
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3168
|
+
uploadType?: string;
|
|
3169
|
+
/** Request body */
|
|
3170
|
+
resource: GoogleCloudDatacatalogV1Taxonomy;
|
|
3171
|
+
}): Request<GoogleCloudDatacatalogV1Taxonomy>;
|
|
3172
|
+
create(request: {
|
|
3173
|
+
/** V1 error format. */
|
|
3174
|
+
"$.xgafv"?: string;
|
|
3175
|
+
/** OAuth access token. */
|
|
3176
|
+
access_token?: string;
|
|
3177
|
+
/** Data format for response. */
|
|
3178
|
+
alt?: string;
|
|
3179
|
+
/** JSONP */
|
|
3180
|
+
callback?: string;
|
|
3181
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3182
|
+
fields?: string;
|
|
3183
|
+
/** 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. */
|
|
3184
|
+
key?: string;
|
|
3185
|
+
/** OAuth 2.0 token for the current user. */
|
|
3186
|
+
oauth_token?: string;
|
|
3187
|
+
/** Required. Resource name of the project that the taxonomy will belong to. */
|
|
3188
|
+
parent: string;
|
|
3189
|
+
/** Returns response with indentations and line breaks. */
|
|
3190
|
+
prettyPrint?: boolean;
|
|
3191
|
+
/** 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. */
|
|
3192
|
+
quotaUser?: string;
|
|
3193
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3194
|
+
upload_protocol?: string;
|
|
3195
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3196
|
+
uploadType?: string;
|
|
3197
|
+
},
|
|
3198
|
+
body: GoogleCloudDatacatalogV1Taxonomy): Request<GoogleCloudDatacatalogV1Taxonomy>;
|
|
3199
|
+
/** Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and the policy tags references from BigQuery columns. */
|
|
3200
|
+
delete(request?: {
|
|
3201
|
+
/** V1 error format. */
|
|
3202
|
+
"$.xgafv"?: string;
|
|
3203
|
+
/** OAuth access token. */
|
|
3204
|
+
access_token?: string;
|
|
3205
|
+
/** Data format for response. */
|
|
3206
|
+
alt?: string;
|
|
3207
|
+
/** JSONP */
|
|
3208
|
+
callback?: string;
|
|
3209
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3210
|
+
fields?: string;
|
|
3211
|
+
/** 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. */
|
|
3212
|
+
key?: string;
|
|
3213
|
+
/** Required. Resource name of the taxonomy to delete. Note: All policy tags in this taxonomy are also deleted. */
|
|
3214
|
+
name: string;
|
|
3215
|
+
/** OAuth 2.0 token for the current user. */
|
|
3216
|
+
oauth_token?: string;
|
|
3217
|
+
/** Returns response with indentations and line breaks. */
|
|
3218
|
+
prettyPrint?: boolean;
|
|
3219
|
+
/** 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. */
|
|
3220
|
+
quotaUser?: string;
|
|
3221
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3222
|
+
upload_protocol?: string;
|
|
3223
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3224
|
+
uploadType?: string;
|
|
3225
|
+
}): Request<{}>;
|
|
3226
|
+
/**
|
|
3227
|
+
* Exports taxonomies in the requested type and returns them, including their policy tags. The requested taxonomies must belong to the same project. This method generates
|
|
3228
|
+
* `SerializedTaxonomy` protocol buffers with nested policy tags that can be used as input for `ImportTaxonomies` calls.
|
|
3229
|
+
*/
|
|
3230
|
+
export(request?: {
|
|
3231
|
+
/** V1 error format. */
|
|
3232
|
+
"$.xgafv"?: string;
|
|
3233
|
+
/** OAuth access token. */
|
|
3234
|
+
access_token?: string;
|
|
3235
|
+
/** Data format for response. */
|
|
3236
|
+
alt?: string;
|
|
3237
|
+
/** JSONP */
|
|
3238
|
+
callback?: string;
|
|
3239
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3240
|
+
fields?: string;
|
|
3241
|
+
/** 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. */
|
|
3242
|
+
key?: string;
|
|
3243
|
+
/** OAuth 2.0 token for the current user. */
|
|
3244
|
+
oauth_token?: string;
|
|
3245
|
+
/** Required. Resource name of the project that the exported taxonomies belong to. */
|
|
3246
|
+
parent: string;
|
|
3247
|
+
/** Returns response with indentations and line breaks. */
|
|
3248
|
+
prettyPrint?: boolean;
|
|
3249
|
+
/** 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. */
|
|
3250
|
+
quotaUser?: string;
|
|
3251
|
+
/** Serialized export taxonomies that contain all the policy tags as nested protocol buffers. */
|
|
3252
|
+
serializedTaxonomies?: boolean;
|
|
3253
|
+
/** Required. Resource names of the taxonomies to export. */
|
|
3254
|
+
taxonomies?: string | string[];
|
|
3255
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3256
|
+
upload_protocol?: string;
|
|
3257
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3258
|
+
uploadType?: string;
|
|
3259
|
+
}): Request<GoogleCloudDatacatalogV1ExportTaxonomiesResponse>;
|
|
3260
|
+
/** Gets a taxonomy. */
|
|
3261
|
+
get(request?: {
|
|
3262
|
+
/** V1 error format. */
|
|
3263
|
+
"$.xgafv"?: string;
|
|
3264
|
+
/** OAuth access token. */
|
|
3265
|
+
access_token?: string;
|
|
3266
|
+
/** Data format for response. */
|
|
3267
|
+
alt?: string;
|
|
3268
|
+
/** JSONP */
|
|
3269
|
+
callback?: string;
|
|
3270
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3271
|
+
fields?: string;
|
|
3272
|
+
/** 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. */
|
|
3273
|
+
key?: string;
|
|
3274
|
+
/** Required. Resource name of the taxonomy to get. */
|
|
3275
|
+
name: string;
|
|
3276
|
+
/** OAuth 2.0 token for the current user. */
|
|
3277
|
+
oauth_token?: string;
|
|
3278
|
+
/** Returns response with indentations and line breaks. */
|
|
3279
|
+
prettyPrint?: boolean;
|
|
3280
|
+
/** 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. */
|
|
3281
|
+
quotaUser?: string;
|
|
3282
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3283
|
+
upload_protocol?: string;
|
|
3284
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3285
|
+
uploadType?: string;
|
|
3286
|
+
}): Request<GoogleCloudDatacatalogV1Taxonomy>;
|
|
3287
|
+
/** Gets the IAM policy for a policy tag or a taxonomy. */
|
|
3288
|
+
getIamPolicy(request: {
|
|
3289
|
+
/** V1 error format. */
|
|
3290
|
+
"$.xgafv"?: string;
|
|
3291
|
+
/** OAuth access token. */
|
|
3292
|
+
access_token?: string;
|
|
3293
|
+
/** Data format for response. */
|
|
3294
|
+
alt?: string;
|
|
3295
|
+
/** JSONP */
|
|
3296
|
+
callback?: string;
|
|
3297
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3298
|
+
fields?: string;
|
|
3299
|
+
/** 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. */
|
|
3300
|
+
key?: string;
|
|
3301
|
+
/** OAuth 2.0 token for the current user. */
|
|
3302
|
+
oauth_token?: string;
|
|
3303
|
+
/** Returns response with indentations and line breaks. */
|
|
3304
|
+
prettyPrint?: boolean;
|
|
3305
|
+
/** 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. */
|
|
3306
|
+
quotaUser?: string;
|
|
3307
|
+
/**
|
|
3308
|
+
* 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
|
|
3309
|
+
* field.
|
|
3310
|
+
*/
|
|
3311
|
+
resource: string;
|
|
3312
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3313
|
+
upload_protocol?: string;
|
|
3314
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3315
|
+
uploadType?: string;
|
|
3316
|
+
},
|
|
3317
|
+
body: GetIamPolicyRequest): Request<Policy>;
|
|
3318
|
+
/**
|
|
3319
|
+
* Creates new taxonomies (including their policy tags) in a given project by importing from inlined or cross-regional sources. For a cross-regional source, new taxonomies are created
|
|
3320
|
+
* by copying from a source in another region. For an inlined source, taxonomies and policy tags are created in bulk using nested protocol buffer structures.
|
|
3321
|
+
*/
|
|
3322
|
+
import(request: {
|
|
3323
|
+
/** V1 error format. */
|
|
3324
|
+
"$.xgafv"?: string;
|
|
3325
|
+
/** OAuth access token. */
|
|
3326
|
+
access_token?: string;
|
|
3327
|
+
/** Data format for response. */
|
|
3328
|
+
alt?: string;
|
|
3329
|
+
/** JSONP */
|
|
3330
|
+
callback?: string;
|
|
3331
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3332
|
+
fields?: string;
|
|
3333
|
+
/** 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. */
|
|
3334
|
+
key?: string;
|
|
3335
|
+
/** OAuth 2.0 token for the current user. */
|
|
3336
|
+
oauth_token?: string;
|
|
3337
|
+
/** Required. Resource name of project that the imported taxonomies will belong to. */
|
|
3338
|
+
parent: string;
|
|
3339
|
+
/** Returns response with indentations and line breaks. */
|
|
3340
|
+
prettyPrint?: boolean;
|
|
3341
|
+
/** 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. */
|
|
3342
|
+
quotaUser?: string;
|
|
3343
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3344
|
+
upload_protocol?: string;
|
|
3345
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3346
|
+
uploadType?: string;
|
|
3347
|
+
/** Request body */
|
|
3348
|
+
resource: GoogleCloudDatacatalogV1ImportTaxonomiesRequest;
|
|
3349
|
+
}): Request<GoogleCloudDatacatalogV1ImportTaxonomiesResponse>;
|
|
3350
|
+
import(request: {
|
|
3351
|
+
/** V1 error format. */
|
|
3352
|
+
"$.xgafv"?: string;
|
|
3353
|
+
/** OAuth access token. */
|
|
3354
|
+
access_token?: string;
|
|
3355
|
+
/** Data format for response. */
|
|
3356
|
+
alt?: string;
|
|
3357
|
+
/** JSONP */
|
|
3358
|
+
callback?: string;
|
|
3359
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3360
|
+
fields?: string;
|
|
3361
|
+
/** 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. */
|
|
3362
|
+
key?: string;
|
|
3363
|
+
/** OAuth 2.0 token for the current user. */
|
|
3364
|
+
oauth_token?: string;
|
|
3365
|
+
/** Required. Resource name of project that the imported taxonomies will belong to. */
|
|
3366
|
+
parent: string;
|
|
3367
|
+
/** Returns response with indentations and line breaks. */
|
|
3368
|
+
prettyPrint?: boolean;
|
|
3369
|
+
/** 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. */
|
|
3370
|
+
quotaUser?: string;
|
|
3371
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3372
|
+
upload_protocol?: string;
|
|
3373
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3374
|
+
uploadType?: string;
|
|
3375
|
+
},
|
|
3376
|
+
body: GoogleCloudDatacatalogV1ImportTaxonomiesRequest): Request<GoogleCloudDatacatalogV1ImportTaxonomiesResponse>;
|
|
3377
|
+
/** Lists all taxonomies in a project in a particular location that you have a permission to view. */
|
|
3378
|
+
list(request?: {
|
|
3379
|
+
/** V1 error format. */
|
|
3380
|
+
"$.xgafv"?: string;
|
|
3381
|
+
/** OAuth access token. */
|
|
3382
|
+
access_token?: string;
|
|
3383
|
+
/** Data format for response. */
|
|
3384
|
+
alt?: string;
|
|
3385
|
+
/** JSONP */
|
|
3386
|
+
callback?: string;
|
|
3387
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3388
|
+
fields?: string;
|
|
3389
|
+
/** 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. */
|
|
3390
|
+
key?: string;
|
|
3391
|
+
/** OAuth 2.0 token for the current user. */
|
|
3392
|
+
oauth_token?: string;
|
|
3393
|
+
/** The maximum number of items to return. Must be a value between 1 and 1000 inclusively. If not set, defaults to 50. */
|
|
3394
|
+
pageSize?: number;
|
|
3395
|
+
/** The pagination token of the next results page. If not set, the first page is returned. The token is returned in the response to a previous list request. */
|
|
3396
|
+
pageToken?: string;
|
|
3397
|
+
/** Required. Resource name of the project to list the taxonomies of. */
|
|
3398
|
+
parent: string;
|
|
3399
|
+
/** Returns response with indentations and line breaks. */
|
|
3400
|
+
prettyPrint?: boolean;
|
|
3401
|
+
/** 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. */
|
|
3402
|
+
quotaUser?: string;
|
|
3403
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3404
|
+
upload_protocol?: string;
|
|
3405
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3406
|
+
uploadType?: string;
|
|
3407
|
+
}): Request<GoogleCloudDatacatalogV1ListTaxonomiesResponse>;
|
|
3408
|
+
/** Updates a taxonomy, including its display name, description, and activated policy types. */
|
|
3409
|
+
patch(request: {
|
|
3410
|
+
/** V1 error format. */
|
|
3411
|
+
"$.xgafv"?: string;
|
|
3412
|
+
/** OAuth access token. */
|
|
3413
|
+
access_token?: string;
|
|
3414
|
+
/** Data format for response. */
|
|
3415
|
+
alt?: string;
|
|
3416
|
+
/** JSONP */
|
|
3417
|
+
callback?: string;
|
|
3418
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3419
|
+
fields?: string;
|
|
3420
|
+
/** 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. */
|
|
3421
|
+
key?: string;
|
|
3422
|
+
/** Output only. Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs. */
|
|
3423
|
+
name: string;
|
|
3424
|
+
/** OAuth 2.0 token for the current user. */
|
|
3425
|
+
oauth_token?: string;
|
|
3426
|
+
/** Returns response with indentations and line breaks. */
|
|
3427
|
+
prettyPrint?: boolean;
|
|
3428
|
+
/** 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. */
|
|
3429
|
+
quotaUser?: string;
|
|
3430
|
+
/**
|
|
3431
|
+
* Specifies fields to update. If not set, defaults to all fields you can update. For more information, see [FieldMask]
|
|
3432
|
+
* (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
|
|
3433
|
+
*/
|
|
3434
|
+
updateMask?: string;
|
|
3435
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3436
|
+
upload_protocol?: string;
|
|
3437
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3438
|
+
uploadType?: string;
|
|
3439
|
+
/** Request body */
|
|
3440
|
+
resource: GoogleCloudDatacatalogV1Taxonomy;
|
|
3441
|
+
}): Request<GoogleCloudDatacatalogV1Taxonomy>;
|
|
3442
|
+
patch(request: {
|
|
3443
|
+
/** V1 error format. */
|
|
3444
|
+
"$.xgafv"?: string;
|
|
3445
|
+
/** OAuth access token. */
|
|
3446
|
+
access_token?: string;
|
|
3447
|
+
/** Data format for response. */
|
|
3448
|
+
alt?: string;
|
|
3449
|
+
/** JSONP */
|
|
3450
|
+
callback?: string;
|
|
3451
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3452
|
+
fields?: string;
|
|
3453
|
+
/** 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. */
|
|
3454
|
+
key?: string;
|
|
3455
|
+
/** Output only. Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs. */
|
|
3456
|
+
name: string;
|
|
3457
|
+
/** OAuth 2.0 token for the current user. */
|
|
3458
|
+
oauth_token?: string;
|
|
3459
|
+
/** Returns response with indentations and line breaks. */
|
|
3460
|
+
prettyPrint?: boolean;
|
|
3461
|
+
/** 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. */
|
|
3462
|
+
quotaUser?: string;
|
|
3463
|
+
/**
|
|
3464
|
+
* Specifies fields to update. If not set, defaults to all fields you can update. For more information, see [FieldMask]
|
|
3465
|
+
* (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
|
|
3466
|
+
*/
|
|
3467
|
+
updateMask?: string;
|
|
3468
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3469
|
+
upload_protocol?: string;
|
|
3470
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3471
|
+
uploadType?: string;
|
|
3472
|
+
},
|
|
3473
|
+
body: GoogleCloudDatacatalogV1Taxonomy): Request<GoogleCloudDatacatalogV1Taxonomy>;
|
|
3474
|
+
/**
|
|
3475
|
+
* Replaces (updates) a taxonomy and all its policy tags. The taxonomy and its entire hierarchy of policy tags must be represented literally by `SerializedTaxonomy` and the nested
|
|
3476
|
+
* `SerializedPolicyTag` messages. This operation automatically does the following: - Deletes the existing policy tags that are missing from the `SerializedPolicyTag`. - Creates policy
|
|
3477
|
+
* tags that don't have resource names. They are considered new. - Updates policy tags with valid resources names accordingly.
|
|
3478
|
+
*/
|
|
3479
|
+
replace(request: {
|
|
3480
|
+
/** V1 error format. */
|
|
3481
|
+
"$.xgafv"?: string;
|
|
3482
|
+
/** OAuth access token. */
|
|
3483
|
+
access_token?: string;
|
|
3484
|
+
/** Data format for response. */
|
|
3485
|
+
alt?: string;
|
|
3486
|
+
/** JSONP */
|
|
3487
|
+
callback?: string;
|
|
3488
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3489
|
+
fields?: string;
|
|
3490
|
+
/** 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. */
|
|
3491
|
+
key?: string;
|
|
3492
|
+
/** Required. Resource name of the taxonomy to update. */
|
|
3493
|
+
name: string;
|
|
3494
|
+
/** OAuth 2.0 token for the current user. */
|
|
3495
|
+
oauth_token?: string;
|
|
3496
|
+
/** Returns response with indentations and line breaks. */
|
|
3497
|
+
prettyPrint?: boolean;
|
|
3498
|
+
/** 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. */
|
|
3499
|
+
quotaUser?: string;
|
|
3500
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3501
|
+
upload_protocol?: string;
|
|
3502
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3503
|
+
uploadType?: string;
|
|
3504
|
+
/** Request body */
|
|
3505
|
+
resource: GoogleCloudDatacatalogV1ReplaceTaxonomyRequest;
|
|
3506
|
+
}): Request<GoogleCloudDatacatalogV1Taxonomy>;
|
|
3507
|
+
replace(request: {
|
|
3508
|
+
/** V1 error format. */
|
|
3509
|
+
"$.xgafv"?: string;
|
|
3510
|
+
/** OAuth access token. */
|
|
3511
|
+
access_token?: string;
|
|
3512
|
+
/** Data format for response. */
|
|
3513
|
+
alt?: string;
|
|
3514
|
+
/** JSONP */
|
|
3515
|
+
callback?: string;
|
|
3516
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3517
|
+
fields?: string;
|
|
3518
|
+
/** 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. */
|
|
3519
|
+
key?: string;
|
|
3520
|
+
/** Required. Resource name of the taxonomy to update. */
|
|
3521
|
+
name: string;
|
|
3522
|
+
/** OAuth 2.0 token for the current user. */
|
|
3523
|
+
oauth_token?: string;
|
|
3524
|
+
/** Returns response with indentations and line breaks. */
|
|
3525
|
+
prettyPrint?: boolean;
|
|
3526
|
+
/** 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. */
|
|
3527
|
+
quotaUser?: string;
|
|
3528
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3529
|
+
upload_protocol?: string;
|
|
3530
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3531
|
+
uploadType?: string;
|
|
3532
|
+
},
|
|
3533
|
+
body: GoogleCloudDatacatalogV1ReplaceTaxonomyRequest): Request<GoogleCloudDatacatalogV1Taxonomy>;
|
|
3534
|
+
/** Sets the IAM policy for a policy tag or a taxonomy. */
|
|
3535
|
+
setIamPolicy(request: {
|
|
3536
|
+
/** V1 error format. */
|
|
3537
|
+
"$.xgafv"?: string;
|
|
3538
|
+
/** OAuth access token. */
|
|
3539
|
+
access_token?: string;
|
|
3540
|
+
/** Data format for response. */
|
|
3541
|
+
alt?: string;
|
|
3542
|
+
/** JSONP */
|
|
3543
|
+
callback?: string;
|
|
3544
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3545
|
+
fields?: string;
|
|
3546
|
+
/** 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. */
|
|
3547
|
+
key?: string;
|
|
3548
|
+
/** OAuth 2.0 token for the current user. */
|
|
3549
|
+
oauth_token?: string;
|
|
3550
|
+
/** Returns response with indentations and line breaks. */
|
|
3551
|
+
prettyPrint?: boolean;
|
|
3552
|
+
/** 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. */
|
|
3553
|
+
quotaUser?: string;
|
|
3554
|
+
/**
|
|
3555
|
+
* 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
|
|
3556
|
+
* field.
|
|
3557
|
+
*/
|
|
3558
|
+
resource: string;
|
|
3559
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3560
|
+
upload_protocol?: string;
|
|
3561
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3562
|
+
uploadType?: string;
|
|
3563
|
+
},
|
|
3564
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
3565
|
+
/** Returns your permissions on a specified policy tag or taxonomy. */
|
|
3566
|
+
testIamPermissions(request: {
|
|
3567
|
+
/** V1 error format. */
|
|
3568
|
+
"$.xgafv"?: string;
|
|
3569
|
+
/** OAuth access token. */
|
|
3570
|
+
access_token?: string;
|
|
3571
|
+
/** Data format for response. */
|
|
3572
|
+
alt?: string;
|
|
3573
|
+
/** JSONP */
|
|
3574
|
+
callback?: string;
|
|
3575
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3576
|
+
fields?: string;
|
|
3577
|
+
/** 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. */
|
|
3578
|
+
key?: string;
|
|
3579
|
+
/** OAuth 2.0 token for the current user. */
|
|
3580
|
+
oauth_token?: string;
|
|
3581
|
+
/** Returns response with indentations and line breaks. */
|
|
3582
|
+
prettyPrint?: boolean;
|
|
3583
|
+
/** 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. */
|
|
3584
|
+
quotaUser?: string;
|
|
3585
|
+
/**
|
|
3586
|
+
* 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
|
|
3587
|
+
* this field.
|
|
3588
|
+
*/
|
|
3589
|
+
resource: string;
|
|
3590
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3591
|
+
upload_protocol?: string;
|
|
3592
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3593
|
+
uploadType?: string;
|
|
3594
|
+
},
|
|
3595
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
3596
|
+
policyTags: PolicyTagsResource;
|
|
3597
|
+
}
|
|
3598
|
+
interface LocationsResource {
|
|
3599
|
+
entryGroups: EntryGroupsResource;
|
|
3600
|
+
tagTemplates: TagTemplatesResource;
|
|
3601
|
+
taxonomies: TaxonomiesResource;
|
|
3602
|
+
}
|
|
3603
|
+
interface ProjectsResource {
|
|
3604
|
+
locations: LocationsResource;
|
|
3605
|
+
}
|
|
3606
|
+
|
|
3607
|
+
const catalog: CatalogResource;
|
|
3608
|
+
|
|
3609
|
+
const entries: EntriesResource;
|
|
3610
|
+
|
|
3611
|
+
const projects: ProjectsResource;
|
|
3612
|
+
}
|
|
3613
|
+
}
|