@Generated("by gapic-generator-java")
Package com.google.cloud.privatecatalog.v1beta1
The interfaces provided are listed below, along with usage samples.
======================= PrivateCatalogClient =======================
Service Description: `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][].
Sample for PrivateCatalogClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
SearchCatalogsRequest request =
SearchCatalogsRequest.newBuilder()
.setResource("resource-341064690")
.setQuery("query107944136")
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
for (Catalog element : privateCatalogClient.searchCatalogs(request).iterateAll()) {
// doThingsWith(element);
}
}
-
Interface Summary Interface Description AssetReferenceOrBuilder CatalogOrBuilder GcsSourceOrBuilder GitSourceOrBuilder InputsOrBuilder PrivateCatalogGrpc.AsyncService `PrivateCatalog` allows catalog consumers to retrieve `Catalog`, `Product` and `Version` resources under a target resource context.ProductOrBuilder SearchCatalogsRequestOrBuilder SearchCatalogsResponseOrBuilder SearchProductsRequestOrBuilder SearchProductsResponseOrBuilder SearchVersionsRequestOrBuilder SearchVersionsResponseOrBuilder VersionOrBuilder -
Class Summary Class Description AssetReference Defines the reference of an asset belonging to a product.AssetReference.Builder Defines the reference of an asset belonging to a product.Catalog The readonly representation of a catalog computed with a given resource context.Catalog.Builder The readonly representation of a catalog computed with a given resource context.GcsSource Defines how to access Cloud Storage source.GcsSource.Builder Defines how to access Cloud Storage source.GitSource Defines how to access a Git Source.GitSource.Builder Defines how to access a Git Source.Inputs Defines definition of input parameters of asset templates.Inputs.Builder Defines definition of input parameters of asset templates.PrivateCatalogClient Service Description: `PrivateCatalog` allows catalog consumers to retrieve `Catalog`, `Product` and `Version` resources under a target resource context.PrivateCatalogClient.SearchCatalogsFixedSizeCollection PrivateCatalogClient.SearchCatalogsPage PrivateCatalogClient.SearchCatalogsPagedResponse PrivateCatalogClient.SearchProductsFixedSizeCollection PrivateCatalogClient.SearchProductsPage PrivateCatalogClient.SearchProductsPagedResponse PrivateCatalogClient.SearchVersionsFixedSizeCollection PrivateCatalogClient.SearchVersionsPage PrivateCatalogClient.SearchVersionsPagedResponse PrivateCatalogGrpc `PrivateCatalog` allows catalog consumers to retrieve `Catalog`, `Product` and `Version` resources under a target resource context.PrivateCatalogGrpc.PrivateCatalogBlockingStub A stub to allow clients to do synchronous rpc calls to service PrivateCatalog.PrivateCatalogGrpc.PrivateCatalogFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service PrivateCatalog.PrivateCatalogGrpc.PrivateCatalogImplBase Base class for the server implementation of the service PrivateCatalog.PrivateCatalogGrpc.PrivateCatalogStub A stub to allow clients to do asynchronous rpc calls to service PrivateCatalog.PrivateCatalogProto PrivateCatalogSettings Settings class to configure an instance ofPrivateCatalogClient
.PrivateCatalogSettings.Builder Builder for PrivateCatalogSettings.Product The readonly representation of a product computed with a given resource context.Product.Builder The readonly representation of a product computed with a given resource context.SearchCatalogsRequest Request message for [PrivateCatalog.SearchCatalogs][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs].SearchCatalogsRequest.Builder Request message for [PrivateCatalog.SearchCatalogs][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs].SearchCatalogsResponse Response message for [PrivateCatalog.SearchCatalogs][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs].SearchCatalogsResponse.Builder Response message for [PrivateCatalog.SearchCatalogs][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs].SearchProductsRequest Request message for [PrivateCatalog.SearchProducts][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts].SearchProductsRequest.Builder Request message for [PrivateCatalog.SearchProducts][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts].SearchProductsResponse Response message for [PrivateCatalog.SearchProducts][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts].SearchProductsResponse.Builder Response message for [PrivateCatalog.SearchProducts][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts].SearchVersionsRequest Request message for [PrivateCatalog.SearchVersions][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions].SearchVersionsRequest.Builder Request message for [PrivateCatalog.SearchVersions][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions].SearchVersionsResponse Response message for [PrivateCatalog.SearchVersions][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions].SearchVersionsResponse.Builder Response message for [PrivateCatalog.SearchVersions][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions].Version The consumer representation of a version which is a child resource under a `Product` with asset data.Version.Builder The consumer representation of a version which is a child resource under a `Product` with asset data. -
Enum Summary Enum Description AssetReference.AssetValidationState Possible validation steates of an asset reference.AssetReference.SourceCase GitSource.RefCase