Class: Google::Cloud::Container::V1beta1::SetLocationsRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1beta1/cluster_service.rb

Overview

SetLocationsRequest sets the locations of the cluster.

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_id::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

Returns:

  • (::String)

    Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.



3350
3351
3352
3353
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3350

class SetLocationsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#locations::Array<::String>

Returns Required. The desired list of Google Compute Engine zones 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>)

    Required. The desired list of Google Compute Engine zones 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.



3350
3351
3352
3353
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3350

class SetLocationsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns The name (project, location, cluster) of the cluster to set locations. Specified in the format projects/*/locations/*/clusters/*.

Returns:

  • (::String)

    The name (project, location, cluster) of the cluster to set locations. Specified in the format projects/*/locations/*/clusters/*.



3350
3351
3352
3353
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3350

class SetLocationsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#project_id::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Returns:

  • (::String)

    Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.



3350
3351
3352
3353
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3350

class SetLocationsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#zone::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

Returns:

  • (::String)

    Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.



3350
3351
3352
3353
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3350

class SetLocationsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end