Service Client: Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::PrivateCatalogClient
Client stub representing the remote PrivateCatalog gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to privatecatalog.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog - Compiled Protocol Buffers messages for google/cloud/privatecatalog/v1beta1/private_catalog.proto
SYNOPSIS
use Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog;
my $msg = Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::SearchCatalogsRequest->new({
resource => $resource,
query => $query,
page_size => $page_size,
page_token => $page_token,
});
# Read or update a field
my $val = $msg->resource();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::SearchCatalogsRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/privatecatalog/v1beta1/private_catalog.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::SearchCatalogsRequest
Request message for [PrivateCatalog.SearchCatalogs][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs].
Inherits from Protobuf::Message.
Accessors
$msg->resource()/$msg->resource($value)Type:
StringRequired. The name of the resource context. It can be in following formats:
* `projects/{project}` * `folders/{folder}` * `organizations/{organization}`
$msg->query()/$msg->query($value)Type:
StringThe query to filter the catalogs. The supported queries are:
* Get a single catalog: `name=catalogs/{catalog}`
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of entries that are requested.
$msg->page_token()/$msg->page_token($value)Type:
StringA pagination token returned from a previous call to SearchCatalogs that indicates where this listing should continue from.
Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::SearchCatalogsResponse
Response message for [PrivateCatalog.SearchCatalogs][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs].
Inherits from Protobuf::Message.
Accessors
$msg->catalogs()/$msg->catalogs($value)Type:
Message(Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::Catalog)The `Catalog`s computed from the resource context.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA pagination token returned from a previous call to SearchCatalogs that indicates from where listing should continue.
Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::SearchProductsRequest
Request message for [PrivateCatalog.SearchProducts][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts].
Inherits from Protobuf::Message.
Accessors
$msg->resource()/$msg->resource($value)Type:
StringRequired. The name of the resource context. See [SearchCatalogsRequest.resource][google.cloud.privatecatalog.v1beta1.SearchCatalogsRequest.resource] for details.
$msg->query()/$msg->query($value)Type:
StringThe query to filter the products.
The supported queries are: * List products of all catalogs: empty * List products under a catalog: `parent=catalogs/{catalog}` * Get a product by name: `name=catalogs/{catalog}/products/{product}`
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of entries that are requested.
$msg->page_token()/$msg->page_token($value)Type:
StringA pagination token returned from a previous call to SearchProducts that indicates where this listing should continue from.
Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::SearchProductsResponse
Response message for [PrivateCatalog.SearchProducts][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts].
Inherits from Protobuf::Message.
Accessors
$msg->products()/$msg->products($value)Type:
Message(Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::Product)The `Product` resources computed from the resource context.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA pagination token returned from a previous call to SearchProducts that indicates from where listing should continue.
Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::SearchVersionsRequest
Request message for [PrivateCatalog.SearchVersions][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions].
Inherits from Protobuf::Message.
Accessors
$msg->resource()/$msg->resource($value)Type:
StringRequired. The name of the resource context. See [SearchCatalogsRequest.resource][google.cloud.privatecatalog.v1beta1.SearchCatalogsRequest.resource] for details.
$msg->query()/$msg->query($value)Type:
StringRequired. The query to filter the versions.
The supported queries are: * List versions under a product: `parent=catalogs/{catalog}/products/{product}` * Get a version by name: `name=catalogs/{catalog}/products/{product}/versions/{version}`
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of entries that are requested.
$msg->page_token()/$msg->page_token($value)Type:
StringA pagination token returned from a previous call to SearchVersions that indicates where this listing should continue from.
Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::SearchVersionsResponse
Response message for [PrivateCatalog.SearchVersions][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions].
Inherits from Protobuf::Message.
Accessors
$msg->versions()/$msg->versions($value)Type:
Message(Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::Version)The `Version` resources computed from the resource context.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA pagination token returned from a previous call to SearchVersions that indicates from where the listing should continue.
Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::Catalog
The readonly representation of a catalog computed with a given resource context.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The resource name of the target catalog, in the format of `catalogs/{catalog}`.
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. The descriptive name of the catalog as it appears in UIs.
$msg->description()/$msg->description($value)Type:
StringOutput only. The description of the catalog.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the catalog was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the catalog was last updated.
Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::Product
The readonly representation of a product computed with a given resource context.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The resource name of the target product, in the format of `products/[a-z][-a-z0-9]*[a-z0-9]'.
A unique identifier for the product under a catalog.
$msg->asset_type()/$msg->asset_type($value)Type:
StringOutput only. The type of the product asset. It can be one of the following values:
* `google.deploymentmanager.Template` * `google.cloudprivatecatalog.ListingOnly` * `google.cloudprivatecatalog.Terraform`
$msg->display_metadata()/$msg->display_metadata($value)Type:
Message(Google::Protobuf::Struct::Struct)Required. Output only. The display metadata to describe the product. The JSON schema of the metadata differs by [Product.asset_type][google.cloud.privatecatalog.v1beta1.Product.asset_type]. When the type is `google.deploymentmanager.Template`, the schema is as follows:
``` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 required: - name - description additionalProperties: false
```
When the asset type is `google.cloudprivatecatalog.ListingOnly`, the schema is as follows:
``` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 signup_url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]" required: - name - description - signup_url additionalProperties: false
```
When the asset type is `google.cloudprivatecatalog.Terraform`, the schema is as follows:
``` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 required: - name - description additionalProperties: true
$msg->icon_uri()/$msg->icon_uri($value)Type:
StringOutput only. The icon URI of the product.
$msg->asset_references()/$msg->asset_references($value)Type:
Message(Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::AssetReference)Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the product was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the product was last updated.
Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::AssetReference
Defines the reference of an asset belonging to a product.
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringOutput only. A unique identifier among asset references in a product.
$msg->description()/$msg->description($value)Type:
StringOutput only. The human-readable description of the referenced asset. Maximum 256 characters in length.
$msg->inputs()/$msg->inputs($value)Type:
Message(Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::Inputs)Output only. The definition of input parameters to hydrate the asset template.
$msg->validation_status()/$msg->validation_status($value)Type:
Enum(Google::Cloud::Privatecatalog::V1beta1::AssetReference::AssetValidationState)Output only. The current state of the asset reference.
$msg->validation_operation()/$msg->validation_operation($value)Type:
Message(Google::Longrunning::Operations::Operation)Output only. The validation process metadata.
$msg->asset()/$msg->asset($value)Type:
StringOutput only. The asset resource name if an asset is hosted by Private Catalog.
$msg->gcs_path()/$msg->gcs_path($value)Type:
StringOutput only. The cloud storage object path.
$msg->git_source()/$msg->git_source($value)Type:
Message(Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::GitSource)Output only. The git source.
$msg->gcs_source()/$msg->gcs_source($value)Type:
Message(Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::GcsSource)Output only. The cloud storage source.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The creation timestamp of the asset reference.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The last update timestamp of the asset reference.
$msg->version()/$msg->version($value)Type:
StringThe version of the source used for this asset reference.
Enum: AssetReference::AssetValidationState
ASSET_VALIDATION_STATE_UNSPECIFIED=>0PENDING=>1VALID=>2INVALID=>3
Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::Inputs
Defines definition of input parameters of asset templates.
Inherits from Protobuf::Message.
Accessors
$msg->parameters()/$msg->parameters($value)Type:
Message(Google::Protobuf::Struct::Struct)Output only. The JSON schema defining the inputs and their formats.
Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::GcsSource
Defines how to access Cloud Storage source.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_path()/$msg->gcs_path($value)Type:
StringOutput only. the cloud storage object path.
$msg->generation()/$msg->generation($value)Type:
Int64Output only. Generation of the object, which is set when the content of an object starts being written.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the object metadata was last changed.
Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::GitSource
Defines how to access a Git Source.
Inherits from Protobuf::Message.
Accessors
$msg->repo()/$msg->repo($value)Type:
StringLocation of the Git repo to build.
$msg->dir()/$msg->dir($value)Type:
StringDirectory, relative to the source root, in which to run the build.
This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.
$msg->commit()/$msg->commit($value)Type:
StringThe revision commit to use.
$msg->branch()/$msg->branch($value)Type:
StringThe revision branch to use.
$msg->tag()/$msg->tag($value)Type:
StringThe revision tag to use.
Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::Version
The consumer representation of a version which is a child resource under a `Product` with asset data.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The resource name of the version, in the format `catalogs/{catalog}/products/{product}/versions/[a-z][-a-z0-9]*[a-z0-9]`.
A unique identifier for the version under a product.
$msg->description()/$msg->description($value)Type:
StringOutput only. The user-supplied description of the version. Maximum of 256 characters.
$msg->asset()/$msg->asset($value)Type:
Message(Google::Protobuf::Struct::Struct)Output only. The asset which has been validated and is ready to be provisioned. See [google.cloud.privatecatalogproducer.v1beta.Version.asset][] for details.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the version was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the version was last updated.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Privatecatalog::V1beta1::PrivateCatalog::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.