Class ProjectsResource.LocationsResource.EnvironmentsResource.SaveSnapshotRequest
Creates a snapshots of a Cloud Composer environment. As a result of this operation, snapshot of environment's state is stored in a location specified in the SaveSnapshotRequest.
Inheritance
ProjectsResource.LocationsResource.EnvironmentsResource.SaveSnapshotRequest
Inherited Members
Namespace: Google.Apis.CloudComposer.v1beta1
Assembly: Google.Apis.CloudComposer.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.EnvironmentsResource.SaveSnapshotRequest : CloudComposerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
SaveSnapshotRequest(IClientService, SaveSnapshotRequest, string)
Constructs a new SaveSnapshot request.
Declaration
public SaveSnapshotRequest(IClientService service, SaveSnapshotRequest body, string environment)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SaveSnapshotRequest | body | |
string | environment |
Properties
Environment
The resource name of the source environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
Declaration
[RequestParameter("environment", RequestParameterType.Path)]
public virtual string Environment { get; }
Property Value
Type | Description |
---|---|
string |
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
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 SaveSnapshot parameter list.
Declaration
protected override void InitParameters()