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.
Namespace
Google.Cloud.PrivateCatalog.V1Beta1Assembly
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 | |
---|---|
Name | Description |
grpcClient |
PrivateCatalogPrivateCatalogClient The underlying gRPC client. |
settings |
PrivateCatalogSettings The base PrivateCatalogSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override PrivateCatalog.PrivateCatalogClient GrpcClient { get; }
The underlying gRPC PrivateCatalog client
Property Value | |
---|---|
Type | Description |
PrivateCatalogPrivateCatalogClient |
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 | |
---|---|
Name | Description |
request |
SearchCatalogsRequest 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 |
PagedEnumerableSearchCatalogsResponseCatalog |
A pageable sequence of Catalog resources. |
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 | |
---|---|
Name | Description |
request |
SearchCatalogsRequest 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 |
PagedAsyncEnumerableSearchCatalogsResponseCatalog |
A pageable asynchronous sequence of Catalog resources. |
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 | |
---|---|
Name | Description |
request |
SearchProductsRequest 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 |
PagedEnumerableSearchProductsResponseProduct |
A pageable sequence of Product resources. |
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 | |
---|---|
Name | Description |
request |
SearchProductsRequest 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 |
PagedAsyncEnumerableSearchProductsResponseProduct |
A pageable asynchronous sequence of Product resources. |
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 | |
---|---|
Name | Description |
request |
SearchVersionsRequest 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 |
PagedEnumerableSearchVersionsResponseVersion |
A pageable sequence of Version resources. |
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 | |
---|---|
Name | Description |
request |
SearchVersionsRequest 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 |
PagedAsyncEnumerableSearchVersionsResponseVersion |
A pageable asynchronous sequence of Version resources. |