Class: Google::Apis::CloudassetV1::ResourceOwners

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 resource owners information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResourceOwners

Returns a new instance of ResourceOwners.



5371
5372
5373
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5371

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

Instance Attribute Details

#resource_ownersArray<String>

List of resource owners. Corresponds to the JSON property resourceOwners

Returns:

  • (Array<String>)


5369
5370
5371
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5369

def resource_owners
  @resource_owners
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5376
5377
5378
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5376

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