Class: Google::Container::V1::SetLocationsRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb

Overview

SetLocationsRequest sets the locations of the cluster.

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_idString

Returns The name of the cluster to upgrade.

Returns:

  • (String)

    The name of the cluster to upgrade.



902
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 902

class SetLocationsRequest; end

#locationsArray<String>

Returns The desired list of Google Compute Engine locations in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed.

This list must always include the cluster's primary zone.

Returns:

  • (Array<String>)

    The desired list of Google Compute Engine locations in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed.

    This list must always include the cluster's primary zone.



902
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 902

class SetLocationsRequest; end

#project_idString

Returns The Google Developers Console project ID or project number.

Returns:



902
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 902

class SetLocationsRequest; end

#zoneString

Returns The name of the Google Compute Engine zone in which the cluster resides.

Returns:

  • (String)

    The name of the Google Compute Engine zone in which the cluster resides.



902
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 902

class SetLocationsRequest; end