Class ExistingInstances (0.4.3)

ExistingInstances(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
project str
Optional. Immutable. Project containing the instances, in the format projects/{project}. This field is a member of oneof_ source.
instance_group_manager str
Optional. Immutable. Managed instance group containing the instances, in the format projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}. This field is a member of oneof_ source.
region_instance_group_manager str
Optional. Immutable. Regional managed instance group containing the instances, in the format projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}. This field is a member of oneof_ source.
reservation str
Optional. Immutable. Reservation containing the instances, in the format projects/{project}/zones/{zone}/reservations/{reservation}. This field is a member of oneof_ source.
reservation_block str
Optional. Immutable. Reservation block containing the instances, in the format projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}. This field is a member of oneof_ source.
reservation_sub_block str
Optional. Immutable. Reservation sub block containing the instances, in the format projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}/reservationSubBlocks/{reservationSubBlock}. This field is a member of oneof_ source.
labels MutableMapping[str, str]
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 MutableSequence[google.cloud.hypercomputecluster_v1beta.types.NetworkReference]
Output only. Networks stores the list of `VPC networks

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.