public abstract class DataCatalogClientDataCatalog client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.DataCatalog.V1Assembly
Google.Cloud.DataCatalog.V1.dll
Remarks
Data Catalog API service allows clients to discover, understand, and manage their data.
Properties
DefaultEndpoint
public static string DefaultEndpoint { get; }The default endpoint for the DataCatalog service, which is a host of "datacatalog.googleapis.com" and a port of 443.
| Property Value | |
|---|---|
| Type | Description |
String |
|
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }The default DataCatalog scopes.
| Property Value | |
|---|---|
| Type | Description |
IReadOnlyList<String> |
|
The default DataCatalog scopes are:
GrpcClient
public virtual DataCatalog.DataCatalogClient GrpcClient { get; }The underlying gRPC DataCatalog client
| Property Value | |
|---|---|
| Type | Description |
DataCatalog.DataCatalogClient |
|
Methods
Create()
public static DataCatalogClient Create()Synchronously creates a DataCatalogClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use DataCatalogClientBuilder.
| Returns | |
|---|---|
| Type | Description |
DataCatalogClient |
The created DataCatalogClient. |
CreateAsync(CancellationToken)
public static Task<DataCatalogClient> CreateAsync(CancellationToken cancellationToken = default(CancellationToken))Asynchronously creates a DataCatalogClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use DataCatalogClientBuilder.
| Parameter | |
|---|---|
| Name | Description |
cancellationToken |
CancellationTokenThe CancellationToken to use while creating the client. |
| Returns | |
|---|---|
| Type | Description |
Task<DataCatalogClient> |
The task representing the created DataCatalogClient. |
CreateEntry(CreateEntryRequest, CallSettings)
public virtual Entry CreateEntry(CreateEntryRequest request, CallSettings callSettings = null)Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM' or with a user-specified type can be created.
Users should enable the Data Catalog API in the project identified by
the parent parameter (see Data Catalog Resource Project for
more information).
A maximum of 100,000 entries may be created per entry group.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
CreateEntryRequest request = new CreateEntryRequest
{
ParentAsEntryGroupName = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
Entry = new Entry(),
EntryId = "",
};
// Make the request
Entry response = dataCatalogClient.CreateEntry(request);
CreateEntry(EntryGroupName, String, Entry, CallSettings)
public virtual Entry CreateEntry(EntryGroupName parent, string entryId, Entry entry, CallSettings callSettings = null)Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM' or with a user-specified type can be created.
Users should enable the Data Catalog API in the project identified by
the parent parameter (see Data Catalog Resource Project for
more information).
A maximum of 100,000 entries may be created per entry group.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The name of the entry group this entry belongs to. Example:
Note: The entry itself and its child resources might not be stored in the location specified in its name. |
entryId |
StringRequired. The ID of the entry to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8. |
entry |
EntryRequired. The entry to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
EntryGroupName parent = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
string entryId = "";
Entry entry = new Entry();
// Make the request
Entry response = dataCatalogClient.CreateEntry(parent, entryId, entry);
CreateEntry(String, String, Entry, CallSettings)
public virtual Entry CreateEntry(string parent, string entryId, Entry entry, CallSettings callSettings = null)Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM' or with a user-specified type can be created.
Users should enable the Data Catalog API in the project identified by
the parent parameter (see Data Catalog Resource Project for
more information).
A maximum of 100,000 entries may be created per entry group.
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the entry group this entry belongs to. Example:
Note: The entry itself and its child resources might not be stored in the location specified in its name. |
entryId |
StringRequired. The ID of the entry to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8. |
entry |
EntryRequired. The entry to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
string entryId = "";
Entry entry = new Entry();
// Make the request
Entry response = dataCatalogClient.CreateEntry(parent, entryId, entry);
CreateEntryAsync(CreateEntryRequest, CallSettings)
public virtual Task<Entry> CreateEntryAsync(CreateEntryRequest request, CallSettings callSettings = null)Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM' or with a user-specified type can be created.
Users should enable the Data Catalog API in the project identified by
the parent parameter (see Data Catalog Resource Project for
more information).
A maximum of 100,000 entries may be created per entry group.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
CreateEntryRequest request = new CreateEntryRequest
{
ParentAsEntryGroupName = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
Entry = new Entry(),
EntryId = "",
};
// Make the request
Entry response = await dataCatalogClient.CreateEntryAsync(request);
CreateEntryAsync(CreateEntryRequest, CancellationToken)
public virtual Task<Entry> CreateEntryAsync(CreateEntryRequest request, CancellationToken cancellationToken)Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM' or with a user-specified type can be created.
Users should enable the Data Catalog API in the project identified by
the parent parameter (see Data Catalog Resource Project for
more information).
A maximum of 100,000 entries may be created per entry group.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
CreateEntryRequest request = new CreateEntryRequest
{
ParentAsEntryGroupName = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
Entry = new Entry(),
EntryId = "",
};
// Make the request
Entry response = await dataCatalogClient.CreateEntryAsync(request);
CreateEntryAsync(EntryGroupName, String, Entry, CallSettings)
public virtual Task<Entry> CreateEntryAsync(EntryGroupName parent, string entryId, Entry entry, CallSettings callSettings = null)Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM' or with a user-specified type can be created.
Users should enable the Data Catalog API in the project identified by
the parent parameter (see Data Catalog Resource Project for
more information).
A maximum of 100,000 entries may be created per entry group.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The name of the entry group this entry belongs to. Example:
Note: The entry itself and its child resources might not be stored in the location specified in its name. |
entryId |
StringRequired. The ID of the entry to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8. |
entry |
EntryRequired. The entry to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryGroupName parent = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
string entryId = "";
Entry entry = new Entry();
// Make the request
Entry response = await dataCatalogClient.CreateEntryAsync(parent, entryId, entry);
CreateEntryAsync(EntryGroupName, String, Entry, CancellationToken)
public virtual Task<Entry> CreateEntryAsync(EntryGroupName parent, string entryId, Entry entry, CancellationToken cancellationToken)Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM' or with a user-specified type can be created.
Users should enable the Data Catalog API in the project identified by
the parent parameter (see Data Catalog Resource Project for
more information).
A maximum of 100,000 entries may be created per entry group.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The name of the entry group this entry belongs to. Example:
Note: The entry itself and its child resources might not be stored in the location specified in its name. |
entryId |
StringRequired. The ID of the entry to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8. |
entry |
EntryRequired. The entry to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryGroupName parent = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
string entryId = "";
Entry entry = new Entry();
// Make the request
Entry response = await dataCatalogClient.CreateEntryAsync(parent, entryId, entry);
CreateEntryAsync(String, String, Entry, CallSettings)
public virtual Task<Entry> CreateEntryAsync(string parent, string entryId, Entry entry, CallSettings callSettings = null)Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM' or with a user-specified type can be created.
Users should enable the Data Catalog API in the project identified by
the parent parameter (see Data Catalog Resource Project for
more information).
A maximum of 100,000 entries may be created per entry group.
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the entry group this entry belongs to. Example:
Note: The entry itself and its child resources might not be stored in the location specified in its name. |
entryId |
StringRequired. The ID of the entry to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8. |
entry |
EntryRequired. The entry to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
string entryId = "";
Entry entry = new Entry();
// Make the request
Entry response = await dataCatalogClient.CreateEntryAsync(parent, entryId, entry);
CreateEntryAsync(String, String, Entry, CancellationToken)
public virtual Task<Entry> CreateEntryAsync(string parent, string entryId, Entry entry, CancellationToken cancellationToken)Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM' or with a user-specified type can be created.
Users should enable the Data Catalog API in the project identified by
the parent parameter (see Data Catalog Resource Project for
more information).
A maximum of 100,000 entries may be created per entry group.
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the entry group this entry belongs to. Example:
Note: The entry itself and its child resources might not be stored in the location specified in its name. |
entryId |
StringRequired. The ID of the entry to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8. |
entry |
EntryRequired. The entry to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
string entryId = "";
Entry entry = new Entry();
// Make the request
Entry response = await dataCatalogClient.CreateEntryAsync(parent, entryId, entry);
CreateEntryGroup(LocationName, String, EntryGroup, CallSettings)
public virtual EntryGroup CreateEntryGroup(LocationName parent, string entryGroupId, EntryGroup entryGroup, CallSettings callSettings = null)Creates an EntryGroup.
An entry group contains logically related entries together with Cloud Identity and Access Management policies that specify the users who can create, edit, and view entries within the entry group.
Data Catalog automatically creates an entry group for BigQuery entries ("@bigquery") and Pub/Sub topics ("@pubsub"). Users create their own entry group to contain Cloud Storage fileset entries or custom type entries, and the IAM policies associated with those entries. Entry groups, like entries, can be searched.
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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The name of the project this entry group belongs to. Example:
Note: The entry group itself and its child resources might not be stored in the location specified in its name. |
entryGroupId |
StringRequired. The ID of the entry group to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. |
entryGroup |
EntryGroupThe entry group to create. Defaults to an empty entry group. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryGroup |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string entryGroupId = "";
EntryGroup entryGroup = new EntryGroup();
// Make the request
EntryGroup response = dataCatalogClient.CreateEntryGroup(parent, entryGroupId, entryGroup);
CreateEntryGroup(CreateEntryGroupRequest, CallSettings)
public virtual EntryGroup CreateEntryGroup(CreateEntryGroupRequest request, CallSettings callSettings = null)Creates an EntryGroup.
An entry group contains logically related entries together with Cloud Identity and Access Management policies that specify the users who can create, edit, and view entries within the entry group.
Data Catalog automatically creates an entry group for BigQuery entries ("@bigquery") and Pub/Sub topics ("@pubsub"). Users create their own entry group to contain Cloud Storage fileset entries or custom type entries, and the IAM policies associated with those entries. Entry groups, like entries, can be searched.
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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryGroup |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
CreateEntryGroupRequest request = new CreateEntryGroupRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
EntryGroup = new EntryGroup(),
EntryGroupId = "",
};
// Make the request
EntryGroup response = dataCatalogClient.CreateEntryGroup(request);
CreateEntryGroup(String, String, EntryGroup, CallSettings)
public virtual EntryGroup CreateEntryGroup(string parent, string entryGroupId, EntryGroup entryGroup, CallSettings callSettings = null)Creates an EntryGroup.
An entry group contains logically related entries together with Cloud Identity and Access Management policies that specify the users who can create, edit, and view entries within the entry group.
Data Catalog automatically creates an entry group for BigQuery entries ("@bigquery") and Pub/Sub topics ("@pubsub"). Users create their own entry group to contain Cloud Storage fileset entries or custom type entries, and the IAM policies associated with those entries. Entry groups, like entries, can be searched.
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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the project this entry group belongs to. Example:
Note: The entry group itself and its child resources might not be stored in the location specified in its name. |
entryGroupId |
StringRequired. The ID of the entry group to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. |
entryGroup |
EntryGroupThe entry group to create. Defaults to an empty entry group. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryGroup |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
string entryGroupId = "";
EntryGroup entryGroup = new EntryGroup();
// Make the request
EntryGroup response = dataCatalogClient.CreateEntryGroup(parent, entryGroupId, entryGroup);
CreateEntryGroupAsync(LocationName, String, EntryGroup, CallSettings)
public virtual Task<EntryGroup> CreateEntryGroupAsync(LocationName parent, string entryGroupId, EntryGroup entryGroup, CallSettings callSettings = null)Creates an EntryGroup.
An entry group contains logically related entries together with Cloud Identity and Access Management policies that specify the users who can create, edit, and view entries within the entry group.
Data Catalog automatically creates an entry group for BigQuery entries ("@bigquery") and Pub/Sub topics ("@pubsub"). Users create their own entry group to contain Cloud Storage fileset entries or custom type entries, and the IAM policies associated with those entries. Entry groups, like entries, can be searched.
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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The name of the project this entry group belongs to. Example:
Note: The entry group itself and its child resources might not be stored in the location specified in its name. |
entryGroupId |
StringRequired. The ID of the entry group to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. |
entryGroup |
EntryGroupThe entry group to create. Defaults to an empty entry group. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string entryGroupId = "";
EntryGroup entryGroup = new EntryGroup();
// Make the request
EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(parent, entryGroupId, entryGroup);
CreateEntryGroupAsync(LocationName, String, EntryGroup, CancellationToken)
public virtual Task<EntryGroup> CreateEntryGroupAsync(LocationName parent, string entryGroupId, EntryGroup entryGroup, CancellationToken cancellationToken)Creates an EntryGroup.
An entry group contains logically related entries together with Cloud Identity and Access Management policies that specify the users who can create, edit, and view entries within the entry group.
Data Catalog automatically creates an entry group for BigQuery entries ("@bigquery") and Pub/Sub topics ("@pubsub"). Users create their own entry group to contain Cloud Storage fileset entries or custom type entries, and the IAM policies associated with those entries. Entry groups, like entries, can be searched.
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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The name of the project this entry group belongs to. Example:
Note: The entry group itself and its child resources might not be stored in the location specified in its name. |
entryGroupId |
StringRequired. The ID of the entry group to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. |
entryGroup |
EntryGroupThe entry group to create. Defaults to an empty entry group. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string entryGroupId = "";
EntryGroup entryGroup = new EntryGroup();
// Make the request
EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(parent, entryGroupId, entryGroup);
CreateEntryGroupAsync(CreateEntryGroupRequest, CallSettings)
public virtual Task<EntryGroup> CreateEntryGroupAsync(CreateEntryGroupRequest request, CallSettings callSettings = null)Creates an EntryGroup.
An entry group contains logically related entries together with Cloud Identity and Access Management policies that specify the users who can create, edit, and view entries within the entry group.
Data Catalog automatically creates an entry group for BigQuery entries ("@bigquery") and Pub/Sub topics ("@pubsub"). Users create their own entry group to contain Cloud Storage fileset entries or custom type entries, and the IAM policies associated with those entries. Entry groups, like entries, can be searched.
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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
CreateEntryGroupRequest request = new CreateEntryGroupRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
EntryGroup = new EntryGroup(),
EntryGroupId = "",
};
// Make the request
EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(request);
CreateEntryGroupAsync(CreateEntryGroupRequest, CancellationToken)
public virtual Task<EntryGroup> CreateEntryGroupAsync(CreateEntryGroupRequest request, CancellationToken cancellationToken)Creates an EntryGroup.
An entry group contains logically related entries together with Cloud Identity and Access Management policies that specify the users who can create, edit, and view entries within the entry group.
Data Catalog automatically creates an entry group for BigQuery entries ("@bigquery") and Pub/Sub topics ("@pubsub"). Users create their own entry group to contain Cloud Storage fileset entries or custom type entries, and the IAM policies associated with those entries. Entry groups, like entries, can be searched.
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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEntryGroupRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
CreateEntryGroupRequest request = new CreateEntryGroupRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
EntryGroup = new EntryGroup(),
EntryGroupId = "",
};
// Make the request
EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(request);
CreateEntryGroupAsync(String, String, EntryGroup, CallSettings)
public virtual Task<EntryGroup> CreateEntryGroupAsync(string parent, string entryGroupId, EntryGroup entryGroup, CallSettings callSettings = null)Creates an EntryGroup.
An entry group contains logically related entries together with Cloud Identity and Access Management policies that specify the users who can create, edit, and view entries within the entry group.
Data Catalog automatically creates an entry group for BigQuery entries ("@bigquery") and Pub/Sub topics ("@pubsub"). Users create their own entry group to contain Cloud Storage fileset entries or custom type entries, and the IAM policies associated with those entries. Entry groups, like entries, can be searched.
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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the project this entry group belongs to. Example:
Note: The entry group itself and its child resources might not be stored in the location specified in its name. |
entryGroupId |
StringRequired. The ID of the entry group to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. |
entryGroup |
EntryGroupThe entry group to create. Defaults to an empty entry group. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
string entryGroupId = "";
EntryGroup entryGroup = new EntryGroup();
// Make the request
EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(parent, entryGroupId, entryGroup);
CreateEntryGroupAsync(String, String, EntryGroup, CancellationToken)
public virtual Task<EntryGroup> CreateEntryGroupAsync(string parent, string entryGroupId, EntryGroup entryGroup, CancellationToken cancellationToken)Creates an EntryGroup.
An entry group contains logically related entries together with Cloud Identity and Access Management policies that specify the users who can create, edit, and view entries within the entry group.
Data Catalog automatically creates an entry group for BigQuery entries ("@bigquery") and Pub/Sub topics ("@pubsub"). Users create their own entry group to contain Cloud Storage fileset entries or custom type entries, and the IAM policies associated with those entries. Entry groups, like entries, can be searched.
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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the project this entry group belongs to. Example:
Note: The entry group itself and its child resources might not be stored in the location specified in its name. |
entryGroupId |
StringRequired. The ID of the entry group to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. |
entryGroup |
EntryGroupThe entry group to create. Defaults to an empty entry group. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
string entryGroupId = "";
EntryGroup entryGroup = new EntryGroup();
// Make the request
EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(parent, entryGroupId, entryGroup);
CreateTag(CreateTagRequest, CallSettings)
public virtual Tag CreateTag(CreateTagRequest request, CallSettings callSettings = null)Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry].
Note: The project identified by the parent parameter for the
tag
and the
tag
template
used to create the tag must be from the same organization.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTagRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Tag |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
CreateTagRequest request = new CreateTagRequest
{
ParentAsTagName = TagName.FromProjectLocationEntryGroupEntryTag("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]"),
Tag = new Tag(),
};
// Make the request
Tag response = dataCatalogClient.CreateTag(request);
CreateTag(TagName, Tag, CallSettings)
public virtual Tag CreateTag(TagName parent, Tag tag, CallSettings callSettings = null)Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry].
Note: The project identified by the parent parameter for the
tag
and the
tag
template
used to create the tag must be from the same organization.
| Parameters | |
|---|---|
| Name | Description |
parent |
TagNameRequired. The name of the resource to attach this tag to. Tags can be attached to entries. An entry can have up to 1000 attached tags. Example:
Note: The tag and its child resources might not be stored in the location specified in its name. |
tag |
TagRequired. The tag to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Tag |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
TagName parent = TagName.FromProjectLocationEntryGroupEntryTag("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]");
Tag tag = new Tag();
// Make the request
Tag response = dataCatalogClient.CreateTag(parent, tag);
CreateTag(String, Tag, CallSettings)
public virtual Tag CreateTag(string parent, Tag tag, CallSettings callSettings = null)Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry].
Note: The project identified by the parent parameter for the
tag
and the
tag
template
used to create the tag must be from the same organization.
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the resource to attach this tag to. Tags can be attached to entries. An entry can have up to 1000 attached tags. Example:
Note: The tag and its child resources might not be stored in the location specified in its name. |
tag |
TagRequired. The tag to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Tag |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]/tags/[TAG]";
Tag tag = new Tag();
// Make the request
Tag response = dataCatalogClient.CreateTag(parent, tag);
CreateTagAsync(CreateTagRequest, CallSettings)
public virtual Task<Tag> CreateTagAsync(CreateTagRequest request, CallSettings callSettings = null)Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry].
Note: The project identified by the parent parameter for the
tag
and the
tag
template
used to create the tag must be from the same organization.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTagRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Tag> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
CreateTagRequest request = new CreateTagRequest
{
ParentAsTagName = TagName.FromProjectLocationEntryGroupEntryTag("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]"),
Tag = new Tag(),
};
// Make the request
Tag response = await dataCatalogClient.CreateTagAsync(request);
CreateTagAsync(CreateTagRequest, CancellationToken)
public virtual Task<Tag> CreateTagAsync(CreateTagRequest request, CancellationToken cancellationToken)Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry].
Note: The project identified by the parent parameter for the
tag
and the
tag
template
used to create the tag must be from the same organization.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTagRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Tag> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
CreateTagRequest request = new CreateTagRequest
{
ParentAsTagName = TagName.FromProjectLocationEntryGroupEntryTag("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]"),
Tag = new Tag(),
};
// Make the request
Tag response = await dataCatalogClient.CreateTagAsync(request);
CreateTagAsync(TagName, Tag, CallSettings)
public virtual Task<Tag> CreateTagAsync(TagName parent, Tag tag, CallSettings callSettings = null)Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry].
Note: The project identified by the parent parameter for the
tag
and the
tag
template
used to create the tag must be from the same organization.
| Parameters | |
|---|---|
| Name | Description |
parent |
TagNameRequired. The name of the resource to attach this tag to. Tags can be attached to entries. An entry can have up to 1000 attached tags. Example:
Note: The tag and its child resources might not be stored in the location specified in its name. |
tag |
TagRequired. The tag to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Tag> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagName parent = TagName.FromProjectLocationEntryGroupEntryTag("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]");
Tag tag = new Tag();
// Make the request
Tag response = await dataCatalogClient.CreateTagAsync(parent, tag);
CreateTagAsync(TagName, Tag, CancellationToken)
public virtual Task<Tag> CreateTagAsync(TagName parent, Tag tag, CancellationToken cancellationToken)Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry].
Note: The project identified by the parent parameter for the
tag
and the
tag
template
used to create the tag must be from the same organization.
| Parameters | |
|---|---|
| Name | Description |
parent |
TagNameRequired. The name of the resource to attach this tag to. Tags can be attached to entries. An entry can have up to 1000 attached tags. Example:
Note: The tag and its child resources might not be stored in the location specified in its name. |
tag |
TagRequired. The tag to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Tag> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagName parent = TagName.FromProjectLocationEntryGroupEntryTag("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]");
Tag tag = new Tag();
// Make the request
Tag response = await dataCatalogClient.CreateTagAsync(parent, tag);
CreateTagAsync(String, Tag, CallSettings)
public virtual Task<Tag> CreateTagAsync(string parent, Tag tag, CallSettings callSettings = null)Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry].
Note: The project identified by the parent parameter for the
tag
and the
tag
template
used to create the tag must be from the same organization.
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the resource to attach this tag to. Tags can be attached to entries. An entry can have up to 1000 attached tags. Example:
Note: The tag and its child resources might not be stored in the location specified in its name. |
tag |
TagRequired. The tag to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Tag> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]/tags/[TAG]";
Tag tag = new Tag();
// Make the request
Tag response = await dataCatalogClient.CreateTagAsync(parent, tag);
CreateTagAsync(String, Tag, CancellationToken)
public virtual Task<Tag> CreateTagAsync(string parent, Tag tag, CancellationToken cancellationToken)Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry].
Note: The project identified by the parent parameter for the
tag
and the
tag
template
used to create the tag must be from the same organization.
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the resource to attach this tag to. Tags can be attached to entries. An entry can have up to 1000 attached tags. Example:
Note: The tag and its child resources might not be stored in the location specified in its name. |
tag |
TagRequired. The tag to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Tag> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]/tags/[TAG]";
Tag tag = new Tag();
// Make the request
Tag response = await dataCatalogClient.CreateTagAsync(parent, tag);
CreateTagTemplate(LocationName, String, TagTemplate, CallSettings)
public virtual TagTemplate CreateTagTemplate(LocationName parent, string tagTemplateId, TagTemplate tagTemplate, CallSettings callSettings = null)Creates a tag template. The user should enable the Data Catalog API in
the project identified by the parent parameter (see Data Catalog
Resource
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The name of the project and the template location region. Example:
|
tagTemplateId |
StringRequired. The ID of the tag template to create. The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. |
tagTemplate |
TagTemplateRequired. The tag template to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplate |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string tagTemplateId = "";
TagTemplate tagTemplate = new TagTemplate();
// Make the request
TagTemplate response = dataCatalogClient.CreateTagTemplate(parent, tagTemplateId, tagTemplate);
CreateTagTemplate(CreateTagTemplateRequest, CallSettings)
public virtual TagTemplate CreateTagTemplate(CreateTagTemplateRequest request, CallSettings callSettings = null)Creates a tag template. The user should enable the Data Catalog API in
the project identified by the parent parameter (see Data Catalog
Resource
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTagTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplate |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
CreateTagTemplateRequest request = new CreateTagTemplateRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
TagTemplate = new TagTemplate(),
TagTemplateId = "",
};
// Make the request
TagTemplate response = dataCatalogClient.CreateTagTemplate(request);
CreateTagTemplate(String, String, TagTemplate, CallSettings)
public virtual TagTemplate CreateTagTemplate(string parent, string tagTemplateId, TagTemplate tagTemplate, CallSettings callSettings = null)Creates a tag template. The user should enable the Data Catalog API in
the project identified by the parent parameter (see Data Catalog
Resource
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the project and the template location region. Example:
|
tagTemplateId |
StringRequired. The ID of the tag template to create. The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. |
tagTemplate |
TagTemplateRequired. The tag template to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplate |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
string tagTemplateId = "";
TagTemplate tagTemplate = new TagTemplate();
// Make the request
TagTemplate response = dataCatalogClient.CreateTagTemplate(parent, tagTemplateId, tagTemplate);
CreateTagTemplateAsync(LocationName, String, TagTemplate, CallSettings)
public virtual Task<TagTemplate> CreateTagTemplateAsync(LocationName parent, string tagTemplateId, TagTemplate tagTemplate, CallSettings callSettings = null)Creates a tag template. The user should enable the Data Catalog API in
the project identified by the parent parameter (see Data Catalog
Resource
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The name of the project and the template location region. Example:
|
tagTemplateId |
StringRequired. The ID of the tag template to create. The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. |
tagTemplate |
TagTemplateRequired. The tag template to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string tagTemplateId = "";
TagTemplate tagTemplate = new TagTemplate();
// Make the request
TagTemplate response = await dataCatalogClient.CreateTagTemplateAsync(parent, tagTemplateId, tagTemplate);
CreateTagTemplateAsync(LocationName, String, TagTemplate, CancellationToken)
public virtual Task<TagTemplate> CreateTagTemplateAsync(LocationName parent, string tagTemplateId, TagTemplate tagTemplate, CancellationToken cancellationToken)Creates a tag template. The user should enable the Data Catalog API in
the project identified by the parent parameter (see Data Catalog
Resource
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The name of the project and the template location region. Example:
|
tagTemplateId |
StringRequired. The ID of the tag template to create. The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. |
tagTemplate |
TagTemplateRequired. The tag template to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string tagTemplateId = "";
TagTemplate tagTemplate = new TagTemplate();
// Make the request
TagTemplate response = await dataCatalogClient.CreateTagTemplateAsync(parent, tagTemplateId, tagTemplate);
CreateTagTemplateAsync(CreateTagTemplateRequest, CallSettings)
public virtual Task<TagTemplate> CreateTagTemplateAsync(CreateTagTemplateRequest request, CallSettings callSettings = null)Creates a tag template. The user should enable the Data Catalog API in
the project identified by the parent parameter (see Data Catalog
Resource
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTagTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
CreateTagTemplateRequest request = new CreateTagTemplateRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
TagTemplate = new TagTemplate(),
TagTemplateId = "",
};
// Make the request
TagTemplate response = await dataCatalogClient.CreateTagTemplateAsync(request);
CreateTagTemplateAsync(CreateTagTemplateRequest, CancellationToken)
public virtual Task<TagTemplate> CreateTagTemplateAsync(CreateTagTemplateRequest request, CancellationToken cancellationToken)Creates a tag template. The user should enable the Data Catalog API in
the project identified by the parent parameter (see Data Catalog
Resource
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTagTemplateRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
CreateTagTemplateRequest request = new CreateTagTemplateRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
TagTemplate = new TagTemplate(),
TagTemplateId = "",
};
// Make the request
TagTemplate response = await dataCatalogClient.CreateTagTemplateAsync(request);
CreateTagTemplateAsync(String, String, TagTemplate, CallSettings)
public virtual Task<TagTemplate> CreateTagTemplateAsync(string parent, string tagTemplateId, TagTemplate tagTemplate, CallSettings callSettings = null)Creates a tag template. The user should enable the Data Catalog API in
the project identified by the parent parameter (see Data Catalog
Resource
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the project and the template location region. Example:
|
tagTemplateId |
StringRequired. The ID of the tag template to create. The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. |
tagTemplate |
TagTemplateRequired. The tag template to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
string tagTemplateId = "";
TagTemplate tagTemplate = new TagTemplate();
// Make the request
TagTemplate response = await dataCatalogClient.CreateTagTemplateAsync(parent, tagTemplateId, tagTemplate);
CreateTagTemplateAsync(String, String, TagTemplate, CancellationToken)
public virtual Task<TagTemplate> CreateTagTemplateAsync(string parent, string tagTemplateId, TagTemplate tagTemplate, CancellationToken cancellationToken)Creates a tag template. The user should enable the Data Catalog API in
the project identified by the parent parameter (see Data Catalog
Resource
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the project and the template location region. Example:
|
tagTemplateId |
StringRequired. The ID of the tag template to create. The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. |
tagTemplate |
TagTemplateRequired. The tag template to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
string tagTemplateId = "";
TagTemplate tagTemplate = new TagTemplate();
// Make the request
TagTemplate response = await dataCatalogClient.CreateTagTemplateAsync(parent, tagTemplateId, tagTemplate);
CreateTagTemplateField(CreateTagTemplateFieldRequest, CallSettings)
public virtual TagTemplateField CreateTagTemplateField(CreateTagTemplateFieldRequest request, CallSettings callSettings = null)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTagTemplateFieldRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplateField |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
CreateTagTemplateFieldRequest request = new CreateTagTemplateFieldRequest
{
ParentAsTagTemplateName = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"),
TagTemplateFieldId = "",
TagTemplateField = new TagTemplateField(),
};
// Make the request
TagTemplateField response = dataCatalogClient.CreateTagTemplateField(request);
CreateTagTemplateField(TagTemplateName, String, TagTemplateField, CallSettings)
public virtual TagTemplateField CreateTagTemplateField(TagTemplateName parent, string tagTemplateFieldId, TagTemplateField tagTemplateField, CallSettings callSettings = null)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
TagTemplateNameRequired. The name of the project and the template location region. Example:
|
tagTemplateFieldId |
StringRequired. The ID of the tag template field to create. Note: Adding a required field to an existing template is not allowed. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template. |
tagTemplateField |
TagTemplateFieldRequired. The tag template field to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplateField |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
TagTemplateName parent = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
string tagTemplateFieldId = "";
TagTemplateField tagTemplateField = new TagTemplateField();
// Make the request
TagTemplateField response = dataCatalogClient.CreateTagTemplateField(parent, tagTemplateFieldId, tagTemplateField);
CreateTagTemplateField(String, String, TagTemplateField, CallSettings)
public virtual TagTemplateField CreateTagTemplateField(string parent, string tagTemplateFieldId, TagTemplateField tagTemplateField, CallSettings callSettings = null)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the project and the template location region. Example:
|
tagTemplateFieldId |
StringRequired. The ID of the tag template field to create. Note: Adding a required field to an existing template is not allowed. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template. |
tagTemplateField |
TagTemplateFieldRequired. The tag template field to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplateField |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]";
string tagTemplateFieldId = "";
TagTemplateField tagTemplateField = new TagTemplateField();
// Make the request
TagTemplateField response = dataCatalogClient.CreateTagTemplateField(parent, tagTemplateFieldId, tagTemplateField);
CreateTagTemplateFieldAsync(CreateTagTemplateFieldRequest, CallSettings)
public virtual Task<TagTemplateField> CreateTagTemplateFieldAsync(CreateTagTemplateFieldRequest request, CallSettings callSettings = null)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTagTemplateFieldRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
CreateTagTemplateFieldRequest request = new CreateTagTemplateFieldRequest
{
ParentAsTagTemplateName = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"),
TagTemplateFieldId = "",
TagTemplateField = new TagTemplateField(),
};
// Make the request
TagTemplateField response = await dataCatalogClient.CreateTagTemplateFieldAsync(request);
CreateTagTemplateFieldAsync(CreateTagTemplateFieldRequest, CancellationToken)
public virtual Task<TagTemplateField> CreateTagTemplateFieldAsync(CreateTagTemplateFieldRequest request, CancellationToken cancellationToken)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTagTemplateFieldRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
CreateTagTemplateFieldRequest request = new CreateTagTemplateFieldRequest
{
ParentAsTagTemplateName = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"),
TagTemplateFieldId = "",
TagTemplateField = new TagTemplateField(),
};
// Make the request
TagTemplateField response = await dataCatalogClient.CreateTagTemplateFieldAsync(request);
CreateTagTemplateFieldAsync(TagTemplateName, String, TagTemplateField, CallSettings)
public virtual Task<TagTemplateField> CreateTagTemplateFieldAsync(TagTemplateName parent, string tagTemplateFieldId, TagTemplateField tagTemplateField, CallSettings callSettings = null)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
TagTemplateNameRequired. The name of the project and the template location region. Example:
|
tagTemplateFieldId |
StringRequired. The ID of the tag template field to create. Note: Adding a required field to an existing template is not allowed. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template. |
tagTemplateField |
TagTemplateFieldRequired. The tag template field to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplateName parent = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
string tagTemplateFieldId = "";
TagTemplateField tagTemplateField = new TagTemplateField();
// Make the request
TagTemplateField response = await dataCatalogClient.CreateTagTemplateFieldAsync(parent, tagTemplateFieldId, tagTemplateField);
CreateTagTemplateFieldAsync(TagTemplateName, String, TagTemplateField, CancellationToken)
public virtual Task<TagTemplateField> CreateTagTemplateFieldAsync(TagTemplateName parent, string tagTemplateFieldId, TagTemplateField tagTemplateField, CancellationToken cancellationToken)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
TagTemplateNameRequired. The name of the project and the template location region. Example:
|
tagTemplateFieldId |
StringRequired. The ID of the tag template field to create. Note: Adding a required field to an existing template is not allowed. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template. |
tagTemplateField |
TagTemplateFieldRequired. The tag template field to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplateName parent = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
string tagTemplateFieldId = "";
TagTemplateField tagTemplateField = new TagTemplateField();
// Make the request
TagTemplateField response = await dataCatalogClient.CreateTagTemplateFieldAsync(parent, tagTemplateFieldId, tagTemplateField);
CreateTagTemplateFieldAsync(String, String, TagTemplateField, CallSettings)
public virtual Task<TagTemplateField> CreateTagTemplateFieldAsync(string parent, string tagTemplateFieldId, TagTemplateField tagTemplateField, CallSettings callSettings = null)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the project and the template location region. Example:
|
tagTemplateFieldId |
StringRequired. The ID of the tag template field to create. Note: Adding a required field to an existing template is not allowed. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template. |
tagTemplateField |
TagTemplateFieldRequired. The tag template field to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]";
string tagTemplateFieldId = "";
TagTemplateField tagTemplateField = new TagTemplateField();
// Make the request
TagTemplateField response = await dataCatalogClient.CreateTagTemplateFieldAsync(parent, tagTemplateFieldId, tagTemplateField);
CreateTagTemplateFieldAsync(String, String, TagTemplateField, CancellationToken)
public virtual Task<TagTemplateField> CreateTagTemplateFieldAsync(string parent, string tagTemplateFieldId, TagTemplateField tagTemplateField, CancellationToken cancellationToken)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the project and the template location region. Example:
|
tagTemplateFieldId |
StringRequired. The ID of the tag template field to create. Note: Adding a required field to an existing template is not allowed. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template. |
tagTemplateField |
TagTemplateFieldRequired. The tag template field to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]";
string tagTemplateFieldId = "";
TagTemplateField tagTemplateField = new TagTemplateField();
// Make the request
TagTemplateField response = await dataCatalogClient.CreateTagTemplateFieldAsync(parent, tagTemplateFieldId, tagTemplateField);
DeleteEntry(DeleteEntryRequest, CallSettings)
public virtual void DeleteEntry(DeleteEntryRequest request, CallSettings callSettings = null)Deletes an existing entry. Only entries created through
[CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
method can be deleted.
Users should enable the Data Catalog API in the project identified by
the name parameter (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
DeleteEntryRequest request = new DeleteEntryRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
dataCatalogClient.DeleteEntry(request);
DeleteEntry(EntryName, CallSettings)
public virtual void DeleteEntry(EntryName name, CallSettings callSettings = null)Deletes an existing entry. Only entries created through
[CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
method can be deleted.
Users should enable the Data Catalog API in the project identified by
the name parameter (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry. Example:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
EntryName name = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
dataCatalogClient.DeleteEntry(name);
DeleteEntry(String, CallSettings)
public virtual void DeleteEntry(string name, CallSettings callSettings = null)Deletes an existing entry. Only entries created through
[CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
method can be deleted.
Users should enable the Data Catalog API in the project identified by
the name parameter (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the entry. Example:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
dataCatalogClient.DeleteEntry(name);
DeleteEntryAsync(DeleteEntryRequest, CallSettings)
public virtual Task DeleteEntryAsync(DeleteEntryRequest request, CallSettings callSettings = null)Deletes an existing entry. Only entries created through
[CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
method can be deleted.
Users should enable the Data Catalog API in the project identified by
the name parameter (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
DeleteEntryRequest request = new DeleteEntryRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
await dataCatalogClient.DeleteEntryAsync(request);
DeleteEntryAsync(DeleteEntryRequest, CancellationToken)
public virtual Task DeleteEntryAsync(DeleteEntryRequest request, CancellationToken cancellationToken)Deletes an existing entry. Only entries created through
[CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
method can be deleted.
Users should enable the Data Catalog API in the project identified by
the name parameter (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
DeleteEntryRequest request = new DeleteEntryRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
await dataCatalogClient.DeleteEntryAsync(request);
DeleteEntryAsync(EntryName, CallSettings)
public virtual Task DeleteEntryAsync(EntryName name, CallSettings callSettings = null)Deletes an existing entry. Only entries created through
[CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
method can be deleted.
Users should enable the Data Catalog API in the project identified by
the name parameter (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry. Example:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryName name = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
await dataCatalogClient.DeleteEntryAsync(name);
DeleteEntryAsync(EntryName, CancellationToken)
public virtual Task DeleteEntryAsync(EntryName name, CancellationToken cancellationToken)Deletes an existing entry. Only entries created through
[CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
method can be deleted.
Users should enable the Data Catalog API in the project identified by
the name parameter (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry. Example:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryName name = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
await dataCatalogClient.DeleteEntryAsync(name);
DeleteEntryAsync(String, CallSettings)
public virtual Task DeleteEntryAsync(string name, CallSettings callSettings = null)Deletes an existing entry. Only entries created through
[CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
method can be deleted.
Users should enable the Data Catalog API in the project identified by
the name parameter (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the entry. Example:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
await dataCatalogClient.DeleteEntryAsync(name);
DeleteEntryAsync(String, CancellationToken)
public virtual Task DeleteEntryAsync(string name, CancellationToken cancellationToken)Deletes an existing entry. Only entries created through
[CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
method can be deleted.
Users should enable the Data Catalog API in the project identified by
the name parameter (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the entry. Example:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
await dataCatalogClient.DeleteEntryAsync(name);
DeleteEntryGroup(DeleteEntryGroupRequest, CallSettings)
public virtual void DeleteEntryGroup(DeleteEntryGroupRequest request, CallSettings callSettings = null)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 Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
DeleteEntryGroupRequest request = new DeleteEntryGroupRequest
{
EntryGroupName = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
Force = false,
};
// Make the request
dataCatalogClient.DeleteEntryGroup(request);
DeleteEntryGroup(EntryGroupName, CallSettings)
public virtual void DeleteEntryGroup(EntryGroupName name, CallSettings callSettings = null)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 Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group. For example,
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
EntryGroupName name = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
dataCatalogClient.DeleteEntryGroup(name);
DeleteEntryGroup(String, CallSettings)
public virtual void DeleteEntryGroup(string name, CallSettings callSettings = null)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 Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the entry group. For example,
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
// Make the request
dataCatalogClient.DeleteEntryGroup(name);
DeleteEntryGroupAsync(DeleteEntryGroupRequest, CallSettings)
public virtual Task DeleteEntryGroupAsync(DeleteEntryGroupRequest request, CallSettings callSettings = null)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 Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
DeleteEntryGroupRequest request = new DeleteEntryGroupRequest
{
EntryGroupName = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
Force = false,
};
// Make the request
await dataCatalogClient.DeleteEntryGroupAsync(request);
DeleteEntryGroupAsync(DeleteEntryGroupRequest, CancellationToken)
public virtual Task DeleteEntryGroupAsync(DeleteEntryGroupRequest request, CancellationToken cancellationToken)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 Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEntryGroupRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
DeleteEntryGroupRequest request = new DeleteEntryGroupRequest
{
EntryGroupName = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
Force = false,
};
// Make the request
await dataCatalogClient.DeleteEntryGroupAsync(request);
DeleteEntryGroupAsync(EntryGroupName, CallSettings)
public virtual Task DeleteEntryGroupAsync(EntryGroupName name, CallSettings callSettings = null)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 Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group. For example,
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryGroupName name = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
await dataCatalogClient.DeleteEntryGroupAsync(name);
DeleteEntryGroupAsync(EntryGroupName, CancellationToken)
public virtual Task DeleteEntryGroupAsync(EntryGroupName name, CancellationToken cancellationToken)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 Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group. For example,
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryGroupName name = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
await dataCatalogClient.DeleteEntryGroupAsync(name);
DeleteEntryGroupAsync(String, CallSettings)
public virtual Task DeleteEntryGroupAsync(string name, CallSettings callSettings = null)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 Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the entry group. For example,
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
// Make the request
await dataCatalogClient.DeleteEntryGroupAsync(name);
DeleteEntryGroupAsync(String, CancellationToken)
public virtual Task DeleteEntryGroupAsync(string name, CancellationToken cancellationToken)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 Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the entry group. For example,
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
// Make the request
await dataCatalogClient.DeleteEntryGroupAsync(name);
DeleteTag(DeleteTagRequest, CallSettings)
public virtual void DeleteTag(DeleteTagRequest request, CallSettings callSettings = null)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTagRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
DeleteTagRequest request = new DeleteTagRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
dataCatalogClient.DeleteTag(request);
DeleteTag(EntryName, CallSettings)
public virtual void DeleteTag(EntryName name, CallSettings callSettings = null)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the tag to delete. Example:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
EntryName name = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
dataCatalogClient.DeleteTag(name);
DeleteTag(String, CallSettings)
public virtual void DeleteTag(string name, CallSettings callSettings = null)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag to delete. Example:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
dataCatalogClient.DeleteTag(name);
DeleteTagAsync(DeleteTagRequest, CallSettings)
public virtual Task DeleteTagAsync(DeleteTagRequest request, CallSettings callSettings = null)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTagRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
DeleteTagRequest request = new DeleteTagRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
await dataCatalogClient.DeleteTagAsync(request);
DeleteTagAsync(DeleteTagRequest, CancellationToken)
public virtual Task DeleteTagAsync(DeleteTagRequest request, CancellationToken cancellationToken)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTagRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
DeleteTagRequest request = new DeleteTagRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
await dataCatalogClient.DeleteTagAsync(request);
DeleteTagAsync(EntryName, CallSettings)
public virtual Task DeleteTagAsync(EntryName name, CallSettings callSettings = null)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the tag to delete. Example:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryName name = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
await dataCatalogClient.DeleteTagAsync(name);
DeleteTagAsync(EntryName, CancellationToken)
public virtual Task DeleteTagAsync(EntryName name, CancellationToken cancellationToken)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the tag to delete. Example:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryName name = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
await dataCatalogClient.DeleteTagAsync(name);
DeleteTagAsync(String, CallSettings)
public virtual Task DeleteTagAsync(string name, CallSettings callSettings = null)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag to delete. Example:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
await dataCatalogClient.DeleteTagAsync(name);
DeleteTagAsync(String, CancellationToken)
public virtual Task DeleteTagAsync(string name, CancellationToken cancellationToken)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag to delete. Example:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
await dataCatalogClient.DeleteTagAsync(name);
DeleteTagTemplate(DeleteTagTemplateRequest, CallSettings)
public virtual void DeleteTagTemplate(DeleteTagTemplateRequest request, CallSettings callSettings = null)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTagTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
DeleteTagTemplateRequest request = new DeleteTagTemplateRequest
{
TagTemplateName = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"),
Force = false,
};
// Make the request
dataCatalogClient.DeleteTagTemplate(request);
DeleteTagTemplate(TagTemplateName, Boolean, CallSettings)
public virtual void DeleteTagTemplate(TagTemplateName name, bool force, CallSettings callSettings = null)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateNameRequired. The name of the tag template to delete. Example:
|
force |
BooleanRequired. Currently, this field must always be set to |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
TagTemplateName name = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
bool force = false;
// Make the request
dataCatalogClient.DeleteTagTemplate(name, force);
DeleteTagTemplate(String, Boolean, CallSettings)
public virtual void DeleteTagTemplate(string name, bool force, CallSettings callSettings = null)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template to delete. Example:
|
force |
BooleanRequired. Currently, this field must always be set to |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]";
bool force = false;
// Make the request
dataCatalogClient.DeleteTagTemplate(name, force);
DeleteTagTemplateAsync(DeleteTagTemplateRequest, CallSettings)
public virtual Task DeleteTagTemplateAsync(DeleteTagTemplateRequest request, CallSettings callSettings = null)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTagTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
DeleteTagTemplateRequest request = new DeleteTagTemplateRequest
{
TagTemplateName = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"),
Force = false,
};
// Make the request
await dataCatalogClient.DeleteTagTemplateAsync(request);
DeleteTagTemplateAsync(DeleteTagTemplateRequest, CancellationToken)
public virtual Task DeleteTagTemplateAsync(DeleteTagTemplateRequest request, CancellationToken cancellationToken)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTagTemplateRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
DeleteTagTemplateRequest request = new DeleteTagTemplateRequest
{
TagTemplateName = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"),
Force = false,
};
// Make the request
await dataCatalogClient.DeleteTagTemplateAsync(request);
DeleteTagTemplateAsync(TagTemplateName, Boolean, CallSettings)
public virtual Task DeleteTagTemplateAsync(TagTemplateName name, bool force, CallSettings callSettings = null)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateNameRequired. The name of the tag template to delete. Example:
|
force |
BooleanRequired. Currently, this field must always be set to |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplateName name = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
bool force = false;
// Make the request
await dataCatalogClient.DeleteTagTemplateAsync(name, force);
DeleteTagTemplateAsync(TagTemplateName, Boolean, CancellationToken)
public virtual Task DeleteTagTemplateAsync(TagTemplateName name, bool force, CancellationToken cancellationToken)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateNameRequired. The name of the tag template to delete. Example:
|
force |
BooleanRequired. Currently, this field must always be set to |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplateName name = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
bool force = false;
// Make the request
await dataCatalogClient.DeleteTagTemplateAsync(name, force);
DeleteTagTemplateAsync(String, Boolean, CallSettings)
public virtual Task DeleteTagTemplateAsync(string name, bool force, CallSettings callSettings = null)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template to delete. Example:
|
force |
BooleanRequired. Currently, this field must always be set to |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]";
bool force = false;
// Make the request
await dataCatalogClient.DeleteTagTemplateAsync(name, force);
DeleteTagTemplateAsync(String, Boolean, CancellationToken)
public virtual Task DeleteTagTemplateAsync(string name, bool force, CancellationToken cancellationToken)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template to delete. Example:
|
force |
BooleanRequired. Currently, this field must always be set to |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]";
bool force = false;
// Make the request
await dataCatalogClient.DeleteTagTemplateAsync(name, force);
DeleteTagTemplateField(DeleteTagTemplateFieldRequest, CallSettings)
public virtual void DeleteTagTemplateField(DeleteTagTemplateFieldRequest request, CallSettings callSettings = null)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTagTemplateFieldRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
DeleteTagTemplateFieldRequest request = new DeleteTagTemplateFieldRequest
{
TagTemplateFieldName = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]"),
Force = false,
};
// Make the request
dataCatalogClient.DeleteTagTemplateField(request);
DeleteTagTemplateField(TagTemplateFieldName, Boolean, CallSettings)
public virtual void DeleteTagTemplateField(TagTemplateFieldName name, bool force, CallSettings callSettings = null)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field to delete. Example:
|
force |
BooleanRequired. Currently, this field must always be set to |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
TagTemplateFieldName name = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
bool force = false;
// Make the request
dataCatalogClient.DeleteTagTemplateField(name, force);
DeleteTagTemplateField(String, Boolean, CallSettings)
public virtual void DeleteTagTemplateField(string name, bool force, CallSettings callSettings = null)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template field to delete. Example:
|
force |
BooleanRequired. Currently, this field must always be set to |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]/fields/[FIELD]";
bool force = false;
// Make the request
dataCatalogClient.DeleteTagTemplateField(name, force);
DeleteTagTemplateFieldAsync(DeleteTagTemplateFieldRequest, CallSettings)
public virtual Task DeleteTagTemplateFieldAsync(DeleteTagTemplateFieldRequest request, CallSettings callSettings = null)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTagTemplateFieldRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
DeleteTagTemplateFieldRequest request = new DeleteTagTemplateFieldRequest
{
TagTemplateFieldName = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]"),
Force = false,
};
// Make the request
await dataCatalogClient.DeleteTagTemplateFieldAsync(request);
DeleteTagTemplateFieldAsync(DeleteTagTemplateFieldRequest, CancellationToken)
public virtual Task DeleteTagTemplateFieldAsync(DeleteTagTemplateFieldRequest request, CancellationToken cancellationToken)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTagTemplateFieldRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
DeleteTagTemplateFieldRequest request = new DeleteTagTemplateFieldRequest
{
TagTemplateFieldName = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]"),
Force = false,
};
// Make the request
await dataCatalogClient.DeleteTagTemplateFieldAsync(request);
DeleteTagTemplateFieldAsync(TagTemplateFieldName, Boolean, CallSettings)
public virtual Task DeleteTagTemplateFieldAsync(TagTemplateFieldName name, bool force, CallSettings callSettings = null)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field to delete. Example:
|
force |
BooleanRequired. Currently, this field must always be set to |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplateFieldName name = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
bool force = false;
// Make the request
await dataCatalogClient.DeleteTagTemplateFieldAsync(name, force);
DeleteTagTemplateFieldAsync(TagTemplateFieldName, Boolean, CancellationToken)
public virtual Task DeleteTagTemplateFieldAsync(TagTemplateFieldName name, bool force, CancellationToken cancellationToken)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field to delete. Example:
|
force |
BooleanRequired. Currently, this field must always be set to |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplateFieldName name = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
bool force = false;
// Make the request
await dataCatalogClient.DeleteTagTemplateFieldAsync(name, force);
DeleteTagTemplateFieldAsync(String, Boolean, CallSettings)
public virtual Task DeleteTagTemplateFieldAsync(string name, bool force, CallSettings callSettings = null)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template field to delete. Example:
|
force |
BooleanRequired. Currently, this field must always be set to |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]/fields/[FIELD]";
bool force = false;
// Make the request
await dataCatalogClient.DeleteTagTemplateFieldAsync(name, force);
DeleteTagTemplateFieldAsync(String, Boolean, CancellationToken)
public virtual Task DeleteTagTemplateFieldAsync(string name, bool force, CancellationToken cancellationToken)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 Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template field to delete. Example:
|
force |
BooleanRequired. Currently, this field must always be set to |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]/fields/[FIELD]";
bool force = false;
// Make the request
await dataCatalogClient.DeleteTagTemplateFieldAsync(name, force);
GetEntry(EntryName, CallSettings)
public virtual Entry GetEntry(EntryName name, CallSettings callSettings = null)Gets an entry.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry. Example:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
EntryName name = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
Entry response = dataCatalogClient.GetEntry(name);
GetEntry(GetEntryRequest, CallSettings)
public virtual Entry GetEntry(GetEntryRequest request, CallSettings callSettings = null)Gets an entry.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
GetEntryRequest request = new GetEntryRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
Entry response = dataCatalogClient.GetEntry(request);
GetEntry(String, CallSettings)
public virtual Entry GetEntry(string name, CallSettings callSettings = null)Gets an entry.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the entry. Example:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
Entry response = dataCatalogClient.GetEntry(name);
GetEntryAsync(EntryName, CallSettings)
public virtual Task<Entry> GetEntryAsync(EntryName name, CallSettings callSettings = null)Gets an entry.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry. Example:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryName name = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
Entry response = await dataCatalogClient.GetEntryAsync(name);
GetEntryAsync(EntryName, CancellationToken)
public virtual Task<Entry> GetEntryAsync(EntryName name, CancellationToken cancellationToken)Gets an entry.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry. Example:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryName name = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
Entry response = await dataCatalogClient.GetEntryAsync(name);
GetEntryAsync(GetEntryRequest, CallSettings)
public virtual Task<Entry> GetEntryAsync(GetEntryRequest request, CallSettings callSettings = null)Gets an entry.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
GetEntryRequest request = new GetEntryRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
Entry response = await dataCatalogClient.GetEntryAsync(request);
GetEntryAsync(GetEntryRequest, CancellationToken)
public virtual Task<Entry> GetEntryAsync(GetEntryRequest request, CancellationToken cancellationToken)Gets an entry.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
GetEntryRequest request = new GetEntryRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
Entry response = await dataCatalogClient.GetEntryAsync(request);
GetEntryAsync(String, CallSettings)
public virtual Task<Entry> GetEntryAsync(string name, CallSettings callSettings = null)Gets an entry.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the entry. Example:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
Entry response = await dataCatalogClient.GetEntryAsync(name);
GetEntryAsync(String, CancellationToken)
public virtual Task<Entry> GetEntryAsync(string name, CancellationToken cancellationToken)Gets an entry.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the entry. Example:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
Entry response = await dataCatalogClient.GetEntryAsync(name);
GetEntryGroup(EntryGroupName, CallSettings)
public virtual EntryGroup GetEntryGroup(EntryGroupName name, CallSettings callSettings = null)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group. For example,
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryGroup |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
EntryGroupName name = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
EntryGroup response = dataCatalogClient.GetEntryGroup(name);
GetEntryGroup(EntryGroupName, FieldMask, CallSettings)
public virtual EntryGroup GetEntryGroup(EntryGroupName name, FieldMask readMask, CallSettings callSettings = null)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group. For example,
|
readMask |
FieldMaskThe fields to return. If not set or empty, all fields are returned. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryGroup |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
EntryGroupName name = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
FieldMask readMask = new FieldMask();
// Make the request
EntryGroup response = dataCatalogClient.GetEntryGroup(name, readMask);
GetEntryGroup(GetEntryGroupRequest, CallSettings)
public virtual EntryGroup GetEntryGroup(GetEntryGroupRequest request, CallSettings callSettings = null)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryGroup |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
GetEntryGroupRequest request = new GetEntryGroupRequest
{
EntryGroupName = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
ReadMask = new FieldMask(),
};
// Make the request
EntryGroup response = dataCatalogClient.GetEntryGroup(request);
GetEntryGroup(String, CallSettings)
public virtual EntryGroup GetEntryGroup(string name, CallSettings callSettings = null)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the entry group. For example,
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryGroup |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
// Make the request
EntryGroup response = dataCatalogClient.GetEntryGroup(name);
GetEntryGroup(String, FieldMask, CallSettings)
public virtual EntryGroup GetEntryGroup(string name, FieldMask readMask, CallSettings callSettings = null)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the entry group. For example,
|
readMask |
FieldMaskThe fields to return. If not set or empty, all fields are returned. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryGroup |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
FieldMask readMask = new FieldMask();
// Make the request
EntryGroup response = dataCatalogClient.GetEntryGroup(name, readMask);
GetEntryGroupAsync(EntryGroupName, CallSettings)
public virtual Task<EntryGroup> GetEntryGroupAsync(EntryGroupName name, CallSettings callSettings = null)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group. For example,
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryGroupName name = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(name);
GetEntryGroupAsync(EntryGroupName, FieldMask, CallSettings)
public virtual Task<EntryGroup> GetEntryGroupAsync(EntryGroupName name, FieldMask readMask, CallSettings callSettings = null)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group. For example,
|
readMask |
FieldMaskThe fields to return. If not set or empty, all fields are returned. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryGroupName name = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
FieldMask readMask = new FieldMask();
// Make the request
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(name, readMask);
GetEntryGroupAsync(EntryGroupName, FieldMask, CancellationToken)
public virtual Task<EntryGroup> GetEntryGroupAsync(EntryGroupName name, FieldMask readMask, CancellationToken cancellationToken)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group. For example,
|
readMask |
FieldMaskThe fields to return. If not set or empty, all fields are returned. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryGroupName name = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
FieldMask readMask = new FieldMask();
// Make the request
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(name, readMask);
GetEntryGroupAsync(EntryGroupName, CancellationToken)
public virtual Task<EntryGroup> GetEntryGroupAsync(EntryGroupName name, CancellationToken cancellationToken)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group. For example,
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryGroupName name = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(name);
GetEntryGroupAsync(GetEntryGroupRequest, CallSettings)
public virtual Task<EntryGroup> GetEntryGroupAsync(GetEntryGroupRequest request, CallSettings callSettings = null)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
GetEntryGroupRequest request = new GetEntryGroupRequest
{
EntryGroupName = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
ReadMask = new FieldMask(),
};
// Make the request
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(request);
GetEntryGroupAsync(GetEntryGroupRequest, CancellationToken)
public virtual Task<EntryGroup> GetEntryGroupAsync(GetEntryGroupRequest request, CancellationToken cancellationToken)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEntryGroupRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
GetEntryGroupRequest request = new GetEntryGroupRequest
{
EntryGroupName = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
ReadMask = new FieldMask(),
};
// Make the request
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(request);
GetEntryGroupAsync(String, CallSettings)
public virtual Task<EntryGroup> GetEntryGroupAsync(string name, CallSettings callSettings = null)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the entry group. For example,
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
// Make the request
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(name);
GetEntryGroupAsync(String, FieldMask, CallSettings)
public virtual Task<EntryGroup> GetEntryGroupAsync(string name, FieldMask readMask, CallSettings callSettings = null)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the entry group. For example,
|
readMask |
FieldMaskThe fields to return. If not set or empty, all fields are returned. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
FieldMask readMask = new FieldMask();
// Make the request
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(name, readMask);
GetEntryGroupAsync(String, FieldMask, CancellationToken)
public virtual Task<EntryGroup> GetEntryGroupAsync(string name, FieldMask readMask, CancellationToken cancellationToken)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the entry group. For example,
|
readMask |
FieldMaskThe fields to return. If not set or empty, all fields are returned. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
FieldMask readMask = new FieldMask();
// Make the request
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(name, readMask);
GetEntryGroupAsync(String, CancellationToken)
public virtual Task<EntryGroup> GetEntryGroupAsync(string name, CancellationToken cancellationToken)Gets an EntryGroup.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the entry group. For example,
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
// Make the request
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(name);
GetIamPolicy(IResourceName, CallSettings)
public virtual Policy GetIamPolicy(IResourceName resource, CallSettings callSettings = null)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 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 Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.datacatalog.entries.getIamPolicyto get policies on entries.datacatalog.entryGroups.getIamPolicyto get policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
resource |
IResourceNameREQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Google.Cloud.Iam.V1.Policy |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
IResourceName resource = new UnparsedResourceName("a/wildcard/resource");
// Make the request
Policy response = dataCatalogClient.GetIamPolicy(resource);
GetIamPolicy(GetIamPolicyRequest, CallSettings)
public virtual Policy GetIamPolicy(GetIamPolicyRequest request, CallSettings callSettings = null)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 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 Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.datacatalog.entries.getIamPolicyto get policies on entries.datacatalog.entryGroups.getIamPolicyto get policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
request |
Google.Cloud.Iam.V1.GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Google.Cloud.Iam.V1.Policy |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
GetIamPolicyRequest request = new GetIamPolicyRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Options = new GetPolicyOptions(),
};
// Make the request
Policy response = dataCatalogClient.GetIamPolicy(request);
GetIamPolicy(String, CallSettings)
public virtual Policy GetIamPolicy(string resource, CallSettings callSettings = null)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 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 Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.datacatalog.entries.getIamPolicyto get policies on entries.datacatalog.entryGroups.getIamPolicyto get policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
resource |
StringREQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Google.Cloud.Iam.V1.Policy |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string resource = "a/wildcard/resource";
// Make the request
Policy response = dataCatalogClient.GetIamPolicy(resource);
GetIamPolicyAsync(IResourceName, CallSettings)
public virtual Task<Policy> GetIamPolicyAsync(IResourceName resource, CallSettings callSettings = null)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 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 Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.datacatalog.entries.getIamPolicyto get policies on entries.datacatalog.entryGroups.getIamPolicyto get policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
resource |
IResourceNameREQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Google.Cloud.Iam.V1.Policy> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
IResourceName resource = new UnparsedResourceName("a/wildcard/resource");
// Make the request
Policy response = await dataCatalogClient.GetIamPolicyAsync(resource);
GetIamPolicyAsync(IResourceName, CancellationToken)
public virtual Task<Policy> GetIamPolicyAsync(IResourceName resource, CancellationToken cancellationToken)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 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 Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.datacatalog.entries.getIamPolicyto get policies on entries.datacatalog.entryGroups.getIamPolicyto get policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
resource |
IResourceNameREQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Google.Cloud.Iam.V1.Policy> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
IResourceName resource = new UnparsedResourceName("a/wildcard/resource");
// Make the request
Policy response = await dataCatalogClient.GetIamPolicyAsync(resource);
GetIamPolicyAsync(GetIamPolicyRequest, CallSettings)
public virtual Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallSettings callSettings = null)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 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 Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.datacatalog.entries.getIamPolicyto get policies on entries.datacatalog.entryGroups.getIamPolicyto get policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
request |
Google.Cloud.Iam.V1.GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Google.Cloud.Iam.V1.Policy> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
GetIamPolicyRequest request = new GetIamPolicyRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Options = new GetPolicyOptions(),
};
// Make the request
Policy response = await dataCatalogClient.GetIamPolicyAsync(request);
GetIamPolicyAsync(GetIamPolicyRequest, CancellationToken)
public virtual Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CancellationToken cancellationToken)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 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 Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.datacatalog.entries.getIamPolicyto get policies on entries.datacatalog.entryGroups.getIamPolicyto get policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
request |
Google.Cloud.Iam.V1.GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Google.Cloud.Iam.V1.Policy> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
GetIamPolicyRequest request = new GetIamPolicyRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Options = new GetPolicyOptions(),
};
// Make the request
Policy response = await dataCatalogClient.GetIamPolicyAsync(request);
GetIamPolicyAsync(String, CallSettings)
public virtual Task<Policy> GetIamPolicyAsync(string resource, CallSettings callSettings = null)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 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 Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.datacatalog.entries.getIamPolicyto get policies on entries.datacatalog.entryGroups.getIamPolicyto get policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
resource |
StringREQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Google.Cloud.Iam.V1.Policy> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string resource = "a/wildcard/resource";
// Make the request
Policy response = await dataCatalogClient.GetIamPolicyAsync(resource);
GetIamPolicyAsync(String, CancellationToken)
public virtual Task<Policy> GetIamPolicyAsync(string resource, CancellationToken cancellationToken)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 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 Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.datacatalog.entries.getIamPolicyto get policies on entries.datacatalog.entryGroups.getIamPolicyto get policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
resource |
StringREQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Google.Cloud.Iam.V1.Policy> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string resource = "a/wildcard/resource";
// Make the request
Policy response = await dataCatalogClient.GetIamPolicyAsync(resource);
GetTagTemplate(GetTagTemplateRequest, CallSettings)
public virtual TagTemplate GetTagTemplate(GetTagTemplateRequest request, CallSettings callSettings = null)Gets a tag template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTagTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplate |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
GetTagTemplateRequest request = new GetTagTemplateRequest
{
TagTemplateName = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"),
};
// Make the request
TagTemplate response = dataCatalogClient.GetTagTemplate(request);
GetTagTemplate(TagTemplateName, CallSettings)
public virtual TagTemplate GetTagTemplate(TagTemplateName name, CallSettings callSettings = null)Gets a tag template.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateNameRequired. The name of the tag template. Example:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplate |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
TagTemplateName name = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
// Make the request
TagTemplate response = dataCatalogClient.GetTagTemplate(name);
GetTagTemplate(String, CallSettings)
public virtual TagTemplate GetTagTemplate(string name, CallSettings callSettings = null)Gets a tag template.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template. Example:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplate |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]";
// Make the request
TagTemplate response = dataCatalogClient.GetTagTemplate(name);
GetTagTemplateAsync(GetTagTemplateRequest, CallSettings)
public virtual Task<TagTemplate> GetTagTemplateAsync(GetTagTemplateRequest request, CallSettings callSettings = null)Gets a tag template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTagTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
GetTagTemplateRequest request = new GetTagTemplateRequest
{
TagTemplateName = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"),
};
// Make the request
TagTemplate response = await dataCatalogClient.GetTagTemplateAsync(request);
GetTagTemplateAsync(GetTagTemplateRequest, CancellationToken)
public virtual Task<TagTemplate> GetTagTemplateAsync(GetTagTemplateRequest request, CancellationToken cancellationToken)Gets a tag template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTagTemplateRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
GetTagTemplateRequest request = new GetTagTemplateRequest
{
TagTemplateName = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"),
};
// Make the request
TagTemplate response = await dataCatalogClient.GetTagTemplateAsync(request);
GetTagTemplateAsync(TagTemplateName, CallSettings)
public virtual Task<TagTemplate> GetTagTemplateAsync(TagTemplateName name, CallSettings callSettings = null)Gets a tag template.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateNameRequired. The name of the tag template. Example:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplateName name = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
// Make the request
TagTemplate response = await dataCatalogClient.GetTagTemplateAsync(name);
GetTagTemplateAsync(TagTemplateName, CancellationToken)
public virtual Task<TagTemplate> GetTagTemplateAsync(TagTemplateName name, CancellationToken cancellationToken)Gets a tag template.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateNameRequired. The name of the tag template. Example:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplateName name = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]");
// Make the request
TagTemplate response = await dataCatalogClient.GetTagTemplateAsync(name);
GetTagTemplateAsync(String, CallSettings)
public virtual Task<TagTemplate> GetTagTemplateAsync(string name, CallSettings callSettings = null)Gets a tag template.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template. Example:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]";
// Make the request
TagTemplate response = await dataCatalogClient.GetTagTemplateAsync(name);
GetTagTemplateAsync(String, CancellationToken)
public virtual Task<TagTemplate> GetTagTemplateAsync(string name, CancellationToken cancellationToken)Gets a tag template.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template. Example:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]";
// Make the request
TagTemplate response = await dataCatalogClient.GetTagTemplateAsync(name);
ListEntries(EntryGroupName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListEntriesResponse, Entry> ListEntries(EntryGroupName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)Lists entries.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The name of the entry group that contains the entries, which can be provided in URL format. Example:
|
pageToken |
StringThe token returned from the previous request. A value of |
pageSize |
Nullable<Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListEntriesResponse, Entry> |
A pageable sequence of Entry resources. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
EntryGroupName parent = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
PagedEnumerable<ListEntriesResponse, Entry> response = dataCatalogClient.ListEntries(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Entry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEntriesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Entry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Entry> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Entry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEntries(ListEntriesRequest, CallSettings)
public virtual PagedEnumerable<ListEntriesResponse, Entry> ListEntries(ListEntriesRequest request, CallSettings callSettings = null)Lists entries.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEntriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListEntriesResponse, Entry> |
A pageable sequence of Entry resources. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
ListEntriesRequest request = new ListEntriesRequest
{
ParentAsEntryGroupName = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
ReadMask = new FieldMask(),
};
// Make the request
PagedEnumerable<ListEntriesResponse, Entry> response = dataCatalogClient.ListEntries(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Entry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEntriesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Entry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Entry> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Entry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEntries(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListEntriesResponse, Entry> ListEntries(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)Lists entries.
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the entry group that contains the entries, which can be provided in URL format. Example:
|
pageToken |
StringThe token returned from the previous request. A value of |
pageSize |
Nullable<Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListEntriesResponse, Entry> |
A pageable sequence of Entry resources. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
// Make the request
PagedEnumerable<ListEntriesResponse, Entry> response = dataCatalogClient.ListEntries(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Entry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEntriesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Entry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Entry> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Entry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEntriesAsync(EntryGroupName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListEntriesResponse, Entry> ListEntriesAsync(EntryGroupName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)Lists entries.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The name of the entry group that contains the entries, which can be provided in URL format. Example:
|
pageToken |
StringThe token returned from the previous request. A value of |
pageSize |
Nullable<Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListEntriesResponse, Entry> |
A pageable asynchronous sequence of Entry resources. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryGroupName parent = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
PagedAsyncEnumerable<ListEntriesResponse, Entry> response = dataCatalogClient.ListEntriesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Entry item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEntriesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Entry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Entry> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Entry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEntriesAsync(ListEntriesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListEntriesResponse, Entry> ListEntriesAsync(ListEntriesRequest request, CallSettings callSettings = null)Lists entries.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEntriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListEntriesResponse, Entry> |
A pageable asynchronous sequence of Entry resources. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
ListEntriesRequest request = new ListEntriesRequest
{
ParentAsEntryGroupName = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
ReadMask = new FieldMask(),
};
// Make the request
PagedAsyncEnumerable<ListEntriesResponse, Entry> response = dataCatalogClient.ListEntriesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Entry item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEntriesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Entry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Entry> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Entry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEntriesAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListEntriesResponse, Entry> ListEntriesAsync(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)Lists entries.
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the entry group that contains the entries, which can be provided in URL format. Example:
|
pageToken |
StringThe token returned from the previous request. A value of |
pageSize |
Nullable<Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListEntriesResponse, Entry> |
A pageable asynchronous sequence of Entry resources. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
// Make the request
PagedAsyncEnumerable<ListEntriesResponse, Entry> response = dataCatalogClient.ListEntriesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Entry item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEntriesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Entry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Entry> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Entry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEntryGroups(EntryGroupName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListEntryGroupsResponse, EntryGroup> ListEntryGroups(EntryGroupName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)Lists entry groups.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The name of the location that contains the entry groups, which can be provided in URL format. Example:
|
pageToken |
StringThe token returned from the previous request. A value of |
pageSize |
Nullable<Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListEntryGroupsResponse, EntryGroup> |
A pageable sequence of EntryGroup resources. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
EntryGroupName parent = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
PagedEnumerable<ListEntryGroupsResponse, EntryGroup> response = dataCatalogClient.ListEntryGroups(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (EntryGroup item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEntryGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EntryGroup item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntryGroup> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntryGroup item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEntryGroups(ListEntryGroupsRequest, CallSettings)
public virtual PagedEnumerable<ListEntryGroupsResponse, EntryGroup> ListEntryGroups(ListEntryGroupsRequest request, CallSettings callSettings = null)Lists entry groups.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEntryGroupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListEntryGroupsResponse, EntryGroup> |
A pageable sequence of EntryGroup resources. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
ListEntryGroupsRequest request = new ListEntryGroupsRequest
{
ParentAsEntryGroupName = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
};
// Make the request
PagedEnumerable<ListEntryGroupsResponse, EntryGroup> response = dataCatalogClient.ListEntryGroups(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (EntryGroup item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEntryGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EntryGroup item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntryGroup> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntryGroup item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEntryGroups(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListEntryGroupsResponse, EntryGroup> ListEntryGroups(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)Lists entry groups.
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the location that contains the entry groups, which can be provided in URL format. Example:
|
pageToken |
StringThe token returned from the previous request. A value of |
pageSize |
Nullable<Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListEntryGroupsResponse, EntryGroup> |
A pageable sequence of EntryGroup resources. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
// Make the request
PagedEnumerable<ListEntryGroupsResponse, EntryGroup> response = dataCatalogClient.ListEntryGroups(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (EntryGroup item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEntryGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EntryGroup item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntryGroup> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntryGroup item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEntryGroupsAsync(EntryGroupName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> ListEntryGroupsAsync(EntryGroupName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)Lists entry groups.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The name of the location that contains the entry groups, which can be provided in URL format. Example:
|
pageToken |
StringThe token returned from the previous request. A value of |
pageSize |
Nullable<Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> |
A pageable asynchronous sequence of EntryGroup resources. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryGroupName parent = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
// Make the request
PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> response = dataCatalogClient.ListEntryGroupsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EntryGroup item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEntryGroupsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EntryGroup item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntryGroup> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntryGroup item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEntryGroupsAsync(ListEntryGroupsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> ListEntryGroupsAsync(ListEntryGroupsRequest request, CallSettings callSettings = null)Lists entry groups.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEntryGroupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> |
A pageable asynchronous sequence of EntryGroup resources. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
ListEntryGroupsRequest request = new ListEntryGroupsRequest
{
ParentAsEntryGroupName = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
};
// Make the request
PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> response = dataCatalogClient.ListEntryGroupsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EntryGroup item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEntryGroupsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EntryGroup item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntryGroup> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntryGroup item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEntryGroupsAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> ListEntryGroupsAsync(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)Lists entry groups.
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the location that contains the entry groups, which can be provided in URL format. Example:
|
pageToken |
StringThe token returned from the previous request. A value of |
pageSize |
Nullable<Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> |
A pageable asynchronous sequence of EntryGroup resources. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]";
// Make the request
PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> response = dataCatalogClient.ListEntryGroupsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EntryGroup item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEntryGroupsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EntryGroup item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntryGroup> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntryGroup item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListTags(EntryName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListTagsResponse, Tag> ListTags(EntryName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)Lists the tags on an [Entry][google.cloud.datacatalog.v1.Entry].
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryNameRequired. The name of the Data Catalog resource to list the tags of. The resource could be an [Entry][google.cloud.datacatalog.v1.Entry] or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]. Examples:
|
pageToken |
StringThe token returned from the previous request. A value of |
pageSize |
Nullable<Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListTagsResponse, Tag> |
A pageable sequence of Tag resources. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
EntryName parent = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
PagedEnumerable<ListTagsResponse, Tag> response = dataCatalogClient.ListTags(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Tag item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListTagsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Tag item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Tag> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Tag item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListTags(ListTagsRequest, CallSettings)
public virtual PagedEnumerable<ListTagsResponse, Tag> ListTags(ListTagsRequest request, CallSettings callSettings = null)Lists the tags on an [Entry][google.cloud.datacatalog.v1.Entry].
| Parameters | |
|---|---|
| Name | Description |
request |
ListTagsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListTagsResponse, Tag> |
A pageable sequence of Tag resources. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
ListTagsRequest request = new ListTagsRequest
{
ParentAsEntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
PagedEnumerable<ListTagsResponse, Tag> response = dataCatalogClient.ListTags(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Tag item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListTagsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Tag item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Tag> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Tag item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListTags(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListTagsResponse, Tag> ListTags(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)Lists the tags on an [Entry][google.cloud.datacatalog.v1.Entry].
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the Data Catalog resource to list the tags of. The resource could be an [Entry][google.cloud.datacatalog.v1.Entry] or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]. Examples:
|
pageToken |
StringThe token returned from the previous request. A value of |
pageSize |
Nullable<Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListTagsResponse, Tag> |
A pageable sequence of Tag resources. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
PagedEnumerable<ListTagsResponse, Tag> response = dataCatalogClient.ListTags(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Tag item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListTagsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Tag item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Tag> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Tag item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListTagsAsync(EntryName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListTagsResponse, Tag> ListTagsAsync(EntryName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)Lists the tags on an [Entry][google.cloud.datacatalog.v1.Entry].
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryNameRequired. The name of the Data Catalog resource to list the tags of. The resource could be an [Entry][google.cloud.datacatalog.v1.Entry] or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]. Examples:
|
pageToken |
StringThe token returned from the previous request. A value of |
pageSize |
Nullable<Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListTagsResponse, Tag> |
A pageable asynchronous sequence of Tag resources. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryName parent = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
// Make the request
PagedAsyncEnumerable<ListTagsResponse, Tag> response = dataCatalogClient.ListTagsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Tag item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListTagsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Tag item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Tag> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Tag item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListTagsAsync(ListTagsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListTagsResponse, Tag> ListTagsAsync(ListTagsRequest request, CallSettings callSettings = null)Lists the tags on an [Entry][google.cloud.datacatalog.v1.Entry].
| Parameters | |
|---|---|
| Name | Description |
request |
ListTagsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListTagsResponse, Tag> |
A pageable asynchronous sequence of Tag resources. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
ListTagsRequest request = new ListTagsRequest
{
ParentAsEntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
PagedAsyncEnumerable<ListTagsResponse, Tag> response = dataCatalogClient.ListTagsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Tag item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListTagsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Tag item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Tag> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Tag item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListTagsAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListTagsResponse, Tag> ListTagsAsync(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)Lists the tags on an [Entry][google.cloud.datacatalog.v1.Entry].
| Parameters | |
|---|---|
| Name | Description |
parent |
StringRequired. The name of the Data Catalog resource to list the tags of. The resource could be an [Entry][google.cloud.datacatalog.v1.Entry] or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]. Examples:
|
pageToken |
StringThe token returned from the previous request. A value of |
pageSize |
Nullable<Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListTagsResponse, Tag> |
A pageable asynchronous sequence of Tag resources. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/entryGroups/[ENTRY_GROUP]/entries/[ENTRY]";
// Make the request
PagedAsyncEnumerable<ListTagsResponse, Tag> response = dataCatalogClient.ListTagsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Tag item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListTagsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Tag item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Tag> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Tag item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
LookupEntry(LookupEntryRequest, CallSettings)
public virtual Entry LookupEntry(LookupEntryRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
LookupEntryRequest request = new LookupEntryRequest { LinkedResource = "", };
// Make the request
Entry response = dataCatalogClient.LookupEntry(request);
LookupEntryAsync(LookupEntryRequest, CallSettings)
public virtual Task<Entry> LookupEntryAsync(LookupEntryRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
LookupEntryRequest request = new LookupEntryRequest { LinkedResource = "", };
// Make the request
Entry response = await dataCatalogClient.LookupEntryAsync(request);
LookupEntryAsync(LookupEntryRequest, CancellationToken)
public virtual Task<Entry> LookupEntryAsync(LookupEntryRequest request, CancellationToken cancellationToken)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.
| Parameters | |
|---|---|
| Name | Description |
request |
LookupEntryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
LookupEntryRequest request = new LookupEntryRequest { LinkedResource = "", };
// Make the request
Entry response = await dataCatalogClient.LookupEntryAsync(request);
RenameTagTemplateField(RenameTagTemplateFieldRequest, CallSettings)
public virtual TagTemplateField RenameTagTemplateField(RenameTagTemplateFieldRequest request, CallSettings callSettings = null)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
request |
RenameTagTemplateFieldRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplateField |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
RenameTagTemplateFieldRequest request = new RenameTagTemplateFieldRequest
{
TagTemplateFieldName = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]"),
NewTagTemplateFieldId = "",
};
// Make the request
TagTemplateField response = dataCatalogClient.RenameTagTemplateField(request);
RenameTagTemplateField(TagTemplateFieldName, String, CallSettings)
public virtual TagTemplateField RenameTagTemplateField(TagTemplateFieldName name, string newTagTemplateFieldId, CallSettings callSettings = null)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template. Example:
|
newTagTemplateFieldId |
StringRequired. The new ID of this tag template field. For example, |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplateField |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
TagTemplateFieldName name = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
string newTagTemplateFieldId = "";
// Make the request
TagTemplateField response = dataCatalogClient.RenameTagTemplateField(name, newTagTemplateFieldId);
RenameTagTemplateField(String, String, CallSettings)
public virtual TagTemplateField RenameTagTemplateField(string name, string newTagTemplateFieldId, CallSettings callSettings = null)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template. Example:
|
newTagTemplateFieldId |
StringRequired. The new ID of this tag template field. For example, |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplateField |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]/fields/[FIELD]";
string newTagTemplateFieldId = "";
// Make the request
TagTemplateField response = dataCatalogClient.RenameTagTemplateField(name, newTagTemplateFieldId);
RenameTagTemplateFieldAsync(RenameTagTemplateFieldRequest, CallSettings)
public virtual Task<TagTemplateField> RenameTagTemplateFieldAsync(RenameTagTemplateFieldRequest request, CallSettings callSettings = null)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
request |
RenameTagTemplateFieldRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
RenameTagTemplateFieldRequest request = new RenameTagTemplateFieldRequest
{
TagTemplateFieldName = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]"),
NewTagTemplateFieldId = "",
};
// Make the request
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldAsync(request);
RenameTagTemplateFieldAsync(RenameTagTemplateFieldRequest, CancellationToken)
public virtual Task<TagTemplateField> RenameTagTemplateFieldAsync(RenameTagTemplateFieldRequest request, CancellationToken cancellationToken)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
request |
RenameTagTemplateFieldRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
RenameTagTemplateFieldRequest request = new RenameTagTemplateFieldRequest
{
TagTemplateFieldName = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]"),
NewTagTemplateFieldId = "",
};
// Make the request
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldAsync(request);
RenameTagTemplateFieldAsync(TagTemplateFieldName, String, CallSettings)
public virtual Task<TagTemplateField> RenameTagTemplateFieldAsync(TagTemplateFieldName name, string newTagTemplateFieldId, CallSettings callSettings = null)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template. Example:
|
newTagTemplateFieldId |
StringRequired. The new ID of this tag template field. For example, |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplateFieldName name = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
string newTagTemplateFieldId = "";
// Make the request
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldAsync(name, newTagTemplateFieldId);
RenameTagTemplateFieldAsync(TagTemplateFieldName, String, CancellationToken)
public virtual Task<TagTemplateField> RenameTagTemplateFieldAsync(TagTemplateFieldName name, string newTagTemplateFieldId, CancellationToken cancellationToken)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template. Example:
|
newTagTemplateFieldId |
StringRequired. The new ID of this tag template field. For example, |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplateFieldName name = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
string newTagTemplateFieldId = "";
// Make the request
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldAsync(name, newTagTemplateFieldId);
RenameTagTemplateFieldAsync(String, String, CallSettings)
public virtual Task<TagTemplateField> RenameTagTemplateFieldAsync(string name, string newTagTemplateFieldId, CallSettings callSettings = null)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template. Example:
|
newTagTemplateFieldId |
StringRequired. The new ID of this tag template field. For example, |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]/fields/[FIELD]";
string newTagTemplateFieldId = "";
// Make the request
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldAsync(name, newTagTemplateFieldId);
RenameTagTemplateFieldAsync(String, String, CancellationToken)
public virtual Task<TagTemplateField> RenameTagTemplateFieldAsync(string name, string newTagTemplateFieldId, CancellationToken cancellationToken)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
Project
for more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template. Example:
|
newTagTemplateFieldId |
StringRequired. The new ID of this tag template field. For example, |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]/fields/[FIELD]";
string newTagTemplateFieldId = "";
// Make the request
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldAsync(name, newTagTemplateFieldId);
RenameTagTemplateFieldEnumValue(RenameTagTemplateFieldEnumValueRequest, CallSettings)
public virtual TagTemplateField RenameTagTemplateFieldEnumValue(RenameTagTemplateFieldEnumValueRequest request, CallSettings callSettings = null)Renames an enum value in a tag template. The enum values have to be unique within one enum field.
| Parameters | |
|---|---|
| Name | Description |
request |
RenameTagTemplateFieldEnumValueRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplateField |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
RenameTagTemplateFieldEnumValueRequest request = new RenameTagTemplateFieldEnumValueRequest
{
TagTemplateFieldEnumValueName = TagTemplateFieldEnumValueName.FromProjectLocationTagTemplateTagTemplateFieldEnumValueDisplayName("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[TAG_TEMPLATE_FIELD_ID]", "[ENUM_VALUE_DISPLAY_NAME]"),
NewEnumValueDisplayName = "",
};
// Make the request
TagTemplateField response = dataCatalogClient.RenameTagTemplateFieldEnumValue(request);
RenameTagTemplateFieldEnumValue(TagTemplateFieldEnumValueName, String, CallSettings)
public virtual TagTemplateField RenameTagTemplateFieldEnumValue(TagTemplateFieldEnumValueName name, string newEnumValueDisplayName, CallSettings callSettings = null)Renames an enum value in a tag template. The enum values have to be unique within one enum field.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldEnumValueNameRequired. The name of the enum field value. Example:
|
newEnumValueDisplayName |
StringRequired. The new display name of the enum value. For example, |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplateField |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
TagTemplateFieldEnumValueName name = TagTemplateFieldEnumValueName.FromProjectLocationTagTemplateTagTemplateFieldEnumValueDisplayName("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[TAG_TEMPLATE_FIELD_ID]", "[ENUM_VALUE_DISPLAY_NAME]");
string newEnumValueDisplayName = "";
// Make the request
TagTemplateField response = dataCatalogClient.RenameTagTemplateFieldEnumValue(name, newEnumValueDisplayName);
RenameTagTemplateFieldEnumValue(String, String, CallSettings)
public virtual TagTemplateField RenameTagTemplateFieldEnumValue(string name, string newEnumValueDisplayName, CallSettings callSettings = null)Renames an enum value in a tag template. The enum values have to be unique within one enum field.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the enum field value. Example:
|
newEnumValueDisplayName |
StringRequired. The new display name of the enum value. For example, |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplateField |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]/fields/[TAG_TEMPLATE_FIELD_ID]/enumValues/[ENUM_VALUE_DISPLAY_NAME]";
string newEnumValueDisplayName = "";
// Make the request
TagTemplateField response = dataCatalogClient.RenameTagTemplateFieldEnumValue(name, newEnumValueDisplayName);
RenameTagTemplateFieldEnumValueAsync(RenameTagTemplateFieldEnumValueRequest, CallSettings)
public virtual Task<TagTemplateField> RenameTagTemplateFieldEnumValueAsync(RenameTagTemplateFieldEnumValueRequest request, CallSettings callSettings = null)Renames an enum value in a tag template. The enum values have to be unique within one enum field.
| Parameters | |
|---|---|
| Name | Description |
request |
RenameTagTemplateFieldEnumValueRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
RenameTagTemplateFieldEnumValueRequest request = new RenameTagTemplateFieldEnumValueRequest
{
TagTemplateFieldEnumValueName = TagTemplateFieldEnumValueName.FromProjectLocationTagTemplateTagTemplateFieldEnumValueDisplayName("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[TAG_TEMPLATE_FIELD_ID]", "[ENUM_VALUE_DISPLAY_NAME]"),
NewEnumValueDisplayName = "",
};
// Make the request
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldEnumValueAsync(request);
RenameTagTemplateFieldEnumValueAsync(RenameTagTemplateFieldEnumValueRequest, CancellationToken)
public virtual Task<TagTemplateField> RenameTagTemplateFieldEnumValueAsync(RenameTagTemplateFieldEnumValueRequest request, CancellationToken cancellationToken)Renames an enum value in a tag template. The enum values have to be unique within one enum field.
| Parameters | |
|---|---|
| Name | Description |
request |
RenameTagTemplateFieldEnumValueRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
RenameTagTemplateFieldEnumValueRequest request = new RenameTagTemplateFieldEnumValueRequest
{
TagTemplateFieldEnumValueName = TagTemplateFieldEnumValueName.FromProjectLocationTagTemplateTagTemplateFieldEnumValueDisplayName("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[TAG_TEMPLATE_FIELD_ID]", "[ENUM_VALUE_DISPLAY_NAME]"),
NewEnumValueDisplayName = "",
};
// Make the request
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldEnumValueAsync(request);
RenameTagTemplateFieldEnumValueAsync(TagTemplateFieldEnumValueName, String, CallSettings)
public virtual Task<TagTemplateField> RenameTagTemplateFieldEnumValueAsync(TagTemplateFieldEnumValueName name, string newEnumValueDisplayName, CallSettings callSettings = null)Renames an enum value in a tag template. The enum values have to be unique within one enum field.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldEnumValueNameRequired. The name of the enum field value. Example:
|
newEnumValueDisplayName |
StringRequired. The new display name of the enum value. For example, |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplateFieldEnumValueName name = TagTemplateFieldEnumValueName.FromProjectLocationTagTemplateTagTemplateFieldEnumValueDisplayName("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[TAG_TEMPLATE_FIELD_ID]", "[ENUM_VALUE_DISPLAY_NAME]");
string newEnumValueDisplayName = "";
// Make the request
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldEnumValueAsync(name, newEnumValueDisplayName);
RenameTagTemplateFieldEnumValueAsync(TagTemplateFieldEnumValueName, String, CancellationToken)
public virtual Task<TagTemplateField> RenameTagTemplateFieldEnumValueAsync(TagTemplateFieldEnumValueName name, string newEnumValueDisplayName, CancellationToken cancellationToken)Renames an enum value in a tag template. The enum values have to be unique within one enum field.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldEnumValueNameRequired. The name of the enum field value. Example:
|
newEnumValueDisplayName |
StringRequired. The new display name of the enum value. For example, |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplateFieldEnumValueName name = TagTemplateFieldEnumValueName.FromProjectLocationTagTemplateTagTemplateFieldEnumValueDisplayName("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[TAG_TEMPLATE_FIELD_ID]", "[ENUM_VALUE_DISPLAY_NAME]");
string newEnumValueDisplayName = "";
// Make the request
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldEnumValueAsync(name, newEnumValueDisplayName);
RenameTagTemplateFieldEnumValueAsync(String, String, CallSettings)
public virtual Task<TagTemplateField> RenameTagTemplateFieldEnumValueAsync(string name, string newEnumValueDisplayName, CallSettings callSettings = null)Renames an enum value in a tag template. The enum values have to be unique within one enum field.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the enum field value. Example:
|
newEnumValueDisplayName |
StringRequired. The new display name of the enum value. For example, |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]/fields/[TAG_TEMPLATE_FIELD_ID]/enumValues/[ENUM_VALUE_DISPLAY_NAME]";
string newEnumValueDisplayName = "";
// Make the request
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldEnumValueAsync(name, newEnumValueDisplayName);
RenameTagTemplateFieldEnumValueAsync(String, String, CancellationToken)
public virtual Task<TagTemplateField> RenameTagTemplateFieldEnumValueAsync(string name, string newEnumValueDisplayName, CancellationToken cancellationToken)Renames an enum value in a tag template. The enum values have to be unique within one enum field.
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the enum field value. Example:
|
newEnumValueDisplayName |
StringRequired. The new display name of the enum value. For example, |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]/fields/[TAG_TEMPLATE_FIELD_ID]/enumValues/[ENUM_VALUE_DISPLAY_NAME]";
string newEnumValueDisplayName = "";
// Make the request
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldEnumValueAsync(name, newEnumValueDisplayName);
SearchCatalog(SearchCatalogRequest, CallSettings)
public virtual PagedEnumerable<SearchCatalogResponse, SearchCatalogResult> SearchCatalog(SearchCatalogRequest request, CallSettings callSettings = null)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
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 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 queries.
See Data Catalog Search Syntax for more information.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchCatalogRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<SearchCatalogResponse, SearchCatalogResult> |
A pageable sequence of SearchCatalogResult resources. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
SearchCatalogRequest request = new SearchCatalogRequest
{
Query = "",
OrderBy = "",
Scope = new SearchCatalogRequest.Types.Scope(),
};
// Make the request
PagedEnumerable<SearchCatalogResponse, SearchCatalogResult> response = dataCatalogClient.SearchCatalog(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (SearchCatalogResult item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchCatalogResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SearchCatalogResult item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SearchCatalogResult> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SearchCatalogResult item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchCatalog(SearchCatalogRequest.Types.Scope, String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<SearchCatalogResponse, SearchCatalogResult> SearchCatalog(SearchCatalogRequest.Types.Scope scope, string query, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)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
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 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 queries.
See Data Catalog Search Syntax for more information.
| Parameters | |
|---|---|
| Name | Description |
scope |
SearchCatalogRequest.Types.ScopeRequired. The scope of this search request. A |
query |
StringOptional. 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 simple as "x" or more qualified as:
Note: Query tokens need to have a minimum of 3 characters for substring matching to work correctly. See Data Catalog Search Syntax for more information. |
pageToken |
StringThe token returned from the previous request. A value of |
pageSize |
Nullable<Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<SearchCatalogResponse, SearchCatalogResult> |
A pageable sequence of SearchCatalogResult resources. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
SearchCatalogRequest.Types.Scope scope = new SearchCatalogRequest.Types.Scope();
string query = "";
// Make the request
PagedEnumerable<SearchCatalogResponse, SearchCatalogResult> response = dataCatalogClient.SearchCatalog(scope, query);
// Iterate over all response items, lazily performing RPCs as required
foreach (SearchCatalogResult item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchCatalogResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SearchCatalogResult item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SearchCatalogResult> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SearchCatalogResult item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchCatalogAsync(SearchCatalogRequest, CallSettings)
public virtual PagedAsyncEnumerable<SearchCatalogResponse, SearchCatalogResult> SearchCatalogAsync(SearchCatalogRequest request, CallSettings callSettings = null)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
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 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 queries.
See Data Catalog Search Syntax for more information.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchCatalogRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<SearchCatalogResponse, SearchCatalogResult> |
A pageable asynchronous sequence of SearchCatalogResult resources. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
SearchCatalogRequest request = new SearchCatalogRequest
{
Query = "",
OrderBy = "",
Scope = new SearchCatalogRequest.Types.Scope(),
};
// Make the request
PagedAsyncEnumerable<SearchCatalogResponse, SearchCatalogResult> response = dataCatalogClient.SearchCatalogAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((SearchCatalogResult item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchCatalogResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SearchCatalogResult item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SearchCatalogResult> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SearchCatalogResult item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchCatalogAsync(SearchCatalogRequest.Types.Scope, String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<SearchCatalogResponse, SearchCatalogResult> SearchCatalogAsync(SearchCatalogRequest.Types.Scope scope, string query, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)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
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 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 queries.
See Data Catalog Search Syntax for more information.
| Parameters | |
|---|---|
| Name | Description |
scope |
SearchCatalogRequest.Types.ScopeRequired. The scope of this search request. A |
query |
StringOptional. 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 simple as "x" or more qualified as:
Note: Query tokens need to have a minimum of 3 characters for substring matching to work correctly. See Data Catalog Search Syntax for more information. |
pageToken |
StringThe token returned from the previous request. A value of |
pageSize |
Nullable<Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<SearchCatalogResponse, SearchCatalogResult> |
A pageable asynchronous sequence of SearchCatalogResult resources. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
SearchCatalogRequest.Types.Scope scope = new SearchCatalogRequest.Types.Scope();
string query = "";
// Make the request
PagedAsyncEnumerable<SearchCatalogResponse, SearchCatalogResult> response = dataCatalogClient.SearchCatalogAsync(scope, query);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((SearchCatalogResult item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchCatalogResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SearchCatalogResult item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SearchCatalogResult> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SearchCatalogResult item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SetIamPolicy(IResourceName, Policy, CallSettings)
public virtual Policy SetIamPolicy(IResourceName resource, Policy policy, CallSettings callSettings = null)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 manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.datacatalog.entries.setIamPolicyto set policies on entries.datacatalog.entryGroups.setIamPolicyto set policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
resource |
IResourceNameREQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field. |
policy |
Google.Cloud.Iam.V1.PolicyREQUIRED: The complete policy to be applied to the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Google.Cloud.Iam.V1.Policy |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
IResourceName resource = new UnparsedResourceName("a/wildcard/resource");
Policy policy = new Policy();
// Make the request
Policy response = dataCatalogClient.SetIamPolicy(resource, policy);
SetIamPolicy(SetIamPolicyRequest, CallSettings)
public virtual Policy SetIamPolicy(SetIamPolicyRequest request, CallSettings callSettings = null)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 manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.datacatalog.entries.setIamPolicyto set policies on entries.datacatalog.entryGroups.setIamPolicyto set policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
request |
Google.Cloud.Iam.V1.SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Google.Cloud.Iam.V1.Policy |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
SetIamPolicyRequest request = new SetIamPolicyRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Policy = new Policy(),
};
// Make the request
Policy response = dataCatalogClient.SetIamPolicy(request);
SetIamPolicy(String, Policy, CallSettings)
public virtual Policy SetIamPolicy(string resource, Policy policy, CallSettings callSettings = null)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 manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.datacatalog.entries.setIamPolicyto set policies on entries.datacatalog.entryGroups.setIamPolicyto set policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
resource |
StringREQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field. |
policy |
Google.Cloud.Iam.V1.PolicyREQUIRED: The complete policy to be applied to the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Google.Cloud.Iam.V1.Policy |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string resource = "a/wildcard/resource";
Policy policy = new Policy();
// Make the request
Policy response = dataCatalogClient.SetIamPolicy(resource, policy);
SetIamPolicyAsync(IResourceName, Policy, CallSettings)
public virtual Task<Policy> SetIamPolicyAsync(IResourceName resource, Policy policy, CallSettings callSettings = null)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 manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.datacatalog.entries.setIamPolicyto set policies on entries.datacatalog.entryGroups.setIamPolicyto set policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
resource |
IResourceNameREQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field. |
policy |
Google.Cloud.Iam.V1.PolicyREQUIRED: The complete policy to be applied to the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Google.Cloud.Iam.V1.Policy> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
IResourceName resource = new UnparsedResourceName("a/wildcard/resource");
Policy policy = new Policy();
// Make the request
Policy response = await dataCatalogClient.SetIamPolicyAsync(resource, policy);
SetIamPolicyAsync(IResourceName, Policy, CancellationToken)
public virtual Task<Policy> SetIamPolicyAsync(IResourceName resource, Policy policy, CancellationToken cancellationToken)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 manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.datacatalog.entries.setIamPolicyto set policies on entries.datacatalog.entryGroups.setIamPolicyto set policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
resource |
IResourceNameREQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field. |
policy |
Google.Cloud.Iam.V1.PolicyREQUIRED: The complete policy to be applied to the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Google.Cloud.Iam.V1.Policy> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
IResourceName resource = new UnparsedResourceName("a/wildcard/resource");
Policy policy = new Policy();
// Make the request
Policy response = await dataCatalogClient.SetIamPolicyAsync(resource, policy);
SetIamPolicyAsync(SetIamPolicyRequest, CallSettings)
public virtual Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallSettings callSettings = null)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 manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.datacatalog.entries.setIamPolicyto set policies on entries.datacatalog.entryGroups.setIamPolicyto set policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
request |
Google.Cloud.Iam.V1.SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Google.Cloud.Iam.V1.Policy> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
SetIamPolicyRequest request = new SetIamPolicyRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Policy = new Policy(),
};
// Make the request
Policy response = await dataCatalogClient.SetIamPolicyAsync(request);
SetIamPolicyAsync(SetIamPolicyRequest, CancellationToken)
public virtual Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CancellationToken cancellationToken)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 manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.datacatalog.entries.setIamPolicyto set policies on entries.datacatalog.entryGroups.setIamPolicyto set policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
request |
Google.Cloud.Iam.V1.SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Google.Cloud.Iam.V1.Policy> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
SetIamPolicyRequest request = new SetIamPolicyRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Policy = new Policy(),
};
// Make the request
Policy response = await dataCatalogClient.SetIamPolicyAsync(request);
SetIamPolicyAsync(String, Policy, CallSettings)
public virtual Task<Policy> SetIamPolicyAsync(string resource, Policy policy, CallSettings callSettings = null)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 manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.datacatalog.entries.setIamPolicyto set policies on entries.datacatalog.entryGroups.setIamPolicyto set policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
resource |
StringREQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field. |
policy |
Google.Cloud.Iam.V1.PolicyREQUIRED: The complete policy to be applied to the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Google.Cloud.Iam.V1.Policy> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string resource = "a/wildcard/resource";
Policy policy = new Policy();
// Make the request
Policy response = await dataCatalogClient.SetIamPolicyAsync(resource, policy);
SetIamPolicyAsync(String, Policy, CancellationToken)
public virtual Task<Policy> SetIamPolicyAsync(string resource, Policy policy, CancellationToken cancellationToken)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 manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.datacatalog.entries.setIamPolicyto set policies on entries.datacatalog.entryGroups.setIamPolicyto set policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
resource |
StringREQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field. |
policy |
Google.Cloud.Iam.V1.PolicyREQUIRED: The complete policy to be applied to the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Google.Cloud.Iam.V1.Policy> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string resource = "a/wildcard/resource";
Policy policy = new Policy();
// Make the request
Policy response = await dataCatalogClient.SetIamPolicyAsync(resource, policy);
ShutdownDefaultChannelsAsync()
public static Task ShutdownDefaultChannelsAsync()Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
| Returns | |
|---|---|
| Type | Description |
Task |
A task representing the asynchronous shutdown operation. |
After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.
TestIamPermissions(TestIamPermissionsRequest, CallSettings)
public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallSettings callSettings = null)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 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 Data Catalog.
A caller is not required to have Google IAM permission to make this request.
| Parameters | |
|---|---|
| Name | Description |
request |
Google.Cloud.Iam.V1.TestIamPermissionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Google.Cloud.Iam.V1.TestIamPermissionsResponse |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
TestIamPermissionsRequest request = new TestIamPermissionsRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Permissions = { "", },
};
// Make the request
TestIamPermissionsResponse response = dataCatalogClient.TestIamPermissions(request);
TestIamPermissionsAsync(TestIamPermissionsRequest, CallSettings)
public virtual Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallSettings callSettings = null)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 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 Data Catalog.
A caller is not required to have Google IAM permission to make this request.
| Parameters | |
|---|---|
| Name | Description |
request |
Google.Cloud.Iam.V1.TestIamPermissionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Google.Cloud.Iam.V1.TestIamPermissionsResponse> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TestIamPermissionsRequest request = new TestIamPermissionsRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Permissions = { "", },
};
// Make the request
TestIamPermissionsResponse response = await dataCatalogClient.TestIamPermissionsAsync(request);
TestIamPermissionsAsync(TestIamPermissionsRequest, CancellationToken)
public virtual Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CancellationToken cancellationToken)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 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 Data Catalog.
A caller is not required to have Google IAM permission to make this request.
| Parameters | |
|---|---|
| Name | Description |
request |
Google.Cloud.Iam.V1.TestIamPermissionsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Google.Cloud.Iam.V1.TestIamPermissionsResponse> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TestIamPermissionsRequest request = new TestIamPermissionsRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Permissions = { "", },
};
// Make the request
TestIamPermissionsResponse response = await dataCatalogClient.TestIamPermissionsAsync(request);
UpdateEntry(Entry, CallSettings)
public virtual Entry UpdateEntry(Entry entry, CallSettings callSettings = null)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
entry |
EntryRequired. The updated entry. The "name" field must be set. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
Entry entry = new Entry();
// Make the request
Entry response = dataCatalogClient.UpdateEntry(entry);
UpdateEntry(Entry, FieldMask, CallSettings)
public virtual Entry UpdateEntry(Entry entry, FieldMask updateMask, CallSettings callSettings = null)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
entry |
EntryRequired. The updated entry. The "name" field must be set. |
updateMask |
FieldMaskNames 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 in the request body, their values are emptied. The following fields are modifiable:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
Entry entry = new Entry();
FieldMask updateMask = new FieldMask();
// Make the request
Entry response = dataCatalogClient.UpdateEntry(entry, updateMask);
UpdateEntry(UpdateEntryRequest, CallSettings)
public virtual Entry UpdateEntry(UpdateEntryRequest request, CallSettings callSettings = null)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Entry |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
UpdateEntryRequest request = new UpdateEntryRequest
{
Entry = new Entry(),
UpdateMask = new FieldMask(),
};
// Make the request
Entry response = dataCatalogClient.UpdateEntry(request);
UpdateEntryAsync(Entry, CallSettings)
public virtual Task<Entry> UpdateEntryAsync(Entry entry, CallSettings callSettings = null)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
entry |
EntryRequired. The updated entry. The "name" field must be set. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
Entry entry = new Entry();
// Make the request
Entry response = await dataCatalogClient.UpdateEntryAsync(entry);
UpdateEntryAsync(Entry, FieldMask, CallSettings)
public virtual Task<Entry> UpdateEntryAsync(Entry entry, FieldMask updateMask, CallSettings callSettings = null)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
entry |
EntryRequired. The updated entry. The "name" field must be set. |
updateMask |
FieldMaskNames 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 in the request body, their values are emptied. The following fields are modifiable:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
Entry entry = new Entry();
FieldMask updateMask = new FieldMask();
// Make the request
Entry response = await dataCatalogClient.UpdateEntryAsync(entry, updateMask);
UpdateEntryAsync(Entry, FieldMask, CancellationToken)
public virtual Task<Entry> UpdateEntryAsync(Entry entry, FieldMask updateMask, CancellationToken cancellationToken)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
entry |
EntryRequired. The updated entry. The "name" field must be set. |
updateMask |
FieldMaskNames 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 in the request body, their values are emptied. The following fields are modifiable:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
Entry entry = new Entry();
FieldMask updateMask = new FieldMask();
// Make the request
Entry response = await dataCatalogClient.UpdateEntryAsync(entry, updateMask);
UpdateEntryAsync(Entry, CancellationToken)
public virtual Task<Entry> UpdateEntryAsync(Entry entry, CancellationToken cancellationToken)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
entry |
EntryRequired. The updated entry. The "name" field must be set. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
Entry entry = new Entry();
// Make the request
Entry response = await dataCatalogClient.UpdateEntryAsync(entry);
UpdateEntryAsync(UpdateEntryRequest, CallSettings)
public virtual Task<Entry> UpdateEntryAsync(UpdateEntryRequest request, CallSettings callSettings = null)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
UpdateEntryRequest request = new UpdateEntryRequest
{
Entry = new Entry(),
UpdateMask = new FieldMask(),
};
// Make the request
Entry response = await dataCatalogClient.UpdateEntryAsync(request);
UpdateEntryAsync(UpdateEntryRequest, CancellationToken)
public virtual Task<Entry> UpdateEntryAsync(UpdateEntryRequest request, CancellationToken cancellationToken)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Entry> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
UpdateEntryRequest request = new UpdateEntryRequest
{
Entry = new Entry(),
UpdateMask = new FieldMask(),
};
// Make the request
Entry response = await dataCatalogClient.UpdateEntryAsync(request);
UpdateEntryGroup(EntryGroup, CallSettings)
public virtual EntryGroup UpdateEntryGroup(EntryGroup entryGroup, CallSettings callSettings = null)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
entryGroup |
EntryGroupRequired. The updated entry group. "name" field must be set. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryGroup |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
EntryGroup entryGroup = new EntryGroup();
// Make the request
EntryGroup response = dataCatalogClient.UpdateEntryGroup(entryGroup);
UpdateEntryGroup(EntryGroup, FieldMask, CallSettings)
public virtual EntryGroup UpdateEntryGroup(EntryGroup entryGroup, FieldMask updateMask, CallSettings callSettings = null)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
entryGroup |
EntryGroupRequired. The updated entry group. "name" field must be set. |
updateMask |
FieldMaskNames 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 omitted in the request body, their values are emptied. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryGroup |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
EntryGroup entryGroup = new EntryGroup();
FieldMask updateMask = new FieldMask();
// Make the request
EntryGroup response = dataCatalogClient.UpdateEntryGroup(entryGroup, updateMask);
UpdateEntryGroup(UpdateEntryGroupRequest, CallSettings)
public virtual EntryGroup UpdateEntryGroup(UpdateEntryGroupRequest request, CallSettings callSettings = null)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryGroup |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
UpdateEntryGroupRequest request = new UpdateEntryGroupRequest
{
EntryGroup = new EntryGroup(),
UpdateMask = new FieldMask(),
};
// Make the request
EntryGroup response = dataCatalogClient.UpdateEntryGroup(request);
UpdateEntryGroupAsync(EntryGroup, CallSettings)
public virtual Task<EntryGroup> UpdateEntryGroupAsync(EntryGroup entryGroup, CallSettings callSettings = null)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
entryGroup |
EntryGroupRequired. The updated entry group. "name" field must be set. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryGroup entryGroup = new EntryGroup();
// Make the request
EntryGroup response = await dataCatalogClient.UpdateEntryGroupAsync(entryGroup);
UpdateEntryGroupAsync(EntryGroup, FieldMask, CallSettings)
public virtual Task<EntryGroup> UpdateEntryGroupAsync(EntryGroup entryGroup, FieldMask updateMask, CallSettings callSettings = null)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
entryGroup |
EntryGroupRequired. The updated entry group. "name" field must be set. |
updateMask |
FieldMaskNames 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 omitted in the request body, their values are emptied. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryGroup entryGroup = new EntryGroup();
FieldMask updateMask = new FieldMask();
// Make the request
EntryGroup response = await dataCatalogClient.UpdateEntryGroupAsync(entryGroup, updateMask);
UpdateEntryGroupAsync(EntryGroup, FieldMask, CancellationToken)
public virtual Task<EntryGroup> UpdateEntryGroupAsync(EntryGroup entryGroup, FieldMask updateMask, CancellationToken cancellationToken)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
entryGroup |
EntryGroupRequired. The updated entry group. "name" field must be set. |
updateMask |
FieldMaskNames 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 omitted in the request body, their values are emptied. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryGroup entryGroup = new EntryGroup();
FieldMask updateMask = new FieldMask();
// Make the request
EntryGroup response = await dataCatalogClient.UpdateEntryGroupAsync(entryGroup, updateMask);
UpdateEntryGroupAsync(EntryGroup, CancellationToken)
public virtual Task<EntryGroup> UpdateEntryGroupAsync(EntryGroup entryGroup, CancellationToken cancellationToken)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
entryGroup |
EntryGroupRequired. The updated entry group. "name" field must be set. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryGroup entryGroup = new EntryGroup();
// Make the request
EntryGroup response = await dataCatalogClient.UpdateEntryGroupAsync(entryGroup);
UpdateEntryGroupAsync(UpdateEntryGroupRequest, CallSettings)
public virtual Task<EntryGroup> UpdateEntryGroupAsync(UpdateEntryGroupRequest request, CallSettings callSettings = null)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
UpdateEntryGroupRequest request = new UpdateEntryGroupRequest
{
EntryGroup = new EntryGroup(),
UpdateMask = new FieldMask(),
};
// Make the request
EntryGroup response = await dataCatalogClient.UpdateEntryGroupAsync(request);
UpdateEntryGroupAsync(UpdateEntryGroupRequest, CancellationToken)
public virtual Task<EntryGroup> UpdateEntryGroupAsync(UpdateEntryGroupRequest request, CancellationToken cancellationToken)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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEntryGroupRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<EntryGroup> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
UpdateEntryGroupRequest request = new UpdateEntryGroupRequest
{
EntryGroup = new EntryGroup(),
UpdateMask = new FieldMask(),
};
// Make the request
EntryGroup response = await dataCatalogClient.UpdateEntryGroupAsync(request);
UpdateTag(Tag, CallSettings)
public virtual Tag UpdateTag(Tag tag, CallSettings callSettings = null)Updates an existing tag.
| Parameters | |
|---|---|
| Name | Description |
tag |
TagRequired. The updated tag. The "name" field must be set. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Tag |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
Tag tag = new Tag();
// Make the request
Tag response = dataCatalogClient.UpdateTag(tag);
UpdateTag(Tag, FieldMask, CallSettings)
public virtual Tag UpdateTag(Tag tag, FieldMask updateMask, CallSettings callSettings = null)Updates an existing tag.
| Parameters | |
|---|---|
| Name | Description |
tag |
TagRequired. The updated tag. The "name" field must be set. |
updateMask |
FieldMaskNames of fields whose values to overwrite on a tag. Currently, a tag has
the only modifiable field with the name 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 values are emptied. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Tag |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
Tag tag = new Tag();
FieldMask updateMask = new FieldMask();
// Make the request
Tag response = dataCatalogClient.UpdateTag(tag, updateMask);
UpdateTag(UpdateTagRequest, CallSettings)
public virtual Tag UpdateTag(UpdateTagRequest request, CallSettings callSettings = null)Updates an existing tag.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTagRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Tag |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
UpdateTagRequest request = new UpdateTagRequest
{
Tag = new Tag(),
UpdateMask = new FieldMask(),
};
// Make the request
Tag response = dataCatalogClient.UpdateTag(request);
UpdateTagAsync(Tag, CallSettings)
public virtual Task<Tag> UpdateTagAsync(Tag tag, CallSettings callSettings = null)Updates an existing tag.
| Parameters | |
|---|---|
| Name | Description |
tag |
TagRequired. The updated tag. The "name" field must be set. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Tag> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
Tag tag = new Tag();
// Make the request
Tag response = await dataCatalogClient.UpdateTagAsync(tag);
UpdateTagAsync(Tag, FieldMask, CallSettings)
public virtual Task<Tag> UpdateTagAsync(Tag tag, FieldMask updateMask, CallSettings callSettings = null)Updates an existing tag.
| Parameters | |
|---|---|
| Name | Description |
tag |
TagRequired. The updated tag. The "name" field must be set. |
updateMask |
FieldMaskNames of fields whose values to overwrite on a tag. Currently, a tag has
the only modifiable field with the name 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 values are emptied. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Tag> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
Tag tag = new Tag();
FieldMask updateMask = new FieldMask();
// Make the request
Tag response = await dataCatalogClient.UpdateTagAsync(tag, updateMask);
UpdateTagAsync(Tag, FieldMask, CancellationToken)
public virtual Task<Tag> UpdateTagAsync(Tag tag, FieldMask updateMask, CancellationToken cancellationToken)Updates an existing tag.
| Parameters | |
|---|---|
| Name | Description |
tag |
TagRequired. The updated tag. The "name" field must be set. |
updateMask |
FieldMaskNames of fields whose values to overwrite on a tag. Currently, a tag has
the only modifiable field with the name 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 values are emptied. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Tag> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
Tag tag = new Tag();
FieldMask updateMask = new FieldMask();
// Make the request
Tag response = await dataCatalogClient.UpdateTagAsync(tag, updateMask);
UpdateTagAsync(Tag, CancellationToken)
public virtual Task<Tag> UpdateTagAsync(Tag tag, CancellationToken cancellationToken)Updates an existing tag.
| Parameters | |
|---|---|
| Name | Description |
tag |
TagRequired. The updated tag. The "name" field must be set. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Tag> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
Tag tag = new Tag();
// Make the request
Tag response = await dataCatalogClient.UpdateTagAsync(tag);
UpdateTagAsync(UpdateTagRequest, CallSettings)
public virtual Task<Tag> UpdateTagAsync(UpdateTagRequest request, CallSettings callSettings = null)Updates an existing tag.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTagRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Tag> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
UpdateTagRequest request = new UpdateTagRequest
{
Tag = new Tag(),
UpdateMask = new FieldMask(),
};
// Make the request
Tag response = await dataCatalogClient.UpdateTagAsync(request);
UpdateTagAsync(UpdateTagRequest, CancellationToken)
public virtual Task<Tag> UpdateTagAsync(UpdateTagRequest request, CancellationToken cancellationToken)Updates an existing tag.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTagRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<Tag> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
UpdateTagRequest request = new UpdateTagRequest
{
Tag = new Tag(),
UpdateMask = new FieldMask(),
};
// Make the request
Tag response = await dataCatalogClient.UpdateTagAsync(request);
UpdateTagTemplate(TagTemplate, CallSettings)
public virtual TagTemplate UpdateTagTemplate(TagTemplate tagTemplate, CallSettings callSettings = null)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 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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
tagTemplate |
TagTemplateRequired. The template to update. The "name" field must be set. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplate |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
TagTemplate tagTemplate = new TagTemplate();
// Make the request
TagTemplate response = dataCatalogClient.UpdateTagTemplate(tagTemplate);
UpdateTagTemplate(TagTemplate, FieldMask, CallSettings)
public virtual TagTemplate UpdateTagTemplate(TagTemplate tagTemplate, FieldMask updateMask, CallSettings callSettings = null)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 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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
tagTemplate |
TagTemplateRequired. The template to update. The "name" field must be set. |
updateMask |
FieldMaskNames of fields whose values to overwrite on a tag template. Currently,
only 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 values are emptied. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplate |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
TagTemplate tagTemplate = new TagTemplate();
FieldMask updateMask = new FieldMask();
// Make the request
TagTemplate response = dataCatalogClient.UpdateTagTemplate(tagTemplate, updateMask);
UpdateTagTemplate(UpdateTagTemplateRequest, CallSettings)
public virtual TagTemplate UpdateTagTemplate(UpdateTagTemplateRequest request, CallSettings callSettings = null)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 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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTagTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplate |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
UpdateTagTemplateRequest request = new UpdateTagTemplateRequest
{
TagTemplate = new TagTemplate(),
UpdateMask = new FieldMask(),
};
// Make the request
TagTemplate response = dataCatalogClient.UpdateTagTemplate(request);
UpdateTagTemplateAsync(TagTemplate, CallSettings)
public virtual Task<TagTemplate> UpdateTagTemplateAsync(TagTemplate tagTemplate, CallSettings callSettings = null)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 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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
tagTemplate |
TagTemplateRequired. The template to update. The "name" field must be set. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplate tagTemplate = new TagTemplate();
// Make the request
TagTemplate response = await dataCatalogClient.UpdateTagTemplateAsync(tagTemplate);
UpdateTagTemplateAsync(TagTemplate, FieldMask, CallSettings)
public virtual Task<TagTemplate> UpdateTagTemplateAsync(TagTemplate tagTemplate, FieldMask updateMask, CallSettings callSettings = null)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 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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
tagTemplate |
TagTemplateRequired. The template to update. The "name" field must be set. |
updateMask |
FieldMaskNames of fields whose values to overwrite on a tag template. Currently,
only 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 values are emptied. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplate tagTemplate = new TagTemplate();
FieldMask updateMask = new FieldMask();
// Make the request
TagTemplate response = await dataCatalogClient.UpdateTagTemplateAsync(tagTemplate, updateMask);
UpdateTagTemplateAsync(TagTemplate, FieldMask, CancellationToken)
public virtual Task<TagTemplate> UpdateTagTemplateAsync(TagTemplate tagTemplate, FieldMask updateMask, CancellationToken cancellationToken)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 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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
tagTemplate |
TagTemplateRequired. The template to update. The "name" field must be set. |
updateMask |
FieldMaskNames of fields whose values to overwrite on a tag template. Currently,
only 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 values are emptied. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplate tagTemplate = new TagTemplate();
FieldMask updateMask = new FieldMask();
// Make the request
TagTemplate response = await dataCatalogClient.UpdateTagTemplateAsync(tagTemplate, updateMask);
UpdateTagTemplateAsync(TagTemplate, CancellationToken)
public virtual Task<TagTemplate> UpdateTagTemplateAsync(TagTemplate tagTemplate, CancellationToken cancellationToken)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 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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
tagTemplate |
TagTemplateRequired. The template to update. The "name" field must be set. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplate tagTemplate = new TagTemplate();
// Make the request
TagTemplate response = await dataCatalogClient.UpdateTagTemplateAsync(tagTemplate);
UpdateTagTemplateAsync(UpdateTagTemplateRequest, CallSettings)
public virtual Task<TagTemplate> UpdateTagTemplateAsync(UpdateTagTemplateRequest request, CallSettings callSettings = null)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 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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTagTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
UpdateTagTemplateRequest request = new UpdateTagTemplateRequest
{
TagTemplate = new TagTemplate(),
UpdateMask = new FieldMask(),
};
// Make the request
TagTemplate response = await dataCatalogClient.UpdateTagTemplateAsync(request);
UpdateTagTemplateAsync(UpdateTagTemplateRequest, CancellationToken)
public virtual Task<TagTemplate> UpdateTagTemplateAsync(UpdateTagTemplateRequest request, CancellationToken cancellationToken)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 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 for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTagTemplateRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplate> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
UpdateTagTemplateRequest request = new UpdateTagTemplateRequest
{
TagTemplate = new TagTemplate(),
UpdateMask = new FieldMask(),
};
// Make the request
TagTemplate response = await dataCatalogClient.UpdateTagTemplateAsync(request);
UpdateTagTemplateField(TagTemplateFieldName, TagTemplateField, CallSettings)
public virtual TagTemplateField UpdateTagTemplateField(TagTemplateFieldName name, TagTemplateField tagTemplateField, CallSettings callSettings = null)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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field. Example:
|
tagTemplateField |
TagTemplateFieldRequired. The template to update. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplateField |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
TagTemplateFieldName name = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
TagTemplateField tagTemplateField = new TagTemplateField();
// Make the request
TagTemplateField response = dataCatalogClient.UpdateTagTemplateField(name, tagTemplateField);
UpdateTagTemplateField(TagTemplateFieldName, TagTemplateField, FieldMask, CallSettings)
public virtual TagTemplateField UpdateTagTemplateField(TagTemplateFieldName name, TagTemplateField tagTemplateField, FieldMask updateMask, CallSettings callSettings = null)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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field. Example:
|
tagTemplateField |
TagTemplateFieldRequired. The template to update. |
updateMask |
FieldMaskOptional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:
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 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 cannot be deleted or renamed. Additionally, updating a template field from optional to required is not allowed. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplateField |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
TagTemplateFieldName name = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
TagTemplateField tagTemplateField = new TagTemplateField();
FieldMask updateMask = new FieldMask();
// Make the request
TagTemplateField response = dataCatalogClient.UpdateTagTemplateField(name, tagTemplateField, updateMask);
UpdateTagTemplateField(UpdateTagTemplateFieldRequest, CallSettings)
public virtual TagTemplateField UpdateTagTemplateField(UpdateTagTemplateFieldRequest request, CallSettings callSettings = null)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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTagTemplateFieldRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplateField |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
UpdateTagTemplateFieldRequest request = new UpdateTagTemplateFieldRequest
{
TagTemplateFieldName = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]"),
TagTemplateField = new TagTemplateField(),
UpdateMask = new FieldMask(),
};
// Make the request
TagTemplateField response = dataCatalogClient.UpdateTagTemplateField(request);
UpdateTagTemplateField(String, TagTemplateField, CallSettings)
public virtual TagTemplateField UpdateTagTemplateField(string name, TagTemplateField tagTemplateField, CallSettings callSettings = null)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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template field. Example:
|
tagTemplateField |
TagTemplateFieldRequired. The template to update. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplateField |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]/fields/[FIELD]";
TagTemplateField tagTemplateField = new TagTemplateField();
// Make the request
TagTemplateField response = dataCatalogClient.UpdateTagTemplateField(name, tagTemplateField);
UpdateTagTemplateField(String, TagTemplateField, FieldMask, CallSettings)
public virtual TagTemplateField UpdateTagTemplateField(string name, TagTemplateField tagTemplateField, FieldMask updateMask, CallSettings callSettings = null)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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template field. Example:
|
tagTemplateField |
TagTemplateFieldRequired. The template to update. |
updateMask |
FieldMaskOptional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:
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 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 cannot be deleted or renamed. Additionally, updating a template field from optional to required is not allowed. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TagTemplateField |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]/fields/[FIELD]";
TagTemplateField tagTemplateField = new TagTemplateField();
FieldMask updateMask = new FieldMask();
// Make the request
TagTemplateField response = dataCatalogClient.UpdateTagTemplateField(name, tagTemplateField, updateMask);
UpdateTagTemplateFieldAsync(TagTemplateFieldName, TagTemplateField, CallSettings)
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(TagTemplateFieldName name, TagTemplateField tagTemplateField, CallSettings callSettings = null)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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field. Example:
|
tagTemplateField |
TagTemplateFieldRequired. The template to update. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplateFieldName name = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
TagTemplateField tagTemplateField = new TagTemplateField();
// Make the request
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(name, tagTemplateField);
UpdateTagTemplateFieldAsync(TagTemplateFieldName, TagTemplateField, FieldMask, CallSettings)
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(TagTemplateFieldName name, TagTemplateField tagTemplateField, FieldMask updateMask, CallSettings callSettings = null)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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field. Example:
|
tagTemplateField |
TagTemplateFieldRequired. The template to update. |
updateMask |
FieldMaskOptional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:
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 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 cannot be deleted or renamed. Additionally, updating a template field from optional to required is not allowed. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplateFieldName name = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
TagTemplateField tagTemplateField = new TagTemplateField();
FieldMask updateMask = new FieldMask();
// Make the request
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(name, tagTemplateField, updateMask);
UpdateTagTemplateFieldAsync(TagTemplateFieldName, TagTemplateField, FieldMask, CancellationToken)
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(TagTemplateFieldName name, TagTemplateField tagTemplateField, FieldMask updateMask, CancellationToken cancellationToken)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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field. Example:
|
tagTemplateField |
TagTemplateFieldRequired. The template to update. |
updateMask |
FieldMaskOptional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:
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 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 cannot be deleted or renamed. Additionally, updating a template field from optional to required is not allowed. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplateFieldName name = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
TagTemplateField tagTemplateField = new TagTemplateField();
FieldMask updateMask = new FieldMask();
// Make the request
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(name, tagTemplateField, updateMask);
UpdateTagTemplateFieldAsync(TagTemplateFieldName, TagTemplateField, CancellationToken)
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(TagTemplateFieldName name, TagTemplateField tagTemplateField, CancellationToken cancellationToken)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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field. Example:
|
tagTemplateField |
TagTemplateFieldRequired. The template to update. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplateFieldName name = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
TagTemplateField tagTemplateField = new TagTemplateField();
// Make the request
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(name, tagTemplateField);
UpdateTagTemplateFieldAsync(UpdateTagTemplateFieldRequest, CallSettings)
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(UpdateTagTemplateFieldRequest request, CallSettings callSettings = null)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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTagTemplateFieldRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
UpdateTagTemplateFieldRequest request = new UpdateTagTemplateFieldRequest
{
TagTemplateFieldName = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]"),
TagTemplateField = new TagTemplateField(),
UpdateMask = new FieldMask(),
};
// Make the request
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(request);
UpdateTagTemplateFieldAsync(UpdateTagTemplateFieldRequest, CancellationToken)
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(UpdateTagTemplateFieldRequest request, CancellationToken cancellationToken)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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTagTemplateFieldRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
UpdateTagTemplateFieldRequest request = new UpdateTagTemplateFieldRequest
{
TagTemplateFieldName = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]"),
TagTemplateField = new TagTemplateField(),
UpdateMask = new FieldMask(),
};
// Make the request
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(request);
UpdateTagTemplateFieldAsync(String, TagTemplateField, CallSettings)
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(string name, TagTemplateField tagTemplateField, CallSettings callSettings = null)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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template field. Example:
|
tagTemplateField |
TagTemplateFieldRequired. The template to update. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]/fields/[FIELD]";
TagTemplateField tagTemplateField = new TagTemplateField();
// Make the request
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(name, tagTemplateField);
UpdateTagTemplateFieldAsync(String, TagTemplateField, FieldMask, CallSettings)
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(string name, TagTemplateField tagTemplateField, FieldMask updateMask, CallSettings callSettings = null)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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template field. Example:
|
tagTemplateField |
TagTemplateFieldRequired. The template to update. |
updateMask |
FieldMaskOptional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:
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 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 cannot be deleted or renamed. Additionally, updating a template field from optional to required is not allowed. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]/fields/[FIELD]";
TagTemplateField tagTemplateField = new TagTemplateField();
FieldMask updateMask = new FieldMask();
// Make the request
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(name, tagTemplateField, updateMask);
UpdateTagTemplateFieldAsync(String, TagTemplateField, FieldMask, CancellationToken)
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(string name, TagTemplateField tagTemplateField, FieldMask updateMask, CancellationToken cancellationToken)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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template field. Example:
|
tagTemplateField |
TagTemplateFieldRequired. The template to update. |
updateMask |
FieldMaskOptional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:
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 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 cannot be deleted or renamed. Additionally, updating a template field from optional to required is not allowed. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]/fields/[FIELD]";
TagTemplateField tagTemplateField = new TagTemplateField();
FieldMask updateMask = new FieldMask();
// Make the request
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(name, tagTemplateField, updateMask);
UpdateTagTemplateFieldAsync(String, TagTemplateField, CancellationToken)
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(string name, TagTemplateField tagTemplateField, CancellationToken cancellationToken)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 (see Data Catalog Resource Project for
more information).
| Parameters | |
|---|---|
| Name | Description |
name |
StringRequired. The name of the tag template field. Example:
|
tagTemplateField |
TagTemplateFieldRequired. The template to update. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task<TagTemplateField> |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]/fields/[FIELD]";
TagTemplateField tagTemplateField = new TagTemplateField();
// Make the request
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(name, tagTemplateField);