Class DeploymentsResource.InsertRequest
Creates a deployment and all of the resources described by the deployment manifest.
Inheritance
Inherited Members
Namespace: Google.Apis.DeploymentManager.v2
Assembly: Google.Apis.DeploymentManager.v2.dll
Syntax
public class DeploymentsResource.InsertRequest : DeploymentManagerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
InsertRequest(IClientService, Deployment, string)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, Deployment body, string project)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Deployment | body | |
string | project |
Properties
CreatePolicy
Sets the policy to use for creating new resources.
Declaration
[RequestParameter("createPolicy", RequestParameterType.Query)]
public virtual DeploymentsResource.InsertRequest.CreatePolicyEnum? CreatePolicy { get; set; }
Property Value
Type | Description |
---|---|
DeploymentsResource.InsertRequest.CreatePolicyEnum? |
HeaderBypassBillingFilter
Declaration
[RequestParameter("header.bypassBillingFilter", RequestParameterType.Query)]
public virtual bool? HeaderBypassBillingFilter { get; set; }
Property Value
Type | Description |
---|---|
bool? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Preview
If set to true, creates a deployment and creates "shell" resources but does not actually instantiate
these resources. This allows you to preview what your deployment looks like. After previewing a
deployment, you can deploy your resources by making a request with the update()
method or you can use
the cancelPreview()
method to cancel the preview altogether. Note that the deployment will still exist
after you cancel the preview and you must separately delete this deployment if you want to remove it.
Declaration
[RequestParameter("preview", RequestParameterType.Query)]
public virtual bool? Preview { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Project
The project ID for this request.
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()