Class ProjectsResource.LocationsResource.EnvironmentsResource.DatabaseFailoverRequest
Triggers database failover (only for highly resilient environments).
Inheritance
ProjectsResource.LocationsResource.EnvironmentsResource.DatabaseFailoverRequest
Inherited Members
Namespace: Google.Apis.CloudComposer.v1beta1
Assembly: Google.Apis.CloudComposer.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.EnvironmentsResource.DatabaseFailoverRequest : CloudComposerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
DatabaseFailoverRequest(IClientService, DatabaseFailoverRequest, string)
Constructs a new DatabaseFailover request.
Declaration
public DatabaseFailoverRequest(IClientService service, DatabaseFailoverRequest body, string environment)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DatabaseFailoverRequest | body | |
string | environment |
Properties
Environment
Target environment: "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 DatabaseFailover parameter list.
Declaration
protected override void InitParameters()