Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.PrivateCloudsResource.UpgradesResource

The "upgrades" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.PrivateCloudsResource.UpgradesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.VMwareEngine.v1
Assembly: Google.Apis.VMwareEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.PrivateCloudsResource.UpgradesResource

Constructors

UpgradesResource(IClientService)

Constructs a new resource.

Declaration
public UpgradesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Get(string)

Retrieves a private cloud Upgrade resource by its resource name.

Declaration
public virtual ProjectsResource.LocationsResource.PrivateCloudsResource.UpgradesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the Upgrade resource to be retrieved. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud/upgrades/my-upgrade

Returns
Type Description
ProjectsResource.LocationsResource.PrivateCloudsResource.UpgradesResource.GetRequest

List(string)

Lists past, ongoing and upcoming Upgrades for the given private cloud.

Declaration
public virtual ProjectsResource.LocationsResource.PrivateCloudsResource.UpgradesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Query a list of Upgrades for the given private cloud resource name. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud

Returns
Type Description
ProjectsResource.LocationsResource.PrivateCloudsResource.UpgradesResource.ListRequest

Patch(Upgrade, string)

Update the private cloud Upgrade resource. Only schedule field can updated. The schedule can only be updated when the upgrade has not started and schedule edit window is open. Only fields specified in update_mask are considered.

Declaration
public virtual ProjectsResource.LocationsResource.PrivateCloudsResource.UpgradesResource.PatchRequest Patch(Upgrade body, string name)
Parameters
Type Name Description
Upgrade body

The body of the request.

string name

Output only. Identifier. The resource name of the private cloud Upgrade. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud/upgrades/my-upgrade

Returns
Type Description
ProjectsResource.LocationsResource.PrivateCloudsResource.UpgradesResource.PatchRequest
In this article
Back to top Generated by DocFX