Class ResourceMaintenance (0.1.0)

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

ResourceMaintenance is a resource that represents a maintenance operation on a resource.

Attributes

Name Description
name str
Identifier. The name of the resource_maintenance resource. Format: "projects/{project}/locations/{location}/resourceMaintenance/{resource-maintenance-id}"
resource google.cloud.maintenance_api_v1beta.types.ResourceMaintenance.Resource
Output only. The resource spec of the resource maintenance.
maintenance google.cloud.maintenance_api_v1beta.types.ResourceMaintenance.Maintenance
Output only. The details of the maintenance.
state google.cloud.maintenance_api_v1beta.types.ResourceMaintenance.State
Output only. The state of the resource maintenance.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The create time of the resource maintenance.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The update time of the resource maintenance.
maintenance_start_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the resource maintenance has started.
maintenance_end_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the resource maintenance has completed.
maintenance_cancel_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the resource maintenance was cancelled.
maintenance_scheduled_start_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the maintenance on the resource was scheduled to start.
maintenance_scheduled_end_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the maintenance on the resource was scheduled to end.
user_controllable bool
Output only. Indicates whether the user has some control over that maintenance, either proactively before maintenance was scheduled with maintenance policy or with reactive controls after it was scheduled (see controls field)
controls MutableSequence[google.cloud.maintenance_api_v1beta.types.MaintenanceControl]
Output only. The controls of the maintenance.
labels MutableMapping[str, str]
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
annotations MutableMapping[str, str]
Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
uid str
Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
etag str
Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.

Classes

AnnotationsEntry

AnnotationsEntry(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.

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.

Maintenance

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

Maintenance is the maintenance details of a resource's maintenance.

Resource

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

Resource contains information about the resource affected by maintenance.

State

State(value)

State is the state of a resource maintenance.