Class: Google::Apis::TranslateV3beta1::ListGlossariesResponse
- Inherits:
-
Object
- Object
- Google::Apis::TranslateV3beta1::ListGlossariesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/translate_v3beta1/classes.rb,
lib/google/apis/translate_v3beta1/representations.rb,
lib/google/apis/translate_v3beta1/representations.rb
Overview
Response message for ListGlossaries.
Instance Attribute Summary collapse
-
#glossaries ⇒ Array<Google::Apis::TranslateV3beta1::Glossary>
The list of glossaries for a project.
-
#next_page_token ⇒ String
A token to retrieve a page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListGlossariesResponse
constructor
A new instance of ListGlossariesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListGlossariesResponse
Returns a new instance of ListGlossariesResponse.
664 665 666 |
# File 'lib/google/apis/translate_v3beta1/classes.rb', line 664 def initialize(**args) update!(**args) end |
Instance Attribute Details
#glossaries ⇒ Array<Google::Apis::TranslateV3beta1::Glossary>
The list of glossaries for a project.
Corresponds to the JSON property glossaries
655 656 657 |
# File 'lib/google/apis/translate_v3beta1/classes.rb', line 655 def glossaries @glossaries end |
#next_page_token ⇒ String
A token to retrieve a page of results. Pass this value in the [
ListGlossariesRequest.page_token] field in the subsequent call to
ListGlossaries
method to retrieve the next page of results.
Corresponds to the JSON property nextPageToken
662 663 664 |
# File 'lib/google/apis/translate_v3beta1/classes.rb', line 662 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
669 670 671 672 |
# File 'lib/google/apis/translate_v3beta1/classes.rb', line 669 def update!(**args) @glossaries = args[:glossaries] if args.key?(:glossaries) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |