Class: Google::Apis::VaultV1::SharedDriveInfo

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

Overview

Shared drives to search

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SharedDriveInfo

Returns a new instance of SharedDriveInfo.



1362
1363
1364
# File 'generated/google/apis/vault_v1/classes.rb', line 1362

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

Instance Attribute Details

#shared_drive_idsArray<String>

List of Shared drive ids, as provided by Drive API. Corresponds to the JSON property sharedDriveIds

Returns:

  • (Array<String>)


1360
1361
1362
# File 'generated/google/apis/vault_v1/classes.rb', line 1360

def shared_drive_ids
  @shared_drive_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1367
1368
1369
# File 'generated/google/apis/vault_v1/classes.rb', line 1367

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