Class: Google::Apis::VaultV1::DriveDocumentIds

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

Specify Drive documents by document ID.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DriveDocumentIds

Returns a new instance of DriveDocumentIds.



549
550
551
# File 'lib/google/apis/vault_v1/classes.rb', line 549

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

Instance Attribute Details

#idsArray<String>

Required. A list of Drive document IDs. Corresponds to the JSON property ids

Returns:

  • (Array<String>)


547
548
549
# File 'lib/google/apis/vault_v1/classes.rb', line 547

def ids
  @ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



554
555
556
# File 'lib/google/apis/vault_v1/classes.rb', line 554

def update!(**args)
  @ids = args[:ids] if args.key?(:ids)
end