Class: Google::Apis::VaultV1::DriveOptions

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

Additional options for Drive search

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DriveOptions

Returns a new instance of DriveOptions.



591
592
593
# File 'lib/google/apis/vault_v1/classes.rb', line 591

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

Instance Attribute Details

#client_side_encrypted_optionString

Set whether the results include only content encrypted with Google Workspace Client-side encryption content, only unencrypted content, or both. Defaults to both. Currently supported for Drive. Corresponds to the JSON property clientSideEncryptedOption

Returns:

  • (String)


570
571
572
# File 'lib/google/apis/vault_v1/classes.rb', line 570

def client_side_encrypted_option
  @client_side_encrypted_option
end

#include_shared_drivesBoolean Also known as: include_shared_drives?

Set to true to include shared drives. Corresponds to the JSON property includeSharedDrives

Returns:

  • (Boolean)


575
576
577
# File 'lib/google/apis/vault_v1/classes.rb', line 575

def include_shared_drives
  @include_shared_drives
end

#include_team_drivesBoolean Also known as: include_team_drives?

Set to true to include Team Drive. Corresponds to the JSON property includeTeamDrives

Returns:

  • (Boolean)


581
582
583
# File 'lib/google/apis/vault_v1/classes.rb', line 581

def include_team_drives
  @include_team_drives
end

#version_dateString

Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC. Corresponds to the JSON property versionDate

Returns:

  • (String)


589
590
591
# File 'lib/google/apis/vault_v1/classes.rb', line 589

def version_date
  @version_date
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



596
597
598
599
600
601
# File 'lib/google/apis/vault_v1/classes.rb', line 596

def update!(**args)
  @client_side_encrypted_option = args[:client_side_encrypted_option] if args.key?(:client_side_encrypted_option)
  @include_shared_drives = args[:include_shared_drives] if args.key?(:include_shared_drives)
  @include_team_drives = args[:include_team_drives] if args.key?(:include_team_drives)
  @version_date = args[:version_date] if args.key?(:version_date)
end