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

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

Overview

The shared drives to search

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SharedDriveInfo

Returns a new instance of SharedDriveInfo.



1774
1775
1776
# File 'lib/google/apis/vault_v1/classes.rb', line 1774

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

Instance Attribute Details

#shared_drive_idsArray<String>

A list of shared drive IDs, as provided by the Drive API. Corresponds to the JSON property sharedDriveIds

Returns:

  • (Array<String>)


1772
1773
1774
# File 'lib/google/apis/vault_v1/classes.rb', line 1772

def shared_drive_ids
  @shared_drive_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1779
1780
1781
# File 'lib/google/apis/vault_v1/classes.rb', line 1779

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