Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequestInlineSource

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

The inline source for SampleQuerys.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequestInlineSource

Returns a new instance of GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequestInlineSource.



11579
11580
11581
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 11579

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

Instance Attribute Details

#sample_queriesArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSampleQuery>

Required. A list of SampleQuerys to import. Max of 1000 items. Corresponds to the JSON property sampleQueries



11577
11578
11579
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 11577

def sample_queries
  @sample_queries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11584
11585
11586
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 11584

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