Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse

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 SampleQueryService.ListSampleQueries method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse

Returns a new instance of GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse.



17513
17514
17515
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17513

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

Instance Attribute Details

#next_page_tokenString

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


17506
17507
17508
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17506

def next_page_token
  @next_page_token
end

#sample_queriesArray<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSampleQuery>

The SampleQuerys. Corresponds to the JSON property sampleQueries



17511
17512
17513
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17511

def sample_queries
  @sample_queries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17518
17519
17520
17521
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17518

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