Class: Google::Cloud::Asset::V1::AttachedResource

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/asset/v1/assets.rb

Overview

Attached resource representation, which is defined by the corresponding service provider. It represents an attached resource's payload.

Instance Attribute Summary collapse

Instance Attribute Details

#asset_type::String

Returns The type of this attached resource.

Example: osconfig.googleapis.com/Inventory

You can find the supported attached asset types of each resource in this table: https://cloud.google.com/asset-inventory/docs/supported-asset-types.

Returns:

  • (::String)

    The type of this attached resource.

    Example: osconfig.googleapis.com/Inventory

    You can find the supported attached asset types of each resource in this table: https://cloud.google.com/asset-inventory/docs/supported-asset-types



775
776
777
778
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 775

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

#versioned_resources::Array<::Google::Cloud::Asset::V1::VersionedResource>

Returns Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.

Returns:

  • (::Array<::Google::Cloud::Asset::V1::VersionedResource>)

    Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.



775
776
777
778
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 775

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