Cluster Director V1BETA API - Class Google::Cloud::HypercomputeCluster::V1beta::ExistingInstances (v1.3.0)

Reference documentation and code samples for the Cluster Director V1BETA API class Google::Cloud::HypercomputeCluster::V1beta::ExistingInstances.

ExistingInstances defines a list of existing VM instances to include in the cluster.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#instance_group_manager

def instance_group_manager() -> ::String
Returns
  • (::String) — Optional. Immutable. Managed instance group containing the instances, in the format projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}.

    Note: The following fields are mutually exclusive: instance_group_manager, project, region_instance_group_manager, reservation, reservation_block, reservation_sub_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

#instance_group_manager=

def instance_group_manager=(value) -> ::String
Parameter
  • value (::String) — Optional. Immutable. Managed instance group containing the instances, in the format projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}.

    Note: The following fields are mutually exclusive: instance_group_manager, project, region_instance_group_manager, reservation, reservation_block, reservation_sub_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Optional. Immutable. Managed instance group containing the instances, in the format projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}.

    Note: The following fields are mutually exclusive: instance_group_manager, project, region_instance_group_manager, reservation, reservation_block, reservation_sub_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Immutable. Labels specifying the instances to include. Instances from the source will be included only if they contain each of these labels. If no labels are specified, all instances from the source will be included. Example: {"env": "prod", "app": "worker"}

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Immutable. Labels specifying the instances to include. Instances from the source will be included only if they contain each of these labels. If no labels are specified, all instances from the source will be included. Example: {"env": "prod", "app": "worker"}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Immutable. Labels specifying the instances to include. Instances from the source will be included only if they contain each of these labels. If no labels are specified, all instances from the source will be included. Example: {"env": "prod", "app": "worker"}

#networks

def networks() -> ::Array<::Google::Cloud::HypercomputeCluster::V1beta::NetworkReference>
Returns

#project

def project() -> ::String
Returns
  • (::String) — Optional. Immutable. Project containing the instances, in the format projects/{project}.

    Note: The following fields are mutually exclusive: project, instance_group_manager, region_instance_group_manager, reservation, reservation_block, reservation_sub_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — Optional. Immutable. Project containing the instances, in the format projects/{project}.

    Note: The following fields are mutually exclusive: project, instance_group_manager, region_instance_group_manager, reservation, reservation_block, reservation_sub_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Optional. Immutable. Project containing the instances, in the format projects/{project}.

    Note: The following fields are mutually exclusive: project, instance_group_manager, region_instance_group_manager, reservation, reservation_block, reservation_sub_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

#region_instance_group_manager

def region_instance_group_manager() -> ::String
Returns
  • (::String) — Optional. Immutable. Regional managed instance group containing the instances, in the format projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}.

    Note: The following fields are mutually exclusive: region_instance_group_manager, project, instance_group_manager, reservation, reservation_block, reservation_sub_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

#region_instance_group_manager=

def region_instance_group_manager=(value) -> ::String
Parameter
  • value (::String) — Optional. Immutable. Regional managed instance group containing the instances, in the format projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}.

    Note: The following fields are mutually exclusive: region_instance_group_manager, project, instance_group_manager, reservation, reservation_block, reservation_sub_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Optional. Immutable. Regional managed instance group containing the instances, in the format projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}.

    Note: The following fields are mutually exclusive: region_instance_group_manager, project, instance_group_manager, reservation, reservation_block, reservation_sub_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

#reservation

def reservation() -> ::String
Returns
  • (::String) — Optional. Immutable. Reservation containing the instances, in the format projects/{project}/zones/{zone}/reservations/{reservation}.

    Note: The following fields are mutually exclusive: reservation, project, instance_group_manager, region_instance_group_manager, reservation_block, reservation_sub_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

#reservation=

def reservation=(value) -> ::String
Parameter
  • value (::String) — Optional. Immutable. Reservation containing the instances, in the format projects/{project}/zones/{zone}/reservations/{reservation}.

    Note: The following fields are mutually exclusive: reservation, project, instance_group_manager, region_instance_group_manager, reservation_block, reservation_sub_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Optional. Immutable. Reservation containing the instances, in the format projects/{project}/zones/{zone}/reservations/{reservation}.

    Note: The following fields are mutually exclusive: reservation, project, instance_group_manager, region_instance_group_manager, reservation_block, reservation_sub_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

#reservation_block

def reservation_block() -> ::String
Returns
  • (::String) — Optional. Immutable. Reservation block containing the instances, in the format projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}.

    Note: The following fields are mutually exclusive: reservation_block, project, instance_group_manager, region_instance_group_manager, reservation, reservation_sub_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

#reservation_block=

def reservation_block=(value) -> ::String
Parameter
  • value (::String) — Optional. Immutable. Reservation block containing the instances, in the format projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}.

    Note: The following fields are mutually exclusive: reservation_block, project, instance_group_manager, region_instance_group_manager, reservation, reservation_sub_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Optional. Immutable. Reservation block containing the instances, in the format projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}.

    Note: The following fields are mutually exclusive: reservation_block, project, instance_group_manager, region_instance_group_manager, reservation, reservation_sub_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

#reservation_sub_block

def reservation_sub_block() -> ::String
Returns
  • (::String) — Optional. Immutable. Reservation sub block containing the instances, in the format projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}/reservationSubBlocks/{reservationSubBlock}.

    Note: The following fields are mutually exclusive: reservation_sub_block, project, instance_group_manager, region_instance_group_manager, reservation, reservation_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

#reservation_sub_block=

def reservation_sub_block=(value) -> ::String
Parameter
  • value (::String) — Optional. Immutable. Reservation sub block containing the instances, in the format projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}/reservationSubBlocks/{reservationSubBlock}.

    Note: The following fields are mutually exclusive: reservation_sub_block, project, instance_group_manager, region_instance_group_manager, reservation, reservation_block. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Optional. Immutable. Reservation sub block containing the instances, in the format projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}/reservationSubBlocks/{reservationSubBlock}.

    Note: The following fields are mutually exclusive: reservation_sub_block, project, instance_group_manager, region_instance_group_manager, reservation, reservation_block. If a field in that set is populated, all other fields in the set will automatically be cleared.