Class: Google::Apis::EssentialcontactsV1::GoogleCloudEssentialcontactsV1ListContactsResponse
- Inherits:
-
Object
- Object
- Google::Apis::EssentialcontactsV1::GoogleCloudEssentialcontactsV1ListContactsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/essentialcontacts_v1/classes.rb,
lib/google/apis/essentialcontacts_v1/representations.rb,
lib/google/apis/essentialcontacts_v1/representations.rb
Overview
Response message for the ListContacts method.
Instance Attribute Summary collapse
-
#contacts ⇒ Array<Google::Apis::EssentialcontactsV1::GoogleCloudEssentialcontactsV1Contact>
The contacts for the specified resource.
-
#next_page_token ⇒ String
If there are more results than those appearing in this response, then
next_page_tokenis included.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudEssentialcontactsV1ListContactsResponse
constructor
A new instance of GoogleCloudEssentialcontactsV1ListContactsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudEssentialcontactsV1ListContactsResponse
Returns a new instance of GoogleCloudEssentialcontactsV1ListContactsResponse.
129 130 131 |
# File 'lib/google/apis/essentialcontacts_v1/classes.rb', line 129 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contacts ⇒ Array<Google::Apis::EssentialcontactsV1::GoogleCloudEssentialcontactsV1Contact>
The contacts for the specified resource.
Corresponds to the JSON property contacts
119 120 121 |
# File 'lib/google/apis/essentialcontacts_v1/classes.rb', line 119 def contacts @contacts end |
#next_page_token ⇒ String
If there are more results than those appearing in this response, then
next_page_token is included. To get the next set of results, call this method
again using the value of next_page_token as page_token and the rest of the
parameters the same as the original request.
Corresponds to the JSON property nextPageToken
127 128 129 |
# File 'lib/google/apis/essentialcontacts_v1/classes.rb', line 127 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
134 135 136 137 |
# File 'lib/google/apis/essentialcontacts_v1/classes.rb', line 134 def update!(**args) @contacts = args[:contacts] if args.key?(:contacts) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |