Asset class
An asset in Google Cloud.
An asset can be any resource in the Google Cloud resource hierarchy, a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy), or a relationship (e.g. an INSTANCE_TO_INSTANCEGROUP relationship). See Supported asset types for more information.
Constructors
-
Asset({GoogleIdentityAccesscontextmanagerV1AccessLevel? accessLevel, GoogleIdentityAccesscontextmanagerV1AccessPolicy? accessPolicy, List<
String> ? ancestors, String? assetType, Policy? iamPolicy, String? name, List<GoogleCloudOrgpolicyV1Policy> ? orgPolicy, Inventory? osInventory, Resource? resource, GoogleIdentityAccesscontextmanagerV1ServicePerimeter? servicePerimeter, String? updateTime}) - Asset.fromJson(Map json_)
Properties
- accessLevel ↔ GoogleIdentityAccesscontextmanagerV1AccessLevel?
-
Also refer to the
access level user guide.
getter/setter pair
- accessPolicy ↔ GoogleIdentityAccesscontextmanagerV1AccessPolicy?
-
Also refer to the
access policy user guide.
getter/setter pair
-
ancestors
↔ List<
String> ? -
The ancestry path of an asset in Google Cloud
resource hierarchy,
represented as a list of relative resource names.
getter/setter pair
- assetType ↔ String?
-
The type of the asset.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- iamPolicy ↔ Policy?
-
A representation of the IAM policy set on a Google Cloud resource.
getter/setter pair
- name ↔ String?
-
The full name of the asset.
getter/setter pair
-
orgPolicy
↔ List<
GoogleCloudOrgpolicyV1Policy> ? -
A representation of an
organization policy.
getter/setter pair
- osInventory ↔ Inventory?
-
A representation of runtime OS Inventory information.
getter/setter pair
-
One related asset of the current asset.
getter/setter pair
-
This field only presents for the purpose of backward-compatibility.
getter/setter pair
- resource ↔ Resource?
-
A representation of the resource.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- servicePerimeter ↔ GoogleIdentityAccesscontextmanagerV1ServicePerimeter?
-
Also refer to the
service perimeter user guide.
getter/setter pair
- updateTime ↔ String?
-
The last update timestamp of an asset.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited