Class Asset (0.1.3rc0)

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

An asset represents a resource in your environment. Asset types include virtual machines and databases.

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

Attributes

NameDescription
name str
Output only. The full name of the asset.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the asset was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the asset was last updated.
labels MutableMapping[str, str]
Labels as key value pairs.
attributes MutableMapping[str, str]
Generic asset attributes.
machine_details google.cloud.migrationcenter_v1.types.MachineDetails
Output only. Asset information specific for virtual and physical machines. This field is a member of oneof_ AssetDetails.
insight_list google.cloud.migrationcenter_v1.types.InsightList
Output only. The list of insights associated with the asset.
performance_data google.cloud.migrationcenter_v1.types.AssetPerformanceData
Output only. Performance data for the asset.
sources MutableSequence[str]
Output only. The list of sources contributing to the asset.
assigned_groups MutableSequence[str]
Output only. The list of groups that the asset is assigned to.

Classes

AttributesEntry

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

The abstract base class for a message.

Parameters
NameDescription
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
NameDescription
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.