Class ProjectsResource.LocationsResource.EnvironmentsResource.CheckUpgradeRequest
Check if an upgrade operation on the environment will succeed. In case of problems detailed info can be found in the returned Operation.
Inheritance
ProjectsResource.LocationsResource.EnvironmentsResource.CheckUpgradeRequest
Inherited Members
Namespace: Google.Apis.CloudComposer.v1beta1
Assembly: Google.Apis.CloudComposer.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.EnvironmentsResource.CheckUpgradeRequest : CloudComposerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CheckUpgradeRequest(IClientService, CheckUpgradeRequest, string)
Constructs a new CheckUpgrade request.
Declaration
public CheckUpgradeRequest(IClientService service, CheckUpgradeRequest body, string environment)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CheckUpgradeRequest | body | |
string | environment |
Properties
Environment
The resource name of the environment to check upgrade for, 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 CheckUpgrade parameter list.
Declaration
protected override void InitParameters()