ShareSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The share setting for reservations and sole tenancy node groups.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
project_map |
MutableMapping[str, google.cloud.compute_v1.types.ShareSettingsProjectConfig]
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS. |
share_type |
str
Type of sharing for this shared-reservation Check the ShareType enum for the list of possible values. This field is a member of oneof _ _share_type .
|
Classes
ProjectMapEntry
ProjectMapEntry(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,
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 |
ShareType
ShareType(value)
Type of sharing for this shared-reservation
Values: UNDEFINED_SHARE_TYPE (0): A value indicating that the enum field is not set. LOCAL (72607563): Default value. ORGANIZATION (274978099): Shared-reservation is open to entire Organization SHARE_TYPE_UNSPECIFIED (494771730): Default value. This value is unused. SPECIFIC_PROJECTS (347838695): Shared-reservation is open to specific projects