Class ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.CreateRequest
Creates a specified deployment.
Inheritance
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.ApigeeRegistry.v1
Assembly: Google.Apis.ApigeeRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.CreateRequest : ApigeeRegistryBaseServiceRequest<ApiDeployment>, IClientServiceRequest<ApiDeployment>, IClientServiceRequest
Constructors
CreateRequest(IClientService, ApiDeployment, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, ApiDeployment body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ApiDeployment | body | |
string | parent |
Properties
ApiDeploymentId
Required. The ID to use for the deployment, which will become the final component of the deployment's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
Declaration
[RequestParameter("apiDeploymentId", RequestParameterType.Query)]
public virtual string ApiDeploymentId { 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.ApiDeployment>.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.ApiDeployment>.MethodName
Parent
Required. The parent, which owns this collection of deployments. 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.ApiDeployment>.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.ApiDeployment>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()