Class CatalogsResource.ProductsResource
The "products" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudPrivateCatalogProducer.v1beta1
Assembly: Google.Apis.CloudPrivateCatalogProducer.v1beta1.dll
Syntax
public class ProductsResource
Constructors
ProductsResource(IClientService)
Constructs a new resource.
Declaration
public ProductsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Icons
Gets the Icons resource.
Declaration
public virtual CatalogsResource.ProductsResource.IconsResource Icons { get; }
Property Value
Type | Description |
---|---|
CatalogsResource.ProductsResource.IconsResource |
Versions
Gets the Versions resource.
Declaration
public virtual CatalogsResource.ProductsResource.VersionsResource Versions { get; }
Property Value
Type | Description |
---|---|
CatalogsResource.ProductsResource.VersionsResource |
Methods
Copy(GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest, String)
Copies a Product under another Catalog.
Declaration
public virtual CatalogsResource.ProductsResource.CopyRequest Copy(GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest | body | The body of the request. |
System.String | name | The resource name of the current product that is copied from. |
Returns
Type | Description |
---|---|
CatalogsResource.ProductsResource.CopyRequest |
Create(GoogleCloudPrivatecatalogproducerV1beta1Product, String)
Creates a Product instance under a given Catalog.
Declaration
public virtual CatalogsResource.ProductsResource.CreateRequest Create(GoogleCloudPrivatecatalogproducerV1beta1Product body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudPrivatecatalogproducerV1beta1Product | body | The body of the request. |
System.String | parent | The catalog name of the new product's parent. |
Returns
Type | Description |
---|---|
CatalogsResource.ProductsResource.CreateRequest |
Delete(String)
Hard deletes a Product.
Declaration
public virtual CatalogsResource.ProductsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The resource name of the product. |
Returns
Type | Description |
---|---|
CatalogsResource.ProductsResource.DeleteRequest |
Get(String)
Returns the requested Product resource.
Declaration
public virtual CatalogsResource.ProductsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The resource name of the product. |
Returns
Type | Description |
---|---|
CatalogsResource.ProductsResource.GetRequest |
List(String)
Lists Product resources that the producer has access to, within the scope of the parent catalog.
Declaration
public virtual CatalogsResource.ProductsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
System.String | parent | The resource name of the parent resource. |
Returns
Type | Description |
---|---|
CatalogsResource.ProductsResource.ListRequest |
Patch(GoogleCloudPrivatecatalogproducerV1beta1Product, String)
Updates a specific Product resource.
Declaration
public virtual CatalogsResource.ProductsResource.PatchRequest Patch(GoogleCloudPrivatecatalogproducerV1beta1Product body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudPrivatecatalogproducerV1beta1Product | body | The body of the request. |
System.String | name | Required. The resource name of the product in the format `catalogs/{catalog_id}/products/a-z*[a-z0-9]'. A unique identifier for the product under a catalog, which cannot be changed after the product is created. The final segment of the name must between 1 and 256 characters in length. |
Returns
Type | Description |
---|---|
CatalogsResource.ProductsResource.PatchRequest |