diff --git a/google/cloud/tpu_v2alpha1/__init__.py b/google/cloud/tpu_v2alpha1/__init__.py index dd533d5..5ebcf45 100644 --- a/google/cloud/tpu_v2alpha1/__init__.py +++ b/google/cloud/tpu_v2alpha1/__init__.py @@ -45,6 +45,7 @@ SchedulingConfig, ServiceAccount, ServiceIdentity, + ShieldedInstanceConfig, StartNodeRequest, StopNodeRequest, Symptom, @@ -82,6 +83,7 @@ "SchedulingConfig", "ServiceAccount", "ServiceIdentity", + "ShieldedInstanceConfig", "StartNodeRequest", "StopNodeRequest", "Symptom", diff --git a/google/cloud/tpu_v2alpha1/types/__init__.py b/google/cloud/tpu_v2alpha1/types/__init__.py index 3cacb25..da17d91 100644 --- a/google/cloud/tpu_v2alpha1/types/__init__.py +++ b/google/cloud/tpu_v2alpha1/types/__init__.py @@ -43,6 +43,7 @@ SchedulingConfig, ServiceAccount, ServiceIdentity, + ShieldedInstanceConfig, StartNodeRequest, StopNodeRequest, Symptom, @@ -79,6 +80,7 @@ "SchedulingConfig", "ServiceAccount", "ServiceIdentity", + "ShieldedInstanceConfig", "StartNodeRequest", "StopNodeRequest", "Symptom", diff --git a/google/cloud/tpu_v2alpha1/types/cloud_tpu.py b/google/cloud/tpu_v2alpha1/types/cloud_tpu.py index ad544d2..e85e733 100644 --- a/google/cloud/tpu_v2alpha1/types/cloud_tpu.py +++ b/google/cloud/tpu_v2alpha1/types/cloud_tpu.py @@ -53,6 +53,7 @@ "Symptom", "GetGuestAttributesRequest", "GetGuestAttributesResponse", + "ShieldedInstanceConfig", }, ) @@ -350,6 +351,8 @@ class Node(proto.Message): symptoms (Sequence[google.cloud.tpu_v2alpha1.types.Symptom]): Output only. The Symptoms that have occurred to the TPU Node. + shielded_instance_config (google.cloud.tpu_v2alpha1.types.ShieldedInstanceConfig): + Shielded Instance options. """ class State(proto.Enum): @@ -481,6 +484,11 @@ class ApiVersion(proto.Enum): number=39, message="Symptom", ) + shielded_instance_config = proto.Field( + proto.MESSAGE, + number=45, + message="ShieldedInstanceConfig", + ) class ListNodesRequest(proto.Message): @@ -1055,4 +1063,19 @@ class GetGuestAttributesResponse(proto.Message): ) +class ShieldedInstanceConfig(proto.Message): + r"""A set of Shielded Instance options. + + Attributes: + enable_secure_boot (bool): + Defines whether the instance has Secure Boot + enabled. + """ + + enable_secure_boot = proto.Field( + proto.BOOL, + number=1, + ) + + __all__ = tuple(sorted(__protobuf__.manifest))