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

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

Options for Drive holds.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HeldDriveQuery

Returns a new instance of HeldDriveQuery.



887
888
889
# File 'lib/google/apis/vault_v1/classes.rb', line 887

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

Instance Attribute Details

#include_shared_drive_filesBoolean Also known as: include_shared_drive_files?

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

Returns:

  • (Boolean)


878
879
880
# File 'lib/google/apis/vault_v1/classes.rb', line 878

def include_shared_drive_files
  @include_shared_drive_files
end

#include_team_drive_filesBoolean 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

Returns:

  • (Boolean)


884
885
886
# File 'lib/google/apis/vault_v1/classes.rb', line 884

def include_team_drive_files
  @include_team_drive_files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



892
893
894
895
# File 'lib/google/apis/vault_v1/classes.rb', line 892

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