Class: Google::Apis::AdminReportsV1::SharedDriveIdentity
- Inherits:
-
Object
- Object
- Google::Apis::AdminReportsV1::SharedDriveIdentity
- 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
-
#id ⇒ String
Shared drive gaia id.
-
#shared_drive_name ⇒ String
Shared drive name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SharedDriveIdentity
constructor
A new instance of SharedDriveIdentity.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#id ⇒ String
Shared drive gaia id.
Corresponds to the JSON property id
1318 1319 1320 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1318 def id @id end |
#shared_drive_name ⇒ String
Shared drive name.
Corresponds to the JSON property sharedDriveName
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 |