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

Constructor Details

#initialize(**args) ⇒ SharedDriveInfo

Returns a new instance of SharedDriveInfo.



1714
1715
1716
# File 'generated/google/apis/vault_v1/classes.rb', line 1714

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>)


1712
1713
1714
# File 'generated/google/apis/vault_v1/classes.rb', line 1712

def shared_drive_ids
  @shared_drive_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1719
1720
1721
# File 'generated/google/apis/vault_v1/classes.rb', line 1719

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