Class CatalogsResource.ProductsResource.IconsResource
The "icons" collection of methods.
Inheritance
System.Object
CatalogsResource.ProductsResource.IconsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudPrivateCatalogProducer.v1beta1
Assembly: Google.Apis.CloudPrivateCatalogProducer.v1beta1.dll
Syntax
public class IconsResource
Constructors
IconsResource(IClientService)
Constructs a new resource.
Declaration
public IconsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Upload(GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest, String)
Creates an Icon instance under a given Product. If Product only has a default icon, a new Icon instance is created and associated with the given Product. If Product already has a non-default icon, the action creates a new Icon instance, associates the newly created Icon with the given Product and deletes the old icon.
Declaration
public virtual CatalogsResource.ProductsResource.IconsResource.UploadRequest Upload(GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest body, string product)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest | body | The body of the request. |
System.String | product | The resource name of the product. |
Returns
Type | Description |
---|---|
CatalogsResource.ProductsResource.IconsResource.UploadRequest |