Class ProjectsResource.LocationsResource.EnvironmentsResource.LoadSnapshotRequest
Loads a snapshot of a Cloud Composer environment. As a result of this operation, a snapshot of environment's specified in LoadSnapshotRequest is loaded into the environment.
Inheritance
ProjectsResource.LocationsResource.EnvironmentsResource.LoadSnapshotRequest
Inherited Members
Namespace: Google.Apis.CloudComposer.v1beta1
Assembly: Google.Apis.CloudComposer.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.EnvironmentsResource.LoadSnapshotRequest : CloudComposerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
LoadSnapshotRequest(IClientService, LoadSnapshotRequest, string)
Constructs a new LoadSnapshot request.
Declaration
public LoadSnapshotRequest(IClientService service, LoadSnapshotRequest body, string environment)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
LoadSnapshotRequest | body | |
string | environment |
Properties
Environment
The resource name of the target 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 LoadSnapshot parameter list.
Declaration
protected override void InitParameters()