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.



1913
1914
1915
# File 'lib/google/apis/vault_v1/classes.rb', line 1913

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


1911
1912
1913
# File 'lib/google/apis/vault_v1/classes.rb', line 1911

def shared_drive_ids
  @shared_drive_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1918
1919
1920
# File 'lib/google/apis/vault_v1/classes.rb', line 1918

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