public class PolicyTagManagerSerializationClient : ClientBase<PolicyTagManagerSerialization.PolicyTagManagerSerializationClient>
Client for PolicyTagManagerSerialization
Inheritance
Object > ClientBase > ClientBase<PolicyTagManagerSerialization.PolicyTagManagerSerializationClient> > PolicyTagManagerSerialization.PolicyTagManagerSerializationClientNamespace
Google.Cloud.DataCatalog.V1Assembly
Google.Cloud.DataCatalog.V1.dll
Constructors
PolicyTagManagerSerializationClient()
protected PolicyTagManagerSerializationClient()
Protected parameterless constructor to allow creation of test doubles.
PolicyTagManagerSerializationClient(CallInvoker)
public PolicyTagManagerSerializationClient(CallInvoker callInvoker)
Creates a new client for PolicyTagManagerSerialization that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
PolicyTagManagerSerializationClient(ChannelBase)
public PolicyTagManagerSerializationClient(ChannelBase channel)
Creates a new client for PolicyTagManagerSerialization
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
PolicyTagManagerSerializationClient(ClientBase.ClientBaseConfiguration)
protected PolicyTagManagerSerializationClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
ExportTaxonomies(ExportTaxonomiesRequest, CallOptions)
public virtual ExportTaxonomiesResponse ExportTaxonomies(ExportTaxonomiesRequest request, CallOptions options)
Exports taxonomies as the requested type and returns the taxonomies including their policy tags. The requested taxonomies must belong to one project.
SerializedTaxonomy protos with nested policy tags that are generated by this method can be used as input for future ImportTaxonomies calls.
Parameters | |
---|---|
Name | Description |
request | ExportTaxonomiesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ExportTaxonomiesResponse | The response received from the server. |
ExportTaxonomies(ExportTaxonomiesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ExportTaxonomiesResponse ExportTaxonomies(ExportTaxonomiesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Exports taxonomies as the requested type and returns the taxonomies including their policy tags. The requested taxonomies must belong to one project.
SerializedTaxonomy protos with nested policy tags that are generated by this method can be used as input for future ImportTaxonomies calls.
Parameters | |
---|---|
Name | Description |
request | ExportTaxonomiesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ExportTaxonomiesResponse | The response received from the server. |
ExportTaxonomiesAsync(ExportTaxonomiesRequest, CallOptions)
public virtual AsyncUnaryCall<ExportTaxonomiesResponse> ExportTaxonomiesAsync(ExportTaxonomiesRequest request, CallOptions options)
Exports taxonomies as the requested type and returns the taxonomies including their policy tags. The requested taxonomies must belong to one project.
SerializedTaxonomy protos with nested policy tags that are generated by this method can be used as input for future ImportTaxonomies calls.
Parameters | |
---|---|
Name | Description |
request | ExportTaxonomiesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ExportTaxonomiesResponse> | The call object. |
ExportTaxonomiesAsync(ExportTaxonomiesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ExportTaxonomiesResponse> ExportTaxonomiesAsync(ExportTaxonomiesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Exports taxonomies as the requested type and returns the taxonomies including their policy tags. The requested taxonomies must belong to one project.
SerializedTaxonomy protos with nested policy tags that are generated by this method can be used as input for future ImportTaxonomies calls.
Parameters | |
---|---|
Name | Description |
request | ExportTaxonomiesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ExportTaxonomiesResponse> | The call object. |
ImportTaxonomies(ImportTaxonomiesRequest, CallOptions)
public virtual ImportTaxonomiesResponse ImportTaxonomies(ImportTaxonomiesRequest request, CallOptions options)
Creates new taxonomies (including their policy tags) by importing from inlined source or cross-regional source. New taxonomies will be created in a given parent project.
If using the cross-regional source, a new taxonomy is created by copying from a source in another region.
If using the inlined source, this method provides a way to bulk create taxonomies and policy tags using nested proto structure.
Parameters | |
---|---|
Name | Description |
request | ImportTaxonomiesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ImportTaxonomiesResponse | The response received from the server. |
ImportTaxonomies(ImportTaxonomiesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ImportTaxonomiesResponse ImportTaxonomies(ImportTaxonomiesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates new taxonomies (including their policy tags) by importing from inlined source or cross-regional source. New taxonomies will be created in a given parent project.
If using the cross-regional source, a new taxonomy is created by copying from a source in another region.
If using the inlined source, this method provides a way to bulk create taxonomies and policy tags using nested proto structure.
Parameters | |
---|---|
Name | Description |
request | ImportTaxonomiesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ImportTaxonomiesResponse | The response received from the server. |
ImportTaxonomiesAsync(ImportTaxonomiesRequest, CallOptions)
public virtual AsyncUnaryCall<ImportTaxonomiesResponse> ImportTaxonomiesAsync(ImportTaxonomiesRequest request, CallOptions options)
Creates new taxonomies (including their policy tags) by importing from inlined source or cross-regional source. New taxonomies will be created in a given parent project.
If using the cross-regional source, a new taxonomy is created by copying from a source in another region.
If using the inlined source, this method provides a way to bulk create taxonomies and policy tags using nested proto structure.
Parameters | |
---|---|
Name | Description |
request | ImportTaxonomiesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ImportTaxonomiesResponse> | The call object. |
ImportTaxonomiesAsync(ImportTaxonomiesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ImportTaxonomiesResponse> ImportTaxonomiesAsync(ImportTaxonomiesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates new taxonomies (including their policy tags) by importing from inlined source or cross-regional source. New taxonomies will be created in a given parent project.
If using the cross-regional source, a new taxonomy is created by copying from a source in another region.
If using the inlined source, this method provides a way to bulk create taxonomies and policy tags using nested proto structure.
Parameters | |
---|---|
Name | Description |
request | ImportTaxonomiesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ImportTaxonomiesResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override PolicyTagManagerSerialization.PolicyTagManagerSerializationClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
PolicyTagManagerSerialization.PolicyTagManagerSerializationClient |