Class Asset
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). See Supported asset types for more information.
Implements
Inherited Members
Namespace: Google.Apis.CloudAsset.v1p5beta1.Data
Assembly: Google.Apis.CloudAsset.v1p5beta1.dll
Syntax
public class Asset : IDirectResponseSchema
Properties
AccessLevel
Please also refer to the access level user guide.
Declaration
[JsonProperty("accessLevel")]
public virtual GoogleIdentityAccesscontextmanagerV1AccessLevel AccessLevel { get; set; }
Property Value
Type | Description |
---|---|
GoogleIdentityAccesscontextmanagerV1AccessLevel |
AccessPolicy
Please also refer to the access policy user guide.
Declaration
[JsonProperty("accessPolicy")]
public virtual GoogleIdentityAccesscontextmanagerV1AccessPolicy AccessPolicy { get; set; }
Property Value
Type | Description |
---|---|
GoogleIdentityAccesscontextmanagerV1AccessPolicy |
Ancestors
The ancestry path of an asset in Google Cloud resource
hierarchy, represented as
a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and
ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset
itself. Example: ["projects/123456789", "folders/5432", "organizations/1234"]
Declaration
[JsonProperty("ancestors")]
public virtual IList<string> Ancestors { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
AssetType
The type of the asset. Example: compute.googleapis.com/Disk
See Supported asset
types for more information.
Declaration
[JsonProperty("assetType")]
public virtual string AssetType { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
IamPolicy
A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See this topic for more information.
Declaration
[JsonProperty("iamPolicy")]
public virtual Policy IamPolicy { get; set; }
Property Value
Type | Description |
---|---|
Policy |
Name
The full name of the asset. Example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
See Resource
names for more information.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OrgPolicy
A representation of an organization policy. There can be more than one organization policy with different constraints set on a given resource.
Declaration
[JsonProperty("orgPolicy")]
public virtual IList<GoogleCloudOrgpolicyV1Policy> OrgPolicy { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudOrgpolicyV1Policy> |
Resource
A representation of the resource.
Declaration
[JsonProperty("resource")]
public virtual Resource Resource { get; set; }
Property Value
Type | Description |
---|---|
Resource |
ServicePerimeter
Please also refer to the service perimeter user guide.
Declaration
[JsonProperty("servicePerimeter")]
public virtual GoogleIdentityAccesscontextmanagerV1ServicePerimeter ServicePerimeter { get; set; }
Property Value
Type | Description |
---|---|
GoogleIdentityAccesscontextmanagerV1ServicePerimeter |