Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse
- 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 SampleQueryService.ListSampleQueries method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token that can be sent as ListSampleQueriesRequest.page_token to retrieve the next page.
-
#sample_queries ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSampleQuery>
The SampleQuerys.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse
Returns a new instance of GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse.
12267 12268 12269 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12267 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
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
12260 12261 12262 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12260 def next_page_token @next_page_token end |
#sample_queries ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSampleQuery>
The SampleQuerys.
Corresponds to the JSON property sampleQueries
12265 12266 12267 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12265 def sample_queries @sample_queries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12272 12273 12274 12275 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12272 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 |