Class: Google::Apis::TranslateV3::ListGlossaryEntriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::TranslateV3::ListGlossaryEntriesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/translate_v3/classes.rb,
lib/google/apis/translate_v3/representations.rb,
lib/google/apis/translate_v3/representations.rb
Overview
Response message for ListGlossaryEntries
Instance Attribute Summary collapse
-
#glossary_entries ⇒ Array<Google::Apis::TranslateV3::GlossaryEntry>
Optional.
-
#next_page_token ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListGlossaryEntriesResponse
constructor
A new instance of ListGlossaryEntriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListGlossaryEntriesResponse
Returns a new instance of ListGlossaryEntriesResponse.
779 780 781 |
# File 'lib/google/apis/translate_v3/classes.rb', line 779 def initialize(**args) update!(**args) end |
Instance Attribute Details
#glossary_entries ⇒ Array<Google::Apis::TranslateV3::GlossaryEntry>
Optional. The Glossary Entries
Corresponds to the JSON property glossaryEntries
771 772 773 |
# File 'lib/google/apis/translate_v3/classes.rb', line 771 def glossary_entries @glossary_entries end |
#next_page_token ⇒ String
Optional. A token to retrieve a page of results. Pass this value in the [
ListGLossaryEntriesRequest.page_token] field in the subsequent calls.
Corresponds to the JSON property nextPageToken
777 778 779 |
# File 'lib/google/apis/translate_v3/classes.rb', line 777 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
784 785 786 787 |
# File 'lib/google/apis/translate_v3/classes.rb', line 784 def update!(**args) @glossary_entries = args[:glossary_entries] if args.key?(:glossary_entries) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |