Class: Google::Apis::AdminReportsV1::OwnerDetails

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

Overview

Details of the owner of the resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OwnerDetails

Returns a new instance of OwnerDetails.



1192
1193
1194
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1192

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

Instance Attribute Details

#owner_identityArray<Google::Apis::AdminReportsV1::OwnerIdentity>

Identity details of the owner(s) of the resource. Corresponds to the JSON property ownerIdentity



1185
1186
1187
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1185

def owner_identity
  @owner_identity
end

#owner_typeString

Type of the owner of the resource. Corresponds to the JSON property ownerType

Returns:

  • (String)


1190
1191
1192
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1190

def owner_type
  @owner_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1197
1198
1199
1200
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1197

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