Class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ListSynonymSetsResponse

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

Overview

Response message for SynonymSetService.ListSynonymSets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContentwarehouseV1ListSynonymSetsResponse

Returns a new instance of GoogleCloudContentwarehouseV1ListSynonymSetsResponse.



2381
2382
2383
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2381

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

Instance Attribute Details

#next_page_tokenString

A page token, received from a previous ListSynonymSets call. Provide this to retrieve the subsequent page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2374
2375
2376
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2374

def next_page_token
  @next_page_token
end

#synonym_setsArray<Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1SynonymSet>

The synonymSets from the specified parent. Corresponds to the JSON property synonymSets



2379
2380
2381
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2379

def synonym_sets
  @synonym_sets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2386
2387
2388
2389
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2386

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