public sealed class ContentServiceClientImpl : ContentServiceClient
ContentService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dataplex.V1Assembly
Google.Cloud.Dataplex.V1.dll
Remarks
ContentService manages Notebook and SQL Scripts for Dataplex.
Constructors
ContentServiceClientImpl(ContentService.ContentServiceClient, ContentServiceSettings, ILogger)
public ContentServiceClientImpl(ContentService.ContentServiceClient grpcClient, ContentServiceSettings settings, ILogger logger)
Constructs a client wrapper for the ContentService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | ContentService.ContentServiceClient The underlying gRPC client. |
settings | ContentServiceSettings The base ContentServiceSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override ContentService.ContentServiceClient GrpcClient { get; }
The underlying gRPC ContentService client
Property Value | |
---|---|
Type | Description |
ContentService.ContentServiceClient |
Methods
CreateContent(CreateContentRequest, CallSettings)
public override Content CreateContent(CreateContentRequest request, CallSettings callSettings = null)
Create a content.
Parameters | |
---|---|
Name | Description |
request | CreateContentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Content | The RPC response. |
CreateContentAsync(CreateContentRequest, CallSettings)
public override Task<Content> CreateContentAsync(CreateContentRequest request, CallSettings callSettings = null)
Create a content.
Parameters | |
---|---|
Name | Description |
request | CreateContentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Content> | A Task containing the RPC response. |
DeleteContent(DeleteContentRequest, CallSettings)
public override void DeleteContent(DeleteContentRequest request, CallSettings callSettings = null)
Delete a content.
Parameters | |
---|---|
Name | Description |
request | DeleteContentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteContentAsync(DeleteContentRequest, CallSettings)
public override Task DeleteContentAsync(DeleteContentRequest request, CallSettings callSettings = null)
Delete a content.
Parameters | |
---|---|
Name | Description |
request | DeleteContentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
GetContent(GetContentRequest, CallSettings)
public override Content GetContent(GetContentRequest request, CallSettings callSettings = null)
Get a content resource.
Parameters | |
---|---|
Name | Description |
request | GetContentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Content | The RPC response. |
GetContentAsync(GetContentRequest, CallSettings)
public override Task<Content> GetContentAsync(GetContentRequest request, CallSettings callSettings = null)
Get a content resource.
Parameters | |
---|---|
Name | Description |
request | GetContentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Content> | A Task containing the RPC response. |
ListContent(ListContentRequest, CallSettings)
public override PagedEnumerable<ListContentResponse, Content> ListContent(ListContentRequest request, CallSettings callSettings = null)
List content.
Parameters | |
---|---|
Name | Description |
request | ListContentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListContentResponse, Content> | A pageable sequence of Content resources. |
ListContentAsync(ListContentRequest, CallSettings)
public override PagedAsyncEnumerable<ListContentResponse, Content> ListContentAsync(ListContentRequest request, CallSettings callSettings = null)
List content.
Parameters | |
---|---|
Name | Description |
request | ListContentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListContentResponse, Content> | A pageable asynchronous sequence of Content resources. |
UpdateContent(UpdateContentRequest, CallSettings)
public override Content UpdateContent(UpdateContentRequest request, CallSettings callSettings = null)
Update a content. Only supports full resource update.
Parameters | |
---|---|
Name | Description |
request | UpdateContentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Content | The RPC response. |
UpdateContentAsync(UpdateContentRequest, CallSettings)
public override Task<Content> UpdateContentAsync(UpdateContentRequest request, CallSettings callSettings = null)
Update a content. Only supports full resource update.
Parameters | |
---|---|
Name | Description |
request | UpdateContentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Content> | A Task containing the RPC response. |