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.



1086
1087
1088
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1086

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



1079
1080
1081
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1079

def owner_identity
  @owner_identity
end

#owner_typeString

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

Returns:

  • (String)


1084
1085
1086
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1084

def owner_type
  @owner_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1091
1092
1093
1094
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1091

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