public sealed class PrivateCatalogClientImpl : PrivateCatalogClientPrivateCatalog 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(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 | |
|---|---|
| Name | Description |
grpcClient |
PrivateCatalog.PrivateCatalogClientThe underlying gRPC client. |
settings |
PrivateCatalogSettingsThe base PrivateCatalogSettings used within this client. |
Properties
GrpcClient
public override PrivateCatalog.PrivateCatalogClient GrpcClient { get; }The underlying gRPC PrivateCatalog client
| Property Value | |
|---|---|
| Type | Description |
PrivateCatalog.PrivateCatalogClient |
|
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 |
SearchCatalogsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<SearchCatalogsResponse, Catalog> |
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 |
SearchCatalogsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<SearchCatalogsResponse, Catalog> |
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 |
SearchProductsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<SearchProductsResponse, Product> |
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 |
SearchProductsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<SearchProductsResponse, Product> |
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 |
SearchVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<SearchVersionsResponse, Version> |
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 |
SearchVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<SearchVersionsResponse, Version> |
A pageable asynchronous sequence of Version resources. |