Class ProjectsResource.LocationsResource.ApisResource.VersionsResource.CreateRequest
Creates a specified version.
Inheritance
ProjectsResource.LocationsResource.ApisResource.VersionsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.ApigeeRegistry.v1
Assembly: Google.Apis.ApigeeRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ApisResource.VersionsResource.CreateRequest : ApigeeRegistryBaseServiceRequest<ApiVersion>, IClientServiceRequest<ApiVersion>, IClientServiceRequest
Constructors
CreateRequest(IClientService, ApiVersion, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, ApiVersion body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ApiVersion | body | |
string | parent |
Properties
ApiVersionId
Required. The ID to use for the version, which will become the final component of the version's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
Declaration
[RequestParameter("apiVersionId", RequestParameterType.Query)]
public virtual string ApiVersionId { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApigeeRegistry.v1.Data.ApiVersion>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApigeeRegistry.v1.Data.ApiVersion>.MethodName
Parent
Required. The parent, which owns this collection of versions. Format:
projects/*/locations/*/apis/*
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApigeeRegistry.v1.Data.ApiVersion>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApigeeRegistry.v1.Data.ApiVersion>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()