Class CatalogServiceClientImpl (1.0.0)

public sealed class CatalogServiceClientImpl : CatalogServiceClient

CatalogService client wrapper implementation, for convenient use.

Inheritance

System.Object > CatalogServiceClient > CatalogServiceClientImpl

Namespace

Google.Cloud.Retail.V2

Assembly

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
Overrides

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 Google.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Google.Api.Gax.PagedEnumerable<ListCatalogsResponse, Catalog>

A pageable sequence of Catalog resources.

Overrides

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 Google.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Google.Api.Gax.PagedAsyncEnumerable<ListCatalogsResponse, Catalog>

A pageable asynchronous sequence of Catalog resources.

Overrides

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 Google.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Catalog

The RPC response.

Overrides

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 Google.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
System.Threading.Tasks.Task<Catalog>

A Task containing the RPC response.

Overrides