class Google::Apis::StorageV1::Object::Owner
The owner of the object. This will always be the uploader of the object.
Attributes
entity[RW]
The entity, in the form user-userId. Corresponds to the JSON property `entity` @return [String]
entity_id[RW]
The ID for the entity. Corresponds to the JSON property `entityId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/storage_v1/classes.rb, line 1632 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/storage_v1/classes.rb, line 1637 def update!(**args) @entity = args[:entity] if args.key?(:entity) @entity_id = args[:entity_id] if args.key?(:entity_id) end