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