Class CatalogsResource.ProductsResource.VersionsResource.CreateRequest
Creates a Version instance under a given Product.
Inheritance
System.Object
CatalogsResource.ProductsResource.VersionsResource.CreateRequest
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 CreateRequest : CloudPrivateCatalogProducerBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleCloudPrivatecatalogproducerV1beta1Version, String)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleCloudPrivatecatalogproducerV1beta1Version body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudPrivatecatalogproducerV1beta1Version | 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.GoogleLongrunningOperation>.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.GoogleLongrunningOperation>.MethodName
Parent
The product name of the new version'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.GoogleLongrunningOperation>.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.GoogleLongrunningOperation>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudPrivateCatalogProducer.v1beta1.CloudPrivateCatalogProducerBaseServiceRequest<Google.Apis.CloudPrivateCatalogProducer.v1beta1.Data.GoogleLongrunningOperation>.InitParameters()