Class CatalogsResource.ProductsResource.IconsResource.UploadRequest
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.
Inheritance
System.Object
CatalogsResource.ProductsResource.IconsResource.UploadRequest
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 UploadRequest : CloudPrivateCatalogProducerBaseServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest
Constructors
UploadRequest(IClientService, GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest, String)
Constructs a new Upload request.
Declaration
public UploadRequest(IClientService service, GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest body, string product)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest | body | |
System.String | product |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudPrivateCatalogProducer.v1beta1.Data.GoogleProtobufEmpty>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudPrivateCatalogProducer.v1beta1.Data.GoogleProtobufEmpty>.MethodName
Product
The resource name of the product.
Declaration
[RequestParameter("product", RequestParameterType.Path)]
public virtual string Product { get; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudPrivateCatalogProducer.v1beta1.Data.GoogleProtobufEmpty>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudPrivateCatalogProducer.v1beta1.Data.GoogleProtobufEmpty>.GetBody()
InitParameters()
Initializes Upload parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudPrivateCatalogProducer.v1beta1.CloudPrivateCatalogProducerBaseServiceRequest<Google.Apis.CloudPrivateCatalogProducer.v1beta1.Data.GoogleProtobufEmpty>.InitParameters()