Class: Google::Apis::VaultV1::DriveOptions
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::DriveOptions
- 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
-
#include_shared_drives ⇒ Boolean
(also: #include_shared_drives?)
Set to true to include shared drive.
-
#include_team_drives ⇒ Boolean
(also: #include_team_drives?)
Set to true to include Team Drive.
-
#version_date ⇒ String
Search the versions of the Drive file as of the reference date.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DriveOptions
constructor
A new instance of DriveOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DriveOptions
Returns a new instance of DriveOptions.
493 494 495 |
# File 'generated/google/apis/vault_v1/classes.rb', line 493 def initialize(**args) update!(**args) end |
Instance Attribute Details
#include_shared_drives ⇒ Boolean Also known as:
Set to true to include shared drive.
Corresponds to the JSON property includeSharedDrives
478 479 480 |
# File 'generated/google/apis/vault_v1/classes.rb', line 478 def include_shared_drives @include_shared_drives end |
#include_team_drives ⇒ Boolean Also known as: include_team_drives?
Set to true to include Team Drive.
Corresponds to the JSON property includeTeamDrives
484 485 486 |
# File 'generated/google/apis/vault_v1/classes.rb', line 484 def include_team_drives @include_team_drives end |
#version_date ⇒ String
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
491 492 493 |
# File 'generated/google/apis/vault_v1/classes.rb', line 491 def version_date @version_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
498 499 500 501 502 |
# File 'generated/google/apis/vault_v1/classes.rb', line 498 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 |