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.



15859
15860
15861
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15859

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)


15852
15853
15854
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15852

def next_page_token
  @next_page_token
end

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

The SampleQuerySets. Corresponds to the JSON property sampleQuerySets



15857
15858
15859
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15857

def sample_query_sets
  @sample_query_sets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15864
15865
15866
15867
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15864

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