@maxim_mazurok/gapi.client.datacatalog-v1beta1 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 +3089 -0
- package/package.json +20 -0
- package/readme.md +78 -0
- package/tests.ts +880 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,3089 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Google Cloud Data Catalog API v1beta1 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=v1beta1
|
|
13
|
+
// Revision: 20220805
|
|
14
|
+
|
|
15
|
+
/// <reference types="gapi.client" />
|
|
16
|
+
|
|
17
|
+
declare namespace gapi.client {
|
|
18
|
+
/** Load Google Cloud Data Catalog API v1beta1 */
|
|
19
|
+
function load(urlOrObject: "https://datacatalog.googleapis.com/$discovery/rest?version=v1beta1"): Promise<void>;
|
|
20
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
21
|
+
function load(name: "datacatalog", version: "v1beta1"): Promise<void>;
|
|
22
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
23
|
+
function load(name: "datacatalog", version: "v1beta1", 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 GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec {
|
|
80
|
+
/**
|
|
81
|
+
* Output only. The Data Catalog resource name of the dataset entry the current table belongs to, for example,
|
|
82
|
+
* `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
|
|
83
|
+
*/
|
|
84
|
+
dataset?: string;
|
|
85
|
+
/** Output only. Total number of shards. */
|
|
86
|
+
shardCount?: string;
|
|
87
|
+
/** Output only. The table name prefix of the shards. The name of any given shard is `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the `table_prefix` is `MyTable`. */
|
|
88
|
+
tablePrefix?: string;
|
|
89
|
+
}
|
|
90
|
+
interface GoogleCloudDatacatalogV1beta1BigQueryTableSpec {
|
|
91
|
+
/** Output only. The table source type. */
|
|
92
|
+
tableSourceType?: string;
|
|
93
|
+
/** Spec of a BigQuery table. This field should only be populated if `table_source_type` is `BIGQUERY_TABLE`. */
|
|
94
|
+
tableSpec?: GoogleCloudDatacatalogV1beta1TableSpec;
|
|
95
|
+
/** Table view specification. This field should only be populated if `table_source_type` is `BIGQUERY_VIEW`. */
|
|
96
|
+
viewSpec?: GoogleCloudDatacatalogV1beta1ViewSpec;
|
|
97
|
+
}
|
|
98
|
+
interface GoogleCloudDatacatalogV1beta1ColumnSchema {
|
|
99
|
+
/** Required. Name of the column. */
|
|
100
|
+
column?: string;
|
|
101
|
+
/** Optional. Description of the column. Default value is an empty string. */
|
|
102
|
+
description?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Optional. A column's mode indicates whether the values in this column are required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported. Default mode is
|
|
105
|
+
* `NULLABLE`.
|
|
106
|
+
*/
|
|
107
|
+
mode?: string;
|
|
108
|
+
/** Optional. Schema of sub-columns. A column can have zero or more sub-columns. */
|
|
109
|
+
subcolumns?: GoogleCloudDatacatalogV1beta1ColumnSchema[];
|
|
110
|
+
/** Required. Type of the column. */
|
|
111
|
+
type?: string;
|
|
112
|
+
}
|
|
113
|
+
interface GoogleCloudDatacatalogV1beta1Entry {
|
|
114
|
+
/** Specification for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding. */
|
|
115
|
+
bigqueryDateShardedSpec?: GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec;
|
|
116
|
+
/** Specification that applies to a BigQuery table. This is only valid on entries of type `TABLE`. */
|
|
117
|
+
bigqueryTableSpec?: GoogleCloudDatacatalogV1beta1BigQueryTableSpec;
|
|
118
|
+
/** Entry description, which can consist of several sentences or paragraphs that describe entry contents. Default value is an empty string. */
|
|
119
|
+
description?: string;
|
|
120
|
+
/** Display information such as title and description. A short name to identify the entry, for example, "Analytics Data - Jan 2011". Default value is an empty string. */
|
|
121
|
+
displayName?: string;
|
|
122
|
+
/** Specification that applies to a Cloud Storage fileset. This is only valid on entries of type FILESET. */
|
|
123
|
+
gcsFilesetSpec?: GoogleCloudDatacatalogV1beta1GcsFilesetSpec;
|
|
124
|
+
/** Output only. This field indicates the entry's source system that Data Catalog integrates with, such as BigQuery or Pub/Sub. */
|
|
125
|
+
integratedSystem?: string;
|
|
126
|
+
/**
|
|
127
|
+
* The resource this metadata entry refers to. For Google Cloud Platform resources, `linked_resource` is the [full name of the
|
|
128
|
+
* resource](https://cloud.google.com/apis/design/resource_names#full_resource_name). For example, the `linked_resource` for a table resource from BigQuery is: *
|
|
129
|
+
* //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId Output only when Entry is of type in the EntryType enum. For entries with user_specified_type, this
|
|
130
|
+
* field is optional and defaults to an empty string.
|
|
131
|
+
*/
|
|
132
|
+
linkedResource?: string;
|
|
133
|
+
/**
|
|
134
|
+
* Output only. The Data Catalog resource name of the entry in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} Note
|
|
135
|
+
* that this Entry and its child resources may not actually be stored in the location in this name.
|
|
136
|
+
*/
|
|
137
|
+
name?: string;
|
|
138
|
+
/** Schema of the entry. An entry might not have any schema attached to it. */
|
|
139
|
+
schema?: GoogleCloudDatacatalogV1beta1Schema;
|
|
140
|
+
/**
|
|
141
|
+
* Output only. Timestamps about the underlying resource, not about this Data Catalog entry. Output only when Entry is of type in the EntryType enum. For entries with
|
|
142
|
+
* user_specified_type, this field is optional and defaults to an empty timestamp.
|
|
143
|
+
*/
|
|
144
|
+
sourceSystemTimestamps?: GoogleCloudDatacatalogV1beta1SystemTimestamps;
|
|
145
|
+
/** The type of the entry. Only used for Entries with types in the EntryType enum. */
|
|
146
|
+
type?: string;
|
|
147
|
+
/** Output only. Statistics on the usage level of the resource. */
|
|
148
|
+
usageSignal?: GoogleCloudDatacatalogV1beta1UsageSignal;
|
|
149
|
+
/**
|
|
150
|
+
* This field indicates the entry's source system that Data Catalog does not integrate with. `user_specified_system` strings must begin with a letter or underscore and can only contain
|
|
151
|
+
* letters, numbers, and underscores; are case insensitive; must be at least 1 character and at most 64 characters long.
|
|
152
|
+
*/
|
|
153
|
+
userSpecifiedSystem?: string;
|
|
154
|
+
/**
|
|
155
|
+
* Entry type if it does not fit any of the input-allowed values listed in `EntryType` enum above. When creating an entry, users should check the enum values first, if nothing matches
|
|
156
|
+
* the entry to be created, then provide a custom value, for example "my_special_type". `user_specified_type` strings must begin with a letter or underscore and can only contain
|
|
157
|
+
* letters, numbers, and underscores; are case insensitive; must be at least 1 character and at most 64 characters long. Currently, only FILESET enum value is allowed. All other
|
|
158
|
+
* entries created through Data Catalog must use `user_specified_type`.
|
|
159
|
+
*/
|
|
160
|
+
userSpecifiedType?: string;
|
|
161
|
+
}
|
|
162
|
+
interface GoogleCloudDatacatalogV1beta1EntryGroup {
|
|
163
|
+
/** Output only. Timestamps about this EntryGroup. Default value is empty timestamps. */
|
|
164
|
+
dataCatalogTimestamps?: GoogleCloudDatacatalogV1beta1SystemTimestamps;
|
|
165
|
+
/** Entry group description, which can consist of several sentences or paragraphs that describe entry group contents. Default value is an empty string. */
|
|
166
|
+
description?: string;
|
|
167
|
+
/** A short name to identify the entry group, for example, "analytics data - jan 2011". Default value is an empty string. */
|
|
168
|
+
displayName?: string;
|
|
169
|
+
/**
|
|
170
|
+
* The resource name of the entry group in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} Note that this EntryGroup and its child
|
|
171
|
+
* resources may not actually be stored in the location in this name.
|
|
172
|
+
*/
|
|
173
|
+
name?: string;
|
|
174
|
+
}
|
|
175
|
+
interface GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse {
|
|
176
|
+
/** List of taxonomies and policy tags in a tree structure. */
|
|
177
|
+
taxonomies?: GoogleCloudDatacatalogV1beta1SerializedTaxonomy[];
|
|
178
|
+
}
|
|
179
|
+
interface GoogleCloudDatacatalogV1beta1FieldType {
|
|
180
|
+
/** Represents an enum type. */
|
|
181
|
+
enumType?: GoogleCloudDatacatalogV1beta1FieldTypeEnumType;
|
|
182
|
+
/** Represents primitive types - string, bool etc. */
|
|
183
|
+
primitiveType?: string;
|
|
184
|
+
}
|
|
185
|
+
interface GoogleCloudDatacatalogV1beta1FieldTypeEnumType {
|
|
186
|
+
allowedValues?: GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue[];
|
|
187
|
+
}
|
|
188
|
+
interface GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue {
|
|
189
|
+
/** Required. The display name of the enum value. Must not be an empty string. */
|
|
190
|
+
displayName?: string;
|
|
191
|
+
}
|
|
192
|
+
interface GoogleCloudDatacatalogV1beta1GcsFilesetSpec {
|
|
193
|
+
/**
|
|
194
|
+
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud Storage documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames) for
|
|
195
|
+
* more information. Note that bucket wildcards are currently not supported. Examples of valid file_patterns: * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
|
|
196
|
+
* directory. * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` spanning all subdirectories. * `gs://bucket_name/file*`: matches files prefixed by `file` in
|
|
197
|
+
* `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
|
|
198
|
+
* 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` *
|
|
199
|
+
* `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match `a/*/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches
|
|
200
|
+
* `gs://another_bucket/a.txt` You can combine wildcards to provide more powerful matches, for example: * `gs://bucket_name/[a-m]??.j*g`
|
|
201
|
+
*/
|
|
202
|
+
filePatterns?: string[];
|
|
203
|
+
/** Output only. Sample files contained in this fileset, not all files contained in this fileset are represented here. */
|
|
204
|
+
sampleGcsFileSpecs?: GoogleCloudDatacatalogV1beta1GcsFileSpec[];
|
|
205
|
+
}
|
|
206
|
+
interface GoogleCloudDatacatalogV1beta1GcsFileSpec {
|
|
207
|
+
/** Required. The full file path. Example: `gs://bucket_name/a/b.txt`. */
|
|
208
|
+
filePath?: string;
|
|
209
|
+
/** Output only. Timestamps about the Cloud Storage file. */
|
|
210
|
+
gcsTimestamps?: GoogleCloudDatacatalogV1beta1SystemTimestamps;
|
|
211
|
+
/** Output only. The size of the file, in bytes. */
|
|
212
|
+
sizeBytes?: string;
|
|
213
|
+
}
|
|
214
|
+
interface GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest {
|
|
215
|
+
/** Inline source used for taxonomies to be imported. */
|
|
216
|
+
inlineSource?: GoogleCloudDatacatalogV1beta1InlineSource;
|
|
217
|
+
}
|
|
218
|
+
interface GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse {
|
|
219
|
+
/** Taxonomies that were imported. */
|
|
220
|
+
taxonomies?: GoogleCloudDatacatalogV1beta1Taxonomy[];
|
|
221
|
+
}
|
|
222
|
+
interface GoogleCloudDatacatalogV1beta1InlineSource {
|
|
223
|
+
/** Required. Taxonomies to be imported. */
|
|
224
|
+
taxonomies?: GoogleCloudDatacatalogV1beta1SerializedTaxonomy[];
|
|
225
|
+
}
|
|
226
|
+
interface GoogleCloudDatacatalogV1beta1ListEntriesResponse {
|
|
227
|
+
/** Entry details. */
|
|
228
|
+
entries?: GoogleCloudDatacatalogV1beta1Entry[];
|
|
229
|
+
/** Token to retrieve the next page of results. It is set to empty if no items remain in results. */
|
|
230
|
+
nextPageToken?: string;
|
|
231
|
+
}
|
|
232
|
+
interface GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse {
|
|
233
|
+
/** EntryGroup details. */
|
|
234
|
+
entryGroups?: GoogleCloudDatacatalogV1beta1EntryGroup[];
|
|
235
|
+
/** Token to retrieve the next page of results. It is set to empty if no items remain in results. */
|
|
236
|
+
nextPageToken?: string;
|
|
237
|
+
}
|
|
238
|
+
interface GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse {
|
|
239
|
+
/** Token used to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
240
|
+
nextPageToken?: string;
|
|
241
|
+
/** The policy tags that are in the requested taxonomy. */
|
|
242
|
+
policyTags?: GoogleCloudDatacatalogV1beta1PolicyTag[];
|
|
243
|
+
}
|
|
244
|
+
interface GoogleCloudDatacatalogV1beta1ListTagsResponse {
|
|
245
|
+
/** Token to retrieve the next page of results. It is set to empty if no items remain in results. */
|
|
246
|
+
nextPageToken?: string;
|
|
247
|
+
/** Tag details. */
|
|
248
|
+
tags?: GoogleCloudDatacatalogV1beta1Tag[];
|
|
249
|
+
}
|
|
250
|
+
interface GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse {
|
|
251
|
+
/** Token used to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
252
|
+
nextPageToken?: string;
|
|
253
|
+
/** Taxonomies that the project contains. */
|
|
254
|
+
taxonomies?: GoogleCloudDatacatalogV1beta1Taxonomy[];
|
|
255
|
+
}
|
|
256
|
+
interface GoogleCloudDatacatalogV1beta1PolicyTag {
|
|
257
|
+
/** Output only. Resource names of child policy tags of this policy tag. */
|
|
258
|
+
childPolicyTags?: string[];
|
|
259
|
+
/**
|
|
260
|
+
* Description of this policy tag. It must: contain only unicode characters, tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes long when encoded in UTF-8. If
|
|
261
|
+
* not set, defaults to an empty description. If not set, defaults to an empty description.
|
|
262
|
+
*/
|
|
263
|
+
description?: string;
|
|
264
|
+
/**
|
|
265
|
+
* Required. User defined name of this policy tag. It must: be unique within the parent taxonomy; contain only unicode letters, numbers, underscores, dashes and spaces; not start or
|
|
266
|
+
* end with spaces; and be at most 200 bytes long when encoded in UTF-8.
|
|
267
|
+
*/
|
|
268
|
+
displayName?: string;
|
|
269
|
+
/** Output only. Resource name of this policy tag, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}". */
|
|
270
|
+
name?: string;
|
|
271
|
+
/**
|
|
272
|
+
* Resource name of this policy tag's parent policy tag (e.g. for the "LatLong" policy tag in the example above, this field contains the resource name of the "Geolocation" policy tag).
|
|
273
|
+
* If empty, it means this policy tag is a top level policy tag (e.g. this field is empty for the "Geolocation" policy tag in the example above). If not set, defaults to an empty
|
|
274
|
+
* string.
|
|
275
|
+
*/
|
|
276
|
+
parentPolicyTag?: string;
|
|
277
|
+
}
|
|
278
|
+
interface GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest {
|
|
279
|
+
/** Required. The new display name of the enum value. For example, `my_new_enum_value`. */
|
|
280
|
+
newEnumValueDisplayName?: string;
|
|
281
|
+
}
|
|
282
|
+
interface GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest {
|
|
283
|
+
/** Required. The new ID of this tag template field. For example, `my_new_field`. */
|
|
284
|
+
newTagTemplateFieldId?: string;
|
|
285
|
+
}
|
|
286
|
+
interface GoogleCloudDatacatalogV1beta1Schema {
|
|
287
|
+
/** Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be specified. */
|
|
288
|
+
columns?: GoogleCloudDatacatalogV1beta1ColumnSchema[];
|
|
289
|
+
}
|
|
290
|
+
interface GoogleCloudDatacatalogV1beta1SearchCatalogRequest {
|
|
291
|
+
/**
|
|
292
|
+
* Specifies the ordering of results, currently supported case-sensitive choices are: * `relevance`, only supports descending * `last_modified_timestamp [asc|desc]`, defaults to
|
|
293
|
+
* descending if not specified * `default` that can only be descending If not specified, defaults to `relevance` descending.
|
|
294
|
+
*/
|
|
295
|
+
orderBy?: string;
|
|
296
|
+
/** Number of results in the search page. If <=0 then defaults to 10. Max limit for page_size is 1000. Throws an invalid argument for page_size > 1000. */
|
|
297
|
+
pageSize?: number;
|
|
298
|
+
/**
|
|
299
|
+
* Optional. Pagination token returned in an earlier SearchCatalogResponse.next_page_token, which indicates that this is a continuation of a prior SearchCatalogRequest call, and that
|
|
300
|
+
* the system should return the next page of data. If empty, the first page is returned.
|
|
301
|
+
*/
|
|
302
|
+
pageToken?: string;
|
|
303
|
+
/**
|
|
304
|
+
* Optional. The query string in search query syntax. An empty query string will result in all data assets (in the specified scope) that the user has access to. Query strings can be
|
|
305
|
+
* simple as "x" or more qualified as: * name:x * column:x * description:y Note: Query tokens need to have a minimum of 3 characters for substring matching to work correctly. See [Data
|
|
306
|
+
* Catalog Search Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference) for more information.
|
|
307
|
+
*/
|
|
308
|
+
query?: string;
|
|
309
|
+
/**
|
|
310
|
+
* Required. The scope of this search request. A `scope` that has empty `include_org_ids`, `include_project_ids` AND false `include_gcp_public_datasets` is considered invalid. Data
|
|
311
|
+
* Catalog will return an error in such a case.
|
|
312
|
+
*/
|
|
313
|
+
scope?: GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope;
|
|
314
|
+
}
|
|
315
|
+
interface GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope {
|
|
316
|
+
/**
|
|
317
|
+
* If `true`, include Google Cloud Platform (GCP) public datasets in the search results. Info on GCP public datasets is available at https://cloud.google.com/public-datasets/. By
|
|
318
|
+
* default, GCP public datasets are excluded.
|
|
319
|
+
*/
|
|
320
|
+
includeGcpPublicDatasets?: boolean;
|
|
321
|
+
/** The list of organization IDs to search within. To find your organization ID, follow instructions in https://cloud.google.com/resource-manager/docs/creating-managing-organization. */
|
|
322
|
+
includeOrgIds?: string[];
|
|
323
|
+
/** The list of project IDs to search within. To learn more about the distinction between project names/IDs/numbers, go to https://cloud.google.com/docs/overview/#projects. */
|
|
324
|
+
includeProjectIds?: string[];
|
|
325
|
+
/**
|
|
326
|
+
* Optional. The list of locations to search within. 1. If empty, search will be performed in all locations; 2. If any of the locations are NOT in the valid locations list, error will
|
|
327
|
+
* be returned; 3. Otherwise, search only the given locations for matching results. Typical usage is to leave this field empty. When a location is unreachable as returned in the
|
|
328
|
+
* `SearchCatalogResponse.unreachable` field, users can repeat the search request with this parameter set to get additional information on the error. Valid locations: * asia-east1 *
|
|
329
|
+
* asia-east2 * asia-northeast1 * asia-northeast2 * asia-northeast3 * asia-south1 * asia-southeast1 * australia-southeast1 * eu * europe-north1 * europe-west1 * europe-west2 *
|
|
330
|
+
* europe-west3 * europe-west4 * europe-west6 * global * northamerica-northeast1 * southamerica-east1 * us * us-central1 * us-east1 * us-east4 * us-west1 * us-west2
|
|
331
|
+
*/
|
|
332
|
+
restrictedLocations?: string[];
|
|
333
|
+
}
|
|
334
|
+
interface GoogleCloudDatacatalogV1beta1SearchCatalogResponse {
|
|
335
|
+
/** The token that can be used to retrieve the next page of results. */
|
|
336
|
+
nextPageToken?: string;
|
|
337
|
+
/** Search results. */
|
|
338
|
+
results?: GoogleCloudDatacatalogV1beta1SearchCatalogResult[];
|
|
339
|
+
/**
|
|
340
|
+
* Unreachable locations. Search result does not include data from those locations. Users can get additional information on the error by repeating the search request with a more
|
|
341
|
+
* restrictive parameter -- setting the value for `SearchDataCatalogRequest.scope.restricted_locations`.
|
|
342
|
+
*/
|
|
343
|
+
unreachable?: string[];
|
|
344
|
+
}
|
|
345
|
+
interface GoogleCloudDatacatalogV1beta1SearchCatalogResult {
|
|
346
|
+
/**
|
|
347
|
+
* The full name of the cloud resource the entry belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name. Example: *
|
|
348
|
+
* `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId`
|
|
349
|
+
*/
|
|
350
|
+
linkedResource?: string;
|
|
351
|
+
/** Last-modified timestamp of the entry from the managing system. */
|
|
352
|
+
modifyTime?: string;
|
|
353
|
+
/**
|
|
354
|
+
* The relative resource name of the resource in URL format. Examples: * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}` *
|
|
355
|
+
* `projects/{project_id}/tagTemplates/{tag_template_id}`
|
|
356
|
+
*/
|
|
357
|
+
relativeResourceName?: string;
|
|
358
|
+
/**
|
|
359
|
+
* Sub-type of the search result. This is a dot-delimited description of the resource's full type, and is the same as the value callers would provide in the "type" search facet.
|
|
360
|
+
* Examples: `entry.table`, `entry.dataStream`, `tagTemplate`.
|
|
361
|
+
*/
|
|
362
|
+
searchResultSubtype?: string;
|
|
363
|
+
/** Type of the search result. This field can be used to determine which Get method to call to fetch the full resource. */
|
|
364
|
+
searchResultType?: string;
|
|
365
|
+
}
|
|
366
|
+
interface GoogleCloudDatacatalogV1beta1SerializedPolicyTag {
|
|
367
|
+
/** Children of the policy tag if any. */
|
|
368
|
+
childPolicyTags?: GoogleCloudDatacatalogV1beta1SerializedPolicyTag[];
|
|
369
|
+
/** Description of the serialized policy tag. The length of the description is limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description. */
|
|
370
|
+
description?: string;
|
|
371
|
+
/** Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8. */
|
|
372
|
+
displayName?: string;
|
|
373
|
+
/** Resource name of the policy tag. This field will be ignored when calling ImportTaxonomies. */
|
|
374
|
+
policyTag?: string;
|
|
375
|
+
}
|
|
376
|
+
interface GoogleCloudDatacatalogV1beta1SerializedTaxonomy {
|
|
377
|
+
/** A list of policy types that are activated for a taxonomy. */
|
|
378
|
+
activatedPolicyTypes?: string[];
|
|
379
|
+
/** Description of the serialized taxonomy. The length of the description is limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description. */
|
|
380
|
+
description?: string;
|
|
381
|
+
/** Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8. */
|
|
382
|
+
displayName?: string;
|
|
383
|
+
/** Top level policy tags associated with the taxonomy if any. */
|
|
384
|
+
policyTags?: GoogleCloudDatacatalogV1beta1SerializedPolicyTag[];
|
|
385
|
+
}
|
|
386
|
+
interface GoogleCloudDatacatalogV1beta1SystemTimestamps {
|
|
387
|
+
/** The creation time of the resource within the given system. */
|
|
388
|
+
createTime?: string;
|
|
389
|
+
/** Output only. The expiration time of the resource within the given system. Currently only apllicable to BigQuery resources. */
|
|
390
|
+
expireTime?: string;
|
|
391
|
+
/** The last-modified time of the resource within the given system. */
|
|
392
|
+
updateTime?: string;
|
|
393
|
+
}
|
|
394
|
+
interface GoogleCloudDatacatalogV1beta1TableSpec {
|
|
395
|
+
/**
|
|
396
|
+
* Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of the date sharded grouped entry, for
|
|
397
|
+
* example, `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. Otherwise, `grouped_entry` is empty.
|
|
398
|
+
*/
|
|
399
|
+
groupedEntry?: string;
|
|
400
|
+
}
|
|
401
|
+
interface GoogleCloudDatacatalogV1beta1Tag {
|
|
402
|
+
/**
|
|
403
|
+
* Resources like Entry can have schemas associated with them. This scope allows users to attach tags to an individual column based on that schema. For attaching a tag to a nested
|
|
404
|
+
* column, use `.` to separate the column names. Example: * `outer_column.inner_column`
|
|
405
|
+
*/
|
|
406
|
+
column?: string;
|
|
407
|
+
/**
|
|
408
|
+
* Required. This maps the ID of a tag field to the value of and additional information about that field. Valid field IDs are defined by the tag's template. A tag must have at least 1
|
|
409
|
+
* field and at most 500 fields.
|
|
410
|
+
*/
|
|
411
|
+
fields?: { [P in string]: GoogleCloudDatacatalogV1beta1TagField };
|
|
412
|
+
/**
|
|
413
|
+
* The resource name of the tag in URL format. Example: * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} where `tag_id` is a
|
|
414
|
+
* system-generated identifier. Note that this Tag may not actually be stored in the location in this name.
|
|
415
|
+
*/
|
|
416
|
+
name?: string;
|
|
417
|
+
/**
|
|
418
|
+
* Required. The resource name of the tag template that this tag uses. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} This field cannot be
|
|
419
|
+
* modified after creation.
|
|
420
|
+
*/
|
|
421
|
+
template?: string;
|
|
422
|
+
/** Output only. The display name of the tag template. */
|
|
423
|
+
templateDisplayName?: string;
|
|
424
|
+
}
|
|
425
|
+
interface GoogleCloudDatacatalogV1beta1TagField {
|
|
426
|
+
/** Holds the value for a tag field with boolean type. */
|
|
427
|
+
boolValue?: boolean;
|
|
428
|
+
/** Output only. The display name of this field. */
|
|
429
|
+
displayName?: string;
|
|
430
|
+
/** Holds the value for a tag field with double type. */
|
|
431
|
+
doubleValue?: number;
|
|
432
|
+
/** Holds the value for a tag field with enum type. This value must be one of the allowed values in the definition of this enum. */
|
|
433
|
+
enumValue?: GoogleCloudDatacatalogV1beta1TagFieldEnumValue;
|
|
434
|
+
/**
|
|
435
|
+
* Output only. The order of this field with respect to other fields in this tag. It can be set in Tag. For example, a higher value can indicate a more important field. The value can
|
|
436
|
+
* be negative. Multiple fields can have the same order, and field orders within a tag do not have to be sequential.
|
|
437
|
+
*/
|
|
438
|
+
order?: number;
|
|
439
|
+
/** Holds the value for a tag field with string type. */
|
|
440
|
+
stringValue?: string;
|
|
441
|
+
/** Holds the value for a tag field with timestamp type. */
|
|
442
|
+
timestampValue?: string;
|
|
443
|
+
}
|
|
444
|
+
interface GoogleCloudDatacatalogV1beta1TagFieldEnumValue {
|
|
445
|
+
/** The display name of the enum value. */
|
|
446
|
+
displayName?: string;
|
|
447
|
+
}
|
|
448
|
+
interface GoogleCloudDatacatalogV1beta1TagTemplate {
|
|
449
|
+
/** The display name for this template. Defaults to an empty string. */
|
|
450
|
+
displayName?: string;
|
|
451
|
+
/**
|
|
452
|
+
* Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. This map must contain at least one field and at most 500
|
|
453
|
+
* fields. The keys to this map are tag template field IDs. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9) and underscores (_). Field IDs must be at least
|
|
454
|
+
* 1 character long and at most 64 characters long. Field IDs must start with a letter or underscore.
|
|
455
|
+
*/
|
|
456
|
+
fields?: { [P in string]: GoogleCloudDatacatalogV1beta1TagTemplateField };
|
|
457
|
+
/**
|
|
458
|
+
* The resource name of the tag template in URL format. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} Note that this TagTemplate and its child
|
|
459
|
+
* resources may not actually be stored in the location in this name.
|
|
460
|
+
*/
|
|
461
|
+
name?: string;
|
|
462
|
+
}
|
|
463
|
+
interface GoogleCloudDatacatalogV1beta1TagTemplateField {
|
|
464
|
+
/** The description for this field. Defaults to an empty string. */
|
|
465
|
+
description?: string;
|
|
466
|
+
/** The display name for this field. Defaults to an empty string. */
|
|
467
|
+
displayName?: string;
|
|
468
|
+
/** Whether this is a required field. Defaults to false. */
|
|
469
|
+
isRequired?: boolean;
|
|
470
|
+
/**
|
|
471
|
+
* 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 that
|
|
472
|
+
* this TagTemplateField may not actually be stored in the location in this name.
|
|
473
|
+
*/
|
|
474
|
+
name?: string;
|
|
475
|
+
/**
|
|
476
|
+
* The order of this field with respect to other fields in this tag template. A higher value indicates a more important field. The value can be negative. Multiple fields can have the
|
|
477
|
+
* same order, and field orders within a tag do not have to be sequential.
|
|
478
|
+
*/
|
|
479
|
+
order?: number;
|
|
480
|
+
/** Required. The type of value this tag field can contain. */
|
|
481
|
+
type?: GoogleCloudDatacatalogV1beta1FieldType;
|
|
482
|
+
}
|
|
483
|
+
interface GoogleCloudDatacatalogV1beta1Taxonomy {
|
|
484
|
+
/** Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list. */
|
|
485
|
+
activatedPolicyTypes?: string[];
|
|
486
|
+
/**
|
|
487
|
+
* Optional. Description of this taxonomy. It must: contain only unicode characters, tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes long when encoded in
|
|
488
|
+
* UTF-8. If not set, defaults to an empty description.
|
|
489
|
+
*/
|
|
490
|
+
description?: string;
|
|
491
|
+
/**
|
|
492
|
+
* Required. User defined name of this taxonomy. It must: contain only unicode letters, numbers, underscores, dashes and spaces; not start or end with spaces; and be at most 200 bytes
|
|
493
|
+
* long when encoded in UTF-8. The taxonomy display name must be unique within an organization.
|
|
494
|
+
*/
|
|
495
|
+
displayName?: string;
|
|
496
|
+
/** Output only. Resource name of this taxonomy, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{id}". */
|
|
497
|
+
name?: string;
|
|
498
|
+
/** Output only. Number of policy tags contained in this taxonomy. */
|
|
499
|
+
policyTagCount?: number;
|
|
500
|
+
/** Output only. Timestamps about this taxonomy. Only create_time and update_time are used. */
|
|
501
|
+
taxonomyTimestamps?: GoogleCloudDatacatalogV1beta1SystemTimestamps;
|
|
502
|
+
}
|
|
503
|
+
interface GoogleCloudDatacatalogV1beta1UsageSignal {
|
|
504
|
+
/** The timestamp of the end of the usage statistics duration. */
|
|
505
|
+
updateTime?: string;
|
|
506
|
+
/** Usage statistics over each of the pre-defined time ranges, supported strings for time ranges are {"24H", "7D", "30D"}. */
|
|
507
|
+
usageWithinTimeRange?: { [P in string]: GoogleCloudDatacatalogV1beta1UsageStats };
|
|
508
|
+
}
|
|
509
|
+
interface GoogleCloudDatacatalogV1beta1UsageStats {
|
|
510
|
+
/** The number of times that the underlying entry was attempted to be used but was cancelled by the user. */
|
|
511
|
+
totalCancellations?: number;
|
|
512
|
+
/** The number of times that the underlying entry was successfully used. */
|
|
513
|
+
totalCompletions?: number;
|
|
514
|
+
/** Total time spent (in milliseconds) during uses the resulted in completions. */
|
|
515
|
+
totalExecutionTimeForCompletionsMillis?: number;
|
|
516
|
+
/** The number of times that the underlying entry was attempted to be used but failed. */
|
|
517
|
+
totalFailures?: number;
|
|
518
|
+
}
|
|
519
|
+
interface GoogleCloudDatacatalogV1beta1ViewSpec {
|
|
520
|
+
/** Output only. The query that defines the table view. */
|
|
521
|
+
viewQuery?: string;
|
|
522
|
+
}
|
|
523
|
+
interface Policy {
|
|
524
|
+
/**
|
|
525
|
+
* 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`
|
|
526
|
+
* 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
|
|
527
|
+
* 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
|
|
528
|
+
* 1,450 principals to the `bindings` in the `Policy`.
|
|
529
|
+
*/
|
|
530
|
+
bindings?: Binding[];
|
|
531
|
+
/**
|
|
532
|
+
* `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
|
|
533
|
+
* 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
|
|
534
|
+
* 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
|
|
535
|
+
* 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`
|
|
536
|
+
* policy, and all of the conditions in the version `3` policy are lost.
|
|
537
|
+
*/
|
|
538
|
+
etag?: string;
|
|
539
|
+
/**
|
|
540
|
+
* 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
|
|
541
|
+
* 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
|
|
542
|
+
* 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
|
|
543
|
+
* 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`
|
|
544
|
+
* 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
|
|
545
|
+
* 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).
|
|
546
|
+
*/
|
|
547
|
+
version?: number;
|
|
548
|
+
}
|
|
549
|
+
interface SetIamPolicyRequest {
|
|
550
|
+
/**
|
|
551
|
+
* 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
|
|
552
|
+
* services (such as Projects) might reject them.
|
|
553
|
+
*/
|
|
554
|
+
policy?: Policy;
|
|
555
|
+
}
|
|
556
|
+
interface TestIamPermissionsRequest {
|
|
557
|
+
/**
|
|
558
|
+
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
559
|
+
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
560
|
+
*/
|
|
561
|
+
permissions?: string[];
|
|
562
|
+
}
|
|
563
|
+
interface TestIamPermissionsResponse {
|
|
564
|
+
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
565
|
+
permissions?: string[];
|
|
566
|
+
}
|
|
567
|
+
interface CatalogResource {
|
|
568
|
+
/**
|
|
569
|
+
* Searches Data Catalog for multiple resources like entries, tags that match a query. This is a custom method (https://cloud.google.com/apis/design/custom_methods) and does not return
|
|
570
|
+
* the complete resource, only the resource identifier and high level fields. Clients can subsequently call `Get` methods. Note that Data Catalog search queries do not guarantee full
|
|
571
|
+
* recall. Query results that match your query may not be returned, even in subsequent result pages. Also note that results returned (and not returned) can vary across repeated search
|
|
572
|
+
* queries. See [Data Catalog Search Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference) for more information.
|
|
573
|
+
*/
|
|
574
|
+
search(request: {
|
|
575
|
+
/** V1 error format. */
|
|
576
|
+
"$.xgafv"?: string;
|
|
577
|
+
/** OAuth access token. */
|
|
578
|
+
access_token?: string;
|
|
579
|
+
/** Data format for response. */
|
|
580
|
+
alt?: string;
|
|
581
|
+
/** JSONP */
|
|
582
|
+
callback?: string;
|
|
583
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
584
|
+
fields?: string;
|
|
585
|
+
/** 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. */
|
|
586
|
+
key?: string;
|
|
587
|
+
/** OAuth 2.0 token for the current user. */
|
|
588
|
+
oauth_token?: string;
|
|
589
|
+
/** Returns response with indentations and line breaks. */
|
|
590
|
+
prettyPrint?: boolean;
|
|
591
|
+
/** 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. */
|
|
592
|
+
quotaUser?: string;
|
|
593
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
594
|
+
upload_protocol?: string;
|
|
595
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
596
|
+
uploadType?: string;
|
|
597
|
+
/** Request body */
|
|
598
|
+
resource: GoogleCloudDatacatalogV1beta1SearchCatalogRequest;
|
|
599
|
+
}): Request<GoogleCloudDatacatalogV1beta1SearchCatalogResponse>;
|
|
600
|
+
search(request: {
|
|
601
|
+
/** V1 error format. */
|
|
602
|
+
"$.xgafv"?: string;
|
|
603
|
+
/** OAuth access token. */
|
|
604
|
+
access_token?: string;
|
|
605
|
+
/** Data format for response. */
|
|
606
|
+
alt?: string;
|
|
607
|
+
/** JSONP */
|
|
608
|
+
callback?: string;
|
|
609
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
610
|
+
fields?: string;
|
|
611
|
+
/** 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. */
|
|
612
|
+
key?: string;
|
|
613
|
+
/** OAuth 2.0 token for the current user. */
|
|
614
|
+
oauth_token?: string;
|
|
615
|
+
/** Returns response with indentations and line breaks. */
|
|
616
|
+
prettyPrint?: boolean;
|
|
617
|
+
/** 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. */
|
|
618
|
+
quotaUser?: string;
|
|
619
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
620
|
+
upload_protocol?: string;
|
|
621
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
622
|
+
uploadType?: string;
|
|
623
|
+
},
|
|
624
|
+
body: GoogleCloudDatacatalogV1beta1SearchCatalogRequest): Request<GoogleCloudDatacatalogV1beta1SearchCatalogResponse>;
|
|
625
|
+
}
|
|
626
|
+
interface EntriesResource {
|
|
627
|
+
/** Get an entry by target resource name. This method allows clients to use the resource name from the source Google Cloud Platform service to get the Data Catalog Entry. */
|
|
628
|
+
lookup(request?: {
|
|
629
|
+
/** V1 error format. */
|
|
630
|
+
"$.xgafv"?: string;
|
|
631
|
+
/** OAuth access token. */
|
|
632
|
+
access_token?: string;
|
|
633
|
+
/** Data format for response. */
|
|
634
|
+
alt?: string;
|
|
635
|
+
/** JSONP */
|
|
636
|
+
callback?: string;
|
|
637
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
638
|
+
fields?: string;
|
|
639
|
+
/** 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. */
|
|
640
|
+
key?: string;
|
|
641
|
+
/**
|
|
642
|
+
* The full name of the Google Cloud Platform resource the Data Catalog entry represents. See: https://cloud.google.com/apis/design/resource_names#full_resource_name. Full names
|
|
643
|
+
* are case-sensitive. Examples: * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId * //pubsub.googleapis.com/projects/projectId/topics/topicId
|
|
644
|
+
*/
|
|
645
|
+
linkedResource?: string;
|
|
646
|
+
/** OAuth 2.0 token for the current user. */
|
|
647
|
+
oauth_token?: string;
|
|
648
|
+
/** Returns response with indentations and line breaks. */
|
|
649
|
+
prettyPrint?: boolean;
|
|
650
|
+
/** 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. */
|
|
651
|
+
quotaUser?: string;
|
|
652
|
+
/**
|
|
653
|
+
* The SQL name of the entry. SQL names are case-sensitive. Examples: * `pubsub.project_id.topic_id` * ``pubsub.project_id.`topic.id.with.dots` `` *
|
|
654
|
+
* `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` `*_id`s should
|
|
655
|
+
* satisfy the standard SQL rules for identifiers. https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
|
|
656
|
+
*/
|
|
657
|
+
sqlResource?: string;
|
|
658
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
659
|
+
upload_protocol?: string;
|
|
660
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
661
|
+
uploadType?: string;
|
|
662
|
+
}): Request<GoogleCloudDatacatalogV1beta1Entry>;
|
|
663
|
+
}
|
|
664
|
+
interface TagsResource {
|
|
665
|
+
/**
|
|
666
|
+
* Creates a tag on an Entry. Note: The project identified by the `parent` parameter for the
|
|
667
|
+
* [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters) and the [tag
|
|
668
|
+
* template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters) used to create the tag must be from the same
|
|
669
|
+
* organization.
|
|
670
|
+
*/
|
|
671
|
+
create(request: {
|
|
672
|
+
/** V1 error format. */
|
|
673
|
+
"$.xgafv"?: string;
|
|
674
|
+
/** OAuth access token. */
|
|
675
|
+
access_token?: string;
|
|
676
|
+
/** Data format for response. */
|
|
677
|
+
alt?: string;
|
|
678
|
+
/** JSONP */
|
|
679
|
+
callback?: string;
|
|
680
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
681
|
+
fields?: string;
|
|
682
|
+
/** 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. */
|
|
683
|
+
key?: string;
|
|
684
|
+
/** OAuth 2.0 token for the current user. */
|
|
685
|
+
oauth_token?: string;
|
|
686
|
+
/**
|
|
687
|
+
* Required. The name of the resource to attach this tag to. Tags can be attached to Entries. Example: *
|
|
688
|
+
* projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} Note that this Tag and its child resources may not actually be stored in the location
|
|
689
|
+
* in this name.
|
|
690
|
+
*/
|
|
691
|
+
parent: string;
|
|
692
|
+
/** Returns response with indentations and line breaks. */
|
|
693
|
+
prettyPrint?: boolean;
|
|
694
|
+
/** 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. */
|
|
695
|
+
quotaUser?: string;
|
|
696
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
697
|
+
upload_protocol?: string;
|
|
698
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
699
|
+
uploadType?: string;
|
|
700
|
+
/** Request body */
|
|
701
|
+
resource: GoogleCloudDatacatalogV1beta1Tag;
|
|
702
|
+
}): Request<GoogleCloudDatacatalogV1beta1Tag>;
|
|
703
|
+
create(request: {
|
|
704
|
+
/** V1 error format. */
|
|
705
|
+
"$.xgafv"?: string;
|
|
706
|
+
/** OAuth access token. */
|
|
707
|
+
access_token?: string;
|
|
708
|
+
/** Data format for response. */
|
|
709
|
+
alt?: string;
|
|
710
|
+
/** JSONP */
|
|
711
|
+
callback?: string;
|
|
712
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
713
|
+
fields?: string;
|
|
714
|
+
/** 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. */
|
|
715
|
+
key?: string;
|
|
716
|
+
/** OAuth 2.0 token for the current user. */
|
|
717
|
+
oauth_token?: string;
|
|
718
|
+
/**
|
|
719
|
+
* Required. The name of the resource to attach this tag to. Tags can be attached to Entries. Example: *
|
|
720
|
+
* projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} Note that this Tag and its child resources may not actually be stored in the location
|
|
721
|
+
* in this name.
|
|
722
|
+
*/
|
|
723
|
+
parent: string;
|
|
724
|
+
/** Returns response with indentations and line breaks. */
|
|
725
|
+
prettyPrint?: boolean;
|
|
726
|
+
/** 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. */
|
|
727
|
+
quotaUser?: string;
|
|
728
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
729
|
+
upload_protocol?: string;
|
|
730
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
731
|
+
uploadType?: string;
|
|
732
|
+
},
|
|
733
|
+
body: GoogleCloudDatacatalogV1beta1Tag): Request<GoogleCloudDatacatalogV1beta1Tag>;
|
|
734
|
+
/** Deletes a tag. */
|
|
735
|
+
delete(request?: {
|
|
736
|
+
/** V1 error format. */
|
|
737
|
+
"$.xgafv"?: string;
|
|
738
|
+
/** OAuth access token. */
|
|
739
|
+
access_token?: string;
|
|
740
|
+
/** Data format for response. */
|
|
741
|
+
alt?: string;
|
|
742
|
+
/** JSONP */
|
|
743
|
+
callback?: string;
|
|
744
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
745
|
+
fields?: string;
|
|
746
|
+
/** 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. */
|
|
747
|
+
key?: string;
|
|
748
|
+
/** Required. The name of the tag to delete. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} */
|
|
749
|
+
name: string;
|
|
750
|
+
/** OAuth 2.0 token for the current user. */
|
|
751
|
+
oauth_token?: string;
|
|
752
|
+
/** Returns response with indentations and line breaks. */
|
|
753
|
+
prettyPrint?: boolean;
|
|
754
|
+
/** 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. */
|
|
755
|
+
quotaUser?: string;
|
|
756
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
757
|
+
upload_protocol?: string;
|
|
758
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
759
|
+
uploadType?: string;
|
|
760
|
+
}): Request<{}>;
|
|
761
|
+
/** Lists tags assigned to an Entry. The columns in the response are lowercased. */
|
|
762
|
+
list(request?: {
|
|
763
|
+
/** V1 error format. */
|
|
764
|
+
"$.xgafv"?: string;
|
|
765
|
+
/** OAuth access token. */
|
|
766
|
+
access_token?: string;
|
|
767
|
+
/** Data format for response. */
|
|
768
|
+
alt?: string;
|
|
769
|
+
/** JSONP */
|
|
770
|
+
callback?: string;
|
|
771
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
772
|
+
fields?: string;
|
|
773
|
+
/** 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. */
|
|
774
|
+
key?: string;
|
|
775
|
+
/** OAuth 2.0 token for the current user. */
|
|
776
|
+
oauth_token?: string;
|
|
777
|
+
/** The maximum number of tags to return. Default is 10. Max limit is 1000. */
|
|
778
|
+
pageSize?: number;
|
|
779
|
+
/** Token that specifies which page is requested. If empty, the first page is returned. */
|
|
780
|
+
pageToken?: string;
|
|
781
|
+
/**
|
|
782
|
+
* Required. The name of the Data Catalog resource to list the tags of. The resource could be an Entry or an EntryGroup. Examples: *
|
|
783
|
+
* projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
|
|
784
|
+
*/
|
|
785
|
+
parent: string;
|
|
786
|
+
/** Returns response with indentations and line breaks. */
|
|
787
|
+
prettyPrint?: boolean;
|
|
788
|
+
/** 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. */
|
|
789
|
+
quotaUser?: string;
|
|
790
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
791
|
+
upload_protocol?: string;
|
|
792
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
793
|
+
uploadType?: string;
|
|
794
|
+
}): Request<GoogleCloudDatacatalogV1beta1ListTagsResponse>;
|
|
795
|
+
/** Updates an existing tag. */
|
|
796
|
+
patch(request: {
|
|
797
|
+
/** V1 error format. */
|
|
798
|
+
"$.xgafv"?: string;
|
|
799
|
+
/** OAuth access token. */
|
|
800
|
+
access_token?: string;
|
|
801
|
+
/** Data format for response. */
|
|
802
|
+
alt?: string;
|
|
803
|
+
/** JSONP */
|
|
804
|
+
callback?: string;
|
|
805
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
806
|
+
fields?: string;
|
|
807
|
+
/** 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. */
|
|
808
|
+
key?: string;
|
|
809
|
+
/**
|
|
810
|
+
* The resource name of the tag in URL format. Example: * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} where `tag_id` is
|
|
811
|
+
* a system-generated identifier. Note that this Tag may not actually be stored in the location in this name.
|
|
812
|
+
*/
|
|
813
|
+
name: string;
|
|
814
|
+
/** OAuth 2.0 token for the current user. */
|
|
815
|
+
oauth_token?: string;
|
|
816
|
+
/** Returns response with indentations and line breaks. */
|
|
817
|
+
prettyPrint?: boolean;
|
|
818
|
+
/** 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. */
|
|
819
|
+
quotaUser?: string;
|
|
820
|
+
/**
|
|
821
|
+
* Note: Currently, this parameter can only take `"fields"` as value. Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the
|
|
822
|
+
* name `fields`. In general, 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
|
|
823
|
+
* values are emptied.
|
|
824
|
+
*/
|
|
825
|
+
updateMask?: string;
|
|
826
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
827
|
+
upload_protocol?: string;
|
|
828
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
829
|
+
uploadType?: string;
|
|
830
|
+
/** Request body */
|
|
831
|
+
resource: GoogleCloudDatacatalogV1beta1Tag;
|
|
832
|
+
}): Request<GoogleCloudDatacatalogV1beta1Tag>;
|
|
833
|
+
patch(request: {
|
|
834
|
+
/** V1 error format. */
|
|
835
|
+
"$.xgafv"?: string;
|
|
836
|
+
/** OAuth access token. */
|
|
837
|
+
access_token?: string;
|
|
838
|
+
/** Data format for response. */
|
|
839
|
+
alt?: string;
|
|
840
|
+
/** JSONP */
|
|
841
|
+
callback?: string;
|
|
842
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
843
|
+
fields?: string;
|
|
844
|
+
/** 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. */
|
|
845
|
+
key?: string;
|
|
846
|
+
/**
|
|
847
|
+
* The resource name of the tag in URL format. Example: * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} where `tag_id` is
|
|
848
|
+
* a system-generated identifier. Note that this Tag may not actually be stored in the location in this name.
|
|
849
|
+
*/
|
|
850
|
+
name: string;
|
|
851
|
+
/** OAuth 2.0 token for the current user. */
|
|
852
|
+
oauth_token?: string;
|
|
853
|
+
/** Returns response with indentations and line breaks. */
|
|
854
|
+
prettyPrint?: boolean;
|
|
855
|
+
/** 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. */
|
|
856
|
+
quotaUser?: string;
|
|
857
|
+
/**
|
|
858
|
+
* Note: Currently, this parameter can only take `"fields"` as value. Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the
|
|
859
|
+
* name `fields`. In general, 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
|
|
860
|
+
* values are emptied.
|
|
861
|
+
*/
|
|
862
|
+
updateMask?: string;
|
|
863
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
864
|
+
upload_protocol?: string;
|
|
865
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
866
|
+
uploadType?: string;
|
|
867
|
+
},
|
|
868
|
+
body: GoogleCloudDatacatalogV1beta1Tag): Request<GoogleCloudDatacatalogV1beta1Tag>;
|
|
869
|
+
}
|
|
870
|
+
interface EntriesResource {
|
|
871
|
+
/**
|
|
872
|
+
* Creates an entry. Only entries of 'FILESET' type or user-specified type can be created. Users should enable the Data Catalog API in the project identified by the `parent` parameter
|
|
873
|
+
* (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). A maximum of 100,000 entries may be created per
|
|
874
|
+
* entry group.
|
|
875
|
+
*/
|
|
876
|
+
create(request: {
|
|
877
|
+
/** V1 error format. */
|
|
878
|
+
"$.xgafv"?: string;
|
|
879
|
+
/** OAuth access token. */
|
|
880
|
+
access_token?: string;
|
|
881
|
+
/** Data format for response. */
|
|
882
|
+
alt?: string;
|
|
883
|
+
/** JSONP */
|
|
884
|
+
callback?: string;
|
|
885
|
+
/** Required. The id of the entry to create. */
|
|
886
|
+
entryId?: string;
|
|
887
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
888
|
+
fields?: string;
|
|
889
|
+
/** 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. */
|
|
890
|
+
key?: string;
|
|
891
|
+
/** OAuth 2.0 token for the current user. */
|
|
892
|
+
oauth_token?: string;
|
|
893
|
+
/**
|
|
894
|
+
* Required. The name of the entry group this entry is in. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} Note that this Entry and its child
|
|
895
|
+
* resources may not actually be stored in the location in this name.
|
|
896
|
+
*/
|
|
897
|
+
parent: string;
|
|
898
|
+
/** Returns response with indentations and line breaks. */
|
|
899
|
+
prettyPrint?: boolean;
|
|
900
|
+
/** 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. */
|
|
901
|
+
quotaUser?: string;
|
|
902
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
903
|
+
upload_protocol?: string;
|
|
904
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
905
|
+
uploadType?: string;
|
|
906
|
+
/** Request body */
|
|
907
|
+
resource: GoogleCloudDatacatalogV1beta1Entry;
|
|
908
|
+
}): Request<GoogleCloudDatacatalogV1beta1Entry>;
|
|
909
|
+
create(request: {
|
|
910
|
+
/** V1 error format. */
|
|
911
|
+
"$.xgafv"?: string;
|
|
912
|
+
/** OAuth access token. */
|
|
913
|
+
access_token?: string;
|
|
914
|
+
/** Data format for response. */
|
|
915
|
+
alt?: string;
|
|
916
|
+
/** JSONP */
|
|
917
|
+
callback?: string;
|
|
918
|
+
/** Required. The id of the entry to create. */
|
|
919
|
+
entryId?: string;
|
|
920
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
921
|
+
fields?: string;
|
|
922
|
+
/** 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. */
|
|
923
|
+
key?: string;
|
|
924
|
+
/** OAuth 2.0 token for the current user. */
|
|
925
|
+
oauth_token?: string;
|
|
926
|
+
/**
|
|
927
|
+
* Required. The name of the entry group this entry is in. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} Note that this Entry and its child
|
|
928
|
+
* resources may not actually be stored in the location in this name.
|
|
929
|
+
*/
|
|
930
|
+
parent: string;
|
|
931
|
+
/** Returns response with indentations and line breaks. */
|
|
932
|
+
prettyPrint?: boolean;
|
|
933
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
934
|
+
quotaUser?: string;
|
|
935
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
936
|
+
upload_protocol?: string;
|
|
937
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
938
|
+
uploadType?: string;
|
|
939
|
+
},
|
|
940
|
+
body: GoogleCloudDatacatalogV1beta1Entry): Request<GoogleCloudDatacatalogV1beta1Entry>;
|
|
941
|
+
/**
|
|
942
|
+
* Deletes an existing entry. Only entries created through CreateEntry method can be deleted. Users should enable the Data Catalog API in the project identified by the `name` parameter
|
|
943
|
+
* (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).
|
|
944
|
+
*/
|
|
945
|
+
delete(request?: {
|
|
946
|
+
/** V1 error format. */
|
|
947
|
+
"$.xgafv"?: string;
|
|
948
|
+
/** OAuth access token. */
|
|
949
|
+
access_token?: string;
|
|
950
|
+
/** Data format for response. */
|
|
951
|
+
alt?: string;
|
|
952
|
+
/** JSONP */
|
|
953
|
+
callback?: string;
|
|
954
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
955
|
+
fields?: string;
|
|
956
|
+
/** 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. */
|
|
957
|
+
key?: string;
|
|
958
|
+
/** Required. The name of the entry. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} */
|
|
959
|
+
name: string;
|
|
960
|
+
/** OAuth 2.0 token for the current user. */
|
|
961
|
+
oauth_token?: string;
|
|
962
|
+
/** Returns response with indentations and line breaks. */
|
|
963
|
+
prettyPrint?: boolean;
|
|
964
|
+
/** 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. */
|
|
965
|
+
quotaUser?: string;
|
|
966
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
967
|
+
upload_protocol?: string;
|
|
968
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
969
|
+
uploadType?: string;
|
|
970
|
+
}): Request<{}>;
|
|
971
|
+
/** Gets an entry. */
|
|
972
|
+
get(request?: {
|
|
973
|
+
/** V1 error format. */
|
|
974
|
+
"$.xgafv"?: string;
|
|
975
|
+
/** OAuth access token. */
|
|
976
|
+
access_token?: string;
|
|
977
|
+
/** Data format for response. */
|
|
978
|
+
alt?: string;
|
|
979
|
+
/** JSONP */
|
|
980
|
+
callback?: string;
|
|
981
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
982
|
+
fields?: string;
|
|
983
|
+
/** 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. */
|
|
984
|
+
key?: string;
|
|
985
|
+
/** Required. The name of the entry. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} */
|
|
986
|
+
name: string;
|
|
987
|
+
/** OAuth 2.0 token for the current user. */
|
|
988
|
+
oauth_token?: string;
|
|
989
|
+
/** Returns response with indentations and line breaks. */
|
|
990
|
+
prettyPrint?: boolean;
|
|
991
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
992
|
+
quotaUser?: string;
|
|
993
|
+
/** 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<GoogleCloudDatacatalogV1beta1Entry>;
|
|
998
|
+
/**
|
|
999
|
+
* Gets the access control policy for a resource. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a
|
|
1000
|
+
* policy set on it. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external
|
|
1001
|
+
* Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates.
|
|
1002
|
+
* - `datacatalog.entries.getIamPolicy` to get policies on entries. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
|
|
1003
|
+
*/
|
|
1004
|
+
getIamPolicy(request: {
|
|
1005
|
+
/** V1 error format. */
|
|
1006
|
+
"$.xgafv"?: string;
|
|
1007
|
+
/** OAuth access token. */
|
|
1008
|
+
access_token?: string;
|
|
1009
|
+
/** Data format for response. */
|
|
1010
|
+
alt?: string;
|
|
1011
|
+
/** JSONP */
|
|
1012
|
+
callback?: string;
|
|
1013
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1014
|
+
fields?: string;
|
|
1015
|
+
/** 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. */
|
|
1016
|
+
key?: string;
|
|
1017
|
+
/** OAuth 2.0 token for the current user. */
|
|
1018
|
+
oauth_token?: string;
|
|
1019
|
+
/** Returns response with indentations and line breaks. */
|
|
1020
|
+
prettyPrint?: boolean;
|
|
1021
|
+
/** 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. */
|
|
1022
|
+
quotaUser?: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* 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
|
|
1025
|
+
* field.
|
|
1026
|
+
*/
|
|
1027
|
+
resource: string;
|
|
1028
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1029
|
+
upload_protocol?: string;
|
|
1030
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1031
|
+
uploadType?: string;
|
|
1032
|
+
},
|
|
1033
|
+
body: GetIamPolicyRequest): Request<Policy>;
|
|
1034
|
+
/** Lists entries. */
|
|
1035
|
+
list(request?: {
|
|
1036
|
+
/** V1 error format. */
|
|
1037
|
+
"$.xgafv"?: string;
|
|
1038
|
+
/** OAuth access token. */
|
|
1039
|
+
access_token?: string;
|
|
1040
|
+
/** Data format for response. */
|
|
1041
|
+
alt?: string;
|
|
1042
|
+
/** JSONP */
|
|
1043
|
+
callback?: string;
|
|
1044
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1045
|
+
fields?: string;
|
|
1046
|
+
/** 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. */
|
|
1047
|
+
key?: string;
|
|
1048
|
+
/** OAuth 2.0 token for the current user. */
|
|
1049
|
+
oauth_token?: string;
|
|
1050
|
+
/** The maximum number of items to return. Default is 10. Max limit is 1000. Throws an invalid argument for `page_size > 1000`. */
|
|
1051
|
+
pageSize?: number;
|
|
1052
|
+
/** Token that specifies which page is requested. If empty, the first page is returned. */
|
|
1053
|
+
pageToken?: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* Required. The name of the entry group that contains the entries, which can be provided in URL format. Example: *
|
|
1056
|
+
* projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
|
|
1057
|
+
*/
|
|
1058
|
+
parent: string;
|
|
1059
|
+
/** Returns response with indentations and line breaks. */
|
|
1060
|
+
prettyPrint?: boolean;
|
|
1061
|
+
/** 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. */
|
|
1062
|
+
quotaUser?: string;
|
|
1063
|
+
/**
|
|
1064
|
+
* The fields to return for each Entry. If not set or empty, all fields are returned. For example, setting read_mask to contain only one path "name" will cause ListEntries to
|
|
1065
|
+
* return a list of Entries with only "name" field.
|
|
1066
|
+
*/
|
|
1067
|
+
readMask?: string;
|
|
1068
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1069
|
+
upload_protocol?: string;
|
|
1070
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1071
|
+
uploadType?: string;
|
|
1072
|
+
}): Request<GoogleCloudDatacatalogV1beta1ListEntriesResponse>;
|
|
1073
|
+
/**
|
|
1074
|
+
* Updates an existing entry. Users should enable the Data Catalog API in the project identified by the `entry.name` parameter (see [Data Catalog Resource Project]
|
|
1075
|
+
* (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).
|
|
1076
|
+
*/
|
|
1077
|
+
patch(request: {
|
|
1078
|
+
/** V1 error format. */
|
|
1079
|
+
"$.xgafv"?: string;
|
|
1080
|
+
/** OAuth access token. */
|
|
1081
|
+
access_token?: string;
|
|
1082
|
+
/** Data format for response. */
|
|
1083
|
+
alt?: string;
|
|
1084
|
+
/** JSONP */
|
|
1085
|
+
callback?: string;
|
|
1086
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1087
|
+
fields?: string;
|
|
1088
|
+
/** 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. */
|
|
1089
|
+
key?: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* Output only. The Data Catalog resource name of the entry in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
|
|
1092
|
+
* Note that this Entry and its child resources may not actually be stored in the location in this name.
|
|
1093
|
+
*/
|
|
1094
|
+
name: string;
|
|
1095
|
+
/** OAuth 2.0 token for the current user. */
|
|
1096
|
+
oauth_token?: string;
|
|
1097
|
+
/** Returns response with indentations and line breaks. */
|
|
1098
|
+
prettyPrint?: boolean;
|
|
1099
|
+
/** 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. */
|
|
1100
|
+
quotaUser?: string;
|
|
1101
|
+
/**
|
|
1102
|
+
* 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
|
|
1103
|
+
* in the request body, their values are emptied. The following fields are modifiable: * For entries with type `DATA_STREAM`: * `schema` * For entries with type `FILESET`: *
|
|
1104
|
+
* `schema` * `display_name` * `description` * `gcs_fileset_spec` * `gcs_fileset_spec.file_patterns` * For entries with `user_specified_type`: * `schema` * `display_name` *
|
|
1105
|
+
* `description` * `user_specified_type` * `user_specified_system` * `linked_resource` * `source_system_timestamps`
|
|
1106
|
+
*/
|
|
1107
|
+
updateMask?: string;
|
|
1108
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1109
|
+
upload_protocol?: string;
|
|
1110
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1111
|
+
uploadType?: string;
|
|
1112
|
+
/** Request body */
|
|
1113
|
+
resource: GoogleCloudDatacatalogV1beta1Entry;
|
|
1114
|
+
}): Request<GoogleCloudDatacatalogV1beta1Entry>;
|
|
1115
|
+
patch(request: {
|
|
1116
|
+
/** V1 error format. */
|
|
1117
|
+
"$.xgafv"?: string;
|
|
1118
|
+
/** OAuth access token. */
|
|
1119
|
+
access_token?: string;
|
|
1120
|
+
/** Data format for response. */
|
|
1121
|
+
alt?: string;
|
|
1122
|
+
/** JSONP */
|
|
1123
|
+
callback?: string;
|
|
1124
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1125
|
+
fields?: string;
|
|
1126
|
+
/** 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. */
|
|
1127
|
+
key?: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* Output only. The Data Catalog resource name of the entry in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
|
|
1130
|
+
* Note that this Entry and its child resources may not actually be stored in the location in this name.
|
|
1131
|
+
*/
|
|
1132
|
+
name: string;
|
|
1133
|
+
/** OAuth 2.0 token for the current user. */
|
|
1134
|
+
oauth_token?: string;
|
|
1135
|
+
/** Returns response with indentations and line breaks. */
|
|
1136
|
+
prettyPrint?: boolean;
|
|
1137
|
+
/** 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. */
|
|
1138
|
+
quotaUser?: string;
|
|
1139
|
+
/**
|
|
1140
|
+
* 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
|
|
1141
|
+
* in the request body, their values are emptied. The following fields are modifiable: * For entries with type `DATA_STREAM`: * `schema` * For entries with type `FILESET`: *
|
|
1142
|
+
* `schema` * `display_name` * `description` * `gcs_fileset_spec` * `gcs_fileset_spec.file_patterns` * For entries with `user_specified_type`: * `schema` * `display_name` *
|
|
1143
|
+
* `description` * `user_specified_type` * `user_specified_system` * `linked_resource` * `source_system_timestamps`
|
|
1144
|
+
*/
|
|
1145
|
+
updateMask?: string;
|
|
1146
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1147
|
+
upload_protocol?: string;
|
|
1148
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1149
|
+
uploadType?: string;
|
|
1150
|
+
},
|
|
1151
|
+
body: GoogleCloudDatacatalogV1beta1Entry): Request<GoogleCloudDatacatalogV1beta1Entry>;
|
|
1152
|
+
/**
|
|
1153
|
+
* Returns the caller's permissions on a resource. If the resource does not exist, an empty set of permissions is returned (We don't return a `NOT_FOUND` error). Supported resources
|
|
1154
|
+
* are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to
|
|
1155
|
+
* Data Catalog. A caller is not required to have Google IAM permission to make this request.
|
|
1156
|
+
*/
|
|
1157
|
+
testIamPermissions(request: {
|
|
1158
|
+
/** V1 error format. */
|
|
1159
|
+
"$.xgafv"?: string;
|
|
1160
|
+
/** OAuth access token. */
|
|
1161
|
+
access_token?: string;
|
|
1162
|
+
/** Data format for response. */
|
|
1163
|
+
alt?: string;
|
|
1164
|
+
/** JSONP */
|
|
1165
|
+
callback?: string;
|
|
1166
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1167
|
+
fields?: string;
|
|
1168
|
+
/** 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. */
|
|
1169
|
+
key?: string;
|
|
1170
|
+
/** OAuth 2.0 token for the current user. */
|
|
1171
|
+
oauth_token?: string;
|
|
1172
|
+
/** Returns response with indentations and line breaks. */
|
|
1173
|
+
prettyPrint?: boolean;
|
|
1174
|
+
/** 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. */
|
|
1175
|
+
quotaUser?: string;
|
|
1176
|
+
/**
|
|
1177
|
+
* 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
|
|
1178
|
+
* this field.
|
|
1179
|
+
*/
|
|
1180
|
+
resource: string;
|
|
1181
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1182
|
+
upload_protocol?: string;
|
|
1183
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1184
|
+
uploadType?: string;
|
|
1185
|
+
},
|
|
1186
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1187
|
+
tags: TagsResource;
|
|
1188
|
+
}
|
|
1189
|
+
interface TagsResource {
|
|
1190
|
+
/**
|
|
1191
|
+
* Creates a tag on an Entry. Note: The project identified by the `parent` parameter for the
|
|
1192
|
+
* [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters) and the [tag
|
|
1193
|
+
* template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters) used to create the tag must be from the same
|
|
1194
|
+
* organization.
|
|
1195
|
+
*/
|
|
1196
|
+
create(request: {
|
|
1197
|
+
/** V1 error format. */
|
|
1198
|
+
"$.xgafv"?: string;
|
|
1199
|
+
/** OAuth access token. */
|
|
1200
|
+
access_token?: string;
|
|
1201
|
+
/** Data format for response. */
|
|
1202
|
+
alt?: string;
|
|
1203
|
+
/** JSONP */
|
|
1204
|
+
callback?: string;
|
|
1205
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1206
|
+
fields?: string;
|
|
1207
|
+
/** 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. */
|
|
1208
|
+
key?: string;
|
|
1209
|
+
/** OAuth 2.0 token for the current user. */
|
|
1210
|
+
oauth_token?: string;
|
|
1211
|
+
/**
|
|
1212
|
+
* Required. The name of the resource to attach this tag to. Tags can be attached to Entries. Example: *
|
|
1213
|
+
* projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} Note that this Tag and its child resources may not actually be stored in the location
|
|
1214
|
+
* in this name.
|
|
1215
|
+
*/
|
|
1216
|
+
parent: string;
|
|
1217
|
+
/** Returns response with indentations and line breaks. */
|
|
1218
|
+
prettyPrint?: boolean;
|
|
1219
|
+
/** 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. */
|
|
1220
|
+
quotaUser?: string;
|
|
1221
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1222
|
+
upload_protocol?: string;
|
|
1223
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1224
|
+
uploadType?: string;
|
|
1225
|
+
/** Request body */
|
|
1226
|
+
resource: GoogleCloudDatacatalogV1beta1Tag;
|
|
1227
|
+
}): Request<GoogleCloudDatacatalogV1beta1Tag>;
|
|
1228
|
+
create(request: {
|
|
1229
|
+
/** V1 error format. */
|
|
1230
|
+
"$.xgafv"?: string;
|
|
1231
|
+
/** OAuth access token. */
|
|
1232
|
+
access_token?: string;
|
|
1233
|
+
/** Data format for response. */
|
|
1234
|
+
alt?: string;
|
|
1235
|
+
/** JSONP */
|
|
1236
|
+
callback?: string;
|
|
1237
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1238
|
+
fields?: string;
|
|
1239
|
+
/** 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. */
|
|
1240
|
+
key?: string;
|
|
1241
|
+
/** OAuth 2.0 token for the current user. */
|
|
1242
|
+
oauth_token?: string;
|
|
1243
|
+
/**
|
|
1244
|
+
* Required. The name of the resource to attach this tag to. Tags can be attached to Entries. Example: *
|
|
1245
|
+
* projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} Note that this Tag and its child resources may not actually be stored in the location
|
|
1246
|
+
* in this name.
|
|
1247
|
+
*/
|
|
1248
|
+
parent: string;
|
|
1249
|
+
/** Returns response with indentations and line breaks. */
|
|
1250
|
+
prettyPrint?: boolean;
|
|
1251
|
+
/** 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. */
|
|
1252
|
+
quotaUser?: string;
|
|
1253
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1254
|
+
upload_protocol?: string;
|
|
1255
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1256
|
+
uploadType?: string;
|
|
1257
|
+
},
|
|
1258
|
+
body: GoogleCloudDatacatalogV1beta1Tag): Request<GoogleCloudDatacatalogV1beta1Tag>;
|
|
1259
|
+
/** Deletes a tag. */
|
|
1260
|
+
delete(request?: {
|
|
1261
|
+
/** V1 error format. */
|
|
1262
|
+
"$.xgafv"?: string;
|
|
1263
|
+
/** OAuth access token. */
|
|
1264
|
+
access_token?: string;
|
|
1265
|
+
/** Data format for response. */
|
|
1266
|
+
alt?: string;
|
|
1267
|
+
/** JSONP */
|
|
1268
|
+
callback?: string;
|
|
1269
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1270
|
+
fields?: string;
|
|
1271
|
+
/** 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. */
|
|
1272
|
+
key?: string;
|
|
1273
|
+
/** Required. The name of the tag to delete. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} */
|
|
1274
|
+
name: string;
|
|
1275
|
+
/** OAuth 2.0 token for the current user. */
|
|
1276
|
+
oauth_token?: string;
|
|
1277
|
+
/** Returns response with indentations and line breaks. */
|
|
1278
|
+
prettyPrint?: boolean;
|
|
1279
|
+
/** 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. */
|
|
1280
|
+
quotaUser?: string;
|
|
1281
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1282
|
+
upload_protocol?: string;
|
|
1283
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1284
|
+
uploadType?: string;
|
|
1285
|
+
}): Request<{}>;
|
|
1286
|
+
/** Lists tags assigned to an Entry. The columns in the response are lowercased. */
|
|
1287
|
+
list(request?: {
|
|
1288
|
+
/** V1 error format. */
|
|
1289
|
+
"$.xgafv"?: string;
|
|
1290
|
+
/** OAuth access token. */
|
|
1291
|
+
access_token?: string;
|
|
1292
|
+
/** Data format for response. */
|
|
1293
|
+
alt?: string;
|
|
1294
|
+
/** JSONP */
|
|
1295
|
+
callback?: string;
|
|
1296
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1297
|
+
fields?: string;
|
|
1298
|
+
/** 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. */
|
|
1299
|
+
key?: string;
|
|
1300
|
+
/** OAuth 2.0 token for the current user. */
|
|
1301
|
+
oauth_token?: string;
|
|
1302
|
+
/** The maximum number of tags to return. Default is 10. Max limit is 1000. */
|
|
1303
|
+
pageSize?: number;
|
|
1304
|
+
/** Token that specifies which page is requested. If empty, the first page is returned. */
|
|
1305
|
+
pageToken?: string;
|
|
1306
|
+
/**
|
|
1307
|
+
* Required. The name of the Data Catalog resource to list the tags of. The resource could be an Entry or an EntryGroup. Examples: *
|
|
1308
|
+
* projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
|
|
1309
|
+
*/
|
|
1310
|
+
parent: string;
|
|
1311
|
+
/** Returns response with indentations and line breaks. */
|
|
1312
|
+
prettyPrint?: boolean;
|
|
1313
|
+
/** 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. */
|
|
1314
|
+
quotaUser?: string;
|
|
1315
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1316
|
+
upload_protocol?: string;
|
|
1317
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1318
|
+
uploadType?: string;
|
|
1319
|
+
}): Request<GoogleCloudDatacatalogV1beta1ListTagsResponse>;
|
|
1320
|
+
/** Updates an existing tag. */
|
|
1321
|
+
patch(request: {
|
|
1322
|
+
/** V1 error format. */
|
|
1323
|
+
"$.xgafv"?: string;
|
|
1324
|
+
/** OAuth access token. */
|
|
1325
|
+
access_token?: string;
|
|
1326
|
+
/** Data format for response. */
|
|
1327
|
+
alt?: string;
|
|
1328
|
+
/** JSONP */
|
|
1329
|
+
callback?: string;
|
|
1330
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1331
|
+
fields?: string;
|
|
1332
|
+
/** 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. */
|
|
1333
|
+
key?: string;
|
|
1334
|
+
/**
|
|
1335
|
+
* The resource name of the tag in URL format. Example: * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} where `tag_id` is
|
|
1336
|
+
* a system-generated identifier. Note that this Tag may not actually be stored in the location in this name.
|
|
1337
|
+
*/
|
|
1338
|
+
name: string;
|
|
1339
|
+
/** OAuth 2.0 token for the current user. */
|
|
1340
|
+
oauth_token?: string;
|
|
1341
|
+
/** Returns response with indentations and line breaks. */
|
|
1342
|
+
prettyPrint?: boolean;
|
|
1343
|
+
/** 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. */
|
|
1344
|
+
quotaUser?: string;
|
|
1345
|
+
/**
|
|
1346
|
+
* Note: Currently, this parameter can only take `"fields"` as value. Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the
|
|
1347
|
+
* name `fields`. In general, 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
|
|
1348
|
+
* values are emptied.
|
|
1349
|
+
*/
|
|
1350
|
+
updateMask?: string;
|
|
1351
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1352
|
+
upload_protocol?: string;
|
|
1353
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1354
|
+
uploadType?: string;
|
|
1355
|
+
/** Request body */
|
|
1356
|
+
resource: GoogleCloudDatacatalogV1beta1Tag;
|
|
1357
|
+
}): Request<GoogleCloudDatacatalogV1beta1Tag>;
|
|
1358
|
+
patch(request: {
|
|
1359
|
+
/** V1 error format. */
|
|
1360
|
+
"$.xgafv"?: string;
|
|
1361
|
+
/** OAuth access token. */
|
|
1362
|
+
access_token?: string;
|
|
1363
|
+
/** Data format for response. */
|
|
1364
|
+
alt?: string;
|
|
1365
|
+
/** JSONP */
|
|
1366
|
+
callback?: string;
|
|
1367
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1368
|
+
fields?: string;
|
|
1369
|
+
/** 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. */
|
|
1370
|
+
key?: string;
|
|
1371
|
+
/**
|
|
1372
|
+
* The resource name of the tag in URL format. Example: * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} where `tag_id` is
|
|
1373
|
+
* a system-generated identifier. Note that this Tag may not actually be stored in the location in this name.
|
|
1374
|
+
*/
|
|
1375
|
+
name: string;
|
|
1376
|
+
/** OAuth 2.0 token for the current user. */
|
|
1377
|
+
oauth_token?: string;
|
|
1378
|
+
/** Returns response with indentations and line breaks. */
|
|
1379
|
+
prettyPrint?: boolean;
|
|
1380
|
+
/** 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. */
|
|
1381
|
+
quotaUser?: string;
|
|
1382
|
+
/**
|
|
1383
|
+
* Note: Currently, this parameter can only take `"fields"` as value. Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the
|
|
1384
|
+
* name `fields`. In general, 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
|
|
1385
|
+
* values are emptied.
|
|
1386
|
+
*/
|
|
1387
|
+
updateMask?: string;
|
|
1388
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1389
|
+
upload_protocol?: string;
|
|
1390
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1391
|
+
uploadType?: string;
|
|
1392
|
+
},
|
|
1393
|
+
body: GoogleCloudDatacatalogV1beta1Tag): Request<GoogleCloudDatacatalogV1beta1Tag>;
|
|
1394
|
+
}
|
|
1395
|
+
interface EntryGroupsResource {
|
|
1396
|
+
/**
|
|
1397
|
+
* A maximum of 10,000 entry groups may be created per organization across all locations. Users should enable the Data Catalog API in the project identified by the `parent` parameter
|
|
1398
|
+
* (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).
|
|
1399
|
+
*/
|
|
1400
|
+
create(request: {
|
|
1401
|
+
/** V1 error format. */
|
|
1402
|
+
"$.xgafv"?: string;
|
|
1403
|
+
/** OAuth access token. */
|
|
1404
|
+
access_token?: string;
|
|
1405
|
+
/** Data format for response. */
|
|
1406
|
+
alt?: string;
|
|
1407
|
+
/** JSONP */
|
|
1408
|
+
callback?: string;
|
|
1409
|
+
/**
|
|
1410
|
+
* Required. The id of the entry group to create. The id must begin with a letter or underscore, contain only English letters, numbers and underscores, and be at most 64
|
|
1411
|
+
* characters.
|
|
1412
|
+
*/
|
|
1413
|
+
entryGroupId?: string;
|
|
1414
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1415
|
+
fields?: string;
|
|
1416
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1417
|
+
key?: string;
|
|
1418
|
+
/** OAuth 2.0 token for the current user. */
|
|
1419
|
+
oauth_token?: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* Required. The name of the project this entry group is in. Example: * projects/{project_id}/locations/{location} Note that this EntryGroup and its child resources may not
|
|
1422
|
+
* actually be stored in the location in this name.
|
|
1423
|
+
*/
|
|
1424
|
+
parent: string;
|
|
1425
|
+
/** Returns response with indentations and line breaks. */
|
|
1426
|
+
prettyPrint?: boolean;
|
|
1427
|
+
/** 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. */
|
|
1428
|
+
quotaUser?: string;
|
|
1429
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1430
|
+
upload_protocol?: string;
|
|
1431
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1432
|
+
uploadType?: string;
|
|
1433
|
+
/** Request body */
|
|
1434
|
+
resource: GoogleCloudDatacatalogV1beta1EntryGroup;
|
|
1435
|
+
}): Request<GoogleCloudDatacatalogV1beta1EntryGroup>;
|
|
1436
|
+
create(request: {
|
|
1437
|
+
/** V1 error format. */
|
|
1438
|
+
"$.xgafv"?: string;
|
|
1439
|
+
/** OAuth access token. */
|
|
1440
|
+
access_token?: string;
|
|
1441
|
+
/** Data format for response. */
|
|
1442
|
+
alt?: string;
|
|
1443
|
+
/** JSONP */
|
|
1444
|
+
callback?: string;
|
|
1445
|
+
/**
|
|
1446
|
+
* Required. The id of the entry group to create. The id must begin with a letter or underscore, contain only English letters, numbers and underscores, and be at most 64
|
|
1447
|
+
* characters.
|
|
1448
|
+
*/
|
|
1449
|
+
entryGroupId?: string;
|
|
1450
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1451
|
+
fields?: string;
|
|
1452
|
+
/** 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. */
|
|
1453
|
+
key?: string;
|
|
1454
|
+
/** OAuth 2.0 token for the current user. */
|
|
1455
|
+
oauth_token?: string;
|
|
1456
|
+
/**
|
|
1457
|
+
* Required. The name of the project this entry group is in. Example: * projects/{project_id}/locations/{location} Note that this EntryGroup and its child resources may not
|
|
1458
|
+
* actually be stored in the location in this name.
|
|
1459
|
+
*/
|
|
1460
|
+
parent: string;
|
|
1461
|
+
/** Returns response with indentations and line breaks. */
|
|
1462
|
+
prettyPrint?: boolean;
|
|
1463
|
+
/** 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. */
|
|
1464
|
+
quotaUser?: string;
|
|
1465
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1466
|
+
upload_protocol?: string;
|
|
1467
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1468
|
+
uploadType?: string;
|
|
1469
|
+
},
|
|
1470
|
+
body: GoogleCloudDatacatalogV1beta1EntryGroup): Request<GoogleCloudDatacatalogV1beta1EntryGroup>;
|
|
1471
|
+
/**
|
|
1472
|
+
* Deletes an EntryGroup. Only entry groups that do not contain entries can be deleted. Users should enable the Data Catalog API in the project identified by the `name` parameter (see
|
|
1473
|
+
* [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).
|
|
1474
|
+
*/
|
|
1475
|
+
delete(request?: {
|
|
1476
|
+
/** V1 error format. */
|
|
1477
|
+
"$.xgafv"?: string;
|
|
1478
|
+
/** OAuth access token. */
|
|
1479
|
+
access_token?: string;
|
|
1480
|
+
/** Data format for response. */
|
|
1481
|
+
alt?: string;
|
|
1482
|
+
/** JSONP */
|
|
1483
|
+
callback?: string;
|
|
1484
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1485
|
+
fields?: string;
|
|
1486
|
+
/** Optional. If true, deletes all entries in the entry group. */
|
|
1487
|
+
force?: boolean;
|
|
1488
|
+
/** 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. */
|
|
1489
|
+
key?: string;
|
|
1490
|
+
/** Required. The name of the entry group. For example, `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`. */
|
|
1491
|
+
name: string;
|
|
1492
|
+
/** OAuth 2.0 token for the current user. */
|
|
1493
|
+
oauth_token?: string;
|
|
1494
|
+
/** Returns response with indentations and line breaks. */
|
|
1495
|
+
prettyPrint?: boolean;
|
|
1496
|
+
/** 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. */
|
|
1497
|
+
quotaUser?: string;
|
|
1498
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1499
|
+
upload_protocol?: string;
|
|
1500
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1501
|
+
uploadType?: string;
|
|
1502
|
+
}): Request<{}>;
|
|
1503
|
+
/** Gets an EntryGroup. */
|
|
1504
|
+
get(request?: {
|
|
1505
|
+
/** V1 error format. */
|
|
1506
|
+
"$.xgafv"?: string;
|
|
1507
|
+
/** OAuth access token. */
|
|
1508
|
+
access_token?: string;
|
|
1509
|
+
/** Data format for response. */
|
|
1510
|
+
alt?: string;
|
|
1511
|
+
/** JSONP */
|
|
1512
|
+
callback?: string;
|
|
1513
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1514
|
+
fields?: string;
|
|
1515
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1516
|
+
key?: string;
|
|
1517
|
+
/** Required. The name of the entry group. For example, `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`. */
|
|
1518
|
+
name: string;
|
|
1519
|
+
/** OAuth 2.0 token for the current user. */
|
|
1520
|
+
oauth_token?: string;
|
|
1521
|
+
/** Returns response with indentations and line breaks. */
|
|
1522
|
+
prettyPrint?: boolean;
|
|
1523
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1524
|
+
quotaUser?: string;
|
|
1525
|
+
/** The fields to return. If not set or empty, all fields are returned. */
|
|
1526
|
+
readMask?: string;
|
|
1527
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1528
|
+
upload_protocol?: string;
|
|
1529
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1530
|
+
uploadType?: string;
|
|
1531
|
+
}): Request<GoogleCloudDatacatalogV1beta1EntryGroup>;
|
|
1532
|
+
/**
|
|
1533
|
+
* Gets the access control policy for a resource. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a
|
|
1534
|
+
* policy set on it. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external
|
|
1535
|
+
* Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates.
|
|
1536
|
+
* - `datacatalog.entries.getIamPolicy` to get policies on entries. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
|
|
1537
|
+
*/
|
|
1538
|
+
getIamPolicy(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
|
+
/** OAuth 2.0 token for the current user. */
|
|
1552
|
+
oauth_token?: string;
|
|
1553
|
+
/** Returns response with indentations and line breaks. */
|
|
1554
|
+
prettyPrint?: boolean;
|
|
1555
|
+
/** 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. */
|
|
1556
|
+
quotaUser?: string;
|
|
1557
|
+
/**
|
|
1558
|
+
* 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
|
|
1559
|
+
* field.
|
|
1560
|
+
*/
|
|
1561
|
+
resource: string;
|
|
1562
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1563
|
+
upload_protocol?: string;
|
|
1564
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1565
|
+
uploadType?: string;
|
|
1566
|
+
},
|
|
1567
|
+
body: GetIamPolicyRequest): Request<Policy>;
|
|
1568
|
+
/** Lists entry groups. */
|
|
1569
|
+
list(request?: {
|
|
1570
|
+
/** V1 error format. */
|
|
1571
|
+
"$.xgafv"?: string;
|
|
1572
|
+
/** OAuth access token. */
|
|
1573
|
+
access_token?: string;
|
|
1574
|
+
/** Data format for response. */
|
|
1575
|
+
alt?: string;
|
|
1576
|
+
/** JSONP */
|
|
1577
|
+
callback?: string;
|
|
1578
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1579
|
+
fields?: string;
|
|
1580
|
+
/** 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. */
|
|
1581
|
+
key?: string;
|
|
1582
|
+
/** OAuth 2.0 token for the current user. */
|
|
1583
|
+
oauth_token?: string;
|
|
1584
|
+
/** Optional. The maximum number of items to return. Default is 10. Max limit is 1000. Throws an invalid argument for `page_size > 1000`. */
|
|
1585
|
+
pageSize?: number;
|
|
1586
|
+
/** Optional. Token that specifies which page is requested. If empty, the first page is returned. */
|
|
1587
|
+
pageToken?: string;
|
|
1588
|
+
/** Required. The name of the location that contains the entry groups, which can be provided in URL format. Example: * projects/{project_id}/locations/{location} */
|
|
1589
|
+
parent: string;
|
|
1590
|
+
/** Returns response with indentations and line breaks. */
|
|
1591
|
+
prettyPrint?: boolean;
|
|
1592
|
+
/** 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. */
|
|
1593
|
+
quotaUser?: string;
|
|
1594
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1595
|
+
upload_protocol?: string;
|
|
1596
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1597
|
+
uploadType?: string;
|
|
1598
|
+
}): Request<GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse>;
|
|
1599
|
+
/**
|
|
1600
|
+
* Updates an EntryGroup. The user should enable the Data Catalog API in the project identified by the `entry_group.name` parameter (see [Data Catalog Resource Project]
|
|
1601
|
+
* (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).
|
|
1602
|
+
*/
|
|
1603
|
+
patch(request: {
|
|
1604
|
+
/** V1 error format. */
|
|
1605
|
+
"$.xgafv"?: string;
|
|
1606
|
+
/** OAuth access token. */
|
|
1607
|
+
access_token?: string;
|
|
1608
|
+
/** Data format for response. */
|
|
1609
|
+
alt?: string;
|
|
1610
|
+
/** JSONP */
|
|
1611
|
+
callback?: string;
|
|
1612
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1613
|
+
fields?: string;
|
|
1614
|
+
/** 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. */
|
|
1615
|
+
key?: string;
|
|
1616
|
+
/**
|
|
1617
|
+
* The resource name of the entry group in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} Note that this EntryGroup and its child
|
|
1618
|
+
* resources may not actually be stored in the location in this name.
|
|
1619
|
+
*/
|
|
1620
|
+
name: string;
|
|
1621
|
+
/** OAuth 2.0 token for the current user. */
|
|
1622
|
+
oauth_token?: string;
|
|
1623
|
+
/** Returns response with indentations and line breaks. */
|
|
1624
|
+
prettyPrint?: boolean;
|
|
1625
|
+
/** 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. */
|
|
1626
|
+
quotaUser?: string;
|
|
1627
|
+
/**
|
|
1628
|
+
* 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
|
|
1629
|
+
* omitted in the request body, their values are emptied.
|
|
1630
|
+
*/
|
|
1631
|
+
updateMask?: string;
|
|
1632
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1633
|
+
upload_protocol?: string;
|
|
1634
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1635
|
+
uploadType?: string;
|
|
1636
|
+
/** Request body */
|
|
1637
|
+
resource: GoogleCloudDatacatalogV1beta1EntryGroup;
|
|
1638
|
+
}): Request<GoogleCloudDatacatalogV1beta1EntryGroup>;
|
|
1639
|
+
patch(request: {
|
|
1640
|
+
/** V1 error format. */
|
|
1641
|
+
"$.xgafv"?: string;
|
|
1642
|
+
/** OAuth access token. */
|
|
1643
|
+
access_token?: string;
|
|
1644
|
+
/** Data format for response. */
|
|
1645
|
+
alt?: string;
|
|
1646
|
+
/** JSONP */
|
|
1647
|
+
callback?: string;
|
|
1648
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1649
|
+
fields?: string;
|
|
1650
|
+
/** 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. */
|
|
1651
|
+
key?: string;
|
|
1652
|
+
/**
|
|
1653
|
+
* The resource name of the entry group in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} Note that this EntryGroup and its child
|
|
1654
|
+
* resources may not actually be stored in the location in this name.
|
|
1655
|
+
*/
|
|
1656
|
+
name: string;
|
|
1657
|
+
/** OAuth 2.0 token for the current user. */
|
|
1658
|
+
oauth_token?: string;
|
|
1659
|
+
/** Returns response with indentations and line breaks. */
|
|
1660
|
+
prettyPrint?: boolean;
|
|
1661
|
+
/** 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. */
|
|
1662
|
+
quotaUser?: string;
|
|
1663
|
+
/**
|
|
1664
|
+
* 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
|
|
1665
|
+
* omitted in the request body, their values are emptied.
|
|
1666
|
+
*/
|
|
1667
|
+
updateMask?: string;
|
|
1668
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1669
|
+
upload_protocol?: string;
|
|
1670
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1671
|
+
uploadType?: string;
|
|
1672
|
+
},
|
|
1673
|
+
body: GoogleCloudDatacatalogV1beta1EntryGroup): Request<GoogleCloudDatacatalogV1beta1EntryGroup>;
|
|
1674
|
+
/**
|
|
1675
|
+
* Sets the access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to
|
|
1676
|
+
* manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission -
|
|
1677
|
+
* `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set policies on entries. - `datacatalog.entryGroups.setIamPolicy`
|
|
1678
|
+
* to set policies on entry groups.
|
|
1679
|
+
*/
|
|
1680
|
+
setIamPolicy(request: {
|
|
1681
|
+
/** V1 error format. */
|
|
1682
|
+
"$.xgafv"?: string;
|
|
1683
|
+
/** OAuth access token. */
|
|
1684
|
+
access_token?: string;
|
|
1685
|
+
/** Data format for response. */
|
|
1686
|
+
alt?: string;
|
|
1687
|
+
/** JSONP */
|
|
1688
|
+
callback?: string;
|
|
1689
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1690
|
+
fields?: string;
|
|
1691
|
+
/** 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. */
|
|
1692
|
+
key?: string;
|
|
1693
|
+
/** OAuth 2.0 token for the current user. */
|
|
1694
|
+
oauth_token?: string;
|
|
1695
|
+
/** Returns response with indentations and line breaks. */
|
|
1696
|
+
prettyPrint?: boolean;
|
|
1697
|
+
/** 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. */
|
|
1698
|
+
quotaUser?: string;
|
|
1699
|
+
/**
|
|
1700
|
+
* 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
|
|
1701
|
+
* field.
|
|
1702
|
+
*/
|
|
1703
|
+
resource: string;
|
|
1704
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1705
|
+
upload_protocol?: string;
|
|
1706
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1707
|
+
uploadType?: string;
|
|
1708
|
+
},
|
|
1709
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
1710
|
+
/**
|
|
1711
|
+
* Returns the caller's permissions on a resource. If the resource does not exist, an empty set of permissions is returned (We don't return a `NOT_FOUND` error). Supported resources
|
|
1712
|
+
* are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to
|
|
1713
|
+
* Data Catalog. A caller is not required to have Google IAM permission to make this request.
|
|
1714
|
+
*/
|
|
1715
|
+
testIamPermissions(request: {
|
|
1716
|
+
/** V1 error format. */
|
|
1717
|
+
"$.xgafv"?: string;
|
|
1718
|
+
/** OAuth access token. */
|
|
1719
|
+
access_token?: string;
|
|
1720
|
+
/** Data format for response. */
|
|
1721
|
+
alt?: string;
|
|
1722
|
+
/** JSONP */
|
|
1723
|
+
callback?: string;
|
|
1724
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1725
|
+
fields?: string;
|
|
1726
|
+
/** 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. */
|
|
1727
|
+
key?: string;
|
|
1728
|
+
/** OAuth 2.0 token for the current user. */
|
|
1729
|
+
oauth_token?: string;
|
|
1730
|
+
/** Returns response with indentations and line breaks. */
|
|
1731
|
+
prettyPrint?: boolean;
|
|
1732
|
+
/** 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. */
|
|
1733
|
+
quotaUser?: string;
|
|
1734
|
+
/**
|
|
1735
|
+
* 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
|
|
1736
|
+
* this field.
|
|
1737
|
+
*/
|
|
1738
|
+
resource: string;
|
|
1739
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1740
|
+
upload_protocol?: string;
|
|
1741
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1742
|
+
uploadType?: string;
|
|
1743
|
+
},
|
|
1744
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1745
|
+
entries: EntriesResource;
|
|
1746
|
+
tags: TagsResource;
|
|
1747
|
+
}
|
|
1748
|
+
interface EnumValuesResource {
|
|
1749
|
+
/**
|
|
1750
|
+
* Renames an enum value in a tag template. The enum values have to be unique within one enum field. Thus, an enum value cannot be renamed with a name used in any other enum value
|
|
1751
|
+
* within the same enum field.
|
|
1752
|
+
*/
|
|
1753
|
+
rename(request: {
|
|
1754
|
+
/** V1 error format. */
|
|
1755
|
+
"$.xgafv"?: string;
|
|
1756
|
+
/** OAuth access token. */
|
|
1757
|
+
access_token?: string;
|
|
1758
|
+
/** Data format for response. */
|
|
1759
|
+
alt?: string;
|
|
1760
|
+
/** JSONP */
|
|
1761
|
+
callback?: string;
|
|
1762
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1763
|
+
fields?: string;
|
|
1764
|
+
/** 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. */
|
|
1765
|
+
key?: string;
|
|
1766
|
+
/**
|
|
1767
|
+
* Required. The name of the enum field value. Example: *
|
|
1768
|
+
* projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
|
|
1769
|
+
*/
|
|
1770
|
+
name: string;
|
|
1771
|
+
/** OAuth 2.0 token for the current user. */
|
|
1772
|
+
oauth_token?: string;
|
|
1773
|
+
/** Returns response with indentations and line breaks. */
|
|
1774
|
+
prettyPrint?: boolean;
|
|
1775
|
+
/** 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. */
|
|
1776
|
+
quotaUser?: string;
|
|
1777
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1778
|
+
upload_protocol?: string;
|
|
1779
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1780
|
+
uploadType?: string;
|
|
1781
|
+
/** Request body */
|
|
1782
|
+
resource: GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest;
|
|
1783
|
+
}): Request<GoogleCloudDatacatalogV1beta1TagTemplateField>;
|
|
1784
|
+
rename(request: {
|
|
1785
|
+
/** V1 error format. */
|
|
1786
|
+
"$.xgafv"?: string;
|
|
1787
|
+
/** OAuth access token. */
|
|
1788
|
+
access_token?: string;
|
|
1789
|
+
/** Data format for response. */
|
|
1790
|
+
alt?: string;
|
|
1791
|
+
/** JSONP */
|
|
1792
|
+
callback?: string;
|
|
1793
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1794
|
+
fields?: string;
|
|
1795
|
+
/** 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. */
|
|
1796
|
+
key?: string;
|
|
1797
|
+
/**
|
|
1798
|
+
* Required. The name of the enum field value. Example: *
|
|
1799
|
+
* projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
|
|
1800
|
+
*/
|
|
1801
|
+
name: string;
|
|
1802
|
+
/** OAuth 2.0 token for the current user. */
|
|
1803
|
+
oauth_token?: string;
|
|
1804
|
+
/** Returns response with indentations and line breaks. */
|
|
1805
|
+
prettyPrint?: boolean;
|
|
1806
|
+
/** 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. */
|
|
1807
|
+
quotaUser?: string;
|
|
1808
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1809
|
+
upload_protocol?: string;
|
|
1810
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1811
|
+
uploadType?: string;
|
|
1812
|
+
},
|
|
1813
|
+
body: GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest): Request<GoogleCloudDatacatalogV1beta1TagTemplateField>;
|
|
1814
|
+
}
|
|
1815
|
+
interface FieldsResource {
|
|
1816
|
+
/**
|
|
1817
|
+
* Creates a field in a tag template. The user should enable the Data Catalog API in the project identified by the `parent` parameter (see [Data Catalog Resource
|
|
1818
|
+
* Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).
|
|
1819
|
+
*/
|
|
1820
|
+
create(request: {
|
|
1821
|
+
/** V1 error format. */
|
|
1822
|
+
"$.xgafv"?: string;
|
|
1823
|
+
/** OAuth access token. */
|
|
1824
|
+
access_token?: string;
|
|
1825
|
+
/** Data format for response. */
|
|
1826
|
+
alt?: string;
|
|
1827
|
+
/** JSONP */
|
|
1828
|
+
callback?: string;
|
|
1829
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1830
|
+
fields?: string;
|
|
1831
|
+
/** 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. */
|
|
1832
|
+
key?: string;
|
|
1833
|
+
/** OAuth 2.0 token for the current user. */
|
|
1834
|
+
oauth_token?: string;
|
|
1835
|
+
/**
|
|
1836
|
+
* Required. The name of the project and the template location [region](https://cloud.google.com/data-catalog/docs/concepts/regions). Example: *
|
|
1837
|
+
* projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
|
|
1838
|
+
*/
|
|
1839
|
+
parent: string;
|
|
1840
|
+
/** Returns response with indentations and line breaks. */
|
|
1841
|
+
prettyPrint?: boolean;
|
|
1842
|
+
/** 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. */
|
|
1843
|
+
quotaUser?: string;
|
|
1844
|
+
/**
|
|
1845
|
+
* Required. The ID of the tag template field to create. Field ids can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must
|
|
1846
|
+
* be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template.
|
|
1847
|
+
*/
|
|
1848
|
+
tagTemplateFieldId?: string;
|
|
1849
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1850
|
+
upload_protocol?: string;
|
|
1851
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1852
|
+
uploadType?: string;
|
|
1853
|
+
/** Request body */
|
|
1854
|
+
resource: GoogleCloudDatacatalogV1beta1TagTemplateField;
|
|
1855
|
+
}): Request<GoogleCloudDatacatalogV1beta1TagTemplateField>;
|
|
1856
|
+
create(request: {
|
|
1857
|
+
/** V1 error format. */
|
|
1858
|
+
"$.xgafv"?: string;
|
|
1859
|
+
/** OAuth access token. */
|
|
1860
|
+
access_token?: string;
|
|
1861
|
+
/** Data format for response. */
|
|
1862
|
+
alt?: string;
|
|
1863
|
+
/** JSONP */
|
|
1864
|
+
callback?: string;
|
|
1865
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1866
|
+
fields?: string;
|
|
1867
|
+
/** 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. */
|
|
1868
|
+
key?: string;
|
|
1869
|
+
/** OAuth 2.0 token for the current user. */
|
|
1870
|
+
oauth_token?: string;
|
|
1871
|
+
/**
|
|
1872
|
+
* Required. The name of the project and the template location [region](https://cloud.google.com/data-catalog/docs/concepts/regions). Example: *
|
|
1873
|
+
* projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
|
|
1874
|
+
*/
|
|
1875
|
+
parent: string;
|
|
1876
|
+
/** Returns response with indentations and line breaks. */
|
|
1877
|
+
prettyPrint?: boolean;
|
|
1878
|
+
/** 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. */
|
|
1879
|
+
quotaUser?: string;
|
|
1880
|
+
/**
|
|
1881
|
+
* Required. The ID of the tag template field to create. Field ids can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must
|
|
1882
|
+
* be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template.
|
|
1883
|
+
*/
|
|
1884
|
+
tagTemplateFieldId?: string;
|
|
1885
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1886
|
+
upload_protocol?: string;
|
|
1887
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1888
|
+
uploadType?: string;
|
|
1889
|
+
},
|
|
1890
|
+
body: GoogleCloudDatacatalogV1beta1TagTemplateField): Request<GoogleCloudDatacatalogV1beta1TagTemplateField>;
|
|
1891
|
+
/**
|
|
1892
|
+
* Deletes a field in a tag template and all uses of that field. Users should enable the Data Catalog API in the project identified by the `name` parameter (see [Data Catalog Resource
|
|
1893
|
+
* Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).
|
|
1894
|
+
*/
|
|
1895
|
+
delete(request?: {
|
|
1896
|
+
/** V1 error format. */
|
|
1897
|
+
"$.xgafv"?: string;
|
|
1898
|
+
/** OAuth access token. */
|
|
1899
|
+
access_token?: string;
|
|
1900
|
+
/** Data format for response. */
|
|
1901
|
+
alt?: string;
|
|
1902
|
+
/** JSONP */
|
|
1903
|
+
callback?: string;
|
|
1904
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1905
|
+
fields?: string;
|
|
1906
|
+
/**
|
|
1907
|
+
* Required. Currently, this field must always be set to `true`. This confirms the deletion of this field from any tags using this field. `force = false` will be supported in the
|
|
1908
|
+
* future.
|
|
1909
|
+
*/
|
|
1910
|
+
force?: boolean;
|
|
1911
|
+
/** 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. */
|
|
1912
|
+
key?: string;
|
|
1913
|
+
/** Required. The name of the tag template field to delete. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} */
|
|
1914
|
+
name: string;
|
|
1915
|
+
/** OAuth 2.0 token for the current user. */
|
|
1916
|
+
oauth_token?: string;
|
|
1917
|
+
/** Returns response with indentations and line breaks. */
|
|
1918
|
+
prettyPrint?: boolean;
|
|
1919
|
+
/** 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. */
|
|
1920
|
+
quotaUser?: string;
|
|
1921
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1922
|
+
upload_protocol?: string;
|
|
1923
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1924
|
+
uploadType?: string;
|
|
1925
|
+
}): Request<{}>;
|
|
1926
|
+
/**
|
|
1927
|
+
* Updates a field in a tag template. This method cannot be used to update the field type. Users should enable the Data Catalog API in the project identified by the `name` parameter
|
|
1928
|
+
* (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).
|
|
1929
|
+
*/
|
|
1930
|
+
patch(request: {
|
|
1931
|
+
/** V1 error format. */
|
|
1932
|
+
"$.xgafv"?: string;
|
|
1933
|
+
/** OAuth access token. */
|
|
1934
|
+
access_token?: string;
|
|
1935
|
+
/** Data format for response. */
|
|
1936
|
+
alt?: string;
|
|
1937
|
+
/** JSONP */
|
|
1938
|
+
callback?: 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
|
+
/** Required. The name of the tag template field. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} */
|
|
1944
|
+
name: string;
|
|
1945
|
+
/** OAuth 2.0 token for the current user. */
|
|
1946
|
+
oauth_token?: string;
|
|
1947
|
+
/** Returns response with indentations and line breaks. */
|
|
1948
|
+
prettyPrint?: boolean;
|
|
1949
|
+
/** 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. */
|
|
1950
|
+
quotaUser?: string;
|
|
1951
|
+
/**
|
|
1952
|
+
* 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` *
|
|
1953
|
+
* `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
|
|
1954
|
+
* 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
|
|
1955
|
+
* cannot be deleted or renamed. Additionally, updating a template field from optional to required is *not* allowed.
|
|
1956
|
+
*/
|
|
1957
|
+
updateMask?: string;
|
|
1958
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1959
|
+
upload_protocol?: string;
|
|
1960
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1961
|
+
uploadType?: string;
|
|
1962
|
+
/** Request body */
|
|
1963
|
+
resource: GoogleCloudDatacatalogV1beta1TagTemplateField;
|
|
1964
|
+
}): Request<GoogleCloudDatacatalogV1beta1TagTemplateField>;
|
|
1965
|
+
patch(request: {
|
|
1966
|
+
/** V1 error format. */
|
|
1967
|
+
"$.xgafv"?: string;
|
|
1968
|
+
/** OAuth access token. */
|
|
1969
|
+
access_token?: string;
|
|
1970
|
+
/** Data format for response. */
|
|
1971
|
+
alt?: string;
|
|
1972
|
+
/** JSONP */
|
|
1973
|
+
callback?: string;
|
|
1974
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1975
|
+
fields?: string;
|
|
1976
|
+
/** 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. */
|
|
1977
|
+
key?: string;
|
|
1978
|
+
/** Required. The name of the tag template field. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} */
|
|
1979
|
+
name: string;
|
|
1980
|
+
/** OAuth 2.0 token for the current user. */
|
|
1981
|
+
oauth_token?: string;
|
|
1982
|
+
/** Returns response with indentations and line breaks. */
|
|
1983
|
+
prettyPrint?: boolean;
|
|
1984
|
+
/** 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. */
|
|
1985
|
+
quotaUser?: string;
|
|
1986
|
+
/**
|
|
1987
|
+
* 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` *
|
|
1988
|
+
* `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
|
|
1989
|
+
* 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
|
|
1990
|
+
* cannot be deleted or renamed. Additionally, updating a template field from optional to required is *not* allowed.
|
|
1991
|
+
*/
|
|
1992
|
+
updateMask?: string;
|
|
1993
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1994
|
+
upload_protocol?: string;
|
|
1995
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1996
|
+
uploadType?: string;
|
|
1997
|
+
},
|
|
1998
|
+
body: GoogleCloudDatacatalogV1beta1TagTemplateField): Request<GoogleCloudDatacatalogV1beta1TagTemplateField>;
|
|
1999
|
+
/**
|
|
2000
|
+
* Renames a field in a tag template. The user should enable the Data Catalog API in the project identified by the `name` parameter (see [Data Catalog Resource
|
|
2001
|
+
* Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).
|
|
2002
|
+
*/
|
|
2003
|
+
rename(request: {
|
|
2004
|
+
/** V1 error format. */
|
|
2005
|
+
"$.xgafv"?: string;
|
|
2006
|
+
/** OAuth access token. */
|
|
2007
|
+
access_token?: string;
|
|
2008
|
+
/** Data format for response. */
|
|
2009
|
+
alt?: string;
|
|
2010
|
+
/** JSONP */
|
|
2011
|
+
callback?: string;
|
|
2012
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2013
|
+
fields?: string;
|
|
2014
|
+
/** 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. */
|
|
2015
|
+
key?: string;
|
|
2016
|
+
/** Required. The name of the tag template. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} */
|
|
2017
|
+
name: string;
|
|
2018
|
+
/** OAuth 2.0 token for the current user. */
|
|
2019
|
+
oauth_token?: string;
|
|
2020
|
+
/** Returns response with indentations and line breaks. */
|
|
2021
|
+
prettyPrint?: boolean;
|
|
2022
|
+
/** 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. */
|
|
2023
|
+
quotaUser?: string;
|
|
2024
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2025
|
+
upload_protocol?: string;
|
|
2026
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2027
|
+
uploadType?: string;
|
|
2028
|
+
/** Request body */
|
|
2029
|
+
resource: GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest;
|
|
2030
|
+
}): Request<GoogleCloudDatacatalogV1beta1TagTemplateField>;
|
|
2031
|
+
rename(request: {
|
|
2032
|
+
/** V1 error format. */
|
|
2033
|
+
"$.xgafv"?: string;
|
|
2034
|
+
/** OAuth access token. */
|
|
2035
|
+
access_token?: string;
|
|
2036
|
+
/** Data format for response. */
|
|
2037
|
+
alt?: string;
|
|
2038
|
+
/** JSONP */
|
|
2039
|
+
callback?: string;
|
|
2040
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2041
|
+
fields?: string;
|
|
2042
|
+
/** 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. */
|
|
2043
|
+
key?: string;
|
|
2044
|
+
/** Required. The name of the tag template. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} */
|
|
2045
|
+
name: string;
|
|
2046
|
+
/** OAuth 2.0 token for the current user. */
|
|
2047
|
+
oauth_token?: string;
|
|
2048
|
+
/** Returns response with indentations and line breaks. */
|
|
2049
|
+
prettyPrint?: boolean;
|
|
2050
|
+
/** 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. */
|
|
2051
|
+
quotaUser?: string;
|
|
2052
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2053
|
+
upload_protocol?: string;
|
|
2054
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2055
|
+
uploadType?: string;
|
|
2056
|
+
},
|
|
2057
|
+
body: GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest): Request<GoogleCloudDatacatalogV1beta1TagTemplateField>;
|
|
2058
|
+
enumValues: EnumValuesResource;
|
|
2059
|
+
}
|
|
2060
|
+
interface TagTemplatesResource {
|
|
2061
|
+
/**
|
|
2062
|
+
* Creates a tag template. The user should enable the Data Catalog API in the project identified by the `parent` parameter (see [Data Catalog Resource
|
|
2063
|
+
* Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).
|
|
2064
|
+
*/
|
|
2065
|
+
create(request: {
|
|
2066
|
+
/** V1 error format. */
|
|
2067
|
+
"$.xgafv"?: string;
|
|
2068
|
+
/** OAuth access token. */
|
|
2069
|
+
access_token?: string;
|
|
2070
|
+
/** Data format for response. */
|
|
2071
|
+
alt?: string;
|
|
2072
|
+
/** JSONP */
|
|
2073
|
+
callback?: string;
|
|
2074
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2075
|
+
fields?: string;
|
|
2076
|
+
/** 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. */
|
|
2077
|
+
key?: string;
|
|
2078
|
+
/** OAuth 2.0 token for the current user. */
|
|
2079
|
+
oauth_token?: string;
|
|
2080
|
+
/**
|
|
2081
|
+
* Required. The name of the project and the template location [region](https://cloud.google.com/data-catalog/docs/concepts/regions. Example: *
|
|
2082
|
+
* projects/{project_id}/locations/us-central1
|
|
2083
|
+
*/
|
|
2084
|
+
parent: string;
|
|
2085
|
+
/** Returns response with indentations and line breaks. */
|
|
2086
|
+
prettyPrint?: boolean;
|
|
2087
|
+
/** 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. */
|
|
2088
|
+
quotaUser?: string;
|
|
2089
|
+
/** Required. The id of the tag template to create. */
|
|
2090
|
+
tagTemplateId?: string;
|
|
2091
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2092
|
+
upload_protocol?: string;
|
|
2093
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2094
|
+
uploadType?: string;
|
|
2095
|
+
/** Request body */
|
|
2096
|
+
resource: GoogleCloudDatacatalogV1beta1TagTemplate;
|
|
2097
|
+
}): Request<GoogleCloudDatacatalogV1beta1TagTemplate>;
|
|
2098
|
+
create(request: {
|
|
2099
|
+
/** V1 error format. */
|
|
2100
|
+
"$.xgafv"?: string;
|
|
2101
|
+
/** OAuth access token. */
|
|
2102
|
+
access_token?: string;
|
|
2103
|
+
/** Data format for response. */
|
|
2104
|
+
alt?: string;
|
|
2105
|
+
/** JSONP */
|
|
2106
|
+
callback?: string;
|
|
2107
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2108
|
+
fields?: string;
|
|
2109
|
+
/** 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. */
|
|
2110
|
+
key?: string;
|
|
2111
|
+
/** OAuth 2.0 token for the current user. */
|
|
2112
|
+
oauth_token?: string;
|
|
2113
|
+
/**
|
|
2114
|
+
* Required. The name of the project and the template location [region](https://cloud.google.com/data-catalog/docs/concepts/regions. Example: *
|
|
2115
|
+
* projects/{project_id}/locations/us-central1
|
|
2116
|
+
*/
|
|
2117
|
+
parent: string;
|
|
2118
|
+
/** Returns response with indentations and line breaks. */
|
|
2119
|
+
prettyPrint?: boolean;
|
|
2120
|
+
/** 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. */
|
|
2121
|
+
quotaUser?: string;
|
|
2122
|
+
/** Required. The id of the tag template to create. */
|
|
2123
|
+
tagTemplateId?: string;
|
|
2124
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2125
|
+
upload_protocol?: string;
|
|
2126
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2127
|
+
uploadType?: string;
|
|
2128
|
+
},
|
|
2129
|
+
body: GoogleCloudDatacatalogV1beta1TagTemplate): Request<GoogleCloudDatacatalogV1beta1TagTemplate>;
|
|
2130
|
+
/**
|
|
2131
|
+
* Deletes a tag template and all tags using the template. Users should enable the Data Catalog API in the project identified by the `name` parameter (see [Data Catalog Resource
|
|
2132
|
+
* Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).
|
|
2133
|
+
*/
|
|
2134
|
+
delete(request?: {
|
|
2135
|
+
/** V1 error format. */
|
|
2136
|
+
"$.xgafv"?: string;
|
|
2137
|
+
/** OAuth access token. */
|
|
2138
|
+
access_token?: string;
|
|
2139
|
+
/** Data format for response. */
|
|
2140
|
+
alt?: string;
|
|
2141
|
+
/** JSONP */
|
|
2142
|
+
callback?: string;
|
|
2143
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2144
|
+
fields?: string;
|
|
2145
|
+
/**
|
|
2146
|
+
* Required. Currently, this field must always be set to `true`. This confirms the deletion of any possible tags using this template. `force = false` will be supported in the
|
|
2147
|
+
* future.
|
|
2148
|
+
*/
|
|
2149
|
+
force?: boolean;
|
|
2150
|
+
/** 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. */
|
|
2151
|
+
key?: string;
|
|
2152
|
+
/** Required. The name of the tag template to delete. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} */
|
|
2153
|
+
name: string;
|
|
2154
|
+
/** OAuth 2.0 token for the current user. */
|
|
2155
|
+
oauth_token?: string;
|
|
2156
|
+
/** Returns response with indentations and line breaks. */
|
|
2157
|
+
prettyPrint?: boolean;
|
|
2158
|
+
/** 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. */
|
|
2159
|
+
quotaUser?: string;
|
|
2160
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2161
|
+
upload_protocol?: string;
|
|
2162
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2163
|
+
uploadType?: string;
|
|
2164
|
+
}): Request<{}>;
|
|
2165
|
+
/** Gets a tag template. */
|
|
2166
|
+
get(request?: {
|
|
2167
|
+
/** V1 error format. */
|
|
2168
|
+
"$.xgafv"?: string;
|
|
2169
|
+
/** OAuth access token. */
|
|
2170
|
+
access_token?: string;
|
|
2171
|
+
/** Data format for response. */
|
|
2172
|
+
alt?: string;
|
|
2173
|
+
/** JSONP */
|
|
2174
|
+
callback?: string;
|
|
2175
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2176
|
+
fields?: string;
|
|
2177
|
+
/** 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. */
|
|
2178
|
+
key?: string;
|
|
2179
|
+
/** Required. The name of the tag template. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} */
|
|
2180
|
+
name: string;
|
|
2181
|
+
/** OAuth 2.0 token for the current user. */
|
|
2182
|
+
oauth_token?: string;
|
|
2183
|
+
/** Returns response with indentations and line breaks. */
|
|
2184
|
+
prettyPrint?: boolean;
|
|
2185
|
+
/** 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. */
|
|
2186
|
+
quotaUser?: 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
|
+
}): Request<GoogleCloudDatacatalogV1beta1TagTemplate>;
|
|
2192
|
+
/**
|
|
2193
|
+
* Gets the access control policy for a resource. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a
|
|
2194
|
+
* policy set on it. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external
|
|
2195
|
+
* Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates.
|
|
2196
|
+
* - `datacatalog.entries.getIamPolicy` to get policies on entries. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
|
|
2197
|
+
*/
|
|
2198
|
+
getIamPolicy(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 is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
2219
|
+
* 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: GetIamPolicyRequest): Request<Policy>;
|
|
2228
|
+
/**
|
|
2229
|
+
* Updates a tag template. This method cannot be used to update the fields of a template. The tag template fields are represented as separate resources and should be updated using
|
|
2230
|
+
* their own create/update/delete methods. Users should enable the Data Catalog API in the project identified by the `tag_template.name` parameter (see [Data Catalog Resource Project]
|
|
2231
|
+
* (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).
|
|
2232
|
+
*/
|
|
2233
|
+
patch(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
|
+
/**
|
|
2247
|
+
* The resource name of the tag template in URL format. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} Note that this TagTemplate and its
|
|
2248
|
+
* child resources may not actually be stored in the location in this name.
|
|
2249
|
+
*/
|
|
2250
|
+
name: string;
|
|
2251
|
+
/** OAuth 2.0 token for the current user. */
|
|
2252
|
+
oauth_token?: string;
|
|
2253
|
+
/** Returns response with indentations and line breaks. */
|
|
2254
|
+
prettyPrint?: boolean;
|
|
2255
|
+
/** 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. */
|
|
2256
|
+
quotaUser?: string;
|
|
2257
|
+
/**
|
|
2258
|
+
* Names of fields whose values to overwrite on a tag template. Currently, only `display_name` can be overwritten. In general, if this parameter is absent or empty, all modifiable
|
|
2259
|
+
* fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.
|
|
2260
|
+
*/
|
|
2261
|
+
updateMask?: string;
|
|
2262
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2263
|
+
upload_protocol?: string;
|
|
2264
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2265
|
+
uploadType?: string;
|
|
2266
|
+
/** Request body */
|
|
2267
|
+
resource: GoogleCloudDatacatalogV1beta1TagTemplate;
|
|
2268
|
+
}): Request<GoogleCloudDatacatalogV1beta1TagTemplate>;
|
|
2269
|
+
patch(request: {
|
|
2270
|
+
/** V1 error format. */
|
|
2271
|
+
"$.xgafv"?: string;
|
|
2272
|
+
/** OAuth access token. */
|
|
2273
|
+
access_token?: string;
|
|
2274
|
+
/** Data format for response. */
|
|
2275
|
+
alt?: string;
|
|
2276
|
+
/** JSONP */
|
|
2277
|
+
callback?: string;
|
|
2278
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2279
|
+
fields?: string;
|
|
2280
|
+
/** 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. */
|
|
2281
|
+
key?: string;
|
|
2282
|
+
/**
|
|
2283
|
+
* The resource name of the tag template in URL format. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} Note that this TagTemplate and its
|
|
2284
|
+
* child resources may not actually be stored in the location in this name.
|
|
2285
|
+
*/
|
|
2286
|
+
name: string;
|
|
2287
|
+
/** OAuth 2.0 token for the current user. */
|
|
2288
|
+
oauth_token?: string;
|
|
2289
|
+
/** Returns response with indentations and line breaks. */
|
|
2290
|
+
prettyPrint?: boolean;
|
|
2291
|
+
/** 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. */
|
|
2292
|
+
quotaUser?: string;
|
|
2293
|
+
/**
|
|
2294
|
+
* Names of fields whose values to overwrite on a tag template. Currently, only `display_name` can be overwritten. In general, if this parameter is absent or empty, all modifiable
|
|
2295
|
+
* fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.
|
|
2296
|
+
*/
|
|
2297
|
+
updateMask?: string;
|
|
2298
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2299
|
+
upload_protocol?: string;
|
|
2300
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2301
|
+
uploadType?: string;
|
|
2302
|
+
},
|
|
2303
|
+
body: GoogleCloudDatacatalogV1beta1TagTemplate): Request<GoogleCloudDatacatalogV1beta1TagTemplate>;
|
|
2304
|
+
/**
|
|
2305
|
+
* Sets the access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to
|
|
2306
|
+
* manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission -
|
|
2307
|
+
* `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set policies on entries. - `datacatalog.entryGroups.setIamPolicy`
|
|
2308
|
+
* to set policies on entry groups.
|
|
2309
|
+
*/
|
|
2310
|
+
setIamPolicy(request: {
|
|
2311
|
+
/** V1 error format. */
|
|
2312
|
+
"$.xgafv"?: string;
|
|
2313
|
+
/** OAuth access token. */
|
|
2314
|
+
access_token?: string;
|
|
2315
|
+
/** Data format for response. */
|
|
2316
|
+
alt?: string;
|
|
2317
|
+
/** JSONP */
|
|
2318
|
+
callback?: string;
|
|
2319
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2320
|
+
fields?: string;
|
|
2321
|
+
/** 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. */
|
|
2322
|
+
key?: string;
|
|
2323
|
+
/** OAuth 2.0 token for the current user. */
|
|
2324
|
+
oauth_token?: string;
|
|
2325
|
+
/** Returns response with indentations and line breaks. */
|
|
2326
|
+
prettyPrint?: boolean;
|
|
2327
|
+
/** 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. */
|
|
2328
|
+
quotaUser?: string;
|
|
2329
|
+
/**
|
|
2330
|
+
* 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
|
|
2331
|
+
* field.
|
|
2332
|
+
*/
|
|
2333
|
+
resource: string;
|
|
2334
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2335
|
+
upload_protocol?: string;
|
|
2336
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2337
|
+
uploadType?: string;
|
|
2338
|
+
},
|
|
2339
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
2340
|
+
/**
|
|
2341
|
+
* Returns the caller's permissions on a resource. If the resource does not exist, an empty set of permissions is returned (We don't return a `NOT_FOUND` error). Supported resources
|
|
2342
|
+
* are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to
|
|
2343
|
+
* Data Catalog. A caller is not required to have Google IAM permission to make this request.
|
|
2344
|
+
*/
|
|
2345
|
+
testIamPermissions(request: {
|
|
2346
|
+
/** V1 error format. */
|
|
2347
|
+
"$.xgafv"?: string;
|
|
2348
|
+
/** OAuth access token. */
|
|
2349
|
+
access_token?: string;
|
|
2350
|
+
/** Data format for response. */
|
|
2351
|
+
alt?: string;
|
|
2352
|
+
/** JSONP */
|
|
2353
|
+
callback?: string;
|
|
2354
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2355
|
+
fields?: string;
|
|
2356
|
+
/** 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. */
|
|
2357
|
+
key?: string;
|
|
2358
|
+
/** OAuth 2.0 token for the current user. */
|
|
2359
|
+
oauth_token?: string;
|
|
2360
|
+
/** Returns response with indentations and line breaks. */
|
|
2361
|
+
prettyPrint?: boolean;
|
|
2362
|
+
/** 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. */
|
|
2363
|
+
quotaUser?: string;
|
|
2364
|
+
/**
|
|
2365
|
+
* 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
|
|
2366
|
+
* this field.
|
|
2367
|
+
*/
|
|
2368
|
+
resource: string;
|
|
2369
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2370
|
+
upload_protocol?: string;
|
|
2371
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2372
|
+
uploadType?: string;
|
|
2373
|
+
},
|
|
2374
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
2375
|
+
fields: FieldsResource;
|
|
2376
|
+
}
|
|
2377
|
+
interface PolicyTagsResource {
|
|
2378
|
+
/** Creates a policy tag in the specified taxonomy. */
|
|
2379
|
+
create(request: {
|
|
2380
|
+
/** V1 error format. */
|
|
2381
|
+
"$.xgafv"?: string;
|
|
2382
|
+
/** OAuth access token. */
|
|
2383
|
+
access_token?: string;
|
|
2384
|
+
/** Data format for response. */
|
|
2385
|
+
alt?: string;
|
|
2386
|
+
/** JSONP */
|
|
2387
|
+
callback?: string;
|
|
2388
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2389
|
+
fields?: string;
|
|
2390
|
+
/** 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. */
|
|
2391
|
+
key?: string;
|
|
2392
|
+
/** OAuth 2.0 token for the current user. */
|
|
2393
|
+
oauth_token?: string;
|
|
2394
|
+
/** Required. Resource name of the taxonomy that the policy tag will belong to. */
|
|
2395
|
+
parent: string;
|
|
2396
|
+
/** Returns response with indentations and line breaks. */
|
|
2397
|
+
prettyPrint?: boolean;
|
|
2398
|
+
/** 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. */
|
|
2399
|
+
quotaUser?: string;
|
|
2400
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2401
|
+
upload_protocol?: string;
|
|
2402
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2403
|
+
uploadType?: string;
|
|
2404
|
+
/** Request body */
|
|
2405
|
+
resource: GoogleCloudDatacatalogV1beta1PolicyTag;
|
|
2406
|
+
}): Request<GoogleCloudDatacatalogV1beta1PolicyTag>;
|
|
2407
|
+
create(request: {
|
|
2408
|
+
/** V1 error format. */
|
|
2409
|
+
"$.xgafv"?: string;
|
|
2410
|
+
/** OAuth access token. */
|
|
2411
|
+
access_token?: string;
|
|
2412
|
+
/** Data format for response. */
|
|
2413
|
+
alt?: string;
|
|
2414
|
+
/** JSONP */
|
|
2415
|
+
callback?: string;
|
|
2416
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2417
|
+
fields?: string;
|
|
2418
|
+
/** 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. */
|
|
2419
|
+
key?: string;
|
|
2420
|
+
/** OAuth 2.0 token for the current user. */
|
|
2421
|
+
oauth_token?: string;
|
|
2422
|
+
/** Required. Resource name of the taxonomy that the policy tag will belong to. */
|
|
2423
|
+
parent: string;
|
|
2424
|
+
/** Returns response with indentations and line breaks. */
|
|
2425
|
+
prettyPrint?: boolean;
|
|
2426
|
+
/** 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. */
|
|
2427
|
+
quotaUser?: string;
|
|
2428
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2429
|
+
upload_protocol?: string;
|
|
2430
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2431
|
+
uploadType?: string;
|
|
2432
|
+
},
|
|
2433
|
+
body: GoogleCloudDatacatalogV1beta1PolicyTag): Request<GoogleCloudDatacatalogV1beta1PolicyTag>;
|
|
2434
|
+
/** Deletes a policy tag. Also deletes all of its descendant policy tags. */
|
|
2435
|
+
delete(request?: {
|
|
2436
|
+
/** V1 error format. */
|
|
2437
|
+
"$.xgafv"?: string;
|
|
2438
|
+
/** OAuth access token. */
|
|
2439
|
+
access_token?: string;
|
|
2440
|
+
/** Data format for response. */
|
|
2441
|
+
alt?: string;
|
|
2442
|
+
/** JSONP */
|
|
2443
|
+
callback?: string;
|
|
2444
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2445
|
+
fields?: string;
|
|
2446
|
+
/** 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. */
|
|
2447
|
+
key?: string;
|
|
2448
|
+
/** Required. Resource name of the policy tag to be deleted. All of its descendant policy tags will also be deleted. */
|
|
2449
|
+
name: string;
|
|
2450
|
+
/** OAuth 2.0 token for the current user. */
|
|
2451
|
+
oauth_token?: string;
|
|
2452
|
+
/** Returns response with indentations and line breaks. */
|
|
2453
|
+
prettyPrint?: boolean;
|
|
2454
|
+
/** 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. */
|
|
2455
|
+
quotaUser?: string;
|
|
2456
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2457
|
+
upload_protocol?: string;
|
|
2458
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2459
|
+
uploadType?: string;
|
|
2460
|
+
}): Request<{}>;
|
|
2461
|
+
/** Gets a policy tag. */
|
|
2462
|
+
get(request?: {
|
|
2463
|
+
/** V1 error format. */
|
|
2464
|
+
"$.xgafv"?: string;
|
|
2465
|
+
/** OAuth access token. */
|
|
2466
|
+
access_token?: string;
|
|
2467
|
+
/** Data format for response. */
|
|
2468
|
+
alt?: string;
|
|
2469
|
+
/** JSONP */
|
|
2470
|
+
callback?: string;
|
|
2471
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2472
|
+
fields?: string;
|
|
2473
|
+
/** 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. */
|
|
2474
|
+
key?: string;
|
|
2475
|
+
/** Required. Resource name of the requested policy tag. */
|
|
2476
|
+
name: string;
|
|
2477
|
+
/** OAuth 2.0 token for the current user. */
|
|
2478
|
+
oauth_token?: string;
|
|
2479
|
+
/** Returns response with indentations and line breaks. */
|
|
2480
|
+
prettyPrint?: boolean;
|
|
2481
|
+
/** 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. */
|
|
2482
|
+
quotaUser?: string;
|
|
2483
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2484
|
+
upload_protocol?: string;
|
|
2485
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2486
|
+
uploadType?: string;
|
|
2487
|
+
}): Request<GoogleCloudDatacatalogV1beta1PolicyTag>;
|
|
2488
|
+
/** Gets the IAM policy for a taxonomy or a policy tag. */
|
|
2489
|
+
getIamPolicy(request: {
|
|
2490
|
+
/** V1 error format. */
|
|
2491
|
+
"$.xgafv"?: string;
|
|
2492
|
+
/** OAuth access token. */
|
|
2493
|
+
access_token?: string;
|
|
2494
|
+
/** Data format for response. */
|
|
2495
|
+
alt?: string;
|
|
2496
|
+
/** JSONP */
|
|
2497
|
+
callback?: string;
|
|
2498
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2499
|
+
fields?: string;
|
|
2500
|
+
/** 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. */
|
|
2501
|
+
key?: string;
|
|
2502
|
+
/** OAuth 2.0 token for the current user. */
|
|
2503
|
+
oauth_token?: string;
|
|
2504
|
+
/** Returns response with indentations and line breaks. */
|
|
2505
|
+
prettyPrint?: boolean;
|
|
2506
|
+
/** 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. */
|
|
2507
|
+
quotaUser?: string;
|
|
2508
|
+
/**
|
|
2509
|
+
* 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
|
|
2510
|
+
* field.
|
|
2511
|
+
*/
|
|
2512
|
+
resource: string;
|
|
2513
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2514
|
+
upload_protocol?: string;
|
|
2515
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2516
|
+
uploadType?: string;
|
|
2517
|
+
},
|
|
2518
|
+
body: GetIamPolicyRequest): Request<Policy>;
|
|
2519
|
+
/** Lists all policy tags in a taxonomy. */
|
|
2520
|
+
list(request?: {
|
|
2521
|
+
/** V1 error format. */
|
|
2522
|
+
"$.xgafv"?: string;
|
|
2523
|
+
/** OAuth access token. */
|
|
2524
|
+
access_token?: string;
|
|
2525
|
+
/** Data format for response. */
|
|
2526
|
+
alt?: string;
|
|
2527
|
+
/** JSONP */
|
|
2528
|
+
callback?: string;
|
|
2529
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2530
|
+
fields?: string;
|
|
2531
|
+
/** 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. */
|
|
2532
|
+
key?: string;
|
|
2533
|
+
/** OAuth 2.0 token for the current user. */
|
|
2534
|
+
oauth_token?: string;
|
|
2535
|
+
/** The maximum number of items to return. Must be a value between 1 and 1000. If not set, defaults to 50. */
|
|
2536
|
+
pageSize?: number;
|
|
2537
|
+
/** The next_page_token value returned from a previous List request, if any. If not set, defaults to an empty string. */
|
|
2538
|
+
pageToken?: string;
|
|
2539
|
+
/** Required. Resource name of the taxonomy to list the policy tags of. */
|
|
2540
|
+
parent: string;
|
|
2541
|
+
/** Returns response with indentations and line breaks. */
|
|
2542
|
+
prettyPrint?: boolean;
|
|
2543
|
+
/** 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. */
|
|
2544
|
+
quotaUser?: string;
|
|
2545
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2546
|
+
upload_protocol?: string;
|
|
2547
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2548
|
+
uploadType?: string;
|
|
2549
|
+
}): Request<GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse>;
|
|
2550
|
+
/** Updates a policy tag. */
|
|
2551
|
+
patch(request: {
|
|
2552
|
+
/** V1 error format. */
|
|
2553
|
+
"$.xgafv"?: string;
|
|
2554
|
+
/** OAuth access token. */
|
|
2555
|
+
access_token?: string;
|
|
2556
|
+
/** Data format for response. */
|
|
2557
|
+
alt?: string;
|
|
2558
|
+
/** JSONP */
|
|
2559
|
+
callback?: string;
|
|
2560
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2561
|
+
fields?: string;
|
|
2562
|
+
/** 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. */
|
|
2563
|
+
key?: string;
|
|
2564
|
+
/** Output only. Resource name of this policy tag, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}". */
|
|
2565
|
+
name: string;
|
|
2566
|
+
/** OAuth 2.0 token for the current user. */
|
|
2567
|
+
oauth_token?: string;
|
|
2568
|
+
/** Returns response with indentations and line breaks. */
|
|
2569
|
+
prettyPrint?: boolean;
|
|
2570
|
+
/** 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. */
|
|
2571
|
+
quotaUser?: string;
|
|
2572
|
+
/**
|
|
2573
|
+
* The update mask applies to the resource. Only display_name, description and parent_policy_tag can be updated and thus can be listed in the mask. If update_mask is not provided,
|
|
2574
|
+
* all allowed fields (i.e. display_name, description and parent) will be updated. For more information including the `FieldMask` definition, see
|
|
2575
|
+
* https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.
|
|
2576
|
+
*/
|
|
2577
|
+
updateMask?: string;
|
|
2578
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2579
|
+
upload_protocol?: string;
|
|
2580
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2581
|
+
uploadType?: string;
|
|
2582
|
+
/** Request body */
|
|
2583
|
+
resource: GoogleCloudDatacatalogV1beta1PolicyTag;
|
|
2584
|
+
}): Request<GoogleCloudDatacatalogV1beta1PolicyTag>;
|
|
2585
|
+
patch(request: {
|
|
2586
|
+
/** V1 error format. */
|
|
2587
|
+
"$.xgafv"?: string;
|
|
2588
|
+
/** OAuth access token. */
|
|
2589
|
+
access_token?: string;
|
|
2590
|
+
/** Data format for response. */
|
|
2591
|
+
alt?: string;
|
|
2592
|
+
/** JSONP */
|
|
2593
|
+
callback?: string;
|
|
2594
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2595
|
+
fields?: string;
|
|
2596
|
+
/** 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. */
|
|
2597
|
+
key?: string;
|
|
2598
|
+
/** Output only. Resource name of this policy tag, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}". */
|
|
2599
|
+
name: string;
|
|
2600
|
+
/** OAuth 2.0 token for the current user. */
|
|
2601
|
+
oauth_token?: string;
|
|
2602
|
+
/** Returns response with indentations and line breaks. */
|
|
2603
|
+
prettyPrint?: boolean;
|
|
2604
|
+
/** 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. */
|
|
2605
|
+
quotaUser?: string;
|
|
2606
|
+
/**
|
|
2607
|
+
* The update mask applies to the resource. Only display_name, description and parent_policy_tag can be updated and thus can be listed in the mask. If update_mask is not provided,
|
|
2608
|
+
* all allowed fields (i.e. display_name, description and parent) will be updated. For more information including the `FieldMask` definition, see
|
|
2609
|
+
* https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.
|
|
2610
|
+
*/
|
|
2611
|
+
updateMask?: string;
|
|
2612
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2613
|
+
upload_protocol?: string;
|
|
2614
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2615
|
+
uploadType?: string;
|
|
2616
|
+
},
|
|
2617
|
+
body: GoogleCloudDatacatalogV1beta1PolicyTag): Request<GoogleCloudDatacatalogV1beta1PolicyTag>;
|
|
2618
|
+
/** Sets the IAM policy for a taxonomy or a policy tag. */
|
|
2619
|
+
setIamPolicy(request: {
|
|
2620
|
+
/** V1 error format. */
|
|
2621
|
+
"$.xgafv"?: string;
|
|
2622
|
+
/** OAuth access token. */
|
|
2623
|
+
access_token?: string;
|
|
2624
|
+
/** Data format for response. */
|
|
2625
|
+
alt?: string;
|
|
2626
|
+
/** JSONP */
|
|
2627
|
+
callback?: string;
|
|
2628
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2629
|
+
fields?: string;
|
|
2630
|
+
/** 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. */
|
|
2631
|
+
key?: string;
|
|
2632
|
+
/** OAuth 2.0 token for the current user. */
|
|
2633
|
+
oauth_token?: string;
|
|
2634
|
+
/** Returns response with indentations and line breaks. */
|
|
2635
|
+
prettyPrint?: boolean;
|
|
2636
|
+
/** 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. */
|
|
2637
|
+
quotaUser?: string;
|
|
2638
|
+
/**
|
|
2639
|
+
* 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
|
|
2640
|
+
* field.
|
|
2641
|
+
*/
|
|
2642
|
+
resource: string;
|
|
2643
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2644
|
+
upload_protocol?: string;
|
|
2645
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2646
|
+
uploadType?: string;
|
|
2647
|
+
},
|
|
2648
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
2649
|
+
/** Returns the permissions that a caller has on the specified taxonomy or policy tag. */
|
|
2650
|
+
testIamPermissions(request: {
|
|
2651
|
+
/** V1 error format. */
|
|
2652
|
+
"$.xgafv"?: string;
|
|
2653
|
+
/** OAuth access token. */
|
|
2654
|
+
access_token?: string;
|
|
2655
|
+
/** Data format for response. */
|
|
2656
|
+
alt?: string;
|
|
2657
|
+
/** JSONP */
|
|
2658
|
+
callback?: string;
|
|
2659
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2660
|
+
fields?: string;
|
|
2661
|
+
/** 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. */
|
|
2662
|
+
key?: string;
|
|
2663
|
+
/** OAuth 2.0 token for the current user. */
|
|
2664
|
+
oauth_token?: string;
|
|
2665
|
+
/** Returns response with indentations and line breaks. */
|
|
2666
|
+
prettyPrint?: boolean;
|
|
2667
|
+
/** 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. */
|
|
2668
|
+
quotaUser?: string;
|
|
2669
|
+
/**
|
|
2670
|
+
* 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
|
|
2671
|
+
* this field.
|
|
2672
|
+
*/
|
|
2673
|
+
resource: string;
|
|
2674
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2675
|
+
upload_protocol?: string;
|
|
2676
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2677
|
+
uploadType?: string;
|
|
2678
|
+
},
|
|
2679
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
2680
|
+
}
|
|
2681
|
+
interface TaxonomiesResource {
|
|
2682
|
+
/** Creates a taxonomy in the specified project. */
|
|
2683
|
+
create(request: {
|
|
2684
|
+
/** V1 error format. */
|
|
2685
|
+
"$.xgafv"?: string;
|
|
2686
|
+
/** OAuth access token. */
|
|
2687
|
+
access_token?: string;
|
|
2688
|
+
/** Data format for response. */
|
|
2689
|
+
alt?: string;
|
|
2690
|
+
/** JSONP */
|
|
2691
|
+
callback?: string;
|
|
2692
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2693
|
+
fields?: string;
|
|
2694
|
+
/** 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. */
|
|
2695
|
+
key?: string;
|
|
2696
|
+
/** OAuth 2.0 token for the current user. */
|
|
2697
|
+
oauth_token?: string;
|
|
2698
|
+
/** Required. Resource name of the project that the taxonomy will belong to. */
|
|
2699
|
+
parent: string;
|
|
2700
|
+
/** Returns response with indentations and line breaks. */
|
|
2701
|
+
prettyPrint?: boolean;
|
|
2702
|
+
/** 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. */
|
|
2703
|
+
quotaUser?: string;
|
|
2704
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2705
|
+
upload_protocol?: string;
|
|
2706
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2707
|
+
uploadType?: string;
|
|
2708
|
+
/** Request body */
|
|
2709
|
+
resource: GoogleCloudDatacatalogV1beta1Taxonomy;
|
|
2710
|
+
}): Request<GoogleCloudDatacatalogV1beta1Taxonomy>;
|
|
2711
|
+
create(request: {
|
|
2712
|
+
/** V1 error format. */
|
|
2713
|
+
"$.xgafv"?: string;
|
|
2714
|
+
/** OAuth access token. */
|
|
2715
|
+
access_token?: string;
|
|
2716
|
+
/** Data format for response. */
|
|
2717
|
+
alt?: string;
|
|
2718
|
+
/** JSONP */
|
|
2719
|
+
callback?: string;
|
|
2720
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2721
|
+
fields?: string;
|
|
2722
|
+
/** 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. */
|
|
2723
|
+
key?: string;
|
|
2724
|
+
/** OAuth 2.0 token for the current user. */
|
|
2725
|
+
oauth_token?: string;
|
|
2726
|
+
/** Required. Resource name of the project that the taxonomy will belong to. */
|
|
2727
|
+
parent: string;
|
|
2728
|
+
/** Returns response with indentations and line breaks. */
|
|
2729
|
+
prettyPrint?: boolean;
|
|
2730
|
+
/** 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. */
|
|
2731
|
+
quotaUser?: string;
|
|
2732
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2733
|
+
upload_protocol?: string;
|
|
2734
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2735
|
+
uploadType?: string;
|
|
2736
|
+
},
|
|
2737
|
+
body: GoogleCloudDatacatalogV1beta1Taxonomy): Request<GoogleCloudDatacatalogV1beta1Taxonomy>;
|
|
2738
|
+
/** Deletes a taxonomy. This operation will also delete all policy tags in this taxonomy along with their associated policies. */
|
|
2739
|
+
delete(request?: {
|
|
2740
|
+
/** V1 error format. */
|
|
2741
|
+
"$.xgafv"?: string;
|
|
2742
|
+
/** OAuth access token. */
|
|
2743
|
+
access_token?: string;
|
|
2744
|
+
/** Data format for response. */
|
|
2745
|
+
alt?: string;
|
|
2746
|
+
/** JSONP */
|
|
2747
|
+
callback?: string;
|
|
2748
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2749
|
+
fields?: string;
|
|
2750
|
+
/** 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. */
|
|
2751
|
+
key?: string;
|
|
2752
|
+
/** Required. Resource name of the taxonomy to be deleted. All policy tags in this taxonomy will also be deleted. */
|
|
2753
|
+
name: string;
|
|
2754
|
+
/** OAuth 2.0 token for the current user. */
|
|
2755
|
+
oauth_token?: string;
|
|
2756
|
+
/** Returns response with indentations and line breaks. */
|
|
2757
|
+
prettyPrint?: boolean;
|
|
2758
|
+
/** 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. */
|
|
2759
|
+
quotaUser?: string;
|
|
2760
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2761
|
+
upload_protocol?: string;
|
|
2762
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2763
|
+
uploadType?: string;
|
|
2764
|
+
}): Request<{}>;
|
|
2765
|
+
/**
|
|
2766
|
+
* Exports all taxonomies and their policy tags in a project. This method generates SerializedTaxonomy protos with nested policy tags that can be used as an input for future
|
|
2767
|
+
* ImportTaxonomies calls.
|
|
2768
|
+
*/
|
|
2769
|
+
export(request?: {
|
|
2770
|
+
/** V1 error format. */
|
|
2771
|
+
"$.xgafv"?: string;
|
|
2772
|
+
/** OAuth access token. */
|
|
2773
|
+
access_token?: string;
|
|
2774
|
+
/** Data format for response. */
|
|
2775
|
+
alt?: string;
|
|
2776
|
+
/** JSONP */
|
|
2777
|
+
callback?: string;
|
|
2778
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2779
|
+
fields?: string;
|
|
2780
|
+
/** 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. */
|
|
2781
|
+
key?: string;
|
|
2782
|
+
/** OAuth 2.0 token for the current user. */
|
|
2783
|
+
oauth_token?: string;
|
|
2784
|
+
/** Required. Resource name of the project that taxonomies to be exported will share. */
|
|
2785
|
+
parent: string;
|
|
2786
|
+
/** Returns response with indentations and line breaks. */
|
|
2787
|
+
prettyPrint?: boolean;
|
|
2788
|
+
/** 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. */
|
|
2789
|
+
quotaUser?: string;
|
|
2790
|
+
/** Export taxonomies as serialized taxonomies. */
|
|
2791
|
+
serializedTaxonomies?: boolean;
|
|
2792
|
+
/** Required. Resource names of the taxonomies to be exported. */
|
|
2793
|
+
taxonomies?: string | 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
|
+
}): Request<GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse>;
|
|
2799
|
+
/** Gets a taxonomy. */
|
|
2800
|
+
get(request?: {
|
|
2801
|
+
/** V1 error format. */
|
|
2802
|
+
"$.xgafv"?: string;
|
|
2803
|
+
/** OAuth access token. */
|
|
2804
|
+
access_token?: string;
|
|
2805
|
+
/** Data format for response. */
|
|
2806
|
+
alt?: string;
|
|
2807
|
+
/** JSONP */
|
|
2808
|
+
callback?: string;
|
|
2809
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2810
|
+
fields?: string;
|
|
2811
|
+
/** 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. */
|
|
2812
|
+
key?: string;
|
|
2813
|
+
/** Required. Resource name of the requested taxonomy. */
|
|
2814
|
+
name: string;
|
|
2815
|
+
/** OAuth 2.0 token for the current user. */
|
|
2816
|
+
oauth_token?: string;
|
|
2817
|
+
/** Returns response with indentations and line breaks. */
|
|
2818
|
+
prettyPrint?: boolean;
|
|
2819
|
+
/** 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. */
|
|
2820
|
+
quotaUser?: string;
|
|
2821
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2822
|
+
upload_protocol?: string;
|
|
2823
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2824
|
+
uploadType?: string;
|
|
2825
|
+
}): Request<GoogleCloudDatacatalogV1beta1Taxonomy>;
|
|
2826
|
+
/** Gets the IAM policy for a taxonomy or a policy tag. */
|
|
2827
|
+
getIamPolicy(request: {
|
|
2828
|
+
/** V1 error format. */
|
|
2829
|
+
"$.xgafv"?: string;
|
|
2830
|
+
/** OAuth access token. */
|
|
2831
|
+
access_token?: string;
|
|
2832
|
+
/** Data format for response. */
|
|
2833
|
+
alt?: string;
|
|
2834
|
+
/** JSONP */
|
|
2835
|
+
callback?: string;
|
|
2836
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2837
|
+
fields?: string;
|
|
2838
|
+
/** 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. */
|
|
2839
|
+
key?: string;
|
|
2840
|
+
/** OAuth 2.0 token for the current user. */
|
|
2841
|
+
oauth_token?: string;
|
|
2842
|
+
/** Returns response with indentations and line breaks. */
|
|
2843
|
+
prettyPrint?: boolean;
|
|
2844
|
+
/** 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. */
|
|
2845
|
+
quotaUser?: string;
|
|
2846
|
+
/**
|
|
2847
|
+
* 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
|
|
2848
|
+
* field.
|
|
2849
|
+
*/
|
|
2850
|
+
resource: string;
|
|
2851
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2852
|
+
upload_protocol?: string;
|
|
2853
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2854
|
+
uploadType?: string;
|
|
2855
|
+
},
|
|
2856
|
+
body: GetIamPolicyRequest): Request<Policy>;
|
|
2857
|
+
/** Imports all taxonomies and their policy tags to a project as new taxonomies. This method provides a bulk taxonomy / policy tag creation using nested proto structure. */
|
|
2858
|
+
import(request: {
|
|
2859
|
+
/** V1 error format. */
|
|
2860
|
+
"$.xgafv"?: string;
|
|
2861
|
+
/** OAuth access token. */
|
|
2862
|
+
access_token?: string;
|
|
2863
|
+
/** Data format for response. */
|
|
2864
|
+
alt?: string;
|
|
2865
|
+
/** JSONP */
|
|
2866
|
+
callback?: string;
|
|
2867
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2868
|
+
fields?: string;
|
|
2869
|
+
/** 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. */
|
|
2870
|
+
key?: string;
|
|
2871
|
+
/** OAuth 2.0 token for the current user. */
|
|
2872
|
+
oauth_token?: string;
|
|
2873
|
+
/** Required. Resource name of project that the imported taxonomies will belong to. */
|
|
2874
|
+
parent: string;
|
|
2875
|
+
/** Returns response with indentations and line breaks. */
|
|
2876
|
+
prettyPrint?: boolean;
|
|
2877
|
+
/** 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. */
|
|
2878
|
+
quotaUser?: string;
|
|
2879
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2880
|
+
upload_protocol?: string;
|
|
2881
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2882
|
+
uploadType?: string;
|
|
2883
|
+
/** Request body */
|
|
2884
|
+
resource: GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest;
|
|
2885
|
+
}): Request<GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse>;
|
|
2886
|
+
import(request: {
|
|
2887
|
+
/** V1 error format. */
|
|
2888
|
+
"$.xgafv"?: string;
|
|
2889
|
+
/** OAuth access token. */
|
|
2890
|
+
access_token?: string;
|
|
2891
|
+
/** Data format for response. */
|
|
2892
|
+
alt?: string;
|
|
2893
|
+
/** JSONP */
|
|
2894
|
+
callback?: string;
|
|
2895
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2896
|
+
fields?: string;
|
|
2897
|
+
/** 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. */
|
|
2898
|
+
key?: string;
|
|
2899
|
+
/** OAuth 2.0 token for the current user. */
|
|
2900
|
+
oauth_token?: string;
|
|
2901
|
+
/** Required. Resource name of project that the imported taxonomies will belong to. */
|
|
2902
|
+
parent: string;
|
|
2903
|
+
/** Returns response with indentations and line breaks. */
|
|
2904
|
+
prettyPrint?: boolean;
|
|
2905
|
+
/** 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. */
|
|
2906
|
+
quotaUser?: string;
|
|
2907
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2908
|
+
upload_protocol?: string;
|
|
2909
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2910
|
+
uploadType?: string;
|
|
2911
|
+
},
|
|
2912
|
+
body: GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest): Request<GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse>;
|
|
2913
|
+
/** Lists all taxonomies in a project in a particular location that the caller has permission to view. */
|
|
2914
|
+
list(request?: {
|
|
2915
|
+
/** V1 error format. */
|
|
2916
|
+
"$.xgafv"?: string;
|
|
2917
|
+
/** OAuth access token. */
|
|
2918
|
+
access_token?: string;
|
|
2919
|
+
/** Data format for response. */
|
|
2920
|
+
alt?: string;
|
|
2921
|
+
/** JSONP */
|
|
2922
|
+
callback?: string;
|
|
2923
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2924
|
+
fields?: string;
|
|
2925
|
+
/** 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. */
|
|
2926
|
+
key?: string;
|
|
2927
|
+
/** OAuth 2.0 token for the current user. */
|
|
2928
|
+
oauth_token?: string;
|
|
2929
|
+
/** The maximum number of items to return. Must be a value between 1 and 1000. If not set, defaults to 50. */
|
|
2930
|
+
pageSize?: number;
|
|
2931
|
+
/** The next_page_token value returned from a previous list request, if any. If not set, defaults to an empty string. */
|
|
2932
|
+
pageToken?: string;
|
|
2933
|
+
/** Required. Resource name of the project to list the taxonomies of. */
|
|
2934
|
+
parent: string;
|
|
2935
|
+
/** Returns response with indentations and line breaks. */
|
|
2936
|
+
prettyPrint?: boolean;
|
|
2937
|
+
/** 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. */
|
|
2938
|
+
quotaUser?: string;
|
|
2939
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2940
|
+
upload_protocol?: string;
|
|
2941
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2942
|
+
uploadType?: string;
|
|
2943
|
+
}): Request<GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse>;
|
|
2944
|
+
/** Updates a taxonomy. */
|
|
2945
|
+
patch(request: {
|
|
2946
|
+
/** V1 error format. */
|
|
2947
|
+
"$.xgafv"?: string;
|
|
2948
|
+
/** OAuth access token. */
|
|
2949
|
+
access_token?: string;
|
|
2950
|
+
/** Data format for response. */
|
|
2951
|
+
alt?: string;
|
|
2952
|
+
/** JSONP */
|
|
2953
|
+
callback?: string;
|
|
2954
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2955
|
+
fields?: string;
|
|
2956
|
+
/** 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. */
|
|
2957
|
+
key?: string;
|
|
2958
|
+
/** Output only. Resource name of this taxonomy, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{id}". */
|
|
2959
|
+
name: string;
|
|
2960
|
+
/** OAuth 2.0 token for the current user. */
|
|
2961
|
+
oauth_token?: string;
|
|
2962
|
+
/** Returns response with indentations and line breaks. */
|
|
2963
|
+
prettyPrint?: boolean;
|
|
2964
|
+
/** 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. */
|
|
2965
|
+
quotaUser?: string;
|
|
2966
|
+
/**
|
|
2967
|
+
* The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set,
|
|
2968
|
+
* defaults to all of the fields that are allowed to update.
|
|
2969
|
+
*/
|
|
2970
|
+
updateMask?: string;
|
|
2971
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2972
|
+
upload_protocol?: string;
|
|
2973
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2974
|
+
uploadType?: string;
|
|
2975
|
+
/** Request body */
|
|
2976
|
+
resource: GoogleCloudDatacatalogV1beta1Taxonomy;
|
|
2977
|
+
}): Request<GoogleCloudDatacatalogV1beta1Taxonomy>;
|
|
2978
|
+
patch(request: {
|
|
2979
|
+
/** V1 error format. */
|
|
2980
|
+
"$.xgafv"?: string;
|
|
2981
|
+
/** OAuth access token. */
|
|
2982
|
+
access_token?: string;
|
|
2983
|
+
/** Data format for response. */
|
|
2984
|
+
alt?: string;
|
|
2985
|
+
/** JSONP */
|
|
2986
|
+
callback?: string;
|
|
2987
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2988
|
+
fields?: string;
|
|
2989
|
+
/** 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. */
|
|
2990
|
+
key?: string;
|
|
2991
|
+
/** Output only. Resource name of this taxonomy, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{id}". */
|
|
2992
|
+
name: string;
|
|
2993
|
+
/** OAuth 2.0 token for the current user. */
|
|
2994
|
+
oauth_token?: string;
|
|
2995
|
+
/** Returns response with indentations and line breaks. */
|
|
2996
|
+
prettyPrint?: boolean;
|
|
2997
|
+
/** 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. */
|
|
2998
|
+
quotaUser?: string;
|
|
2999
|
+
/**
|
|
3000
|
+
* The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set,
|
|
3001
|
+
* defaults to all of the fields that are allowed to update.
|
|
3002
|
+
*/
|
|
3003
|
+
updateMask?: string;
|
|
3004
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3005
|
+
upload_protocol?: string;
|
|
3006
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3007
|
+
uploadType?: string;
|
|
3008
|
+
},
|
|
3009
|
+
body: GoogleCloudDatacatalogV1beta1Taxonomy): Request<GoogleCloudDatacatalogV1beta1Taxonomy>;
|
|
3010
|
+
/** Sets the IAM policy for a taxonomy or a policy tag. */
|
|
3011
|
+
setIamPolicy(request: {
|
|
3012
|
+
/** V1 error format. */
|
|
3013
|
+
"$.xgafv"?: string;
|
|
3014
|
+
/** OAuth access token. */
|
|
3015
|
+
access_token?: string;
|
|
3016
|
+
/** Data format for response. */
|
|
3017
|
+
alt?: string;
|
|
3018
|
+
/** JSONP */
|
|
3019
|
+
callback?: string;
|
|
3020
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3021
|
+
fields?: string;
|
|
3022
|
+
/** 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. */
|
|
3023
|
+
key?: string;
|
|
3024
|
+
/** OAuth 2.0 token for the current user. */
|
|
3025
|
+
oauth_token?: string;
|
|
3026
|
+
/** Returns response with indentations and line breaks. */
|
|
3027
|
+
prettyPrint?: boolean;
|
|
3028
|
+
/** 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. */
|
|
3029
|
+
quotaUser?: string;
|
|
3030
|
+
/**
|
|
3031
|
+
* 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
|
|
3032
|
+
* field.
|
|
3033
|
+
*/
|
|
3034
|
+
resource: string;
|
|
3035
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3036
|
+
upload_protocol?: string;
|
|
3037
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3038
|
+
uploadType?: string;
|
|
3039
|
+
},
|
|
3040
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
3041
|
+
/** Returns the permissions that a caller has on the specified taxonomy or policy tag. */
|
|
3042
|
+
testIamPermissions(request: {
|
|
3043
|
+
/** V1 error format. */
|
|
3044
|
+
"$.xgafv"?: string;
|
|
3045
|
+
/** OAuth access token. */
|
|
3046
|
+
access_token?: string;
|
|
3047
|
+
/** Data format for response. */
|
|
3048
|
+
alt?: string;
|
|
3049
|
+
/** JSONP */
|
|
3050
|
+
callback?: string;
|
|
3051
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3052
|
+
fields?: string;
|
|
3053
|
+
/** 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. */
|
|
3054
|
+
key?: string;
|
|
3055
|
+
/** OAuth 2.0 token for the current user. */
|
|
3056
|
+
oauth_token?: string;
|
|
3057
|
+
/** Returns response with indentations and line breaks. */
|
|
3058
|
+
prettyPrint?: boolean;
|
|
3059
|
+
/** 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. */
|
|
3060
|
+
quotaUser?: string;
|
|
3061
|
+
/**
|
|
3062
|
+
* 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
|
|
3063
|
+
* this field.
|
|
3064
|
+
*/
|
|
3065
|
+
resource: string;
|
|
3066
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3067
|
+
upload_protocol?: string;
|
|
3068
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3069
|
+
uploadType?: string;
|
|
3070
|
+
},
|
|
3071
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
3072
|
+
policyTags: PolicyTagsResource;
|
|
3073
|
+
}
|
|
3074
|
+
interface LocationsResource {
|
|
3075
|
+
entryGroups: EntryGroupsResource;
|
|
3076
|
+
tagTemplates: TagTemplatesResource;
|
|
3077
|
+
taxonomies: TaxonomiesResource;
|
|
3078
|
+
}
|
|
3079
|
+
interface ProjectsResource {
|
|
3080
|
+
locations: LocationsResource;
|
|
3081
|
+
}
|
|
3082
|
+
|
|
3083
|
+
const catalog: CatalogResource;
|
|
3084
|
+
|
|
3085
|
+
const entries: EntriesResource;
|
|
3086
|
+
|
|
3087
|
+
const projects: ProjectsResource;
|
|
3088
|
+
}
|
|
3089
|
+
}
|