Class: Google::Cloud::Asset::V1beta1::Asset

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/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

Instance Attribute Details

#asset_type::String

Returns Type of the asset. Example: "google.compute.Disk".

Returns:

  • (::String)

    Type of the asset. Example: "google.compute.Disk".



72
73
74
75
# File 'proto_docs/google/cloud/asset/v1beta1/assets.rb', line 72

class Asset
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.

Returns:

  • (::Google::Iam::V1::Policy)

    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.



72
73
74
75
# File 'proto_docs/google/cloud/asset/v1beta1/assets.rb', line 72

class Asset
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.

Returns:

  • (::String)

    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.



72
73
74
75
# File 'proto_docs/google/cloud/asset/v1beta1/assets.rb', line 72

class Asset
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource::Google::Cloud::Asset::V1beta1::Resource

Returns Representation of the resource.

Returns:



72
73
74
75
# File 'proto_docs/google/cloud/asset/v1beta1/assets.rb', line 72

class Asset
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end