# Class Asset (1.45.0)

1.45.0 (latest) 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.39.0 1.38.0 1.37.0 1.36.0 1.35.1 1.33.1 1.32.1 1.31.0 1.30.1 1.29.0 1.28.0 1.27.0 1.26.1 1.25.0 1.24.1 1.23.2 1.22.0 1.21.0 1.20.0 1.19.1 1.18.2 1.17.0 1.16.2 1.15.0 1.14.0 1.13.0 1.12.0 1.11.1 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.2 1.4.0 1.3.1 1.2.0 1.1.0 1.0.0 0.7.3 0.6.0 0.5.0 0.4.0 0.3.0

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

Security Command Center representation of a Google Cloud
resource.

The Asset is a Security Command Center resource that captures
information about a single Google Cloud resource. All
modifications to an Asset are only within the context of
Security Command Center and don't affect the referenced Google
Cloud resource.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}". |
| `security_center_properties` | `https://docs.cloud.google.com/python/docs/reference/securitycenter/latest/google.cloud.securitycenter_v1p1beta1.types.Asset.SecurityCenterProperties` Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user. |
| `resource_properties` | `MutableMapping[str, google.protobuf.struct_pb2.Value]` Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user. |
| `security_marks` | `https://docs.cloud.google.com/python/docs/reference/securitycenter/latest/google.cloud.securitycenter_v1p1beta1.types.SecurityMarks` User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` The time at which the asset was created in Security Command Center. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` The time at which the asset was last updated or added in Cloud SCC. |
| `iam_policy` | `https://docs.cloud.google.com/python/docs/reference/securitycenter/latest/google.cloud.securitycenter_v1p1beta1.types.Asset.IamPolicy` Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user. |
| `canonical_name` | `str` The canonical name of the resource. It's either "organizations/{organization_id}/assets/{asset_id}", "folders/{folder_id}/assets/{asset_id}" or "projects/{project_number}/assets/{asset_id}", depending on the closest CRM ancestor of the resource. |

## Classes

### IamPolicy

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

Cloud IAM Policy information associated with the Google Cloud
resource described by the Security Command Center asset. This
information is managed and defined by the Google Cloud resource
and cannot be modified by the user.

### ResourcePropertiesEntry

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

### SecurityCenterProperties

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

Security Command Center managed properties. These properties
are managed by Security Command Center and cannot be modified by
the user.