Class: Google::Apis::VaultV1::HeldDriveQuery

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

Query options for Drive holds.

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

Returns a new instance of HeldDriveQuery.



652
653
654
# File 'generated/google/apis/vault_v1/classes.rb', line 652

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

Instance Attribute Details

#include_shared_drive_filesBoolean Also known as: include_shared_drive_files?

If true, include files in shared drives in the hold. Corresponds to the JSON property includeSharedDriveFiles

Returns:

  • (Boolean)


643
644
645
# File 'generated/google/apis/vault_v1/classes.rb', line 643

def include_shared_drive_files
  @include_shared_drive_files
end

#include_team_drive_filesBoolean Also known as: include_team_drive_files?

If true, include files in Team Drives in the hold. Corresponds to the JSON property includeTeamDriveFiles

Returns:

  • (Boolean)


649
650
651
# File 'generated/google/apis/vault_v1/classes.rb', line 649

def include_team_drive_files
  @include_team_drive_files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



657
658
659
660
# File 'generated/google/apis/vault_v1/classes.rb', line 657

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