Cloud Private Catalog v1beta1 API - Class PrivateCatalogClientImpl (2.0.0-beta03)

public sealed class PrivateCatalogClientImpl : PrivateCatalogClient

Reference documentation and code samples for the Cloud Private Catalog v1beta1 API class PrivateCatalogClientImpl.

PrivateCatalog client wrapper implementation, for convenient use.

Inheritance

object > PrivateCatalogClient > PrivateCatalogClientImpl

Namespace

Google.Cloud.PrivateCatalog.V1Beta1

Assembly

Google.Cloud.PrivateCatalog.V1Beta1.dll

Remarks

PrivateCatalog allows catalog consumers to retrieve Catalog, Product and Version resources under a target resource context.

Catalog is computed based on the [Association][]s linked to the target resource and its ancestors. Each association's [google.cloud.privatecatalogproducer.v1beta.Catalog][] is transformed into a Catalog. If multiple associations have the same parent [google.cloud.privatecatalogproducer.v1beta.Catalog][], they are de-duplicated into one Catalog. Users must have cloudprivatecatalog.catalogTargets.get IAM permission on the resource context in order to access catalogs. Catalog contains the resource name and a subset of data of the original [google.cloud.privatecatalogproducer.v1beta.Catalog][].

Product is child resource of the catalog. A Product contains the resource name and a subset of the data of the original [google.cloud.privatecatalogproducer.v1beta.Product][].

Version is child resource of the product. A Version contains the resource name and a subset of the data of the original [google.cloud.privatecatalogproducer.v1beta.Version][].

Constructors

PrivateCatalogClientImpl(PrivateCatalogClient, PrivateCatalogSettings, ILogger)

public PrivateCatalogClientImpl(PrivateCatalog.PrivateCatalogClient grpcClient, PrivateCatalogSettings settings, ILogger logger)

Constructs a client wrapper for the PrivateCatalog service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientPrivateCatalogPrivateCatalogClient

The underlying gRPC client.

settingsPrivateCatalogSettings

The base PrivateCatalogSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override PrivateCatalog.PrivateCatalogClient GrpcClient { get; }

The underlying gRPC PrivateCatalog client

Property Value
TypeDescription
PrivateCatalogPrivateCatalogClient
Overrides

Methods

SearchCatalogs(SearchCatalogsRequest, CallSettings)

public override PagedEnumerable<SearchCatalogsResponse, Catalog> SearchCatalogs(SearchCatalogsRequest request, CallSettings callSettings = null)

Search [Catalog][google.cloud.privatecatalog.v1beta1.Catalog] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchCatalogsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableSearchCatalogsResponseCatalog

A pageable sequence of Catalog resources.

Overrides

SearchCatalogsAsync(SearchCatalogsRequest, CallSettings)

public override PagedAsyncEnumerable<SearchCatalogsResponse, Catalog> SearchCatalogsAsync(SearchCatalogsRequest request, CallSettings callSettings = null)

Search [Catalog][google.cloud.privatecatalog.v1beta1.Catalog] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchCatalogsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableSearchCatalogsResponseCatalog

A pageable asynchronous sequence of Catalog resources.

Overrides

SearchProducts(SearchProductsRequest, CallSettings)

public override PagedEnumerable<SearchProductsResponse, Product> SearchProducts(SearchProductsRequest request, CallSettings callSettings = null)

Search [Product][google.cloud.privatecatalog.v1beta1.Product] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchProductsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableSearchProductsResponseProduct

A pageable sequence of Product resources.

Overrides

SearchProductsAsync(SearchProductsRequest, CallSettings)

public override PagedAsyncEnumerable<SearchProductsResponse, Product> SearchProductsAsync(SearchProductsRequest request, CallSettings callSettings = null)

Search [Product][google.cloud.privatecatalog.v1beta1.Product] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchProductsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableSearchProductsResponseProduct

A pageable asynchronous sequence of Product resources.

Overrides

SearchVersions(SearchVersionsRequest, CallSettings)

public override PagedEnumerable<SearchVersionsResponse, Version> SearchVersions(SearchVersionsRequest request, CallSettings callSettings = null)

Search [Version][google.cloud.privatecatalog.v1beta1.Version] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchVersionsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableSearchVersionsResponseVersion

A pageable sequence of Version resources.

Overrides

SearchVersionsAsync(SearchVersionsRequest, CallSettings)

public override PagedAsyncEnumerable<SearchVersionsResponse, Version> SearchVersionsAsync(SearchVersionsRequest request, CallSettings callSettings = null)

Search [Version][google.cloud.privatecatalog.v1beta1.Version] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.

Parameters
NameDescription
requestSearchVersionsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableSearchVersionsResponseVersion

A pageable asynchronous sequence of Version resources.

Overrides