Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListNotesResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb

Overview

The response of listing notes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1ListNotesResponse

Returns a new instance of GoogleCloudContactcenterinsightsV1ListNotesResponse.



6692
6693
6694
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6692

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

Instance Attribute Details

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


6685
6686
6687
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6685

def next_page_token
  @next_page_token
end

#notesArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note>

The notes that match the request. Corresponds to the JSON property notes



6690
6691
6692
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6690

def notes
  @notes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6697
6698
6699
6700
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6697

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