Class: Google::Apis::CloudsupportV2beta::ListCommentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudsupportV2beta::ListCommentsResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsupport_v2beta/classes.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb
Overview
The response message for the ListComments endpoint.
Instance Attribute Summary collapse
-
#comments ⇒ Array<Google::Apis::CloudsupportV2beta::Comment>
The list of Comments associated with the given Case.
-
#next_page_token ⇒ String
A token to retrieve the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListCommentsResponse
constructor
A new instance of ListCommentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListCommentsResponse
Returns a new instance of ListCommentsResponse.
807 808 809 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 807 def initialize(**args) update!(**args) end |
Instance Attribute Details
#comments ⇒ Array<Google::Apis::CloudsupportV2beta::Comment>
The list of Comments associated with the given Case.
Corresponds to the JSON property comments
798 799 800 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 798 def comments @comments end |
#next_page_token ⇒ String
A token to retrieve the next page of results. This should be set in the
page_token field of subsequent ListCommentsRequest message that is issued.
If unspecified, there are no more results to retrieve.
Corresponds to the JSON property nextPageToken
805 806 807 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 805 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
812 813 814 815 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 812 def update!(**args) @comments = args[:comments] if args.key?(:comments) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |