Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListSampleQuerySetsResponse

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

Overview

Response message for SampleQuerySetService.ListSampleQuerySets method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListSampleQuerySetsResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaListSampleQuerySetsResponse.



8615
8616
8617
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8615

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)


8608
8609
8610
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8608

def next_page_token
  @next_page_token
end

#sample_query_setsArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSampleQuerySet>

The SampleQuerySets. Corresponds to the JSON property sampleQuerySets



8613
8614
8615
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8613

def sample_query_sets
  @sample_query_sets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8620
8621
8622
8623
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8620

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