Class PrivateCatalogClientImpl (1.0.0-beta02)

public sealed class PrivateCatalogClientImpl : PrivateCatalogClient

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(PrivateCatalog.PrivateCatalogClient, PrivateCatalogSettings)

public PrivateCatalogClientImpl(PrivateCatalog.PrivateCatalogClient grpcClient, PrivateCatalogSettings settings)

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

Parameters
NameDescription
grpcClientPrivateCatalog.PrivateCatalogClient

The underlying gRPC client.

settingsPrivateCatalogSettings

The base PrivateCatalogSettings used within this client.

Properties

GrpcClient

public override PrivateCatalog.PrivateCatalogClient GrpcClient { get; }

The underlying gRPC PrivateCatalog client

Property Value
TypeDescription
PrivateCatalog.PrivateCatalogClient
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
PagedEnumerable<SearchCatalogsResponse, Catalog>

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
PagedAsyncEnumerable<SearchCatalogsResponse, Catalog>

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
PagedEnumerable<SearchProductsResponse, Product>

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
PagedAsyncEnumerable<SearchProductsResponse, Product>

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
PagedEnumerable<SearchVersionsResponse, Version>

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
PagedAsyncEnumerable<SearchVersionsResponse, Version>

A pageable asynchronous sequence of Version resources.

Overrides