Class: Google::Apis::AdminReportsV1::SharedDriveIdentity

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

Identity of the shared drive who owns the resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SharedDriveIdentity

Returns a new instance of SharedDriveIdentity.



1325
1326
1327
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1325

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

Instance Attribute Details

#idString

Shared drive gaia id. Corresponds to the JSON property id

Returns:

  • (String)


1318
1319
1320
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1318

def id
  @id
end

#shared_drive_nameString

Shared drive name. Corresponds to the JSON property sharedDriveName

Returns:

  • (String)


1323
1324
1325
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1323

def shared_drive_name
  @shared_drive_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1330
1331
1332
1333
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1330

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