Class: Google::Apis::CloudassetV1::ResourceOwners
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::ResourceOwners
- 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
-
#resource_owners ⇒ Array<String>
List of resource owners.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceOwners
constructor
A new instance of ResourceOwners.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceOwners
Returns a new instance of ResourceOwners.
5336 5337 5338 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5336 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_owners ⇒ Array<String>
List of resource owners.
Corresponds to the JSON property resourceOwners
5334 5335 5336 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5334 def resource_owners @resource_owners end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5341 5342 5343 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5341 def update!(**args) @resource_owners = args[:resource_owners] if args.key?(:resource_owners) end |