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



913
914
915
# File 'generated/google/apis/vault_v1/classes.rb', line 913

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:



905
906
907
# File 'generated/google/apis/vault_v1/classes.rb', line 905

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)


911
912
913
# File 'generated/google/apis/vault_v1/classes.rb', line 911

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



918
919
920
921
# File 'generated/google/apis/vault_v1/classes.rb', line 918

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