Class: Google::Apis::HealthcareV1beta1::ListConsentsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/healthcare_v1beta1/classes.rb,
generated/google/apis/healthcare_v1beta1/representations.rb,
generated/google/apis/healthcare_v1beta1/representations.rb

Overview

Lists the Consents in the given Consent store.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListConsentsResponse

Returns a new instance of ListConsentsResponse.



3609
3610
3611
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 3609

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

Instance Attribute Details

#consentsArray<Google::Apis::HealthcareV1beta1::Consent>

The returned consents. The maximum number of consents returned is determined by the value of page_size in the ListConsentsRequest. Corresponds to the JSON property consents



3601
3602
3603
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 3601

def consents
  @consents
end

#next_page_tokenString

Token to retrieve the next page of results or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


3607
3608
3609
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 3607

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3614
3615
3616
3617
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 3614

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