Class CatalogServiceClientImpl
CatalogService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Cloud.Retail.V2
Assembly: Google.Cloud.Retail.V2.dll
Syntax
public sealed class CatalogServiceClientImpl : CatalogServiceClient
Remarks
Service for managing catalog configuration.
Constructors
CatalogServiceClientImpl(CatalogService.CatalogServiceClient, CatalogServiceSettings)
Constructs a client wrapper for the CatalogService service, with the specified gRPC client and settings.
Declaration
public CatalogServiceClientImpl(CatalogService.CatalogServiceClient grpcClient, CatalogServiceSettings settings)
Parameters
Type | Name | Description |
---|---|---|
CatalogService.CatalogServiceClient | grpcClient | The underlying gRPC client. |
CatalogServiceSettings | settings | The base CatalogServiceSettings used within this client. |
Properties
GrpcClient
The underlying gRPC CatalogService client
Declaration
public override CatalogService.CatalogServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
CatalogService.CatalogServiceClient |
Overrides
Methods
ListCatalogs(ListCatalogsRequest, CallSettings)
Lists all the [Catalog][google.cloud.retail.v2.Catalog]s associated with the project.
Declaration
public override PagedEnumerable<ListCatalogsResponse, Catalog> ListCatalogs(ListCatalogsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListCatalogsRequest | request | 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<ListCatalogsResponse, Catalog> | A pageable sequence of Catalog resources. |
Overrides
ListCatalogsAsync(ListCatalogsRequest, CallSettings)
Lists all the [Catalog][google.cloud.retail.v2.Catalog]s associated with the project.
Declaration
public override PagedAsyncEnumerable<ListCatalogsResponse, Catalog> ListCatalogsAsync(ListCatalogsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListCatalogsRequest | request | 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<ListCatalogsResponse, Catalog> | A pageable asynchronous sequence of Catalog resources. |
Overrides
UpdateCatalog(UpdateCatalogRequest, CallSettings)
Updates the [Catalog][google.cloud.retail.v2.Catalog]s.
Declaration
public override Catalog UpdateCatalog(UpdateCatalogRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateCatalogRequest | request | 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 |
---|---|
Catalog | The RPC response. |
Overrides
UpdateCatalogAsync(UpdateCatalogRequest, CallSettings)
Updates the [Catalog][google.cloud.retail.v2.Catalog]s.
Declaration
public override Task<Catalog> UpdateCatalogAsync(UpdateCatalogRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateCatalogRequest | request | 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 |
---|---|
System.Threading.Tasks.Task<Catalog> | A Task containing the RPC response. |