Reference documentation and code samples for the Cloud Private Catalog v1beta1 API class PrivateCatalog.
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][].
public static void BindService(ServiceBinderBase serviceBinder, PrivateCatalog.PrivateCatalogBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePrivateCatalog\u003c/code\u003e class within the Cloud Private Catalog v1beta1 API enables users to retrieve \u003ccode\u003eCatalog\u003c/code\u003e, \u003ccode\u003eProduct\u003c/code\u003e, and \u003ccode\u003eVersion\u003c/code\u003e resources based on the target resource context.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCatalog\u003c/code\u003e resources are derived from associations linked to the target resource, with duplicate entries being consolidated into a single \u003ccode\u003eCatalog\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eProduct\u003c/code\u003e and \u003ccode\u003eVersion\u003c/code\u003e resources are children of the catalog, and provide a subset of the original \u003ccode\u003eProduct\u003c/code\u003e and \u003ccode\u003eVersion\u003c/code\u003e data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e methods allow for the creation of a service definition or the registration of service methods with a service binder, respectively.\u003c/p\u003e\n"]]],[],null,["# Cloud Private Catalog v1beta1 API - Class PrivateCatalog (2.0.0-beta05)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta05 (latest)](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/latest/Google.Cloud.PrivateCatalog.V1Beta1.PrivateCatalog)\n- [2.0.0-beta04](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/2.0.0-beta04/Google.Cloud.PrivateCatalog.V1Beta1.PrivateCatalog)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/1.0.0-beta02/Google.Cloud.PrivateCatalog.V1Beta1.PrivateCatalog) \n\n public static class PrivateCatalog\n\nReference documentation and code samples for the Cloud Private Catalog v1beta1 API class PrivateCatalog.\n\n`PrivateCatalog` allows catalog consumers to retrieve `Catalog`, `Product`\nand `Version` resources under a target resource context.\n\n`Catalog` is computed based on the \\[Association\\]\\[\\]s linked to the target\nresource and its ancestors. Each association's\n\\[google.cloud.privatecatalogproducer.v1beta.Catalog\\]\\[\\] is transformed into a\n`Catalog`. If multiple associations have the same parent\n\\[google.cloud.privatecatalogproducer.v1beta.Catalog\\]\\[\\], they are\nde-duplicated into one `Catalog`. Users must have\n`cloudprivatecatalog.catalogTargets.get` IAM permission on the resource\ncontext in order to access catalogs. `Catalog` contains the resource name and\na subset of data of the original\n\\[google.cloud.privatecatalogproducer.v1beta.Catalog\\]\\[\\].\n\n`Product` is child resource of the catalog. A `Product` contains the resource\nname and a subset of the data of the original\n\\[google.cloud.privatecatalogproducer.v1beta.Product\\]\\[\\].\n\n`Version` is child resource of the product. A `Version` contains the resource\nname and a subset of the data of the original\n\\[google.cloud.privatecatalogproducer.v1beta.Version\\]\\[\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PrivateCatalog \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.PrivateCatalog.V1Beta1](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/latest/Google.Cloud.PrivateCatalog.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.PrivateCatalog.V1Beta1.dll\n\nMethods\n-------\n\n### BindService(PrivateCatalogBase)\n\n public static ServerServiceDefinition BindService(PrivateCatalog.PrivateCatalogBase serviceImpl)\n\nCreates service definition that can be registered with a server\n\n### BindService(ServiceBinderBase, PrivateCatalogBase)\n\n public static void BindService(ServiceBinderBase serviceBinder, PrivateCatalog.PrivateCatalogBase serviceImpl)\n\nRegister service method with a service binder with or without implementation. Useful when customizing the service binding logic.\nNote: this method is part of an experimental API that can change or be removed without any prior notice."]]