Class Asset
Cloud asset. This includes all Google Cloud Platform resources, Cloud IAM policies, and other non-GCP assets.
Inheritance
System.Object
Asset
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Asset.V1Beta1
Assembly: Google.Cloud.Asset.V1Beta1.dll
Syntax
public sealed class Asset : IMessage<Asset>, IMessage, IEquatable<Asset>, IDeepCloneable<Asset>
Constructors
Asset()
Declaration
public Asset()
Asset(Asset)
Declaration
public Asset(Asset other)
Parameters
Type | Name | Description |
---|---|---|
Asset | other |
Properties
AssetType
Type of the asset. Example: "google.compute.Disk".
Declaration
public string AssetType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IamPolicy
Representation of the actual Cloud IAM policy set on a cloud resource. For each resource, there must be at most one Cloud IAM policy set on it.
Declaration
public Policy IamPolicy { get; set; }
Property Value
Type | Description |
---|---|
Policy |
Name
The full name of the asset. For example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
.
See Resource
Names
for more information.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Resource
Representation of the resource.
Declaration
public Resource Resource { get; set; }
Property Value
Type | Description |
---|---|
Resource |