Class: Google::Apis::VaultV1::ListHoldsResponse

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

The holds for a matter.

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

Returns a new instance of ListHoldsResponse



406
407
408
# File 'generated/google/apis/vault_v1/classes.rb', line 406

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

Instance Attribute Details

#holdsArray<Google::Apis::VaultV1::Hold>

The list of holds. Corresponds to the JSON property holds

Returns:



398
399
400
# File 'generated/google/apis/vault_v1/classes.rb', line 398

def holds
  @holds
end

#next_page_tokenString

Page token to retrieve the next page of results in the list. If this is empty, then there are no more holds to list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


404
405
406
# File 'generated/google/apis/vault_v1/classes.rb', line 404

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



411
412
413
414
# File 'generated/google/apis/vault_v1/classes.rb', line 411

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