[Obsolete]
public abstract class DataCatalogClientReference documentation and code samples for the Data Catalog v1 API class DataCatalogClient.
DataCatalog client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.DataCatalog.V1Assembly
Google.Cloud.DataCatalog.V1.dll
Remarks
Deprecated: Please use Dataplex Catalog instead.
Data Catalog API service allows you to discover, understand, and manage your 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 |
IReadOnlyListstring |
|
The default DataCatalog scopes are:
GrpcClient
public virtual DataCatalog.DataCatalogClient GrpcClient { get; }The underlying gRPC DataCatalog client
| Property Value | |
|---|---|
| Type | Description |
DataCatalogDataCatalogClient |
|
IAMPolicyClient
public virtual IAMPolicyClient IAMPolicyClient { get; }The IAMPolicyClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
IAMPolicyClient |
|
ImportEntriesOperationsClient
public virtual OperationsClient ImportEntriesOperationsClient { get; }The long-running operations client for ImportEntries.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
ReconcileTagsOperationsClient
public virtual OperationsClient ReconcileTagsOperationsClient { get; }The long-running operations client for ReconcileTags.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }The service metadata associated with this client type.
| Property Value | |
|---|---|
| Type | Description |
ServiceMetadata |
|
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)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 |
TaskDataCatalogClient |
The task representing the created DataCatalogClient. |
CreateEntry(CreateEntryRequest, CallSettings)
[Obsolete]
public virtual Entry CreateEntry(CreateEntryRequest request, CallSettings callSettings = null)Creates an entry.
You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data Catalog automatically creates entries with other types during metadata ingestion from integrated systems.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
An entry group can have a maximum of 100,000 entries.
| 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
#pragma warning disable CS0612
Entry response = dataCatalogClient.CreateEntry(request);
#pragma warning restore CS0612
CreateEntry(EntryGroupName, string, Entry, CallSettings)
[Obsolete]
public virtual Entry CreateEntry(EntryGroupName parent, string entryId, Entry entry, CallSettings callSettings = null)Creates an entry.
You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data Catalog automatically creates entries with other types during metadata ingestion from integrated systems.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
An entry group can have a maximum of 100,000 entries.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name. |
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
#pragma warning disable CS0612
Entry response = dataCatalogClient.CreateEntry(parent, entryId, entry);
#pragma warning restore CS0612
CreateEntry(string, string, Entry, CallSettings)
[Obsolete]
public virtual Entry CreateEntry(string parent, string entryId, Entry entry, CallSettings callSettings = null)Creates an entry.
You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data Catalog automatically creates entries with other types during metadata ingestion from integrated systems.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
An entry group can have a maximum of 100,000 entries.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name. |
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
#pragma warning disable CS0612
Entry response = dataCatalogClient.CreateEntry(parent, entryId, entry);
#pragma warning restore CS0612
CreateEntryAsync(CreateEntryRequest, CallSettings)
[Obsolete]
public virtual Task<Entry> CreateEntryAsync(CreateEntryRequest request, CallSettings callSettings = null)Creates an entry.
You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data Catalog automatically creates entries with other types during metadata ingestion from integrated systems.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
An entry group can have a maximum of 100,000 entries.
| 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 |
TaskEntry |
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
#pragma warning disable CS0612
Entry response = await dataCatalogClient.CreateEntryAsync(request);
#pragma warning restore CS0612
CreateEntryAsync(CreateEntryRequest, CancellationToken)
[Obsolete]
public virtual Task<Entry> CreateEntryAsync(CreateEntryRequest request, CancellationToken cancellationToken)Creates an entry.
You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data Catalog automatically creates entries with other types during metadata ingestion from integrated systems.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
An entry group can have a maximum of 100,000 entries.
| 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 |
TaskEntry |
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
#pragma warning disable CS0612
Entry response = await dataCatalogClient.CreateEntryAsync(request);
#pragma warning restore CS0612
CreateEntryAsync(EntryGroupName, string, Entry, CallSettings)
[Obsolete]
public virtual Task<Entry> CreateEntryAsync(EntryGroupName parent, string entryId, Entry entry, CallSettings callSettings = null)Creates an entry.
You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data Catalog automatically creates entries with other types during metadata ingestion from integrated systems.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
An entry group can have a maximum of 100,000 entries.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name. |
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 |
TaskEntry |
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
#pragma warning disable CS0612
Entry response = await dataCatalogClient.CreateEntryAsync(parent, entryId, entry);
#pragma warning restore CS0612
CreateEntryAsync(EntryGroupName, string, Entry, CancellationToken)
[Obsolete]
public virtual Task<Entry> CreateEntryAsync(EntryGroupName parent, string entryId, Entry entry, CancellationToken cancellationToken)Creates an entry.
You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data Catalog automatically creates entries with other types during metadata ingestion from integrated systems.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
An entry group can have a maximum of 100,000 entries.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name. |
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 |
TaskEntry |
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
#pragma warning disable CS0612
Entry response = await dataCatalogClient.CreateEntryAsync(parent, entryId, entry);
#pragma warning restore CS0612
CreateEntryAsync(string, string, Entry, CallSettings)
[Obsolete]
public virtual Task<Entry> CreateEntryAsync(string parent, string entryId, Entry entry, CallSettings callSettings = null)Creates an entry.
You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data Catalog automatically creates entries with other types during metadata ingestion from integrated systems.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
An entry group can have a maximum of 100,000 entries.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name. |
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 |
TaskEntry |
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
#pragma warning disable CS0612
Entry response = await dataCatalogClient.CreateEntryAsync(parent, entryId, entry);
#pragma warning restore CS0612
CreateEntryAsync(string, string, Entry, CancellationToken)
[Obsolete]
public virtual Task<Entry> CreateEntryAsync(string parent, string entryId, Entry entry, CancellationToken cancellationToken)Creates an entry.
You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data Catalog automatically creates entries with other types during metadata ingestion from integrated systems.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
An entry group can have a maximum of 100,000 entries.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name. |
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 |
TaskEntry |
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
#pragma warning disable CS0612
Entry response = await dataCatalogClient.CreateEntryAsync(parent, entryId, entry);
#pragma warning restore CS0612
CreateEntryGroup(LocationName, string, EntryGroup, CallSettings)
[Obsolete]
public virtual EntryGroup CreateEntryGroup(LocationName parent, string entryGroupId, EntryGroup entryGroup, CallSettings callSettings = null)Creates an entry group.
An entry group contains logically related entries together with Cloud Identity and Access Management policies. These policies specify users who can create, edit, and view entries within entry groups.
Data Catalog automatically creates entry groups with names that start with
the @ symbol for the following resources:
- BigQuery entries (
@bigquery) - Pub/Sub topics (
@pubsub) - Dataproc Metastore services (
@dataproc_metastore_{SERVICE_NAME_HASH})
You can create your own entry groups for Cloud Storage fileset entries
and custom entries together with the corresponding IAM policies.
User-created entry groups can't contain the @ symbol, it is reserved
for automatically created groups.
Entry groups, like entries, can be searched.
A maximum of 10,000 entry groups may be created per organization across all locations.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The names of the project and location that the new entry group belongs to. Note: The entry group itself and its child resources might not be stored in the location 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 empty. |
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
#pragma warning disable CS0612
EntryGroup response = dataCatalogClient.CreateEntryGroup(parent, entryGroupId, entryGroup);
#pragma warning restore CS0612
CreateEntryGroup(CreateEntryGroupRequest, CallSettings)
[Obsolete]
public virtual EntryGroup CreateEntryGroup(CreateEntryGroupRequest request, CallSettings callSettings = null)Creates an entry group.
An entry group contains logically related entries together with Cloud Identity and Access Management policies. These policies specify users who can create, edit, and view entries within entry groups.
Data Catalog automatically creates entry groups with names that start with
the @ symbol for the following resources:
- BigQuery entries (
@bigquery) - Pub/Sub topics (
@pubsub) - Dataproc Metastore services (
@dataproc_metastore_{SERVICE_NAME_HASH})
You can create your own entry groups for Cloud Storage fileset entries
and custom entries together with the corresponding IAM policies.
User-created entry groups can't contain the @ symbol, it is reserved
for automatically created groups.
Entry groups, like entries, can be searched.
A maximum of 10,000 entry groups may be created per organization across all locations.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| 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
#pragma warning disable CS0612
EntryGroup response = dataCatalogClient.CreateEntryGroup(request);
#pragma warning restore CS0612
CreateEntryGroup(string, string, EntryGroup, CallSettings)
[Obsolete]
public virtual EntryGroup CreateEntryGroup(string parent, string entryGroupId, EntryGroup entryGroup, CallSettings callSettings = null)Creates an entry group.
An entry group contains logically related entries together with Cloud Identity and Access Management policies. These policies specify users who can create, edit, and view entries within entry groups.
Data Catalog automatically creates entry groups with names that start with
the @ symbol for the following resources:
- BigQuery entries (
@bigquery) - Pub/Sub topics (
@pubsub) - Dataproc Metastore services (
@dataproc_metastore_{SERVICE_NAME_HASH})
You can create your own entry groups for Cloud Storage fileset entries
and custom entries together with the corresponding IAM policies.
User-created entry groups can't contain the @ symbol, it is reserved
for automatically created groups.
Entry groups, like entries, can be searched.
A maximum of 10,000 entry groups may be created per organization across all locations.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The names of the project and location that the new entry group belongs to. Note: The entry group itself and its child resources might not be stored in the location 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 empty. |
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
#pragma warning disable CS0612
EntryGroup response = dataCatalogClient.CreateEntryGroup(parent, entryGroupId, entryGroup);
#pragma warning restore CS0612
CreateEntryGroupAsync(LocationName, string, EntryGroup, CallSettings)
[Obsolete]
public virtual Task<EntryGroup> CreateEntryGroupAsync(LocationName parent, string entryGroupId, EntryGroup entryGroup, CallSettings callSettings = null)Creates an entry group.
An entry group contains logically related entries together with Cloud Identity and Access Management policies. These policies specify users who can create, edit, and view entries within entry groups.
Data Catalog automatically creates entry groups with names that start with
the @ symbol for the following resources:
- BigQuery entries (
@bigquery) - Pub/Sub topics (
@pubsub) - Dataproc Metastore services (
@dataproc_metastore_{SERVICE_NAME_HASH})
You can create your own entry groups for Cloud Storage fileset entries
and custom entries together with the corresponding IAM policies.
User-created entry groups can't contain the @ symbol, it is reserved
for automatically created groups.
Entry groups, like entries, can be searched.
A maximum of 10,000 entry groups may be created per organization across all locations.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The names of the project and location that the new entry group belongs to. Note: The entry group itself and its child resources might not be stored in the location 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 empty. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(parent, entryGroupId, entryGroup);
#pragma warning restore CS0612
CreateEntryGroupAsync(LocationName, string, EntryGroup, CancellationToken)
[Obsolete]
public virtual Task<EntryGroup> CreateEntryGroupAsync(LocationName parent, string entryGroupId, EntryGroup entryGroup, CancellationToken cancellationToken)Creates an entry group.
An entry group contains logically related entries together with Cloud Identity and Access Management policies. These policies specify users who can create, edit, and view entries within entry groups.
Data Catalog automatically creates entry groups with names that start with
the @ symbol for the following resources:
- BigQuery entries (
@bigquery) - Pub/Sub topics (
@pubsub) - Dataproc Metastore services (
@dataproc_metastore_{SERVICE_NAME_HASH})
You can create your own entry groups for Cloud Storage fileset entries
and custom entries together with the corresponding IAM policies.
User-created entry groups can't contain the @ symbol, it is reserved
for automatically created groups.
Entry groups, like entries, can be searched.
A maximum of 10,000 entry groups may be created per organization across all locations.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The names of the project and location that the new entry group belongs to. Note: The entry group itself and its child resources might not be stored in the location 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 empty. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(parent, entryGroupId, entryGroup);
#pragma warning restore CS0612
CreateEntryGroupAsync(CreateEntryGroupRequest, CallSettings)
[Obsolete]
public virtual Task<EntryGroup> CreateEntryGroupAsync(CreateEntryGroupRequest request, CallSettings callSettings = null)Creates an entry group.
An entry group contains logically related entries together with Cloud Identity and Access Management policies. These policies specify users who can create, edit, and view entries within entry groups.
Data Catalog automatically creates entry groups with names that start with
the @ symbol for the following resources:
- BigQuery entries (
@bigquery) - Pub/Sub topics (
@pubsub) - Dataproc Metastore services (
@dataproc_metastore_{SERVICE_NAME_HASH})
You can create your own entry groups for Cloud Storage fileset entries
and custom entries together with the corresponding IAM policies.
User-created entry groups can't contain the @ symbol, it is reserved
for automatically created groups.
Entry groups, like entries, can be searched.
A maximum of 10,000 entry groups may be created per organization across all locations.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| 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 |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(request);
#pragma warning restore CS0612
CreateEntryGroupAsync(CreateEntryGroupRequest, CancellationToken)
[Obsolete]
public virtual Task<EntryGroup> CreateEntryGroupAsync(CreateEntryGroupRequest request, CancellationToken cancellationToken)Creates an entry group.
An entry group contains logically related entries together with Cloud Identity and Access Management policies. These policies specify users who can create, edit, and view entries within entry groups.
Data Catalog automatically creates entry groups with names that start with
the @ symbol for the following resources:
- BigQuery entries (
@bigquery) - Pub/Sub topics (
@pubsub) - Dataproc Metastore services (
@dataproc_metastore_{SERVICE_NAME_HASH})
You can create your own entry groups for Cloud Storage fileset entries
and custom entries together with the corresponding IAM policies.
User-created entry groups can't contain the @ symbol, it is reserved
for automatically created groups.
Entry groups, like entries, can be searched.
A maximum of 10,000 entry groups may be created per organization across all locations.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| 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 |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(request);
#pragma warning restore CS0612
CreateEntryGroupAsync(string, string, EntryGroup, CallSettings)
[Obsolete]
public virtual Task<EntryGroup> CreateEntryGroupAsync(string parent, string entryGroupId, EntryGroup entryGroup, CallSettings callSettings = null)Creates an entry group.
An entry group contains logically related entries together with Cloud Identity and Access Management policies. These policies specify users who can create, edit, and view entries within entry groups.
Data Catalog automatically creates entry groups with names that start with
the @ symbol for the following resources:
- BigQuery entries (
@bigquery) - Pub/Sub topics (
@pubsub) - Dataproc Metastore services (
@dataproc_metastore_{SERVICE_NAME_HASH})
You can create your own entry groups for Cloud Storage fileset entries
and custom entries together with the corresponding IAM policies.
User-created entry groups can't contain the @ symbol, it is reserved
for automatically created groups.
Entry groups, like entries, can be searched.
A maximum of 10,000 entry groups may be created per organization across all locations.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The names of the project and location that the new entry group belongs to. Note: The entry group itself and its child resources might not be stored in the location 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 empty. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(parent, entryGroupId, entryGroup);
#pragma warning restore CS0612
CreateEntryGroupAsync(string, string, EntryGroup, CancellationToken)
[Obsolete]
public virtual Task<EntryGroup> CreateEntryGroupAsync(string parent, string entryGroupId, EntryGroup entryGroup, CancellationToken cancellationToken)Creates an entry group.
An entry group contains logically related entries together with Cloud Identity and Access Management policies. These policies specify users who can create, edit, and view entries within entry groups.
Data Catalog automatically creates entry groups with names that start with
the @ symbol for the following resources:
- BigQuery entries (
@bigquery) - Pub/Sub topics (
@pubsub) - Dataproc Metastore services (
@dataproc_metastore_{SERVICE_NAME_HASH})
You can create your own entry groups for Cloud Storage fileset entries
and custom entries together with the corresponding IAM policies.
User-created entry groups can't contain the @ symbol, it is reserved
for automatically created groups.
Entry groups, like entries, can be searched.
A maximum of 10,000 entry groups may be created per organization across all locations.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The names of the project and location that the new entry group belongs to. Note: The entry group itself and its child resources might not be stored in the location 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 empty. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(parent, entryGroupId, entryGroup);
#pragma warning restore CS0612
CreateTag(CreateTagRequest, CallSettings)
[Obsolete]
public virtual Tag CreateTag(CreateTagRequest request, CallSettings callSettings = null)Creates a tag and assigns it to:
- An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
projects.locations.entryGroups.entries.tags.create. - Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
name is
projects.locations.entryGroups.tags.create.
Note: The project identified by the parent parameter for the tag
and the tag template
used to create the tag must be in 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
{
ParentAsEntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
Tag = new Tag(),
};
// Make the request
#pragma warning disable CS0612
Tag response = dataCatalogClient.CreateTag(request);
#pragma warning restore CS0612
CreateTag(EntryName, Tag, CallSettings)
[Obsolete]
public virtual Tag CreateTag(EntryName parent, Tag tag, CallSettings callSettings = null)Creates a tag and assigns it to:
- An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
projects.locations.entryGroups.entries.tags.create. - Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
name is
projects.locations.entryGroups.tags.create.
Note: The project identified by the parent parameter for the tag
and the tag template
used to create the tag must be in the same organization.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryNameRequired. The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its 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)
EntryName parent = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
Tag tag = new Tag();
// Make the request
#pragma warning disable CS0612
Tag response = dataCatalogClient.CreateTag(parent, tag);
#pragma warning restore CS0612
CreateTag(string, Tag, CallSettings)
[Obsolete]
public virtual Tag CreateTag(string parent, Tag tag, CallSettings callSettings = null)Creates a tag and assigns it to:
- An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
projects.locations.entryGroups.entries.tags.create. - Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
name is
projects.locations.entryGroups.tags.create.
Note: The project identified by the parent parameter for the tag
and the tag template
used to create the tag must be in the same organization.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its 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]";
Tag tag = new Tag();
// Make the request
#pragma warning disable CS0612
Tag response = dataCatalogClient.CreateTag(parent, tag);
#pragma warning restore CS0612
CreateTagAsync(CreateTagRequest, CallSettings)
[Obsolete]
public virtual Task<Tag> CreateTagAsync(CreateTagRequest request, CallSettings callSettings = null)Creates a tag and assigns it to:
- An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
projects.locations.entryGroups.entries.tags.create. - Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
name is
projects.locations.entryGroups.tags.create.
Note: The project identified by the parent parameter for the tag
and the tag template
used to create the tag must be in 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 |
TaskTag |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
CreateTagRequest request = new CreateTagRequest
{
ParentAsEntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
Tag = new Tag(),
};
// Make the request
#pragma warning disable CS0612
Tag response = await dataCatalogClient.CreateTagAsync(request);
#pragma warning restore CS0612
CreateTagAsync(CreateTagRequest, CancellationToken)
[Obsolete]
public virtual Task<Tag> CreateTagAsync(CreateTagRequest request, CancellationToken cancellationToken)Creates a tag and assigns it to:
- An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
projects.locations.entryGroups.entries.tags.create. - Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
name is
projects.locations.entryGroups.tags.create.
Note: The project identified by the parent parameter for the tag
and the tag template
used to create the tag must be in 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 |
TaskTag |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
CreateTagRequest request = new CreateTagRequest
{
ParentAsEntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
Tag = new Tag(),
};
// Make the request
#pragma warning disable CS0612
Tag response = await dataCatalogClient.CreateTagAsync(request);
#pragma warning restore CS0612
CreateTagAsync(EntryName, Tag, CallSettings)
[Obsolete]
public virtual Task<Tag> CreateTagAsync(EntryName parent, Tag tag, CallSettings callSettings = null)Creates a tag and assigns it to:
- An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
projects.locations.entryGroups.entries.tags.create. - Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
name is
projects.locations.entryGroups.tags.create.
Note: The project identified by the parent parameter for the tag
and the tag template
used to create the tag must be in the same organization.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryNameRequired. The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its 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 |
TaskTag |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryName parent = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
Tag tag = new Tag();
// Make the request
#pragma warning disable CS0612
Tag response = await dataCatalogClient.CreateTagAsync(parent, tag);
#pragma warning restore CS0612
CreateTagAsync(EntryName, Tag, CancellationToken)
[Obsolete]
public virtual Task<Tag> CreateTagAsync(EntryName parent, Tag tag, CancellationToken cancellationToken)Creates a tag and assigns it to:
- An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
projects.locations.entryGroups.entries.tags.create. - Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
name is
projects.locations.entryGroups.tags.create.
Note: The project identified by the parent parameter for the tag
and the tag template
used to create the tag must be in the same organization.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryNameRequired. The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its 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 |
TaskTag |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryName parent = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
Tag tag = new Tag();
// Make the request
#pragma warning disable CS0612
Tag response = await dataCatalogClient.CreateTagAsync(parent, tag);
#pragma warning restore CS0612
CreateTagAsync(string, Tag, CallSettings)
[Obsolete]
public virtual Task<Tag> CreateTagAsync(string parent, Tag tag, CallSettings callSettings = null)Creates a tag and assigns it to:
- An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
projects.locations.entryGroups.entries.tags.create. - Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
name is
projects.locations.entryGroups.tags.create.
Note: The project identified by the parent parameter for the tag
and the tag template
used to create the tag must be in the same organization.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its 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 |
TaskTag |
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]";
Tag tag = new Tag();
// Make the request
#pragma warning disable CS0612
Tag response = await dataCatalogClient.CreateTagAsync(parent, tag);
#pragma warning restore CS0612
CreateTagAsync(string, Tag, CancellationToken)
[Obsolete]
public virtual Task<Tag> CreateTagAsync(string parent, Tag tag, CancellationToken cancellationToken)Creates a tag and assigns it to:
- An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
projects.locations.entryGroups.entries.tags.create. - Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
name is
projects.locations.entryGroups.tags.create.
Note: The project identified by the parent parameter for the tag
and the tag template
used to create the tag must be in the same organization.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its 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 |
TaskTag |
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]";
Tag tag = new Tag();
// Make the request
#pragma warning disable CS0612
Tag response = await dataCatalogClient.CreateTagAsync(parent, tag);
#pragma warning restore CS0612
CreateTagTemplate(LocationName, string, TagTemplate, CallSettings)
[Obsolete]
public virtual TagTemplate CreateTagTemplate(LocationName parent, string tagTemplateId, TagTemplate tagTemplate, CallSettings callSettings = null)Creates a tag template.
You must enable the Data Catalog API in the project identified by the
parent parameter.
For more information, see Data Catalog resource project.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The name of the project and the template location region. |
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
#pragma warning disable CS0612
TagTemplate response = dataCatalogClient.CreateTagTemplate(parent, tagTemplateId, tagTemplate);
#pragma warning restore CS0612
CreateTagTemplate(CreateTagTemplateRequest, CallSettings)
[Obsolete]
public virtual TagTemplate CreateTagTemplate(CreateTagTemplateRequest request, CallSettings callSettings = null)Creates a tag template.
You must enable the Data Catalog API in the project identified by the
parent parameter.
For more information, see Data Catalog resource project.
| 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
#pragma warning disable CS0612
TagTemplate response = dataCatalogClient.CreateTagTemplate(request);
#pragma warning restore CS0612
CreateTagTemplate(string, string, TagTemplate, CallSettings)
[Obsolete]
public virtual TagTemplate CreateTagTemplate(string parent, string tagTemplateId, TagTemplate tagTemplate, CallSettings callSettings = null)Creates a tag template.
You must enable the Data Catalog API in the project identified by the
parent parameter.
For more information, see Data Catalog resource project.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the project and the template location region. |
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
#pragma warning disable CS0612
TagTemplate response = dataCatalogClient.CreateTagTemplate(parent, tagTemplateId, tagTemplate);
#pragma warning restore CS0612
CreateTagTemplateAsync(LocationName, string, TagTemplate, CallSettings)
[Obsolete]
public virtual Task<TagTemplate> CreateTagTemplateAsync(LocationName parent, string tagTemplateId, TagTemplate tagTemplate, CallSettings callSettings = null)Creates a tag template.
You must enable the Data Catalog API in the project identified by the
parent parameter.
For more information, see Data Catalog resource project.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The name of the project and the template location region. |
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 |
TaskTagTemplate |
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
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.CreateTagTemplateAsync(parent, tagTemplateId, tagTemplate);
#pragma warning restore CS0612
CreateTagTemplateAsync(LocationName, string, TagTemplate, CancellationToken)
[Obsolete]
public virtual Task<TagTemplate> CreateTagTemplateAsync(LocationName parent, string tagTemplateId, TagTemplate tagTemplate, CancellationToken cancellationToken)Creates a tag template.
You must enable the Data Catalog API in the project identified by the
parent parameter.
For more information, see Data Catalog resource project.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The name of the project and the template location region. |
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 |
TaskTagTemplate |
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
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.CreateTagTemplateAsync(parent, tagTemplateId, tagTemplate);
#pragma warning restore CS0612
CreateTagTemplateAsync(CreateTagTemplateRequest, CallSettings)
[Obsolete]
public virtual Task<TagTemplate> CreateTagTemplateAsync(CreateTagTemplateRequest request, CallSettings callSettings = null)Creates a tag template.
You must enable the Data Catalog API in the project identified by the
parent parameter.
For more information, see Data Catalog resource project.
| 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 |
TaskTagTemplate |
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
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.CreateTagTemplateAsync(request);
#pragma warning restore CS0612
CreateTagTemplateAsync(CreateTagTemplateRequest, CancellationToken)
[Obsolete]
public virtual Task<TagTemplate> CreateTagTemplateAsync(CreateTagTemplateRequest request, CancellationToken cancellationToken)Creates a tag template.
You must enable the Data Catalog API in the project identified by the
parent parameter.
For more information, see Data Catalog resource project.
| 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 |
TaskTagTemplate |
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
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.CreateTagTemplateAsync(request);
#pragma warning restore CS0612
CreateTagTemplateAsync(string, string, TagTemplate, CallSettings)
[Obsolete]
public virtual Task<TagTemplate> CreateTagTemplateAsync(string parent, string tagTemplateId, TagTemplate tagTemplate, CallSettings callSettings = null)Creates a tag template.
You must enable the Data Catalog API in the project identified by the
parent parameter.
For more information, see Data Catalog resource project.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the project and the template location region. |
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 |
TaskTagTemplate |
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
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.CreateTagTemplateAsync(parent, tagTemplateId, tagTemplate);
#pragma warning restore CS0612
CreateTagTemplateAsync(string, string, TagTemplate, CancellationToken)
[Obsolete]
public virtual Task<TagTemplate> CreateTagTemplateAsync(string parent, string tagTemplateId, TagTemplate tagTemplate, CancellationToken cancellationToken)Creates a tag template.
You must enable the Data Catalog API in the project identified by the
parent parameter.
For more information, see Data Catalog resource project.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the project and the template location region. |
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 |
TaskTagTemplate |
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
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.CreateTagTemplateAsync(parent, tagTemplateId, tagTemplate);
#pragma warning restore CS0612
CreateTagTemplateField(CreateTagTemplateFieldRequest, CallSettings)
[Obsolete]
public virtual TagTemplateField CreateTagTemplateField(CreateTagTemplateFieldRequest request, CallSettings callSettings = null)Creates a field in a tag template.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| 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
#pragma warning disable CS0612
TagTemplateField response = dataCatalogClient.CreateTagTemplateField(request);
#pragma warning restore CS0612
CreateTagTemplateField(TagTemplateName, string, TagTemplateField, CallSettings)
[Obsolete]
public virtual TagTemplateField CreateTagTemplateField(TagTemplateName parent, string tagTemplateFieldId, TagTemplateField tagTemplateField, CallSettings callSettings = null)Creates a field in a tag template.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
parent |
TagTemplateNameRequired. The name of the project and the template location region. |
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
#pragma warning disable CS0612
TagTemplateField response = dataCatalogClient.CreateTagTemplateField(parent, tagTemplateFieldId, tagTemplateField);
#pragma warning restore CS0612
CreateTagTemplateField(string, string, TagTemplateField, CallSettings)
[Obsolete]
public virtual TagTemplateField CreateTagTemplateField(string parent, string tagTemplateFieldId, TagTemplateField tagTemplateField, CallSettings callSettings = null)Creates a field in a tag template.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the project and the template location region. |
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
#pragma warning disable CS0612
TagTemplateField response = dataCatalogClient.CreateTagTemplateField(parent, tagTemplateFieldId, tagTemplateField);
#pragma warning restore CS0612
CreateTagTemplateFieldAsync(CreateTagTemplateFieldRequest, CallSettings)
[Obsolete]
public virtual Task<TagTemplateField> CreateTagTemplateFieldAsync(CreateTagTemplateFieldRequest request, CallSettings callSettings = null)Creates a field in a tag template.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| 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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.CreateTagTemplateFieldAsync(request);
#pragma warning restore CS0612
CreateTagTemplateFieldAsync(CreateTagTemplateFieldRequest, CancellationToken)
[Obsolete]
public virtual Task<TagTemplateField> CreateTagTemplateFieldAsync(CreateTagTemplateFieldRequest request, CancellationToken cancellationToken)Creates a field in a tag template.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| 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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.CreateTagTemplateFieldAsync(request);
#pragma warning restore CS0612
CreateTagTemplateFieldAsync(TagTemplateName, string, TagTemplateField, CallSettings)
[Obsolete]
public virtual Task<TagTemplateField> CreateTagTemplateFieldAsync(TagTemplateName parent, string tagTemplateFieldId, TagTemplateField tagTemplateField, CallSettings callSettings = null)Creates a field in a tag template.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
parent |
TagTemplateNameRequired. The name of the project and the template location region. |
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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.CreateTagTemplateFieldAsync(parent, tagTemplateFieldId, tagTemplateField);
#pragma warning restore CS0612
CreateTagTemplateFieldAsync(TagTemplateName, string, TagTemplateField, CancellationToken)
[Obsolete]
public virtual Task<TagTemplateField> CreateTagTemplateFieldAsync(TagTemplateName parent, string tagTemplateFieldId, TagTemplateField tagTemplateField, CancellationToken cancellationToken)Creates a field in a tag template.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
parent |
TagTemplateNameRequired. The name of the project and the template location region. |
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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.CreateTagTemplateFieldAsync(parent, tagTemplateFieldId, tagTemplateField);
#pragma warning restore CS0612
CreateTagTemplateFieldAsync(string, string, TagTemplateField, CallSettings)
[Obsolete]
public virtual Task<TagTemplateField> CreateTagTemplateFieldAsync(string parent, string tagTemplateFieldId, TagTemplateField tagTemplateField, CallSettings callSettings = null)Creates a field in a tag template.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the project and the template location region. |
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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.CreateTagTemplateFieldAsync(parent, tagTemplateFieldId, tagTemplateField);
#pragma warning restore CS0612
CreateTagTemplateFieldAsync(string, string, TagTemplateField, CancellationToken)
[Obsolete]
public virtual Task<TagTemplateField> CreateTagTemplateFieldAsync(string parent, string tagTemplateFieldId, TagTemplateField tagTemplateField, CancellationToken cancellationToken)Creates a field in a tag template.
You must enable the Data Catalog API in the project identified by
the parent parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the project and the template location region. |
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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.CreateTagTemplateFieldAsync(parent, tagTemplateFieldId, tagTemplateField);
#pragma warning restore CS0612
DeleteEntry(DeleteEntryRequest, CallSettings)
[Obsolete]
public virtual void DeleteEntry(DeleteEntryRequest request, CallSettings callSettings = null)Deletes an existing entry.
You can delete only the entries created by the [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog
resource
project.
| 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
#pragma warning disable CS0612
dataCatalogClient.DeleteEntry(request);
#pragma warning restore CS0612
DeleteEntry(EntryName, CallSettings)
[Obsolete]
public virtual void DeleteEntry(EntryName name, CallSettings callSettings = null)Deletes an existing entry.
You can delete only the entries created by the [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry to delete. |
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
#pragma warning disable CS0612
dataCatalogClient.DeleteEntry(name);
#pragma warning restore CS0612
DeleteEntry(string, CallSettings)
[Obsolete]
public virtual void DeleteEntry(string name, CallSettings callSettings = null)Deletes an existing entry.
You can delete only the entries created by the [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry to delete. |
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
#pragma warning disable CS0612
dataCatalogClient.DeleteEntry(name);
#pragma warning restore CS0612
DeleteEntryAsync(DeleteEntryRequest, CallSettings)
[Obsolete]
public virtual Task DeleteEntryAsync(DeleteEntryRequest request, CallSettings callSettings = null)Deletes an existing entry.
You can delete only the entries created by the [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog
resource
project.
| 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
#pragma warning disable CS0612
await dataCatalogClient.DeleteEntryAsync(request);
#pragma warning restore CS0612
DeleteEntryAsync(DeleteEntryRequest, CancellationToken)
[Obsolete]
public virtual Task DeleteEntryAsync(DeleteEntryRequest request, CancellationToken cancellationToken)Deletes an existing entry.
You can delete only the entries created by the [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog
resource
project.
| 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
#pragma warning disable CS0612
await dataCatalogClient.DeleteEntryAsync(request);
#pragma warning restore CS0612
DeleteEntryAsync(EntryName, CallSettings)
[Obsolete]
public virtual Task DeleteEntryAsync(EntryName name, CallSettings callSettings = null)Deletes an existing entry.
You can delete only the entries created by the [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry to delete. |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteEntryAsync(name);
#pragma warning restore CS0612
DeleteEntryAsync(EntryName, CancellationToken)
[Obsolete]
public virtual Task DeleteEntryAsync(EntryName name, CancellationToken cancellationToken)Deletes an existing entry.
You can delete only the entries created by the [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry to delete. |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteEntryAsync(name);
#pragma warning restore CS0612
DeleteEntryAsync(string, CallSettings)
[Obsolete]
public virtual Task DeleteEntryAsync(string name, CallSettings callSettings = null)Deletes an existing entry.
You can delete only the entries created by the [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry to delete. |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteEntryAsync(name);
#pragma warning restore CS0612
DeleteEntryAsync(string, CancellationToken)
[Obsolete]
public virtual Task DeleteEntryAsync(string name, CancellationToken cancellationToken)Deletes an existing entry.
You can delete only the entries created by the [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry to delete. |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteEntryAsync(name);
#pragma warning restore CS0612
DeleteEntryGroup(DeleteEntryGroupRequest, CallSettings)
[Obsolete]
public virtual void DeleteEntryGroup(DeleteEntryGroupRequest request, CallSettings callSettings = null)Deletes an entry group.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| 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
#pragma warning disable CS0612
dataCatalogClient.DeleteEntryGroup(request);
#pragma warning restore CS0612
DeleteEntryGroup(EntryGroupName, CallSettings)
[Obsolete]
public virtual void DeleteEntryGroup(EntryGroupName name, CallSettings callSettings = null)Deletes an entry group.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group to delete. |
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
#pragma warning disable CS0612
dataCatalogClient.DeleteEntryGroup(name);
#pragma warning restore CS0612
DeleteEntryGroup(string, CallSettings)
[Obsolete]
public virtual void DeleteEntryGroup(string name, CallSettings callSettings = null)Deletes an entry group.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry group to delete. |
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
#pragma warning disable CS0612
dataCatalogClient.DeleteEntryGroup(name);
#pragma warning restore CS0612
DeleteEntryGroupAsync(DeleteEntryGroupRequest, CallSettings)
[Obsolete]
public virtual Task DeleteEntryGroupAsync(DeleteEntryGroupRequest request, CallSettings callSettings = null)Deletes an entry group.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| 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
#pragma warning disable CS0612
await dataCatalogClient.DeleteEntryGroupAsync(request);
#pragma warning restore CS0612
DeleteEntryGroupAsync(DeleteEntryGroupRequest, CancellationToken)
[Obsolete]
public virtual Task DeleteEntryGroupAsync(DeleteEntryGroupRequest request, CancellationToken cancellationToken)Deletes an entry group.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| 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
#pragma warning disable CS0612
await dataCatalogClient.DeleteEntryGroupAsync(request);
#pragma warning restore CS0612
DeleteEntryGroupAsync(EntryGroupName, CallSettings)
[Obsolete]
public virtual Task DeleteEntryGroupAsync(EntryGroupName name, CallSettings callSettings = null)Deletes an entry group.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group to delete. |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteEntryGroupAsync(name);
#pragma warning restore CS0612
DeleteEntryGroupAsync(EntryGroupName, CancellationToken)
[Obsolete]
public virtual Task DeleteEntryGroupAsync(EntryGroupName name, CancellationToken cancellationToken)Deletes an entry group.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group to delete. |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteEntryGroupAsync(name);
#pragma warning restore CS0612
DeleteEntryGroupAsync(string, CallSettings)
[Obsolete]
public virtual Task DeleteEntryGroupAsync(string name, CallSettings callSettings = null)Deletes an entry group.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry group to delete. |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteEntryGroupAsync(name);
#pragma warning restore CS0612
DeleteEntryGroupAsync(string, CancellationToken)
[Obsolete]
public virtual Task DeleteEntryGroupAsync(string name, CancellationToken cancellationToken)Deletes an entry group.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry group to delete. |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteEntryGroupAsync(name);
#pragma warning restore CS0612
DeleteTag(DeleteTagRequest, CallSettings)
[Obsolete]
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
#pragma warning disable CS0612
dataCatalogClient.DeleteTag(request);
#pragma warning restore CS0612
DeleteTag(EntryName, CallSettings)
[Obsolete]
public virtual void DeleteTag(EntryName name, CallSettings callSettings = null)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the tag to delete. |
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
#pragma warning disable CS0612
dataCatalogClient.DeleteTag(name);
#pragma warning restore CS0612
DeleteTag(string, CallSettings)
[Obsolete]
public virtual void DeleteTag(string name, CallSettings callSettings = null)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag to delete. |
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
#pragma warning disable CS0612
dataCatalogClient.DeleteTag(name);
#pragma warning restore CS0612
DeleteTagAsync(DeleteTagRequest, CallSettings)
[Obsolete]
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagAsync(request);
#pragma warning restore CS0612
DeleteTagAsync(DeleteTagRequest, CancellationToken)
[Obsolete]
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagAsync(request);
#pragma warning restore CS0612
DeleteTagAsync(EntryName, CallSettings)
[Obsolete]
public virtual Task DeleteTagAsync(EntryName name, CallSettings callSettings = null)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the tag to delete. |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagAsync(name);
#pragma warning restore CS0612
DeleteTagAsync(EntryName, CancellationToken)
[Obsolete]
public virtual Task DeleteTagAsync(EntryName name, CancellationToken cancellationToken)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the tag to delete. |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagAsync(name);
#pragma warning restore CS0612
DeleteTagAsync(string, CallSettings)
[Obsolete]
public virtual Task DeleteTagAsync(string name, CallSettings callSettings = null)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag to delete. |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagAsync(name);
#pragma warning restore CS0612
DeleteTagAsync(string, CancellationToken)
[Obsolete]
public virtual Task DeleteTagAsync(string name, CancellationToken cancellationToken)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag to delete. |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagAsync(name);
#pragma warning restore CS0612
DeleteTagTemplate(DeleteTagTemplateRequest, CallSettings)
[Obsolete]
public virtual void DeleteTagTemplate(DeleteTagTemplateRequest request, CallSettings callSettings = null)Deletes a tag template and all tags that use it.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| 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
#pragma warning disable CS0612
dataCatalogClient.DeleteTagTemplate(request);
#pragma warning restore CS0612
DeleteTagTemplate(TagTemplateName, bool, CallSettings)
[Obsolete]
public virtual void DeleteTagTemplate(TagTemplateName name, bool force, CallSettings callSettings = null)Deletes a tag template and all tags that use it.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateNameRequired. The name of the tag template to delete. |
force |
boolRequired. If true, deletes all tags that use this template. Currently, |
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
#pragma warning disable CS0612
dataCatalogClient.DeleteTagTemplate(name, force);
#pragma warning restore CS0612
DeleteTagTemplate(string, bool, CallSettings)
[Obsolete]
public virtual void DeleteTagTemplate(string name, bool force, CallSettings callSettings = null)Deletes a tag template and all tags that use it.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template to delete. |
force |
boolRequired. If true, deletes all tags that use this template. Currently, |
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
#pragma warning disable CS0612
dataCatalogClient.DeleteTagTemplate(name, force);
#pragma warning restore CS0612
DeleteTagTemplateAsync(DeleteTagTemplateRequest, CallSettings)
[Obsolete]
public virtual Task DeleteTagTemplateAsync(DeleteTagTemplateRequest request, CallSettings callSettings = null)Deletes a tag template and all tags that use it.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| 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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagTemplateAsync(request);
#pragma warning restore CS0612
DeleteTagTemplateAsync(DeleteTagTemplateRequest, CancellationToken)
[Obsolete]
public virtual Task DeleteTagTemplateAsync(DeleteTagTemplateRequest request, CancellationToken cancellationToken)Deletes a tag template and all tags that use it.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| 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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagTemplateAsync(request);
#pragma warning restore CS0612
DeleteTagTemplateAsync(TagTemplateName, bool, CallSettings)
[Obsolete]
public virtual Task DeleteTagTemplateAsync(TagTemplateName name, bool force, CallSettings callSettings = null)Deletes a tag template and all tags that use it.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateNameRequired. The name of the tag template to delete. |
force |
boolRequired. If true, deletes all tags that use this template. Currently, |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagTemplateAsync(name, force);
#pragma warning restore CS0612
DeleteTagTemplateAsync(TagTemplateName, bool, CancellationToken)
[Obsolete]
public virtual Task DeleteTagTemplateAsync(TagTemplateName name, bool force, CancellationToken cancellationToken)Deletes a tag template and all tags that use it.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateNameRequired. The name of the tag template to delete. |
force |
boolRequired. If true, deletes all tags that use this template. Currently, |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagTemplateAsync(name, force);
#pragma warning restore CS0612
DeleteTagTemplateAsync(string, bool, CallSettings)
[Obsolete]
public virtual Task DeleteTagTemplateAsync(string name, bool force, CallSettings callSettings = null)Deletes a tag template and all tags that use it.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template to delete. |
force |
boolRequired. If true, deletes all tags that use this template. Currently, |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagTemplateAsync(name, force);
#pragma warning restore CS0612
DeleteTagTemplateAsync(string, bool, CancellationToken)
[Obsolete]
public virtual Task DeleteTagTemplateAsync(string name, bool force, CancellationToken cancellationToken)Deletes a tag template and all tags that use it.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template to delete. |
force |
boolRequired. If true, deletes all tags that use this template. Currently, |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagTemplateAsync(name, force);
#pragma warning restore CS0612
DeleteTagTemplateField(DeleteTagTemplateFieldRequest, CallSettings)
[Obsolete]
public virtual void DeleteTagTemplateField(DeleteTagTemplateFieldRequest request, CallSettings callSettings = null)Deletes a field in a tag template and all uses of this field from the tags based on this template.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| 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
#pragma warning disable CS0612
dataCatalogClient.DeleteTagTemplateField(request);
#pragma warning restore CS0612
DeleteTagTemplateField(TagTemplateFieldName, bool, CallSettings)
[Obsolete]
public virtual void DeleteTagTemplateField(TagTemplateFieldName name, bool force, CallSettings callSettings = null)Deletes a field in a tag template and all uses of this field from the tags based on this template.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field to delete. |
force |
boolRequired. If true, deletes this field from any tags that use it. Currently, |
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
#pragma warning disable CS0612
dataCatalogClient.DeleteTagTemplateField(name, force);
#pragma warning restore CS0612
DeleteTagTemplateField(string, bool, CallSettings)
[Obsolete]
public virtual void DeleteTagTemplateField(string name, bool force, CallSettings callSettings = null)Deletes a field in a tag template and all uses of this field from the tags based on this template.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template field to delete. |
force |
boolRequired. If true, deletes this field from any tags that use it. Currently, |
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
#pragma warning disable CS0612
dataCatalogClient.DeleteTagTemplateField(name, force);
#pragma warning restore CS0612
DeleteTagTemplateFieldAsync(DeleteTagTemplateFieldRequest, CallSettings)
[Obsolete]
public virtual Task DeleteTagTemplateFieldAsync(DeleteTagTemplateFieldRequest request, CallSettings callSettings = null)Deletes a field in a tag template and all uses of this field from the tags based on this template.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| 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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagTemplateFieldAsync(request);
#pragma warning restore CS0612
DeleteTagTemplateFieldAsync(DeleteTagTemplateFieldRequest, CancellationToken)
[Obsolete]
public virtual Task DeleteTagTemplateFieldAsync(DeleteTagTemplateFieldRequest request, CancellationToken cancellationToken)Deletes a field in a tag template and all uses of this field from the tags based on this template.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| 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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagTemplateFieldAsync(request);
#pragma warning restore CS0612
DeleteTagTemplateFieldAsync(TagTemplateFieldName, bool, CallSettings)
[Obsolete]
public virtual Task DeleteTagTemplateFieldAsync(TagTemplateFieldName name, bool force, CallSettings callSettings = null)Deletes a field in a tag template and all uses of this field from the tags based on this template.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field to delete. |
force |
boolRequired. If true, deletes this field from any tags that use it. Currently, |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagTemplateFieldAsync(name, force);
#pragma warning restore CS0612
DeleteTagTemplateFieldAsync(TagTemplateFieldName, bool, CancellationToken)
[Obsolete]
public virtual Task DeleteTagTemplateFieldAsync(TagTemplateFieldName name, bool force, CancellationToken cancellationToken)Deletes a field in a tag template and all uses of this field from the tags based on this template.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field to delete. |
force |
boolRequired. If true, deletes this field from any tags that use it. Currently, |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagTemplateFieldAsync(name, force);
#pragma warning restore CS0612
DeleteTagTemplateFieldAsync(string, bool, CallSettings)
[Obsolete]
public virtual Task DeleteTagTemplateFieldAsync(string name, bool force, CallSettings callSettings = null)Deletes a field in a tag template and all uses of this field from the tags based on this template.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template field to delete. |
force |
boolRequired. If true, deletes this field from any tags that use it. Currently, |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagTemplateFieldAsync(name, force);
#pragma warning restore CS0612
DeleteTagTemplateFieldAsync(string, bool, CancellationToken)
[Obsolete]
public virtual Task DeleteTagTemplateFieldAsync(string name, bool force, CancellationToken cancellationToken)Deletes a field in a tag template and all uses of this field from the tags based on this template.
You must enable the Data Catalog API in the project identified by
the name parameter. For more information, see Data Catalog resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template field to delete. |
force |
boolRequired. If true, deletes this field from any tags that use it. Currently, |
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
#pragma warning disable CS0612
await dataCatalogClient.DeleteTagTemplateFieldAsync(name, force);
#pragma warning restore CS0612
GetEntry(EntryName, CallSettings)
[Obsolete]
public virtual Entry GetEntry(EntryName name, CallSettings callSettings = null)Gets an entry.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry to get. |
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
#pragma warning disable CS0612
Entry response = dataCatalogClient.GetEntry(name);
#pragma warning restore CS0612
GetEntry(GetEntryRequest, CallSettings)
[Obsolete]
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
#pragma warning disable CS0612
Entry response = dataCatalogClient.GetEntry(request);
#pragma warning restore CS0612
GetEntry(string, CallSettings)
[Obsolete]
public virtual Entry GetEntry(string name, CallSettings callSettings = null)Gets an entry.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry to get. |
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
#pragma warning disable CS0612
Entry response = dataCatalogClient.GetEntry(name);
#pragma warning restore CS0612
GetEntryAsync(EntryName, CallSettings)
[Obsolete]
public virtual Task<Entry> GetEntryAsync(EntryName name, CallSettings callSettings = null)Gets an entry.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
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
#pragma warning disable CS0612
Entry response = await dataCatalogClient.GetEntryAsync(name);
#pragma warning restore CS0612
GetEntryAsync(EntryName, CancellationToken)
[Obsolete]
public virtual Task<Entry> GetEntryAsync(EntryName name, CancellationToken cancellationToken)Gets an entry.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
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
#pragma warning disable CS0612
Entry response = await dataCatalogClient.GetEntryAsync(name);
#pragma warning restore CS0612
GetEntryAsync(GetEntryRequest, CallSettings)
[Obsolete]
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 |
TaskEntry |
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
#pragma warning disable CS0612
Entry response = await dataCatalogClient.GetEntryAsync(request);
#pragma warning restore CS0612
GetEntryAsync(GetEntryRequest, CancellationToken)
[Obsolete]
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 |
TaskEntry |
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
#pragma warning disable CS0612
Entry response = await dataCatalogClient.GetEntryAsync(request);
#pragma warning restore CS0612
GetEntryAsync(string, CallSettings)
[Obsolete]
public virtual Task<Entry> GetEntryAsync(string name, CallSettings callSettings = null)Gets an entry.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
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
#pragma warning disable CS0612
Entry response = await dataCatalogClient.GetEntryAsync(name);
#pragma warning restore CS0612
GetEntryAsync(string, CancellationToken)
[Obsolete]
public virtual Task<Entry> GetEntryAsync(string name, CancellationToken cancellationToken)Gets an entry.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
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
#pragma warning disable CS0612
Entry response = await dataCatalogClient.GetEntryAsync(name);
#pragma warning restore CS0612
GetEntryGroup(EntryGroupName, CallSettings)
[Obsolete]
public virtual EntryGroup GetEntryGroup(EntryGroupName name, CallSettings callSettings = null)Gets an entry group.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group to get. |
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
#pragma warning disable CS0612
EntryGroup response = dataCatalogClient.GetEntryGroup(name);
#pragma warning restore CS0612
GetEntryGroup(EntryGroupName, FieldMask, CallSettings)
[Obsolete]
public virtual EntryGroup GetEntryGroup(EntryGroupName name, FieldMask readMask, CallSettings callSettings = null)Gets an entry group.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group to get. |
readMask |
FieldMaskThe fields to return. If empty or omitted, 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
#pragma warning disable CS0612
EntryGroup response = dataCatalogClient.GetEntryGroup(name, readMask);
#pragma warning restore CS0612
GetEntryGroup(GetEntryGroupRequest, CallSettings)
[Obsolete]
public virtual EntryGroup GetEntryGroup(GetEntryGroupRequest request, CallSettings callSettings = null)Gets an entry group.
| 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
#pragma warning disable CS0612
EntryGroup response = dataCatalogClient.GetEntryGroup(request);
#pragma warning restore CS0612
GetEntryGroup(string, CallSettings)
[Obsolete]
public virtual EntryGroup GetEntryGroup(string name, CallSettings callSettings = null)Gets an entry group.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry group to get. |
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
#pragma warning disable CS0612
EntryGroup response = dataCatalogClient.GetEntryGroup(name);
#pragma warning restore CS0612
GetEntryGroup(string, FieldMask, CallSettings)
[Obsolete]
public virtual EntryGroup GetEntryGroup(string name, FieldMask readMask, CallSettings callSettings = null)Gets an entry group.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry group to get. |
readMask |
FieldMaskThe fields to return. If empty or omitted, 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
#pragma warning disable CS0612
EntryGroup response = dataCatalogClient.GetEntryGroup(name, readMask);
#pragma warning restore CS0612
GetEntryGroupAsync(EntryGroupName, CallSettings)
[Obsolete]
public virtual Task<EntryGroup> GetEntryGroupAsync(EntryGroupName name, CallSettings callSettings = null)Gets an entry group.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(name);
#pragma warning restore CS0612
GetEntryGroupAsync(EntryGroupName, FieldMask, CallSettings)
[Obsolete]
public virtual Task<EntryGroup> GetEntryGroupAsync(EntryGroupName name, FieldMask readMask, CallSettings callSettings = null)Gets an entry group.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group to get. |
readMask |
FieldMaskThe fields to return. If empty or omitted, all fields are returned. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(name, readMask);
#pragma warning restore CS0612
GetEntryGroupAsync(EntryGroupName, FieldMask, CancellationToken)
[Obsolete]
public virtual Task<EntryGroup> GetEntryGroupAsync(EntryGroupName name, FieldMask readMask, CancellationToken cancellationToken)Gets an entry group.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group to get. |
readMask |
FieldMaskThe fields to return. If empty or omitted, all fields are returned. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(name, readMask);
#pragma warning restore CS0612
GetEntryGroupAsync(EntryGroupName, CancellationToken)
[Obsolete]
public virtual Task<EntryGroup> GetEntryGroupAsync(EntryGroupName name, CancellationToken cancellationToken)Gets an entry group.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryGroupNameRequired. The name of the entry group to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(name);
#pragma warning restore CS0612
GetEntryGroupAsync(GetEntryGroupRequest, CallSettings)
[Obsolete]
public virtual Task<EntryGroup> GetEntryGroupAsync(GetEntryGroupRequest request, CallSettings callSettings = null)Gets an entry group.
| 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 |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(request);
#pragma warning restore CS0612
GetEntryGroupAsync(GetEntryGroupRequest, CancellationToken)
[Obsolete]
public virtual Task<EntryGroup> GetEntryGroupAsync(GetEntryGroupRequest request, CancellationToken cancellationToken)Gets an entry group.
| 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 |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(request);
#pragma warning restore CS0612
GetEntryGroupAsync(string, CallSettings)
[Obsolete]
public virtual Task<EntryGroup> GetEntryGroupAsync(string name, CallSettings callSettings = null)Gets an entry group.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry group to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(name);
#pragma warning restore CS0612
GetEntryGroupAsync(string, FieldMask, CallSettings)
[Obsolete]
public virtual Task<EntryGroup> GetEntryGroupAsync(string name, FieldMask readMask, CallSettings callSettings = null)Gets an entry group.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry group to get. |
readMask |
FieldMaskThe fields to return. If empty or omitted, all fields are returned. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(name, readMask);
#pragma warning restore CS0612
GetEntryGroupAsync(string, FieldMask, CancellationToken)
[Obsolete]
public virtual Task<EntryGroup> GetEntryGroupAsync(string name, FieldMask readMask, CancellationToken cancellationToken)Gets an entry group.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry group to get. |
readMask |
FieldMaskThe fields to return. If empty or omitted, all fields are returned. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(name, readMask);
#pragma warning restore CS0612
GetEntryGroupAsync(string, CancellationToken)
[Obsolete]
public virtual Task<EntryGroup> GetEntryGroupAsync(string name, CancellationToken cancellationToken)Gets an entry group.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry group to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.GetEntryGroupAsync(name);
#pragma warning restore CS0612
GetIamPolicy(IResourceName, CallSettings)
[Obsolete]
public virtual Policy GetIamPolicy(IResourceName resource, CallSettings callSettings = null)Gets the access control policy for a resource.
May return:
- A
NOT_FOUNDerror if the resource doesn't exist or you don't have the permission to view it. - An empty policy if the resource exists but doesn't have a set policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.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 |
Policy |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
IResourceName resource = new UnparsedResourceName("a/wildcard/resource");
// Make the request
#pragma warning disable CS0612
Policy response = dataCatalogClient.GetIamPolicy(resource);
#pragma warning restore CS0612
GetIamPolicy(GetIamPolicyRequest, CallSettings)
[Obsolete]
public virtual Policy GetIamPolicy(GetIamPolicyRequest request, CallSettings callSettings = null)Gets the access control policy for a resource.
May return:
- A
NOT_FOUNDerror if the resource doesn't exist or you don't have the permission to view it. - An empty policy if the resource exists but doesn't have a set policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.datacatalog.entryGroups.getIamPolicyto get policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
request |
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 |
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
#pragma warning disable CS0612
Policy response = dataCatalogClient.GetIamPolicy(request);
#pragma warning restore CS0612
GetIamPolicy(string, CallSettings)
[Obsolete]
public virtual Policy GetIamPolicy(string resource, CallSettings callSettings = null)Gets the access control policy for a resource.
May return:
- A
NOT_FOUNDerror if the resource doesn't exist or you don't have the permission to view it. - An empty policy if the resource exists but doesn't have a set policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.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 |
Policy |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string resource = "a/wildcard/resource";
// Make the request
#pragma warning disable CS0612
Policy response = dataCatalogClient.GetIamPolicy(resource);
#pragma warning restore CS0612
GetIamPolicyAsync(IResourceName, CallSettings)
[Obsolete]
public virtual Task<Policy> GetIamPolicyAsync(IResourceName resource, CallSettings callSettings = null)Gets the access control policy for a resource.
May return:
- A
NOT_FOUNDerror if the resource doesn't exist or you don't have the permission to view it. - An empty policy if the resource exists but doesn't have a set policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.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 |
TaskPolicy |
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
#pragma warning disable CS0612
Policy response = await dataCatalogClient.GetIamPolicyAsync(resource);
#pragma warning restore CS0612
GetIamPolicyAsync(IResourceName, CancellationToken)
[Obsolete]
public virtual Task<Policy> GetIamPolicyAsync(IResourceName resource, CancellationToken cancellationToken)Gets the access control policy for a resource.
May return:
- A
NOT_FOUNDerror if the resource doesn't exist or you don't have the permission to view it. - An empty policy if the resource exists but doesn't have a set policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.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 |
TaskPolicy |
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
#pragma warning disable CS0612
Policy response = await dataCatalogClient.GetIamPolicyAsync(resource);
#pragma warning restore CS0612
GetIamPolicyAsync(GetIamPolicyRequest, CallSettings)
[Obsolete]
public virtual Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallSettings callSettings = null)Gets the access control policy for a resource.
May return:
- A
NOT_FOUNDerror if the resource doesn't exist or you don't have the permission to view it. - An empty policy if the resource exists but doesn't have a set policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.datacatalog.entryGroups.getIamPolicyto get policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
request |
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 |
TaskPolicy |
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
#pragma warning disable CS0612
Policy response = await dataCatalogClient.GetIamPolicyAsync(request);
#pragma warning restore CS0612
GetIamPolicyAsync(GetIamPolicyRequest, CancellationToken)
[Obsolete]
public virtual Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CancellationToken cancellationToken)Gets the access control policy for a resource.
May return:
- A
NOT_FOUNDerror if the resource doesn't exist or you don't have the permission to view it. - An empty policy if the resource exists but doesn't have a set policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.datacatalog.entryGroups.getIamPolicyto get policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
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
#pragma warning disable CS0612
Policy response = await dataCatalogClient.GetIamPolicyAsync(request);
#pragma warning restore CS0612
GetIamPolicyAsync(string, CallSettings)
[Obsolete]
public virtual Task<Policy> GetIamPolicyAsync(string resource, CallSettings callSettings = null)Gets the access control policy for a resource.
May return:
- A
NOT_FOUNDerror if the resource doesn't exist or you don't have the permission to view it. - An empty policy if the resource exists but doesn't have a set policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.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 |
TaskPolicy |
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
#pragma warning disable CS0612
Policy response = await dataCatalogClient.GetIamPolicyAsync(resource);
#pragma warning restore CS0612
GetIamPolicyAsync(string, CancellationToken)
[Obsolete]
public virtual Task<Policy> GetIamPolicyAsync(string resource, CancellationToken cancellationToken)Gets the access control policy for a resource.
May return:
- A
NOT_FOUNDerror if the resource doesn't exist or you don't have the permission to view it. - An empty policy if the resource exists but doesn't have a set policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.getIamPolicyto get policies on tag templates.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 |
TaskPolicy |
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
#pragma warning disable CS0612
Policy response = await dataCatalogClient.GetIamPolicyAsync(resource);
#pragma warning restore CS0612
GetTagTemplate(GetTagTemplateRequest, CallSettings)
[Obsolete]
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
#pragma warning disable CS0612
TagTemplate response = dataCatalogClient.GetTagTemplate(request);
#pragma warning restore CS0612
GetTagTemplate(TagTemplateName, CallSettings)
[Obsolete]
public virtual TagTemplate GetTagTemplate(TagTemplateName name, CallSettings callSettings = null)Gets a tag template.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateNameRequired. The name of the tag template to get. |
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
#pragma warning disable CS0612
TagTemplate response = dataCatalogClient.GetTagTemplate(name);
#pragma warning restore CS0612
GetTagTemplate(string, CallSettings)
[Obsolete]
public virtual TagTemplate GetTagTemplate(string name, CallSettings callSettings = null)Gets a tag template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template to get. |
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
#pragma warning disable CS0612
TagTemplate response = dataCatalogClient.GetTagTemplate(name);
#pragma warning restore CS0612
GetTagTemplateAsync(GetTagTemplateRequest, CallSettings)
[Obsolete]
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 |
TaskTagTemplate |
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
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.GetTagTemplateAsync(request);
#pragma warning restore CS0612
GetTagTemplateAsync(GetTagTemplateRequest, CancellationToken)
[Obsolete]
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 |
TaskTagTemplate |
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
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.GetTagTemplateAsync(request);
#pragma warning restore CS0612
GetTagTemplateAsync(TagTemplateName, CallSettings)
[Obsolete]
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 to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTagTemplate |
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
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.GetTagTemplateAsync(name);
#pragma warning restore CS0612
GetTagTemplateAsync(TagTemplateName, CancellationToken)
[Obsolete]
public virtual Task<TagTemplate> GetTagTemplateAsync(TagTemplateName name, CancellationToken cancellationToken)Gets a tag template.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateNameRequired. The name of the tag template to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTagTemplate |
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
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.GetTagTemplateAsync(name);
#pragma warning restore CS0612
GetTagTemplateAsync(string, CallSettings)
[Obsolete]
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 to get. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTagTemplate |
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
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.GetTagTemplateAsync(name);
#pragma warning restore CS0612
GetTagTemplateAsync(string, CancellationToken)
[Obsolete]
public virtual Task<TagTemplate> GetTagTemplateAsync(string name, CancellationToken cancellationToken)Gets a tag template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template to get. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTagTemplate |
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
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.GetTagTemplateAsync(name);
#pragma warning restore CS0612
ImportEntries(ImportEntriesRequest, CallSettings)
[Obsolete]
public virtual Operation<ImportEntriesResponse, ImportEntriesMetadata> ImportEntries(ImportEntriesRequest request, CallSettings callSettings = null)Imports entries from a source, such as data previously dumped into a Cloud Storage bucket, into Data Catalog. Import of entries is a sync operation that reconciles the state of the third-party system with the Data Catalog.
ImportEntries accepts source data snapshots of a third-party system.
Snapshot should be delivered as a .wire or base65-encoded .txt file
containing a sequence of Protocol Buffer messages of
[DumpItem][google.cloud.datacatalog.v1.DumpItem] type.
ImportEntries returns a [long-running operation]
[google.longrunning.Operation] resource that can be queried with
[Operations.GetOperation][google.longrunning.Operations.GetOperation]
to return
[ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata]
and an
[ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse]
message.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportEntriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationImportEntriesResponseImportEntriesMetadata |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
ImportEntriesRequest request = new ImportEntriesRequest
{
ParentAsEntryGroupName = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
GcsBucketPath = "",
JobId = "",
};
// Make the request
#pragma warning disable CS0612
Operation<ImportEntriesResponse, ImportEntriesMetadata> response = dataCatalogClient.ImportEntries(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<ImportEntriesResponse, ImportEntriesMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ImportEntriesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<ImportEntriesResponse, ImportEntriesMetadata> retrievedResponse = dataCatalogClient.PollOnceImportEntries(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportEntriesResponse retrievedResult = retrievedResponse.Result;
}
ImportEntriesAsync(ImportEntriesRequest, CallSettings)
[Obsolete]
public virtual Task<Operation<ImportEntriesResponse, ImportEntriesMetadata>> ImportEntriesAsync(ImportEntriesRequest request, CallSettings callSettings = null)Imports entries from a source, such as data previously dumped into a Cloud Storage bucket, into Data Catalog. Import of entries is a sync operation that reconciles the state of the third-party system with the Data Catalog.
ImportEntries accepts source data snapshots of a third-party system.
Snapshot should be delivered as a .wire or base65-encoded .txt file
containing a sequence of Protocol Buffer messages of
[DumpItem][google.cloud.datacatalog.v1.DumpItem] type.
ImportEntries returns a [long-running operation]
[google.longrunning.Operation] resource that can be queried with
[Operations.GetOperation][google.longrunning.Operations.GetOperation]
to return
[ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata]
and an
[ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse]
message.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportEntriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationImportEntriesResponseImportEntriesMetadata |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
ImportEntriesRequest request = new ImportEntriesRequest
{
ParentAsEntryGroupName = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
GcsBucketPath = "",
JobId = "",
};
// Make the request
#pragma warning disable CS0612
Operation<ImportEntriesResponse, ImportEntriesMetadata> response = await dataCatalogClient.ImportEntriesAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<ImportEntriesResponse, ImportEntriesMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportEntriesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<ImportEntriesResponse, ImportEntriesMetadata> retrievedResponse = await dataCatalogClient.PollOnceImportEntriesAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportEntriesResponse retrievedResult = retrievedResponse.Result;
}
ImportEntriesAsync(ImportEntriesRequest, CancellationToken)
[Obsolete]
public virtual Task<Operation<ImportEntriesResponse, ImportEntriesMetadata>> ImportEntriesAsync(ImportEntriesRequest request, CancellationToken cancellationToken)Imports entries from a source, such as data previously dumped into a Cloud Storage bucket, into Data Catalog. Import of entries is a sync operation that reconciles the state of the third-party system with the Data Catalog.
ImportEntries accepts source data snapshots of a third-party system.
Snapshot should be delivered as a .wire or base65-encoded .txt file
containing a sequence of Protocol Buffer messages of
[DumpItem][google.cloud.datacatalog.v1.DumpItem] type.
ImportEntries returns a [long-running operation]
[google.longrunning.Operation] resource that can be queried with
[Operations.GetOperation][google.longrunning.Operations.GetOperation]
to return
[ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata]
and an
[ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse]
message.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportEntriesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationImportEntriesResponseImportEntriesMetadata |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
ImportEntriesRequest request = new ImportEntriesRequest
{
ParentAsEntryGroupName = EntryGroupName.FromProjectLocationEntryGroup("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"),
GcsBucketPath = "",
JobId = "",
};
// Make the request
#pragma warning disable CS0612
Operation<ImportEntriesResponse, ImportEntriesMetadata> response = await dataCatalogClient.ImportEntriesAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<ImportEntriesResponse, ImportEntriesMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportEntriesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<ImportEntriesResponse, ImportEntriesMetadata> retrievedResponse = await dataCatalogClient.PollOnceImportEntriesAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportEntriesResponse retrievedResult = retrievedResponse.Result;
}
ListEntries(EntryGroupName, string, int?, CallSettings)
[Obsolete]
public virtual PagedEnumerable<ListEntriesResponse, Entry> ListEntries(EntryGroupName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists entries.
Note: Currently, this method can list only custom entries. To get a list of both custom and automatically created entries, use [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The name of the entry group that contains the entries to list. Can be provided in URL format. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe 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 |
PagedEnumerableListEntriesResponseEntry |
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
#pragma warning disable CS0612
PagedEnumerable<ListEntriesResponse, Entry> response = dataCatalogClient.ListEntries(parent);
#pragma warning restore CS0612
// 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)
[Obsolete]
public virtual PagedEnumerable<ListEntriesResponse, Entry> ListEntries(ListEntriesRequest request, CallSettings callSettings = null)Lists entries.
Note: Currently, this method can list only custom entries. To get a list of both custom and automatically created entries, use [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
| 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 |
PagedEnumerableListEntriesResponseEntry |
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
#pragma warning disable CS0612
PagedEnumerable<ListEntriesResponse, Entry> response = dataCatalogClient.ListEntries(request);
#pragma warning restore CS0612
// 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, int?, CallSettings)
[Obsolete]
public virtual PagedEnumerable<ListEntriesResponse, Entry> ListEntries(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists entries.
Note: Currently, this method can list only custom entries. To get a list of both custom and automatically created entries, use [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the entry group that contains the entries to list. Can be provided in URL format. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe 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 |
PagedEnumerableListEntriesResponseEntry |
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
#pragma warning disable CS0612
PagedEnumerable<ListEntriesResponse, Entry> response = dataCatalogClient.ListEntries(parent);
#pragma warning restore CS0612
// 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, int?, CallSettings)
[Obsolete]
public virtual PagedAsyncEnumerable<ListEntriesResponse, Entry> ListEntriesAsync(EntryGroupName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists entries.
Note: Currently, this method can list only custom entries. To get a list of both custom and automatically created entries, use [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryGroupNameRequired. The name of the entry group that contains the entries to list. Can be provided in URL format. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe 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 |
PagedAsyncEnumerableListEntriesResponseEntry |
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
#pragma warning disable CS0612
PagedAsyncEnumerable<ListEntriesResponse, Entry> response = dataCatalogClient.ListEntriesAsync(parent);
#pragma warning restore CS0612
// 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)
[Obsolete]
public virtual PagedAsyncEnumerable<ListEntriesResponse, Entry> ListEntriesAsync(ListEntriesRequest request, CallSettings callSettings = null)Lists entries.
Note: Currently, this method can list only custom entries. To get a list of both custom and automatically created entries, use [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
| 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 |
PagedAsyncEnumerableListEntriesResponseEntry |
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
#pragma warning disable CS0612
PagedAsyncEnumerable<ListEntriesResponse, Entry> response = dataCatalogClient.ListEntriesAsync(request);
#pragma warning restore CS0612
// 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, int?, CallSettings)
[Obsolete]
public virtual PagedAsyncEnumerable<ListEntriesResponse, Entry> ListEntriesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists entries.
Note: Currently, this method can list only custom entries. To get a list of both custom and automatically created entries, use [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the entry group that contains the entries to list. Can be provided in URL format. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe 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 |
PagedAsyncEnumerableListEntriesResponseEntry |
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
#pragma warning disable CS0612
PagedAsyncEnumerable<ListEntriesResponse, Entry> response = dataCatalogClient.ListEntriesAsync(parent);
#pragma warning restore CS0612
// 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(LocationName, string, int?, CallSettings)
[Obsolete]
public virtual PagedEnumerable<ListEntryGroupsResponse, EntryGroup> ListEntryGroups(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists entry groups.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The name of the location that contains the entry groups to list. Can be provided as a URL. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe 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 |
PagedEnumerableListEntryGroupsResponseEntryGroup |
A pageable sequence of EntryGroup resources. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
#pragma warning disable CS0612
PagedEnumerable<ListEntryGroupsResponse, EntryGroup> response = dataCatalogClient.ListEntryGroups(parent);
#pragma warning restore CS0612
// 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)
[Obsolete]
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 |
PagedEnumerableListEntryGroupsResponseEntryGroup |
A pageable sequence of EntryGroup resources. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
ListEntryGroupsRequest request = new ListEntryGroupsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
#pragma warning disable CS0612
PagedEnumerable<ListEntryGroupsResponse, EntryGroup> response = dataCatalogClient.ListEntryGroups(request);
#pragma warning restore CS0612
// 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, int?, CallSettings)
[Obsolete]
public virtual PagedEnumerable<ListEntryGroupsResponse, EntryGroup> ListEntryGroups(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists entry groups.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the location that contains the entry groups to list. Can be provided as a URL. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe 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 |
PagedEnumerableListEntryGroupsResponseEntryGroup |
A pageable sequence of EntryGroup resources. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
#pragma warning disable CS0612
PagedEnumerable<ListEntryGroupsResponse, EntryGroup> response = dataCatalogClient.ListEntryGroups(parent);
#pragma warning restore CS0612
// 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(LocationName, string, int?, CallSettings)
[Obsolete]
public virtual PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> ListEntryGroupsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists entry groups.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The name of the location that contains the entry groups to list. Can be provided as a URL. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe 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 |
PagedAsyncEnumerableListEntryGroupsResponseEntryGroup |
A pageable asynchronous sequence of EntryGroup resources. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
#pragma warning disable CS0612
PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> response = dataCatalogClient.ListEntryGroupsAsync(parent);
#pragma warning restore CS0612
// 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)
[Obsolete]
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 |
PagedAsyncEnumerableListEntryGroupsResponseEntryGroup |
A pageable asynchronous sequence of EntryGroup resources. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
ListEntryGroupsRequest request = new ListEntryGroupsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
#pragma warning disable CS0612
PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> response = dataCatalogClient.ListEntryGroupsAsync(request);
#pragma warning restore CS0612
// 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, int?, CallSettings)
[Obsolete]
public virtual PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> ListEntryGroupsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists entry groups.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the location that contains the entry groups to list. Can be provided as a URL. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe 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 |
PagedAsyncEnumerableListEntryGroupsResponseEntryGroup |
A pageable asynchronous sequence of EntryGroup resources. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
#pragma warning disable CS0612
PagedAsyncEnumerable<ListEntryGroupsResponse, EntryGroup> response = dataCatalogClient.ListEntryGroupsAsync(parent);
#pragma warning restore CS0612
// 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, int?, CallSettings)
[Obsolete]
public virtual PagedEnumerable<ListTagsResponse, Tag> ListTags(EntryName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are lowercased.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryNameRequired. The name of the Data Catalog resource to list the tags of. The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]
(without |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe 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 |
PagedEnumerableListTagsResponseTag |
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
#pragma warning disable CS0612
PagedEnumerable<ListTagsResponse, Tag> response = dataCatalogClient.ListTags(parent);
#pragma warning restore CS0612
// 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)
[Obsolete]
public virtual PagedEnumerable<ListTagsResponse, Tag> ListTags(ListTagsRequest request, CallSettings callSettings = null)Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are lowercased.
| 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 |
PagedEnumerableListTagsResponseTag |
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
#pragma warning disable CS0612
PagedEnumerable<ListTagsResponse, Tag> response = dataCatalogClient.ListTags(request);
#pragma warning restore CS0612
// 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, int?, CallSettings)
[Obsolete]
public virtual PagedEnumerable<ListTagsResponse, Tag> ListTags(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are lowercased.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the Data Catalog resource to list the tags of. The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]
(without |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe 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 |
PagedEnumerableListTagsResponseTag |
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
#pragma warning disable CS0612
PagedEnumerable<ListTagsResponse, Tag> response = dataCatalogClient.ListTags(parent);
#pragma warning restore CS0612
// 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, int?, CallSettings)
[Obsolete]
public virtual PagedAsyncEnumerable<ListTagsResponse, Tag> ListTagsAsync(EntryName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are lowercased.
| Parameters | |
|---|---|
| Name | Description |
parent |
EntryNameRequired. The name of the Data Catalog resource to list the tags of. The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]
(without |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe 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 |
PagedAsyncEnumerableListTagsResponseTag |
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
#pragma warning disable CS0612
PagedAsyncEnumerable<ListTagsResponse, Tag> response = dataCatalogClient.ListTagsAsync(parent);
#pragma warning restore CS0612
// 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)
[Obsolete]
public virtual PagedAsyncEnumerable<ListTagsResponse, Tag> ListTagsAsync(ListTagsRequest request, CallSettings callSettings = null)Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are lowercased.
| 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 |
PagedAsyncEnumerableListTagsResponseTag |
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
#pragma warning disable CS0612
PagedAsyncEnumerable<ListTagsResponse, Tag> response = dataCatalogClient.ListTagsAsync(request);
#pragma warning restore CS0612
// 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, int?, CallSettings)
[Obsolete]
public virtual PagedAsyncEnumerable<ListTagsResponse, Tag> ListTagsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are lowercased.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the Data Catalog resource to list the tags of. The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]
(without |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe 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 |
PagedAsyncEnumerableListTagsResponseTag |
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
#pragma warning disable CS0612
PagedAsyncEnumerable<ListTagsResponse, Tag> response = dataCatalogClient.ListTagsAsync(parent);
#pragma warning restore CS0612
// 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)
[Obsolete]
public virtual Entry LookupEntry(LookupEntryRequest request, CallSettings callSettings = null)Gets an entry by its target resource name.
The resource name comes from the source Google Cloud Platform service.
| 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 = "",
Project = "",
Location = "",
};
// Make the request
#pragma warning disable CS0612
Entry response = dataCatalogClient.LookupEntry(request);
#pragma warning restore CS0612
LookupEntryAsync(LookupEntryRequest, CallSettings)
[Obsolete]
public virtual Task<Entry> LookupEntryAsync(LookupEntryRequest request, CallSettings callSettings = null)Gets an entry by its target resource name.
The resource name comes from the source Google Cloud Platform service.
| 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 |
TaskEntry |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
LookupEntryRequest request = new LookupEntryRequest
{
LinkedResource = "",
Project = "",
Location = "",
};
// Make the request
#pragma warning disable CS0612
Entry response = await dataCatalogClient.LookupEntryAsync(request);
#pragma warning restore CS0612
LookupEntryAsync(LookupEntryRequest, CancellationToken)
[Obsolete]
public virtual Task<Entry> LookupEntryAsync(LookupEntryRequest request, CancellationToken cancellationToken)Gets an entry by its target resource name.
The resource name comes from the source Google Cloud Platform service.
| 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 |
TaskEntry |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
LookupEntryRequest request = new LookupEntryRequest
{
LinkedResource = "",
Project = "",
Location = "",
};
// Make the request
#pragma warning disable CS0612
Entry response = await dataCatalogClient.LookupEntryAsync(request);
#pragma warning restore CS0612
ModifyEntryContacts(ModifyEntryContactsRequest, CallSettings)
[Obsolete]
public virtual Contacts ModifyEntryContacts(ModifyEntryContactsRequest request, CallSettings callSettings = null)Modifies contacts, part of the business context of an [Entry][google.cloud.datacatalog.v1.Entry].
To call this method, you must have the datacatalog.entries.updateContacts
IAM permission on the corresponding project.
| Parameters | |
|---|---|
| Name | Description |
request |
ModifyEntryContactsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Contacts |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
ModifyEntryContactsRequest request = new ModifyEntryContactsRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
Contacts = new Contacts(),
};
// Make the request
#pragma warning disable CS0612
Contacts response = dataCatalogClient.ModifyEntryContacts(request);
#pragma warning restore CS0612
ModifyEntryContactsAsync(ModifyEntryContactsRequest, CallSettings)
[Obsolete]
public virtual Task<Contacts> ModifyEntryContactsAsync(ModifyEntryContactsRequest request, CallSettings callSettings = null)Modifies contacts, part of the business context of an [Entry][google.cloud.datacatalog.v1.Entry].
To call this method, you must have the datacatalog.entries.updateContacts
IAM permission on the corresponding project.
| Parameters | |
|---|---|
| Name | Description |
request |
ModifyEntryContactsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskContacts |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
ModifyEntryContactsRequest request = new ModifyEntryContactsRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
Contacts = new Contacts(),
};
// Make the request
#pragma warning disable CS0612
Contacts response = await dataCatalogClient.ModifyEntryContactsAsync(request);
#pragma warning restore CS0612
ModifyEntryContactsAsync(ModifyEntryContactsRequest, CancellationToken)
[Obsolete]
public virtual Task<Contacts> ModifyEntryContactsAsync(ModifyEntryContactsRequest request, CancellationToken cancellationToken)Modifies contacts, part of the business context of an [Entry][google.cloud.datacatalog.v1.Entry].
To call this method, you must have the datacatalog.entries.updateContacts
IAM permission on the corresponding project.
| Parameters | |
|---|---|
| Name | Description |
request |
ModifyEntryContactsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskContacts |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
ModifyEntryContactsRequest request = new ModifyEntryContactsRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
Contacts = new Contacts(),
};
// Make the request
#pragma warning disable CS0612
Contacts response = await dataCatalogClient.ModifyEntryContactsAsync(request);
#pragma warning restore CS0612
ModifyEntryOverview(ModifyEntryOverviewRequest, CallSettings)
[Obsolete]
public virtual EntryOverview ModifyEntryOverview(ModifyEntryOverviewRequest request, CallSettings callSettings = null)Modifies entry overview, part of the business context of an [Entry][google.cloud.datacatalog.v1.Entry].
To call this method, you must have the datacatalog.entries.updateOverview
IAM permission on the corresponding project.
| Parameters | |
|---|---|
| Name | Description |
request |
ModifyEntryOverviewRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EntryOverview |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
ModifyEntryOverviewRequest request = new ModifyEntryOverviewRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
EntryOverview = new EntryOverview(),
};
// Make the request
#pragma warning disable CS0612
EntryOverview response = dataCatalogClient.ModifyEntryOverview(request);
#pragma warning restore CS0612
ModifyEntryOverviewAsync(ModifyEntryOverviewRequest, CallSettings)
[Obsolete]
public virtual Task<EntryOverview> ModifyEntryOverviewAsync(ModifyEntryOverviewRequest request, CallSettings callSettings = null)Modifies entry overview, part of the business context of an [Entry][google.cloud.datacatalog.v1.Entry].
To call this method, you must have the datacatalog.entries.updateOverview
IAM permission on the corresponding project.
| Parameters | |
|---|---|
| Name | Description |
request |
ModifyEntryOverviewRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryOverview |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
ModifyEntryOverviewRequest request = new ModifyEntryOverviewRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
EntryOverview = new EntryOverview(),
};
// Make the request
#pragma warning disable CS0612
EntryOverview response = await dataCatalogClient.ModifyEntryOverviewAsync(request);
#pragma warning restore CS0612
ModifyEntryOverviewAsync(ModifyEntryOverviewRequest, CancellationToken)
[Obsolete]
public virtual Task<EntryOverview> ModifyEntryOverviewAsync(ModifyEntryOverviewRequest request, CancellationToken cancellationToken)Modifies entry overview, part of the business context of an [Entry][google.cloud.datacatalog.v1.Entry].
To call this method, you must have the datacatalog.entries.updateOverview
IAM permission on the corresponding project.
| Parameters | |
|---|---|
| Name | Description |
request |
ModifyEntryOverviewRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryOverview |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
ModifyEntryOverviewRequest request = new ModifyEntryOverviewRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
EntryOverview = new EntryOverview(),
};
// Make the request
#pragma warning disable CS0612
EntryOverview response = await dataCatalogClient.ModifyEntryOverviewAsync(request);
#pragma warning restore CS0612
PollOnceImportEntries(string, CallSettings)
[Obsolete]
public virtual Operation<ImportEntriesResponse, ImportEntriesMetadata> PollOnceImportEntries(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of ImportEntries.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationImportEntriesResponseImportEntriesMetadata |
The result of polling the operation. |
PollOnceImportEntriesAsync(string, CallSettings)
[Obsolete]
public virtual Task<Operation<ImportEntriesResponse, ImportEntriesMetadata>> PollOnceImportEntriesAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
ImportEntries.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationImportEntriesResponseImportEntriesMetadata |
A task representing the result of polling the operation. |
PollOnceReconcileTags(string, CallSettings)
[Obsolete]
public virtual Operation<ReconcileTagsResponse, ReconcileTagsMetadata> PollOnceReconcileTags(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of ReconcileTags.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationReconcileTagsResponseReconcileTagsMetadata |
The result of polling the operation. |
PollOnceReconcileTagsAsync(string, CallSettings)
[Obsolete]
public virtual Task<Operation<ReconcileTagsResponse, ReconcileTagsMetadata>> PollOnceReconcileTagsAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
ReconcileTags.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationReconcileTagsResponseReconcileTagsMetadata |
A task representing the result of polling the operation. |
ReconcileTags(ReconcileTagsRequest, CallSettings)
[Obsolete]
public virtual Operation<ReconcileTagsResponse, ReconcileTagsMetadata> ReconcileTags(ReconcileTagsRequest request, CallSettings callSettings = null)ReconcileTags creates or updates a list of tags on the entry.
If the
[ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing]
parameter is set, the operation deletes tags not included in the input tag
list.
ReconcileTags returns a [long-running operation]
[google.longrunning.Operation] resource that can be queried with
[Operations.GetOperation][google.longrunning.Operations.GetOperation]
to return [ReconcileTagsMetadata]
[google.cloud.datacatalog.v1.ReconcileTagsMetadata] and
a [ReconcileTagsResponse]
[google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
| Parameters | |
|---|---|
| Name | Description |
request |
ReconcileTagsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationReconcileTagsResponseReconcileTagsMetadata |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
ReconcileTagsRequest request = new ReconcileTagsRequest
{
ParentAsEntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
TagTemplateAsTagTemplateName = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"),
ForceDeleteMissing = false,
Tags = { new Tag(), },
};
// Make the request
#pragma warning disable CS0612
Operation<ReconcileTagsResponse, ReconcileTagsMetadata> response = dataCatalogClient.ReconcileTags(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<ReconcileTagsResponse, ReconcileTagsMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ReconcileTagsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<ReconcileTagsResponse, ReconcileTagsMetadata> retrievedResponse = dataCatalogClient.PollOnceReconcileTags(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ReconcileTagsResponse retrievedResult = retrievedResponse.Result;
}
ReconcileTagsAsync(ReconcileTagsRequest, CallSettings)
[Obsolete]
public virtual Task<Operation<ReconcileTagsResponse, ReconcileTagsMetadata>> ReconcileTagsAsync(ReconcileTagsRequest request, CallSettings callSettings = null)ReconcileTags creates or updates a list of tags on the entry.
If the
[ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing]
parameter is set, the operation deletes tags not included in the input tag
list.
ReconcileTags returns a [long-running operation]
[google.longrunning.Operation] resource that can be queried with
[Operations.GetOperation][google.longrunning.Operations.GetOperation]
to return [ReconcileTagsMetadata]
[google.cloud.datacatalog.v1.ReconcileTagsMetadata] and
a [ReconcileTagsResponse]
[google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
| Parameters | |
|---|---|
| Name | Description |
request |
ReconcileTagsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationReconcileTagsResponseReconcileTagsMetadata |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
ReconcileTagsRequest request = new ReconcileTagsRequest
{
ParentAsEntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
TagTemplateAsTagTemplateName = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"),
ForceDeleteMissing = false,
Tags = { new Tag(), },
};
// Make the request
#pragma warning disable CS0612
Operation<ReconcileTagsResponse, ReconcileTagsMetadata> response = await dataCatalogClient.ReconcileTagsAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<ReconcileTagsResponse, ReconcileTagsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ReconcileTagsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<ReconcileTagsResponse, ReconcileTagsMetadata> retrievedResponse = await dataCatalogClient.PollOnceReconcileTagsAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ReconcileTagsResponse retrievedResult = retrievedResponse.Result;
}
ReconcileTagsAsync(ReconcileTagsRequest, CancellationToken)
[Obsolete]
public virtual Task<Operation<ReconcileTagsResponse, ReconcileTagsMetadata>> ReconcileTagsAsync(ReconcileTagsRequest request, CancellationToken cancellationToken)ReconcileTags creates or updates a list of tags on the entry.
If the
[ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing]
parameter is set, the operation deletes tags not included in the input tag
list.
ReconcileTags returns a [long-running operation]
[google.longrunning.Operation] resource that can be queried with
[Operations.GetOperation][google.longrunning.Operations.GetOperation]
to return [ReconcileTagsMetadata]
[google.cloud.datacatalog.v1.ReconcileTagsMetadata] and
a [ReconcileTagsResponse]
[google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
| Parameters | |
|---|---|
| Name | Description |
request |
ReconcileTagsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationReconcileTagsResponseReconcileTagsMetadata |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
ReconcileTagsRequest request = new ReconcileTagsRequest
{
ParentAsEntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
TagTemplateAsTagTemplateName = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"),
ForceDeleteMissing = false,
Tags = { new Tag(), },
};
// Make the request
#pragma warning disable CS0612
Operation<ReconcileTagsResponse, ReconcileTagsMetadata> response = await dataCatalogClient.ReconcileTagsAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<ReconcileTagsResponse, ReconcileTagsMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ReconcileTagsResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<ReconcileTagsResponse, ReconcileTagsMetadata> retrievedResponse = await dataCatalogClient.PollOnceReconcileTagsAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ReconcileTagsResponse retrievedResult = retrievedResponse.Result;
}
RenameTagTemplateField(RenameTagTemplateFieldRequest, CallSettings)
[Obsolete]
public virtual TagTemplateField RenameTagTemplateField(RenameTagTemplateFieldRequest request, CallSettings callSettings = null)Renames a field in a tag template.
You must enable the Data Catalog API in the project identified by the
name parameter. For more information, see Data Catalog resource project.
| 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
#pragma warning disable CS0612
TagTemplateField response = dataCatalogClient.RenameTagTemplateField(request);
#pragma warning restore CS0612
RenameTagTemplateField(TagTemplateFieldName, string, CallSettings)
[Obsolete]
public virtual TagTemplateField RenameTagTemplateField(TagTemplateFieldName name, string newTagTemplateFieldId, CallSettings callSettings = null)Renames a field in a tag template.
You must enable the Data Catalog API in the project identified by the
name parameter. For more information, see Data Catalog resource project.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field. |
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
#pragma warning disable CS0612
TagTemplateField response = dataCatalogClient.RenameTagTemplateField(name, newTagTemplateFieldId);
#pragma warning restore CS0612
RenameTagTemplateField(string, string, CallSettings)
[Obsolete]
public virtual TagTemplateField RenameTagTemplateField(string name, string newTagTemplateFieldId, CallSettings callSettings = null)Renames a field in a tag template.
You must enable the Data Catalog API in the project identified by the
name parameter. For more information, see Data Catalog resource project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template field. |
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
#pragma warning disable CS0612
TagTemplateField response = dataCatalogClient.RenameTagTemplateField(name, newTagTemplateFieldId);
#pragma warning restore CS0612
RenameTagTemplateFieldAsync(RenameTagTemplateFieldRequest, CallSettings)
[Obsolete]
public virtual Task<TagTemplateField> RenameTagTemplateFieldAsync(RenameTagTemplateFieldRequest request, CallSettings callSettings = null)Renames a field in a tag template.
You must enable the Data Catalog API in the project identified by the
name parameter. For more information, see Data Catalog resource project.
| 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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldAsync(request);
#pragma warning restore CS0612
RenameTagTemplateFieldAsync(RenameTagTemplateFieldRequest, CancellationToken)
[Obsolete]
public virtual Task<TagTemplateField> RenameTagTemplateFieldAsync(RenameTagTemplateFieldRequest request, CancellationToken cancellationToken)Renames a field in a tag template.
You must enable the Data Catalog API in the project identified by the
name parameter. For more information, see Data Catalog resource project.
| 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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldAsync(request);
#pragma warning restore CS0612
RenameTagTemplateFieldAsync(TagTemplateFieldName, string, CallSettings)
[Obsolete]
public virtual Task<TagTemplateField> RenameTagTemplateFieldAsync(TagTemplateFieldName name, string newTagTemplateFieldId, CallSettings callSettings = null)Renames a field in a tag template.
You must enable the Data Catalog API in the project identified by the
name parameter. For more information, see Data Catalog resource project.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field. |
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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldAsync(name, newTagTemplateFieldId);
#pragma warning restore CS0612
RenameTagTemplateFieldAsync(TagTemplateFieldName, string, CancellationToken)
[Obsolete]
public virtual Task<TagTemplateField> RenameTagTemplateFieldAsync(TagTemplateFieldName name, string newTagTemplateFieldId, CancellationToken cancellationToken)Renames a field in a tag template.
You must enable the Data Catalog API in the project identified by the
name parameter. For more information, see Data Catalog resource project.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field. |
newTagTemplateFieldId |
stringRequired. The new ID of this tag template field. For example,
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldAsync(name, newTagTemplateFieldId);
#pragma warning restore CS0612
RenameTagTemplateFieldAsync(string, string, CallSettings)
[Obsolete]
public virtual Task<TagTemplateField> RenameTagTemplateFieldAsync(string name, string newTagTemplateFieldId, CallSettings callSettings = null)Renames a field in a tag template.
You must enable the Data Catalog API in the project identified by the
name parameter. For more information, see Data Catalog resource project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template field. |
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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldAsync(name, newTagTemplateFieldId);
#pragma warning restore CS0612
RenameTagTemplateFieldAsync(string, string, CancellationToken)
[Obsolete]
public virtual Task<TagTemplateField> RenameTagTemplateFieldAsync(string name, string newTagTemplateFieldId, CancellationToken cancellationToken)Renames a field in a tag template.
You must enable the Data Catalog API in the project identified by the
name parameter. For more information, see Data Catalog resource project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template field. |
newTagTemplateFieldId |
stringRequired. The new ID of this tag template field. For example,
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldAsync(name, newTagTemplateFieldId);
#pragma warning restore CS0612
RenameTagTemplateFieldEnumValue(RenameTagTemplateFieldEnumValueRequest, CallSettings)
[Obsolete]
public virtual TagTemplateField RenameTagTemplateFieldEnumValue(RenameTagTemplateFieldEnumValueRequest request, CallSettings callSettings = null)Renames an enum value in a tag template.
Within a single enum field, enum values must be unique.
| 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
#pragma warning disable CS0612
TagTemplateField response = dataCatalogClient.RenameTagTemplateFieldEnumValue(request);
#pragma warning restore CS0612
RenameTagTemplateFieldEnumValue(TagTemplateFieldEnumValueName, string, CallSettings)
[Obsolete]
public virtual TagTemplateField RenameTagTemplateFieldEnumValue(TagTemplateFieldEnumValueName name, string newEnumValueDisplayName, CallSettings callSettings = null)Renames an enum value in a tag template.
Within a single enum field, enum values must be unique.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldEnumValueNameRequired. The name of the enum field value. |
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
#pragma warning disable CS0612
TagTemplateField response = dataCatalogClient.RenameTagTemplateFieldEnumValue(name, newEnumValueDisplayName);
#pragma warning restore CS0612
RenameTagTemplateFieldEnumValue(string, string, CallSettings)
[Obsolete]
public virtual TagTemplateField RenameTagTemplateFieldEnumValue(string name, string newEnumValueDisplayName, CallSettings callSettings = null)Renames an enum value in a tag template.
Within a single enum field, enum values must be unique.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the enum field value. |
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
#pragma warning disable CS0612
TagTemplateField response = dataCatalogClient.RenameTagTemplateFieldEnumValue(name, newEnumValueDisplayName);
#pragma warning restore CS0612
RenameTagTemplateFieldEnumValueAsync(RenameTagTemplateFieldEnumValueRequest, CallSettings)
[Obsolete]
public virtual Task<TagTemplateField> RenameTagTemplateFieldEnumValueAsync(RenameTagTemplateFieldEnumValueRequest request, CallSettings callSettings = null)Renames an enum value in a tag template.
Within a single enum field, enum values must be unique.
| 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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldEnumValueAsync(request);
#pragma warning restore CS0612
RenameTagTemplateFieldEnumValueAsync(RenameTagTemplateFieldEnumValueRequest, CancellationToken)
[Obsolete]
public virtual Task<TagTemplateField> RenameTagTemplateFieldEnumValueAsync(RenameTagTemplateFieldEnumValueRequest request, CancellationToken cancellationToken)Renames an enum value in a tag template.
Within a single enum field, enum values must be unique.
| 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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldEnumValueAsync(request);
#pragma warning restore CS0612
RenameTagTemplateFieldEnumValueAsync(TagTemplateFieldEnumValueName, string, CallSettings)
[Obsolete]
public virtual Task<TagTemplateField> RenameTagTemplateFieldEnumValueAsync(TagTemplateFieldEnumValueName name, string newEnumValueDisplayName, CallSettings callSettings = null)Renames an enum value in a tag template.
Within a single enum field, enum values must be unique.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldEnumValueNameRequired. The name of the enum field value. |
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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldEnumValueAsync(name, newEnumValueDisplayName);
#pragma warning restore CS0612
RenameTagTemplateFieldEnumValueAsync(TagTemplateFieldEnumValueName, string, CancellationToken)
[Obsolete]
public virtual Task<TagTemplateField> RenameTagTemplateFieldEnumValueAsync(TagTemplateFieldEnumValueName name, string newEnumValueDisplayName, CancellationToken cancellationToken)Renames an enum value in a tag template.
Within a single enum field, enum values must be unique.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldEnumValueNameRequired. The name of the enum field value. |
newEnumValueDisplayName |
stringRequired. The new display name of the enum value. For example,
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldEnumValueAsync(name, newEnumValueDisplayName);
#pragma warning restore CS0612
RenameTagTemplateFieldEnumValueAsync(string, string, CallSettings)
[Obsolete]
public virtual Task<TagTemplateField> RenameTagTemplateFieldEnumValueAsync(string name, string newEnumValueDisplayName, CallSettings callSettings = null)Renames an enum value in a tag template.
Within a single enum field, enum values must be unique.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the enum field value. |
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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldEnumValueAsync(name, newEnumValueDisplayName);
#pragma warning restore CS0612
RenameTagTemplateFieldEnumValueAsync(string, string, CancellationToken)
[Obsolete]
public virtual Task<TagTemplateField> RenameTagTemplateFieldEnumValueAsync(string name, string newEnumValueDisplayName, CancellationToken cancellationToken)Renames an enum value in a tag template.
Within a single enum field, enum values must be unique.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the enum field value. |
newEnumValueDisplayName |
stringRequired. The new display name of the enum value. For example,
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.RenameTagTemplateFieldEnumValueAsync(name, newEnumValueDisplayName);
#pragma warning restore CS0612
RetrieveConfig(RetrieveConfigRequest, CallSettings)
[Obsolete]
public virtual OrganizationConfig RetrieveConfig(RetrieveConfigRequest request, CallSettings callSettings = null)Retrieves the configuration related to the migration from Data Catalog to Dataplex for a specific organization, including all the projects under it which have a separate configuration set.
| Parameters | |
|---|---|
| Name | Description |
request |
RetrieveConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OrganizationConfig |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
RetrieveConfigRequest request = new RetrieveConfigRequest { Name = "", };
// Make the request
#pragma warning disable CS0612
OrganizationConfig response = dataCatalogClient.RetrieveConfig(request);
#pragma warning restore CS0612
RetrieveConfigAsync(RetrieveConfigRequest, CallSettings)
[Obsolete]
public virtual Task<OrganizationConfig> RetrieveConfigAsync(RetrieveConfigRequest request, CallSettings callSettings = null)Retrieves the configuration related to the migration from Data Catalog to Dataplex for a specific organization, including all the projects under it which have a separate configuration set.
| Parameters | |
|---|---|
| Name | Description |
request |
RetrieveConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOrganizationConfig |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
RetrieveConfigRequest request = new RetrieveConfigRequest { Name = "", };
// Make the request
#pragma warning disable CS0612
OrganizationConfig response = await dataCatalogClient.RetrieveConfigAsync(request);
#pragma warning restore CS0612
RetrieveConfigAsync(RetrieveConfigRequest, CancellationToken)
[Obsolete]
public virtual Task<OrganizationConfig> RetrieveConfigAsync(RetrieveConfigRequest request, CancellationToken cancellationToken)Retrieves the configuration related to the migration from Data Catalog to Dataplex for a specific organization, including all the projects under it which have a separate configuration set.
| Parameters | |
|---|---|
| Name | Description |
request |
RetrieveConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOrganizationConfig |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
RetrieveConfigRequest request = new RetrieveConfigRequest { Name = "", };
// Make the request
#pragma warning disable CS0612
OrganizationConfig response = await dataCatalogClient.RetrieveConfigAsync(request);
#pragma warning restore CS0612
RetrieveEffectiveConfig(RetrieveEffectiveConfigRequest, CallSettings)
[Obsolete]
public virtual MigrationConfig RetrieveEffectiveConfig(RetrieveEffectiveConfigRequest request, CallSettings callSettings = null)Retrieves the effective configuration related to the migration from Data Catalog to Dataplex for a specific organization or project. If there is no specific configuration set for the resource, the setting is checked hierarchicahlly through the ancestors of the resource, starting from the resource itself.
| Parameters | |
|---|---|
| Name | Description |
request |
RetrieveEffectiveConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MigrationConfig |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
RetrieveEffectiveConfigRequest request = new RetrieveEffectiveConfigRequest { Name = "", };
// Make the request
#pragma warning disable CS0612
MigrationConfig response = dataCatalogClient.RetrieveEffectiveConfig(request);
#pragma warning restore CS0612
RetrieveEffectiveConfigAsync(RetrieveEffectiveConfigRequest, CallSettings)
[Obsolete]
public virtual Task<MigrationConfig> RetrieveEffectiveConfigAsync(RetrieveEffectiveConfigRequest request, CallSettings callSettings = null)Retrieves the effective configuration related to the migration from Data Catalog to Dataplex for a specific organization or project. If there is no specific configuration set for the resource, the setting is checked hierarchicahlly through the ancestors of the resource, starting from the resource itself.
| Parameters | |
|---|---|
| Name | Description |
request |
RetrieveEffectiveConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMigrationConfig |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
RetrieveEffectiveConfigRequest request = new RetrieveEffectiveConfigRequest { Name = "", };
// Make the request
#pragma warning disable CS0612
MigrationConfig response = await dataCatalogClient.RetrieveEffectiveConfigAsync(request);
#pragma warning restore CS0612
RetrieveEffectiveConfigAsync(RetrieveEffectiveConfigRequest, CancellationToken)
[Obsolete]
public virtual Task<MigrationConfig> RetrieveEffectiveConfigAsync(RetrieveEffectiveConfigRequest request, CancellationToken cancellationToken)Retrieves the effective configuration related to the migration from Data Catalog to Dataplex for a specific organization or project. If there is no specific configuration set for the resource, the setting is checked hierarchicahlly through the ancestors of the resource, starting from the resource itself.
| Parameters | |
|---|---|
| Name | Description |
request |
RetrieveEffectiveConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMigrationConfig |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
RetrieveEffectiveConfigRequest request = new RetrieveEffectiveConfigRequest { Name = "", };
// Make the request
#pragma warning disable CS0612
MigrationConfig response = await dataCatalogClient.RetrieveEffectiveConfigAsync(request);
#pragma warning restore CS0612
SearchCatalog(SearchCatalogRequest, CallSettings)
[Obsolete]
public virtual PagedEnumerable<SearchCatalogResponse, SearchCatalogResult> SearchCatalog(SearchCatalogRequest request, CallSettings callSettings = null)Searches Data Catalog for multiple resources like entries and tags that match a query.
This is a Custom Method that doesn't return all information on a resource, only its ID and high level fields. To get more information, you can subsequently call specific get methods.
Note: Data Catalog search queries don't guarantee full recall. Results that match your query might not be returned, even in subsequent result pages. Additionally, returned (and not returned) results can vary if you repeat search queries.
For more information, see Data Catalog search syntax.
| 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 |
PagedEnumerableSearchCatalogResponseSearchCatalogResult |
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(),
AdminSearch = false,
};
// Make the request
#pragma warning disable CS0612
PagedEnumerable<SearchCatalogResponse, SearchCatalogResult> response = dataCatalogClient.SearchCatalog(request);
#pragma warning restore CS0612
// 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(Scope, string, string, int?, CallSettings)
[Obsolete]
public virtual PagedEnumerable<SearchCatalogResponse, SearchCatalogResult> SearchCatalog(SearchCatalogRequest.Types.Scope scope, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Searches Data Catalog for multiple resources like entries and tags that match a query.
This is a Custom Method that doesn't return all information on a resource, only its ID and high level fields. To get more information, you can subsequently call specific get methods.
Note: Data Catalog search queries don't guarantee full recall. Results that match your query might not be returned, even in subsequent result pages. Additionally, returned (and not returned) results can vary if you repeat search queries.
For more information, see Data Catalog search syntax.
| Parameters | |
|---|---|
| Name | Description |
scope |
SearchCatalogRequestTypesScopeRequired. The scope of this search request. The |
query |
stringOptional. The query string with a minimum of 3 characters and specific syntax. For more information, see Data Catalog search syntax. An empty query string returns all data assets (in the specified scope) that you have access to. A query string can be a simple
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe 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 |
PagedEnumerableSearchCatalogResponseSearchCatalogResult |
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
#pragma warning disable CS0612
PagedEnumerable<SearchCatalogResponse, SearchCatalogResult> response = dataCatalogClient.SearchCatalog(scope, query);
#pragma warning restore CS0612
// 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)
[Obsolete]
public virtual PagedAsyncEnumerable<SearchCatalogResponse, SearchCatalogResult> SearchCatalogAsync(SearchCatalogRequest request, CallSettings callSettings = null)Searches Data Catalog for multiple resources like entries and tags that match a query.
This is a Custom Method that doesn't return all information on a resource, only its ID and high level fields. To get more information, you can subsequently call specific get methods.
Note: Data Catalog search queries don't guarantee full recall. Results that match your query might not be returned, even in subsequent result pages. Additionally, returned (and not returned) results can vary if you repeat search queries.
For more information, see Data Catalog search syntax.
| 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 |
PagedAsyncEnumerableSearchCatalogResponseSearchCatalogResult |
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(),
AdminSearch = false,
};
// Make the request
#pragma warning disable CS0612
PagedAsyncEnumerable<SearchCatalogResponse, SearchCatalogResult> response = dataCatalogClient.SearchCatalogAsync(request);
#pragma warning restore CS0612
// 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(Scope, string, string, int?, CallSettings)
[Obsolete]
public virtual PagedAsyncEnumerable<SearchCatalogResponse, SearchCatalogResult> SearchCatalogAsync(SearchCatalogRequest.Types.Scope scope, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Searches Data Catalog for multiple resources like entries and tags that match a query.
This is a Custom Method that doesn't return all information on a resource, only its ID and high level fields. To get more information, you can subsequently call specific get methods.
Note: Data Catalog search queries don't guarantee full recall. Results that match your query might not be returned, even in subsequent result pages. Additionally, returned (and not returned) results can vary if you repeat search queries.
For more information, see Data Catalog search syntax.
| Parameters | |
|---|---|
| Name | Description |
scope |
SearchCatalogRequestTypesScopeRequired. The scope of this search request. The |
query |
stringOptional. The query string with a minimum of 3 characters and specific syntax. For more information, see Data Catalog search syntax. An empty query string returns all data assets (in the specified scope) that you have access to. A query string can be a simple
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe 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 |
PagedAsyncEnumerableSearchCatalogResponseSearchCatalogResult |
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
#pragma warning disable CS0612
PagedAsyncEnumerable<SearchCatalogResponse, SearchCatalogResult> response = dataCatalogClient.SearchCatalogAsync(scope, query);
#pragma warning restore CS0612
// 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;
SetConfig(SetConfigRequest, CallSettings)
[Obsolete]
public virtual MigrationConfig SetConfig(SetConfigRequest request, CallSettings callSettings = null)Sets the configuration related to the migration to Dataplex for an organization or project.
| Parameters | |
|---|---|
| Name | Description |
request |
SetConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MigrationConfig |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
SetConfigRequest request = new SetConfigRequest
{
Name = "",
TagTemplateMigration = TagTemplateMigration.Unspecified,
};
// Make the request
#pragma warning disable CS0612
MigrationConfig response = dataCatalogClient.SetConfig(request);
#pragma warning restore CS0612
SetConfigAsync(SetConfigRequest, CallSettings)
[Obsolete]
public virtual Task<MigrationConfig> SetConfigAsync(SetConfigRequest request, CallSettings callSettings = null)Sets the configuration related to the migration to Dataplex for an organization or project.
| Parameters | |
|---|---|
| Name | Description |
request |
SetConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMigrationConfig |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
SetConfigRequest request = new SetConfigRequest
{
Name = "",
TagTemplateMigration = TagTemplateMigration.Unspecified,
};
// Make the request
#pragma warning disable CS0612
MigrationConfig response = await dataCatalogClient.SetConfigAsync(request);
#pragma warning restore CS0612
SetConfigAsync(SetConfigRequest, CancellationToken)
[Obsolete]
public virtual Task<MigrationConfig> SetConfigAsync(SetConfigRequest request, CancellationToken cancellationToken)Sets the configuration related to the migration to Dataplex for an organization or project.
| Parameters | |
|---|---|
| Name | Description |
request |
SetConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMigrationConfig |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
SetConfigRequest request = new SetConfigRequest
{
Name = "",
TagTemplateMigration = TagTemplateMigration.Unspecified,
};
// Make the request
#pragma warning disable CS0612
MigrationConfig response = await dataCatalogClient.SetConfigAsync(request);
#pragma warning restore CS0612
SetIamPolicy(IResourceName, Policy, CallSettings)
[Obsolete]
public virtual Policy SetIamPolicy(IResourceName resource, Policy policy, CallSettings callSettings = null)Sets an access control policy for a resource. Replaces any existing policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.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 |
PolicyREQUIRED: The complete policy to be applied to the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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
#pragma warning disable CS0612
Policy response = dataCatalogClient.SetIamPolicy(resource, policy);
#pragma warning restore CS0612
SetIamPolicy(SetIamPolicyRequest, CallSettings)
[Obsolete]
public virtual Policy SetIamPolicy(SetIamPolicyRequest request, CallSettings callSettings = null)Sets an access control policy for a resource. Replaces any existing policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.datacatalog.entryGroups.setIamPolicyto set policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
request |
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 |
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(),
UpdateMask = new FieldMask(),
};
// Make the request
#pragma warning disable CS0612
Policy response = dataCatalogClient.SetIamPolicy(request);
#pragma warning restore CS0612
SetIamPolicy(string, Policy, CallSettings)
[Obsolete]
public virtual Policy SetIamPolicy(string resource, Policy policy, CallSettings callSettings = null)Sets an access control policy for a resource. Replaces any existing policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.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 |
PolicyREQUIRED: The complete policy to be applied to the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
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
#pragma warning disable CS0612
Policy response = dataCatalogClient.SetIamPolicy(resource, policy);
#pragma warning restore CS0612
SetIamPolicyAsync(IResourceName, Policy, CallSettings)
[Obsolete]
public virtual Task<Policy> SetIamPolicyAsync(IResourceName resource, Policy policy, CallSettings callSettings = null)Sets an access control policy for a resource. Replaces any existing policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.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 |
PolicyREQUIRED: The complete policy to be applied to the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
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
#pragma warning disable CS0612
Policy response = await dataCatalogClient.SetIamPolicyAsync(resource, policy);
#pragma warning restore CS0612
SetIamPolicyAsync(IResourceName, Policy, CancellationToken)
[Obsolete]
public virtual Task<Policy> SetIamPolicyAsync(IResourceName resource, Policy policy, CancellationToken cancellationToken)Sets an access control policy for a resource. Replaces any existing policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.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 |
PolicyREQUIRED: The complete policy to be applied to the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
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
#pragma warning disable CS0612
Policy response = await dataCatalogClient.SetIamPolicyAsync(resource, policy);
#pragma warning restore CS0612
SetIamPolicyAsync(SetIamPolicyRequest, CallSettings)
[Obsolete]
public virtual Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallSettings callSettings = null)Sets an access control policy for a resource. Replaces any existing policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.datacatalog.entryGroups.setIamPolicyto set policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
request |
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 |
TaskPolicy |
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(),
UpdateMask = new FieldMask(),
};
// Make the request
#pragma warning disable CS0612
Policy response = await dataCatalogClient.SetIamPolicyAsync(request);
#pragma warning restore CS0612
SetIamPolicyAsync(SetIamPolicyRequest, CancellationToken)
[Obsolete]
public virtual Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CancellationToken cancellationToken)Sets an access control policy for a resource. Replaces any existing policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.datacatalog.entryGroups.setIamPolicyto set policies on entry groups.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
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(),
UpdateMask = new FieldMask(),
};
// Make the request
#pragma warning disable CS0612
Policy response = await dataCatalogClient.SetIamPolicyAsync(request);
#pragma warning restore CS0612
SetIamPolicyAsync(string, Policy, CallSettings)
[Obsolete]
public virtual Task<Policy> SetIamPolicyAsync(string resource, Policy policy, CallSettings callSettings = null)Sets an access control policy for a resource. Replaces any existing policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.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 |
PolicyREQUIRED: The complete policy to be applied to the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
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
#pragma warning disable CS0612
Policy response = await dataCatalogClient.SetIamPolicyAsync(resource, policy);
#pragma warning restore CS0612
SetIamPolicyAsync(string, Policy, CancellationToken)
[Obsolete]
public virtual Task<Policy> SetIamPolicyAsync(string resource, Policy policy, CancellationToken cancellationToken)Sets an access control policy for a resource. Replaces any existing policy.
Supported resources are:
- Tag templates
- Entry groups
Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.setIamPolicyto set policies on tag templates.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 |
PolicyREQUIRED: The complete policy to be applied to the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
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
#pragma warning disable CS0612
Policy response = await dataCatalogClient.SetIamPolicyAsync(resource, policy);
#pragma warning restore CS0612
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.
StarEntry(EntryName, CallSettings)
[Obsolete]
public virtual StarEntryResponse StarEntry(EntryName name, CallSettings callSettings = null)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry to mark as starred. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
StarEntryResponse |
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
#pragma warning disable CS0612
StarEntryResponse response = dataCatalogClient.StarEntry(name);
#pragma warning restore CS0612
StarEntry(StarEntryRequest, CallSettings)
[Obsolete]
public virtual StarEntryResponse StarEntry(StarEntryRequest request, CallSettings callSettings = null)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
request |
StarEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
StarEntryResponse |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
StarEntryRequest request = new StarEntryRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
#pragma warning disable CS0612
StarEntryResponse response = dataCatalogClient.StarEntry(request);
#pragma warning restore CS0612
StarEntry(string, CallSettings)
[Obsolete]
public virtual StarEntryResponse StarEntry(string name, CallSettings callSettings = null)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry to mark as starred. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
StarEntryResponse |
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
#pragma warning disable CS0612
StarEntryResponse response = dataCatalogClient.StarEntry(name);
#pragma warning restore CS0612
StarEntryAsync(EntryName, CallSettings)
[Obsolete]
public virtual Task<StarEntryResponse> StarEntryAsync(EntryName name, CallSettings callSettings = null)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry to mark as starred. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskStarEntryResponse |
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
#pragma warning disable CS0612
StarEntryResponse response = await dataCatalogClient.StarEntryAsync(name);
#pragma warning restore CS0612
StarEntryAsync(EntryName, CancellationToken)
[Obsolete]
public virtual Task<StarEntryResponse> StarEntryAsync(EntryName name, CancellationToken cancellationToken)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry to mark as starred. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskStarEntryResponse |
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
#pragma warning disable CS0612
StarEntryResponse response = await dataCatalogClient.StarEntryAsync(name);
#pragma warning restore CS0612
StarEntryAsync(StarEntryRequest, CallSettings)
[Obsolete]
public virtual Task<StarEntryResponse> StarEntryAsync(StarEntryRequest request, CallSettings callSettings = null)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
request |
StarEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskStarEntryResponse |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
StarEntryRequest request = new StarEntryRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
#pragma warning disable CS0612
StarEntryResponse response = await dataCatalogClient.StarEntryAsync(request);
#pragma warning restore CS0612
StarEntryAsync(StarEntryRequest, CancellationToken)
[Obsolete]
public virtual Task<StarEntryResponse> StarEntryAsync(StarEntryRequest request, CancellationToken cancellationToken)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
request |
StarEntryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskStarEntryResponse |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
StarEntryRequest request = new StarEntryRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
#pragma warning disable CS0612
StarEntryResponse response = await dataCatalogClient.StarEntryAsync(request);
#pragma warning restore CS0612
StarEntryAsync(string, CallSettings)
[Obsolete]
public virtual Task<StarEntryResponse> StarEntryAsync(string name, CallSettings callSettings = null)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry to mark as starred. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskStarEntryResponse |
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
#pragma warning disable CS0612
StarEntryResponse response = await dataCatalogClient.StarEntryAsync(name);
#pragma warning restore CS0612
StarEntryAsync(string, CancellationToken)
[Obsolete]
public virtual Task<StarEntryResponse> StarEntryAsync(string name, CancellationToken cancellationToken)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry to mark as starred. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskStarEntryResponse |
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
#pragma warning disable CS0612
StarEntryResponse response = await dataCatalogClient.StarEntryAsync(name);
#pragma warning restore CS0612
TestIamPermissions(TestIamPermissionsRequest, CallSettings)
[Obsolete]
public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallSettings callSettings = null)Gets your permissions on a resource.
Returns an empty set of permissions if the resource doesn't exist.
Supported resources are:
- Tag templates
- Entry groups
Note: This method gets policies only within Data Catalog and can't be used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources ingested into Data Catalog.
No Google IAM permissions are required to call this method.
| Parameters | |
|---|---|
| Name | Description |
request |
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 |
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
#pragma warning disable CS0612
TestIamPermissionsResponse response = dataCatalogClient.TestIamPermissions(request);
#pragma warning restore CS0612
TestIamPermissionsAsync(TestIamPermissionsRequest, CallSettings)
[Obsolete]
public virtual Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallSettings callSettings = null)Gets your permissions on a resource.
Returns an empty set of permissions if the resource doesn't exist.
Supported resources are:
- Tag templates
- Entry groups
Note: This method gets policies only within Data Catalog and can't be used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources ingested into Data Catalog.
No Google IAM permissions are required to call this method.
| Parameters | |
|---|---|
| Name | Description |
request |
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 |
TaskTestIamPermissionsResponse |
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
#pragma warning disable CS0612
TestIamPermissionsResponse response = await dataCatalogClient.TestIamPermissionsAsync(request);
#pragma warning restore CS0612
TestIamPermissionsAsync(TestIamPermissionsRequest, CancellationToken)
[Obsolete]
public virtual Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CancellationToken cancellationToken)Gets your permissions on a resource.
Returns an empty set of permissions if the resource doesn't exist.
Supported resources are:
- Tag templates
- Entry groups
Note: This method gets policies only within Data Catalog and can't be used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources ingested into Data Catalog.
No Google IAM permissions are required to call this method.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTestIamPermissionsResponse |
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
#pragma warning disable CS0612
TestIamPermissionsResponse response = await dataCatalogClient.TestIamPermissionsAsync(request);
#pragma warning restore CS0612
UnstarEntry(EntryName, CallSettings)
[Obsolete]
public virtual UnstarEntryResponse UnstarEntry(EntryName name, CallSettings callSettings = null)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry to mark as not starred. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
UnstarEntryResponse |
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
#pragma warning disable CS0612
UnstarEntryResponse response = dataCatalogClient.UnstarEntry(name);
#pragma warning restore CS0612
UnstarEntry(UnstarEntryRequest, CallSettings)
[Obsolete]
public virtual UnstarEntryResponse UnstarEntry(UnstarEntryRequest request, CallSettings callSettings = null)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
request |
UnstarEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
UnstarEntryResponse |
The RPC response. |
// Create client
DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
// Initialize request argument(s)
UnstarEntryRequest request = new UnstarEntryRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
#pragma warning disable CS0612
UnstarEntryResponse response = dataCatalogClient.UnstarEntry(request);
#pragma warning restore CS0612
UnstarEntry(string, CallSettings)
[Obsolete]
public virtual UnstarEntryResponse UnstarEntry(string name, CallSettings callSettings = null)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry to mark as not starred. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
UnstarEntryResponse |
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
#pragma warning disable CS0612
UnstarEntryResponse response = dataCatalogClient.UnstarEntry(name);
#pragma warning restore CS0612
UnstarEntryAsync(EntryName, CallSettings)
[Obsolete]
public virtual Task<UnstarEntryResponse> UnstarEntryAsync(EntryName name, CallSettings callSettings = null)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry to mark as not starred. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskUnstarEntryResponse |
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
#pragma warning disable CS0612
UnstarEntryResponse response = await dataCatalogClient.UnstarEntryAsync(name);
#pragma warning restore CS0612
UnstarEntryAsync(EntryName, CancellationToken)
[Obsolete]
public virtual Task<UnstarEntryResponse> UnstarEntryAsync(EntryName name, CancellationToken cancellationToken)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
name |
EntryNameRequired. The name of the entry to mark as not starred. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskUnstarEntryResponse |
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
#pragma warning disable CS0612
UnstarEntryResponse response = await dataCatalogClient.UnstarEntryAsync(name);
#pragma warning restore CS0612
UnstarEntryAsync(UnstarEntryRequest, CallSettings)
[Obsolete]
public virtual Task<UnstarEntryResponse> UnstarEntryAsync(UnstarEntryRequest request, CallSettings callSettings = null)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
request |
UnstarEntryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskUnstarEntryResponse |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
UnstarEntryRequest request = new UnstarEntryRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
#pragma warning disable CS0612
UnstarEntryResponse response = await dataCatalogClient.UnstarEntryAsync(request);
#pragma warning restore CS0612
UnstarEntryAsync(UnstarEntryRequest, CancellationToken)
[Obsolete]
public virtual Task<UnstarEntryResponse> UnstarEntryAsync(UnstarEntryRequest request, CancellationToken cancellationToken)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
request |
UnstarEntryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskUnstarEntryResponse |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
UnstarEntryRequest request = new UnstarEntryRequest
{
EntryName = EntryName.FromProjectLocationEntryGroupEntry("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"),
};
// Make the request
#pragma warning disable CS0612
UnstarEntryResponse response = await dataCatalogClient.UnstarEntryAsync(request);
#pragma warning restore CS0612
UnstarEntryAsync(string, CallSettings)
[Obsolete]
public virtual Task<UnstarEntryResponse> UnstarEntryAsync(string name, CallSettings callSettings = null)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry to mark as not starred. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskUnstarEntryResponse |
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
#pragma warning disable CS0612
UnstarEntryResponse response = await dataCatalogClient.UnstarEntryAsync(name);
#pragma warning restore CS0612
UnstarEntryAsync(string, CancellationToken)
[Obsolete]
public virtual Task<UnstarEntryResponse> UnstarEntryAsync(string name, CancellationToken cancellationToken)Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by the current user. Starring information is private to each user.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the entry to mark as not starred. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskUnstarEntryResponse |
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
#pragma warning disable CS0612
UnstarEntryResponse response = await dataCatalogClient.UnstarEntryAsync(name);
#pragma warning restore CS0612
UpdateEntry(Entry, CallSettings)
[Obsolete]
public virtual Entry UpdateEntry(Entry entry, CallSettings callSettings = null)Updates an existing entry.
You must enable the Data Catalog API in the project identified by
the entry.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
entry |
EntryRequired. Updates for the entry. The |
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
#pragma warning disable CS0612
Entry response = dataCatalogClient.UpdateEntry(entry);
#pragma warning restore CS0612
UpdateEntry(Entry, FieldMask, CallSettings)
[Obsolete]
public virtual Entry UpdateEntry(Entry entry, FieldMask updateMask, CallSettings callSettings = null)Updates an existing entry.
You must enable the Data Catalog API in the project identified by
the entry.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
entry |
EntryRequired. Updates for the entry. The |
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. You can modify only the fields listed below. For entries with type
For entries with type
For entries with
|
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
#pragma warning disable CS0612
Entry response = dataCatalogClient.UpdateEntry(entry, updateMask);
#pragma warning restore CS0612
UpdateEntry(UpdateEntryRequest, CallSettings)
[Obsolete]
public virtual Entry UpdateEntry(UpdateEntryRequest request, CallSettings callSettings = null)Updates an existing entry.
You must enable the Data Catalog API in the project identified by
the entry.name parameter. For more information, see Data Catalog
resource
project.
| 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
#pragma warning disable CS0612
Entry response = dataCatalogClient.UpdateEntry(request);
#pragma warning restore CS0612
UpdateEntryAsync(Entry, CallSettings)
[Obsolete]
public virtual Task<Entry> UpdateEntryAsync(Entry entry, CallSettings callSettings = null)Updates an existing entry.
You must enable the Data Catalog API in the project identified by
the entry.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
entry |
EntryRequired. Updates for the entry. The |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
Entry entry = new Entry();
// Make the request
#pragma warning disable CS0612
Entry response = await dataCatalogClient.UpdateEntryAsync(entry);
#pragma warning restore CS0612
UpdateEntryAsync(Entry, FieldMask, CallSettings)
[Obsolete]
public virtual Task<Entry> UpdateEntryAsync(Entry entry, FieldMask updateMask, CallSettings callSettings = null)Updates an existing entry.
You must enable the Data Catalog API in the project identified by
the entry.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
entry |
EntryRequired. Updates for the entry. The |
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. You can modify only the fields listed below. For entries with type
For entries with type
For entries with
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
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
#pragma warning disable CS0612
Entry response = await dataCatalogClient.UpdateEntryAsync(entry, updateMask);
#pragma warning restore CS0612
UpdateEntryAsync(Entry, FieldMask, CancellationToken)
[Obsolete]
public virtual Task<Entry> UpdateEntryAsync(Entry entry, FieldMask updateMask, CancellationToken cancellationToken)Updates an existing entry.
You must enable the Data Catalog API in the project identified by
the entry.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
entry |
EntryRequired. Updates for the entry. The |
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. You can modify only the fields listed below. For entries with type
For entries with type
For entries with
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
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
#pragma warning disable CS0612
Entry response = await dataCatalogClient.UpdateEntryAsync(entry, updateMask);
#pragma warning restore CS0612
UpdateEntryAsync(Entry, CancellationToken)
[Obsolete]
public virtual Task<Entry> UpdateEntryAsync(Entry entry, CancellationToken cancellationToken)Updates an existing entry.
You must enable the Data Catalog API in the project identified by
the entry.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
entry |
EntryRequired. Updates for the entry. The |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntry |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
Entry entry = new Entry();
// Make the request
#pragma warning disable CS0612
Entry response = await dataCatalogClient.UpdateEntryAsync(entry);
#pragma warning restore CS0612
UpdateEntryAsync(UpdateEntryRequest, CallSettings)
[Obsolete]
public virtual Task<Entry> UpdateEntryAsync(UpdateEntryRequest request, CallSettings callSettings = null)Updates an existing entry.
You must enable the Data Catalog API in the project identified by
the entry.name parameter. For more information, see Data Catalog
resource
project.
| 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 |
TaskEntry |
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
#pragma warning disable CS0612
Entry response = await dataCatalogClient.UpdateEntryAsync(request);
#pragma warning restore CS0612
UpdateEntryAsync(UpdateEntryRequest, CancellationToken)
[Obsolete]
public virtual Task<Entry> UpdateEntryAsync(UpdateEntryRequest request, CancellationToken cancellationToken)Updates an existing entry.
You must enable the Data Catalog API in the project identified by
the entry.name parameter. For more information, see Data Catalog
resource
project.
| 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 |
TaskEntry |
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
#pragma warning disable CS0612
Entry response = await dataCatalogClient.UpdateEntryAsync(request);
#pragma warning restore CS0612
UpdateEntryGroup(EntryGroup, CallSettings)
[Obsolete]
public virtual EntryGroup UpdateEntryGroup(EntryGroup entryGroup, CallSettings callSettings = null)Updates an entry group.
You must enable the Data Catalog API in the project identified by
the entry_group.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
entryGroup |
EntryGroupRequired. Updates for the entry group. The |
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
#pragma warning disable CS0612
EntryGroup response = dataCatalogClient.UpdateEntryGroup(entryGroup);
#pragma warning restore CS0612
UpdateEntryGroup(EntryGroup, FieldMask, CallSettings)
[Obsolete]
public virtual EntryGroup UpdateEntryGroup(EntryGroup entryGroup, FieldMask updateMask, CallSettings callSettings = null)Updates an entry group.
You must enable the Data Catalog API in the project identified by
the entry_group.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
entryGroup |
EntryGroupRequired. Updates for the entry group. The |
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
#pragma warning disable CS0612
EntryGroup response = dataCatalogClient.UpdateEntryGroup(entryGroup, updateMask);
#pragma warning restore CS0612
UpdateEntryGroup(UpdateEntryGroupRequest, CallSettings)
[Obsolete]
public virtual EntryGroup UpdateEntryGroup(UpdateEntryGroupRequest request, CallSettings callSettings = null)Updates an entry group.
You must enable the Data Catalog API in the project identified by
the entry_group.name parameter. For more information, see Data Catalog
resource
project.
| 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
#pragma warning disable CS0612
EntryGroup response = dataCatalogClient.UpdateEntryGroup(request);
#pragma warning restore CS0612
UpdateEntryGroupAsync(EntryGroup, CallSettings)
[Obsolete]
public virtual Task<EntryGroup> UpdateEntryGroupAsync(EntryGroup entryGroup, CallSettings callSettings = null)Updates an entry group.
You must enable the Data Catalog API in the project identified by
the entry_group.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
entryGroup |
EntryGroupRequired. Updates for the entry group. The |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryGroup entryGroup = new EntryGroup();
// Make the request
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.UpdateEntryGroupAsync(entryGroup);
#pragma warning restore CS0612
UpdateEntryGroupAsync(EntryGroup, FieldMask, CallSettings)
[Obsolete]
public virtual Task<EntryGroup> UpdateEntryGroupAsync(EntryGroup entryGroup, FieldMask updateMask, CallSettings callSettings = null)Updates an entry group.
You must enable the Data Catalog API in the project identified by
the entry_group.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
entryGroup |
EntryGroupRequired. Updates for the entry group. The |
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 |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.UpdateEntryGroupAsync(entryGroup, updateMask);
#pragma warning restore CS0612
UpdateEntryGroupAsync(EntryGroup, FieldMask, CancellationToken)
[Obsolete]
public virtual Task<EntryGroup> UpdateEntryGroupAsync(EntryGroup entryGroup, FieldMask updateMask, CancellationToken cancellationToken)Updates an entry group.
You must enable the Data Catalog API in the project identified by
the entry_group.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
entryGroup |
EntryGroupRequired. Updates for the entry group. The |
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 |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.UpdateEntryGroupAsync(entryGroup, updateMask);
#pragma warning restore CS0612
UpdateEntryGroupAsync(EntryGroup, CancellationToken)
[Obsolete]
public virtual Task<EntryGroup> UpdateEntryGroupAsync(EntryGroup entryGroup, CancellationToken cancellationToken)Updates an entry group.
You must enable the Data Catalog API in the project identified by
the entry_group.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
entryGroup |
EntryGroupRequired. Updates for the entry group. The |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEntryGroup |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
EntryGroup entryGroup = new EntryGroup();
// Make the request
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.UpdateEntryGroupAsync(entryGroup);
#pragma warning restore CS0612
UpdateEntryGroupAsync(UpdateEntryGroupRequest, CallSettings)
[Obsolete]
public virtual Task<EntryGroup> UpdateEntryGroupAsync(UpdateEntryGroupRequest request, CallSettings callSettings = null)Updates an entry group.
You must enable the Data Catalog API in the project identified by
the entry_group.name parameter. For more information, see Data Catalog
resource
project.
| 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 |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.UpdateEntryGroupAsync(request);
#pragma warning restore CS0612
UpdateEntryGroupAsync(UpdateEntryGroupRequest, CancellationToken)
[Obsolete]
public virtual Task<EntryGroup> UpdateEntryGroupAsync(UpdateEntryGroupRequest request, CancellationToken cancellationToken)Updates an entry group.
You must enable the Data Catalog API in the project identified by
the entry_group.name parameter. For more information, see Data Catalog
resource
project.
| 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 |
TaskEntryGroup |
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
#pragma warning disable CS0612
EntryGroup response = await dataCatalogClient.UpdateEntryGroupAsync(request);
#pragma warning restore CS0612
UpdateTag(Tag, CallSettings)
[Obsolete]
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
#pragma warning disable CS0612
Tag response = dataCatalogClient.UpdateTag(tag);
#pragma warning restore CS0612
UpdateTag(Tag, FieldMask, CallSettings)
[Obsolete]
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
#pragma warning disable CS0612
Tag response = dataCatalogClient.UpdateTag(tag, updateMask);
#pragma warning restore CS0612
UpdateTag(UpdateTagRequest, CallSettings)
[Obsolete]
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
#pragma warning disable CS0612
Tag response = dataCatalogClient.UpdateTag(request);
#pragma warning restore CS0612
UpdateTagAsync(Tag, CallSettings)
[Obsolete]
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 |
TaskTag |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
Tag tag = new Tag();
// Make the request
#pragma warning disable CS0612
Tag response = await dataCatalogClient.UpdateTagAsync(tag);
#pragma warning restore CS0612
UpdateTagAsync(Tag, FieldMask, CallSettings)
[Obsolete]
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 |
TaskTag |
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
#pragma warning disable CS0612
Tag response = await dataCatalogClient.UpdateTagAsync(tag, updateMask);
#pragma warning restore CS0612
UpdateTagAsync(Tag, FieldMask, CancellationToken)
[Obsolete]
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 |
TaskTag |
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
#pragma warning disable CS0612
Tag response = await dataCatalogClient.UpdateTagAsync(tag, updateMask);
#pragma warning restore CS0612
UpdateTagAsync(Tag, CancellationToken)
[Obsolete]
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 |
TaskTag |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
Tag tag = new Tag();
// Make the request
#pragma warning disable CS0612
Tag response = await dataCatalogClient.UpdateTagAsync(tag);
#pragma warning restore CS0612
UpdateTagAsync(UpdateTagRequest, CallSettings)
[Obsolete]
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 |
TaskTag |
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
#pragma warning disable CS0612
Tag response = await dataCatalogClient.UpdateTagAsync(request);
#pragma warning restore CS0612
UpdateTagAsync(UpdateTagRequest, CancellationToken)
[Obsolete]
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 |
TaskTag |
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
#pragma warning disable CS0612
Tag response = await dataCatalogClient.UpdateTagAsync(request);
#pragma warning restore CS0612
UpdateTagTemplate(TagTemplate, CallSettings)
[Obsolete]
public virtual TagTemplate UpdateTagTemplate(TagTemplate tagTemplate, CallSettings callSettings = null)Updates a tag template.
You can't update template fields with this method. These fields are separate resources with their own create, update, and delete methods.
You must enable the Data Catalog API in the project identified by
the tag_template.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
tagTemplate |
TagTemplateRequired. The template to update. The |
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
#pragma warning disable CS0612
TagTemplate response = dataCatalogClient.UpdateTagTemplate(tagTemplate);
#pragma warning restore CS0612
UpdateTagTemplate(TagTemplate, FieldMask, CallSettings)
[Obsolete]
public virtual TagTemplate UpdateTagTemplate(TagTemplate tagTemplate, FieldMask updateMask, CallSettings callSettings = null)Updates a tag template.
You can't update template fields with this method. These fields are separate resources with their own create, update, and delete methods.
You must enable the Data Catalog API in the project identified by
the tag_template.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
tagTemplate |
TagTemplateRequired. The template to update. The |
updateMask |
FieldMaskNames of fields whose values to overwrite on a tag template. Currently,
only 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. Note: Updating the |
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
#pragma warning disable CS0612
TagTemplate response = dataCatalogClient.UpdateTagTemplate(tagTemplate, updateMask);
#pragma warning restore CS0612
UpdateTagTemplate(UpdateTagTemplateRequest, CallSettings)
[Obsolete]
public virtual TagTemplate UpdateTagTemplate(UpdateTagTemplateRequest request, CallSettings callSettings = null)Updates a tag template.
You can't update template fields with this method. These fields are separate resources with their own create, update, and delete methods.
You must enable the Data Catalog API in the project identified by
the tag_template.name parameter. For more information, see Data Catalog
resource
project.
| 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
#pragma warning disable CS0612
TagTemplate response = dataCatalogClient.UpdateTagTemplate(request);
#pragma warning restore CS0612
UpdateTagTemplateAsync(TagTemplate, CallSettings)
[Obsolete]
public virtual Task<TagTemplate> UpdateTagTemplateAsync(TagTemplate tagTemplate, CallSettings callSettings = null)Updates a tag template.
You can't update template fields with this method. These fields are separate resources with their own create, update, and delete methods.
You must enable the Data Catalog API in the project identified by
the tag_template.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
tagTemplate |
TagTemplateRequired. The template to update. The |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTagTemplate |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplate tagTemplate = new TagTemplate();
// Make the request
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.UpdateTagTemplateAsync(tagTemplate);
#pragma warning restore CS0612
UpdateTagTemplateAsync(TagTemplate, FieldMask, CallSettings)
[Obsolete]
public virtual Task<TagTemplate> UpdateTagTemplateAsync(TagTemplate tagTemplate, FieldMask updateMask, CallSettings callSettings = null)Updates a tag template.
You can't update template fields with this method. These fields are separate resources with their own create, update, and delete methods.
You must enable the Data Catalog API in the project identified by
the tag_template.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
tagTemplate |
TagTemplateRequired. The template to update. The |
updateMask |
FieldMaskNames of fields whose values to overwrite on a tag template. Currently,
only 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. Note: Updating the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTagTemplate |
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
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.UpdateTagTemplateAsync(tagTemplate, updateMask);
#pragma warning restore CS0612
UpdateTagTemplateAsync(TagTemplate, FieldMask, CancellationToken)
[Obsolete]
public virtual Task<TagTemplate> UpdateTagTemplateAsync(TagTemplate tagTemplate, FieldMask updateMask, CancellationToken cancellationToken)Updates a tag template.
You can't update template fields with this method. These fields are separate resources with their own create, update, and delete methods.
You must enable the Data Catalog API in the project identified by
the tag_template.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
tagTemplate |
TagTemplateRequired. The template to update. The |
updateMask |
FieldMaskNames of fields whose values to overwrite on a tag template. Currently,
only 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. Note: Updating the |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTagTemplate |
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
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.UpdateTagTemplateAsync(tagTemplate, updateMask);
#pragma warning restore CS0612
UpdateTagTemplateAsync(TagTemplate, CancellationToken)
[Obsolete]
public virtual Task<TagTemplate> UpdateTagTemplateAsync(TagTemplate tagTemplate, CancellationToken cancellationToken)Updates a tag template.
You can't update template fields with this method. These fields are separate resources with their own create, update, and delete methods.
You must enable the Data Catalog API in the project identified by
the tag_template.name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
tagTemplate |
TagTemplateRequired. The template to update. The |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTagTemplate |
A Task containing the RPC response. |
// Create client
DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync();
// Initialize request argument(s)
TagTemplate tagTemplate = new TagTemplate();
// Make the request
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.UpdateTagTemplateAsync(tagTemplate);
#pragma warning restore CS0612
UpdateTagTemplateAsync(UpdateTagTemplateRequest, CallSettings)
[Obsolete]
public virtual Task<TagTemplate> UpdateTagTemplateAsync(UpdateTagTemplateRequest request, CallSettings callSettings = null)Updates a tag template.
You can't update template fields with this method. These fields are separate resources with their own create, update, and delete methods.
You must enable the Data Catalog API in the project identified by
the tag_template.name parameter. For more information, see Data Catalog
resource
project.
| 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 |
TaskTagTemplate |
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
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.UpdateTagTemplateAsync(request);
#pragma warning restore CS0612
UpdateTagTemplateAsync(UpdateTagTemplateRequest, CancellationToken)
[Obsolete]
public virtual Task<TagTemplate> UpdateTagTemplateAsync(UpdateTagTemplateRequest request, CancellationToken cancellationToken)Updates a tag template.
You can't update template fields with this method. These fields are separate resources with their own create, update, and delete methods.
You must enable the Data Catalog API in the project identified by
the tag_template.name parameter. For more information, see Data Catalog
resource
project.
| 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 |
TaskTagTemplate |
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
#pragma warning disable CS0612
TagTemplate response = await dataCatalogClient.UpdateTagTemplateAsync(request);
#pragma warning restore CS0612
UpdateTagTemplateField(TagTemplateFieldName, TagTemplateField, CallSettings)
[Obsolete]
public virtual TagTemplateField UpdateTagTemplateField(TagTemplateFieldName name, TagTemplateField tagTemplateField, CallSettings callSettings = null)Updates a field in a tag template.
You can't update the field type with this method.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field. |
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
#pragma warning disable CS0612
TagTemplateField response = dataCatalogClient.UpdateTagTemplateField(name, tagTemplateField);
#pragma warning restore CS0612
UpdateTagTemplateField(TagTemplateFieldName, TagTemplateField, FieldMask, CallSettings)
[Obsolete]
public virtual TagTemplateField UpdateTagTemplateField(TagTemplateFieldName name, TagTemplateField tagTemplateField, FieldMask updateMask, CallSettings callSettings = null)Updates a field in a tag template.
You can't update the field type with this method.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field. |
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
#pragma warning disable CS0612
TagTemplateField response = dataCatalogClient.UpdateTagTemplateField(name, tagTemplateField, updateMask);
#pragma warning restore CS0612
UpdateTagTemplateField(UpdateTagTemplateFieldRequest, CallSettings)
[Obsolete]
public virtual TagTemplateField UpdateTagTemplateField(UpdateTagTemplateFieldRequest request, CallSettings callSettings = null)Updates a field in a tag template.
You can't update the field type with this method.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| 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
#pragma warning disable CS0612
TagTemplateField response = dataCatalogClient.UpdateTagTemplateField(request);
#pragma warning restore CS0612
UpdateTagTemplateField(string, TagTemplateField, CallSettings)
[Obsolete]
public virtual TagTemplateField UpdateTagTemplateField(string name, TagTemplateField tagTemplateField, CallSettings callSettings = null)Updates a field in a tag template.
You can't update the field type with this method.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template field. |
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
#pragma warning disable CS0612
TagTemplateField response = dataCatalogClient.UpdateTagTemplateField(name, tagTemplateField);
#pragma warning restore CS0612
UpdateTagTemplateField(string, TagTemplateField, FieldMask, CallSettings)
[Obsolete]
public virtual TagTemplateField UpdateTagTemplateField(string name, TagTemplateField tagTemplateField, FieldMask updateMask, CallSettings callSettings = null)Updates a field in a tag template.
You can't update the field type with this method.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template field. |
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
#pragma warning disable CS0612
TagTemplateField response = dataCatalogClient.UpdateTagTemplateField(name, tagTemplateField, updateMask);
#pragma warning restore CS0612
UpdateTagTemplateFieldAsync(TagTemplateFieldName, TagTemplateField, CallSettings)
[Obsolete]
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(TagTemplateFieldName name, TagTemplateField tagTemplateField, CallSettings callSettings = null)Updates a field in a tag template.
You can't update the field type with this method.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field. |
tagTemplateField |
TagTemplateFieldRequired. The template to update. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(name, tagTemplateField);
#pragma warning restore CS0612
UpdateTagTemplateFieldAsync(TagTemplateFieldName, TagTemplateField, FieldMask, CallSettings)
[Obsolete]
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(TagTemplateFieldName name, TagTemplateField tagTemplateField, FieldMask updateMask, CallSettings callSettings = null)Updates a field in a tag template.
You can't update the field type with this method.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field. |
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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(name, tagTemplateField, updateMask);
#pragma warning restore CS0612
UpdateTagTemplateFieldAsync(TagTemplateFieldName, TagTemplateField, FieldMask, CancellationToken)
[Obsolete]
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(TagTemplateFieldName name, TagTemplateField tagTemplateField, FieldMask updateMask, CancellationToken cancellationToken)Updates a field in a tag template.
You can't update the field type with this method.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field. |
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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(name, tagTemplateField, updateMask);
#pragma warning restore CS0612
UpdateTagTemplateFieldAsync(TagTemplateFieldName, TagTemplateField, CancellationToken)
[Obsolete]
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(TagTemplateFieldName name, TagTemplateField tagTemplateField, CancellationToken cancellationToken)Updates a field in a tag template.
You can't update the field type with this method.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
TagTemplateFieldNameRequired. The name of the tag template field. |
tagTemplateField |
TagTemplateFieldRequired. The template to update. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(name, tagTemplateField);
#pragma warning restore CS0612
UpdateTagTemplateFieldAsync(UpdateTagTemplateFieldRequest, CallSettings)
[Obsolete]
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(UpdateTagTemplateFieldRequest request, CallSettings callSettings = null)Updates a field in a tag template.
You can't update the field type with this method.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| 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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(request);
#pragma warning restore CS0612
UpdateTagTemplateFieldAsync(UpdateTagTemplateFieldRequest, CancellationToken)
[Obsolete]
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(UpdateTagTemplateFieldRequest request, CancellationToken cancellationToken)Updates a field in a tag template.
You can't update the field type with this method.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| 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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(request);
#pragma warning restore CS0612
UpdateTagTemplateFieldAsync(string, TagTemplateField, CallSettings)
[Obsolete]
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(string name, TagTemplateField tagTemplateField, CallSettings callSettings = null)Updates a field in a tag template.
You can't update the field type with this method.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template field. |
tagTemplateField |
TagTemplateFieldRequired. The template to update. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(name, tagTemplateField);
#pragma warning restore CS0612
UpdateTagTemplateFieldAsync(string, TagTemplateField, FieldMask, CallSettings)
[Obsolete]
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(string name, TagTemplateField tagTemplateField, FieldMask updateMask, CallSettings callSettings = null)Updates a field in a tag template.
You can't update the field type with this method.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template field. |
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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(name, tagTemplateField, updateMask);
#pragma warning restore CS0612
UpdateTagTemplateFieldAsync(string, TagTemplateField, FieldMask, CancellationToken)
[Obsolete]
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(string name, TagTemplateField tagTemplateField, FieldMask updateMask, CancellationToken cancellationToken)Updates a field in a tag template.
You can't update the field type with this method.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template field. |
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 |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(name, tagTemplateField, updateMask);
#pragma warning restore CS0612
UpdateTagTemplateFieldAsync(string, TagTemplateField, CancellationToken)
[Obsolete]
public virtual Task<TagTemplateField> UpdateTagTemplateFieldAsync(string name, TagTemplateField tagTemplateField, CancellationToken cancellationToken)Updates a field in a tag template.
You can't update the field type with this method.
You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource
project.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the tag template field. |
tagTemplateField |
TagTemplateFieldRequired. The template to update. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTagTemplateField |
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
#pragma warning disable CS0612
TagTemplateField response = await dataCatalogClient.UpdateTagTemplateFieldAsync(name, tagTemplateField);
#pragma warning restore CS0612