Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListSampleQuerySetsResponse

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

Overview

Response message for SampleQuerySetService.ListSampleQuerySets method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaListSampleQuerySetsResponse

Returns a new instance of GoogleCloudDiscoveryengineV1betaListSampleQuerySetsResponse.



27345
27346
27347
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 27345

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

Instance Attribute Details

#next_page_tokenString

A token that can be sent as ListSampleQuerySetsRequest.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)


27338
27339
27340
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 27338

def next_page_token
  @next_page_token
end

#sample_query_setsArray<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSampleQuerySet>

The SampleQuerySets. Corresponds to the JSON property sampleQuerySets



27343
27344
27345
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 27343

def sample_query_sets
  @sample_query_sets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27350
27351
27352
27353
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 27350

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