public sealed class CatalogServiceClientImpl : CatalogServiceClientCatalogService 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.CatalogServiceClientThe underlying gRPC client. |
settings |
CatalogServiceSettingsThe 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 |
ListCatalogsRequestThe request object containing all of the parameters for the API call. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Google.Api.Gax.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 |
ListCatalogsRequestThe request object containing all of the parameters for the API call. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Google.Api.Gax.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 |
UpdateCatalogRequestThe request object containing all of the parameters for the API call. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf 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 |
UpdateCatalogRequestThe request object containing all of the parameters for the API call. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Catalog> |
A Task containing the RPC response. |