Class: Google::Apis::CloudassetV1::AssetEnrichment

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb

Overview

The enhanced metadata information for a resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AssetEnrichment

Returns a new instance of AssetEnrichment.



537
538
539
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 537

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#resource_ownersGoogle::Apis::CloudassetV1::ResourceOwners

The resource owners information. Corresponds to the JSON property resourceOwners



535
536
537
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 535

def resource_owners
  @resource_owners
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



542
543
544
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 542

def update!(**args)
  @resource_owners = args[:resource_owners] if args.key?(:resource_owners)
end