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.



894
895
896
# File 'generated/google/apis/vault_v1/classes.rb', line 894

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:



886
887
888
# File 'generated/google/apis/vault_v1/classes.rb', line 886

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)


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

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



899
900
901
902
# File 'generated/google/apis/vault_v1/classes.rb', line 899

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