Class CatalogsResource.ProductsResource.CreateRequest
Creates a Product instance under a given Catalog.
Inheritance
System.Object
CatalogsResource.ProductsResource.CreateRequest
Implements
Inherited Members
CloudPrivateCatalogProducerBaseServiceRequest<GoogleCloudPrivatecatalogproducerV1beta1Product>.Xgafv
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 CreateRequest : CloudPrivateCatalogProducerBaseServiceRequest<GoogleCloudPrivatecatalogproducerV1beta1Product>, IClientServiceRequest<GoogleCloudPrivatecatalogproducerV1beta1Product>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleCloudPrivatecatalogproducerV1beta1Product, String)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleCloudPrivatecatalogproducerV1beta1Product body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudPrivatecatalogproducerV1beta1Product | body | |
System.String | parent |
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.GoogleCloudPrivatecatalogproducerV1beta1Product>.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.GoogleCloudPrivatecatalogproducerV1beta1Product>.MethodName
Parent
The catalog name of the new product's parent.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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.GoogleCloudPrivatecatalogproducerV1beta1Product>.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.GoogleCloudPrivatecatalogproducerV1beta1Product>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudPrivateCatalogProducer.v1beta1.CloudPrivateCatalogProducerBaseServiceRequest<Google.Apis.CloudPrivateCatalogProducer.v1beta1.Data.GoogleCloudPrivatecatalogproducerV1beta1Product>.InitParameters()