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

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

Drive search advanced options

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

Returns a new instance of DriveOptions.



335
336
337
# File 'generated/google/apis/vault_v1/classes.rb', line 335

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

Instance Attribute Details

#include_shared_drivesBoolean Also known as: include_shared_drives?

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

Returns:

  • (Boolean)


319
320
321
# File 'generated/google/apis/vault_v1/classes.rb', line 319

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)


325
326
327
# File 'generated/google/apis/vault_v1/classes.rb', line 325

def include_team_drives
  @include_team_drives
end

#version_dateString

Search the versions of the Drive file as of the reference date. These timestamps are in GMT and rounded down to the given date. Corresponds to the JSON property versionDate

Returns:

  • (String)


333
334
335
# File 'generated/google/apis/vault_v1/classes.rb', line 333

def version_date
  @version_date
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



340
341
342
343
344
# File 'generated/google/apis/vault_v1/classes.rb', line 340

def update!(**args)
  @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