Class ContentServiceClientImpl (1.0.0)

public sealed class ContentServiceClientImpl : ContentServiceClient

ContentService client wrapper implementation, for convenient use.

Inheritance

Object > ContentServiceClient > ContentServiceClientImpl

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Remarks

ContentService manages Notebook and SQL Scripts for Dataplex.

Constructors

ContentServiceClientImpl(ContentService.ContentServiceClient, ContentServiceSettings)

public ContentServiceClientImpl(ContentService.ContentServiceClient grpcClient, ContentServiceSettings settings)

Constructs a client wrapper for the ContentService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientContentService.ContentServiceClient

The underlying gRPC client.

settingsContentServiceSettings

The base ContentServiceSettings used within this client.

Properties

GrpcClient

public override ContentService.ContentServiceClient GrpcClient { get; }

The underlying gRPC ContentService client

Property Value
TypeDescription
ContentService.ContentServiceClient
Overrides

Methods

CreateContent(CreateContentRequest, CallSettings)

public override Content CreateContent(CreateContentRequest request, CallSettings callSettings = null)

Create a content.

Parameters
NameDescription
requestCreateContentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Content

The RPC response.

Overrides

CreateContentAsync(CreateContentRequest, CallSettings)

public override Task<Content> CreateContentAsync(CreateContentRequest request, CallSettings callSettings = null)

Create a content.

Parameters
NameDescription
requestCreateContentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Content>

A Task containing the RPC response.

Overrides

DeleteContent(DeleteContentRequest, CallSettings)

public override void DeleteContent(DeleteContentRequest request, CallSettings callSettings = null)

Delete a content.

Parameters
NameDescription
requestDeleteContentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteContentAsync(DeleteContentRequest, CallSettings)

public override Task DeleteContentAsync(DeleteContentRequest request, CallSettings callSettings = null)

Delete a content.

Parameters
NameDescription
requestDeleteContentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetContent(GetContentRequest, CallSettings)

public override Content GetContent(GetContentRequest request, CallSettings callSettings = null)

Get a content resource.

Parameters
NameDescription
requestGetContentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Content

The RPC response.

Overrides

GetContentAsync(GetContentRequest, CallSettings)

public override Task<Content> GetContentAsync(GetContentRequest request, CallSettings callSettings = null)

Get a content resource.

Parameters
NameDescription
requestGetContentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Content>

A Task containing the RPC response.

Overrides

ListContent(ListContentRequest, CallSettings)

public override PagedEnumerable<ListContentResponse, Content> ListContent(ListContentRequest request, CallSettings callSettings = null)

List content.

Parameters
NameDescription
requestListContentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListContentResponse, Content>

A pageable sequence of Content resources.

Overrides

ListContentAsync(ListContentRequest, CallSettings)

public override PagedAsyncEnumerable<ListContentResponse, Content> ListContentAsync(ListContentRequest request, CallSettings callSettings = null)

List content.

Parameters
NameDescription
requestListContentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListContentResponse, Content>

A pageable asynchronous sequence of Content resources.

Overrides

UpdateContent(UpdateContentRequest, CallSettings)

public override Content UpdateContent(UpdateContentRequest request, CallSettings callSettings = null)

Update a content. Only supports full resource update.

Parameters
NameDescription
requestUpdateContentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Content

The RPC response.

Overrides

UpdateContentAsync(UpdateContentRequest, CallSettings)

public override Task<Content> UpdateContentAsync(UpdateContentRequest request, CallSettings callSettings = null)

Update a content. Only supports full resource update.

Parameters
NameDescription
requestUpdateContentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Content>

A Task containing the RPC response.

Overrides