Class ProjectsResource.LocationsResource.UpgradeEditionRequest
Upgrades the edition for a list of reservations and capacity commitments. You can only upgrade to a
higher edition (from STANDARD to ENTERPRISE or ENTERPRISE_PLUS, from ENTERPRISE to
ENTERPRISE_PLUS, or from EDITION_UNSPECIFIED to ENTERPRISE or ENTERPRISE_PLUS). You can't
downgrade an edition. The upgrade must not cause an overall flexible slot increase across the original
and target editions (for example, by upgrading a reservation without upgrading its corresponding
capacity commitment). Otherwise, the method fails with a google.rpc.Code.FAILED_PRECONDITION error.
Before the upgrade, the service validates that the resources meet the requirements of the target edition
(for example, all reservations within a reservation group must be upgraded together).
Inheritance
Inherited Members
Namespace: Google.Apis.BigQueryReservation.v1
Assembly: Google.Apis.BigQueryReservation.v1.dll
Syntax
public class ProjectsResource.LocationsResource.UpgradeEditionRequest : BigQueryReservationBaseServiceRequest<UpgradeEditionResponse>, IClientServiceRequest<UpgradeEditionResponse>, IClientServiceRequest
Constructors
UpgradeEditionRequest(IClientService, UpgradeEditionRequest, string)
Constructs a new UpgradeEdition request.
Declaration
public UpgradeEditionRequest(IClientService service, UpgradeEditionRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| UpgradeEditionRequest | body | |
| string | parent |
Properties
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
Parent
The parent resource name that identifies the admin project and location, in the format
projects/{project}/locations/{location}. For example, projects/myproject/locations/us-west1.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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 UpgradeEdition parameter list.
Declaration
protected override void InitParameters()