Class CatalogsResource.ProductsResource.VersionsResource
The "versions" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudPrivateCatalogProducer.v1beta1
Assembly: Google.Apis.CloudPrivateCatalogProducer.v1beta1.dll
Syntax
public class VersionsResource
Constructors
VersionsResource(IClientService)
Constructs a new resource.
Declaration
public VersionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudPrivatecatalogproducerV1beta1Version, String)
Creates a Version instance under a given Product.
Declaration
public virtual CatalogsResource.ProductsResource.VersionsResource.CreateRequest Create(GoogleCloudPrivatecatalogproducerV1beta1Version body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudPrivatecatalogproducerV1beta1Version | body | The body of the request. |
System.String | parent | The product name of the new version's parent. |
Returns
Type | Description |
---|---|
CatalogsResource.ProductsResource.VersionsResource.CreateRequest |
Delete(String)
Hard deletes a Version.
Declaration
public virtual CatalogsResource.ProductsResource.VersionsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The resource name of the version. |
Returns
Type | Description |
---|---|
CatalogsResource.ProductsResource.VersionsResource.DeleteRequest |
Get(String)
Returns the requested Version resource.
Declaration
public virtual CatalogsResource.ProductsResource.VersionsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The resource name of the version. |
Returns
Type | Description |
---|---|
CatalogsResource.ProductsResource.VersionsResource.GetRequest |
List(String)
Lists Version resources that the producer has access to, within the scope of the parent Product.
Declaration
public virtual CatalogsResource.ProductsResource.VersionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
System.String | parent | The resource name of the parent resource. |
Returns
Type | Description |
---|---|
CatalogsResource.ProductsResource.VersionsResource.ListRequest |
Patch(GoogleCloudPrivatecatalogproducerV1beta1Version, String)
Updates a specific Version resource.
Declaration
public virtual CatalogsResource.ProductsResource.VersionsResource.PatchRequest Patch(GoogleCloudPrivatecatalogproducerV1beta1Version body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudPrivatecatalogproducerV1beta1Version | body | The body of the request. |
System.String | name | Required. The resource name of the version, in the format `catalogs/{catalog_id}/products/{product_id}/versions/a-z*[a-z0-9]'. A unique identifier for the version under a product, which can't be changed after the version is created. The final segment of the name must between 1 and 63 characters in length. |
Returns
Type | Description |
---|---|
CatalogsResource.ProductsResource.VersionsResource.PatchRequest |