Class: Google::Apis::VaultV1::HeldDriveQuery
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::HeldDriveQuery
- 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
Options for Drive holds.
Instance Attribute Summary collapse
-
#include_shared_drive_files ⇒ Boolean
(also: #include_shared_drive_files?)
To include files in shared drives in the hold, set to true.
-
#include_team_drive_files ⇒ Boolean
(also: #include_team_drive_files?)
To include files in Team Drives in the hold, set to true.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HeldDriveQuery
constructor
A new instance of HeldDriveQuery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HeldDriveQuery
Returns a new instance of HeldDriveQuery.
994 995 996 |
# File 'lib/google/apis/vault_v1/classes.rb', line 994 def initialize(**args) update!(**args) end |
Instance Attribute Details
#include_shared_drive_files ⇒ Boolean Also known as:
To include files in shared drives in the hold, set to true.
Corresponds to the JSON property includeSharedDriveFiles
985 986 987 |
# File 'lib/google/apis/vault_v1/classes.rb', line 985 def include_shared_drive_files @include_shared_drive_files end |
#include_team_drive_files ⇒ Boolean Also known as: include_team_drive_files?
To include files in Team Drives in the hold, set to true.
Corresponds to the JSON property includeTeamDriveFiles
991 992 993 |
# File 'lib/google/apis/vault_v1/classes.rb', line 991 def include_team_drive_files @include_team_drive_files end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
999 1000 1001 1002 |
# File 'lib/google/apis/vault_v1/classes.rb', line 999 def update!(**args) @include_shared_drive_files = args[:include_shared_drive_files] if args.key?(:include_shared_drive_files) @include_team_drive_files = args[:include_team_drive_files] if args.key?(:include_team_drive_files) end |