Class: Google::Cloud::Asset::V1beta1::Asset
- Inherits:
-
Object
- Object
- Google::Cloud::Asset::V1beta1::Asset
- Defined in:
- lib/google/cloud/asset/v1beta1/doc/google/cloud/asset/v1beta1/assets.rb
Overview
Cloud asset. This includes all Google Cloud Platform resources, Cloud IAM policies, and other non-GCP assets.
Instance Attribute Summary collapse
-
#asset_type ⇒ String
Type of the asset.
-
#iam_policy ⇒ Google::Iam::V1::Policy
Representation of the actual Cloud IAM policy set on a cloud resource.
-
#name ⇒ String
The full name of the asset.
-
#resource ⇒ Google::Cloud::Asset::V1beta1::Resource
Representation of the resource.
Instance Attribute Details
#asset_type ⇒ String
Returns Type of the asset. Example: "google.compute.Disk".
62 |
# File 'lib/google/cloud/asset/v1beta1/doc/google/cloud/asset/v1beta1/assets.rb', line 62 class Asset; end |
#iam_policy ⇒ Google::Iam::V1::Policy
Returns 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.
62 |
# File 'lib/google/cloud/asset/v1beta1/doc/google/cloud/asset/v1beta1/assets.rb', line 62 class Asset; end |
#name ⇒ String
Returns 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.
62 |
# File 'lib/google/cloud/asset/v1beta1/doc/google/cloud/asset/v1beta1/assets.rb', line 62 class Asset; end |
#resource ⇒ Google::Cloud::Asset::V1beta1::Resource
Returns Representation of the resource.
62 |
# File 'lib/google/cloud/asset/v1beta1/doc/google/cloud/asset/v1beta1/assets.rb', line 62 class Asset; end |