Cloud Dataplex v1 API - Class ContentServiceClient (3.13.0)

public abstract class ContentServiceClient

Reference documentation and code samples for the Cloud Dataplex v1 API class ContentServiceClient.

ContentService client wrapper, for convenient use.

Inheritance

object > ContentServiceClient

Derived Types

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Remarks

ContentService manages Notebook and SQL Scripts for Dataplex Universal Catalog.

Properties

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the ContentService service, which is a host of "dataplex.googleapis.com" and a port of 443.

Property Value
Type Description
string

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default ContentService scopes.

Property Value
Type Description
IReadOnlyListstring
Remarks

The default ContentService scopes are:

    GrpcClient

    public virtual ContentService.ContentServiceClient GrpcClient { get; }

    The underlying gRPC ContentService client

    Property Value
    Type Description
    ContentServiceContentServiceClient

    IAMPolicyClient

    public virtual IAMPolicyClient IAMPolicyClient { get; }

    The IAMPolicyClient associated with this client.

    Property Value
    Type Description
    IAMPolicyClient

    LocationsClient

    public virtual LocationsClient LocationsClient { get; }

    The LocationsClient associated with this client.

    Property Value
    Type Description
    LocationsClient

    ServiceMetadata

    public static ServiceMetadata ServiceMetadata { get; }

    The service metadata associated with this client type.

    Property Value
    Type Description
    ServiceMetadata

    Methods

    Create()

    public static ContentServiceClient Create()

    Synchronously creates a ContentServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use ContentServiceClientBuilder.

    Returns
    Type Description
    ContentServiceClient

    The created ContentServiceClient.

    CreateAsync(CancellationToken)

    public static Task<ContentServiceClient> CreateAsync(CancellationToken cancellationToken = default)

    Asynchronously creates a ContentServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use ContentServiceClientBuilder.

    Parameter
    Name Description
    cancellationToken CancellationToken

    The CancellationToken to use while creating the client.

    Returns
    Type Description
    TaskContentServiceClient

    The task representing the created ContentServiceClient.

    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.

    Remarks

    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.