Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequestInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequestInlineSource
- 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
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequestInlineSource
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequestInlineSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequestInlineSource
Returns a new instance of GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequestInlineSource.
7972 7973 7974 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7972 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sample_queries ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSampleQuery>
Required. A list of SampleQuerys to import. Max of 1000 items.
Corresponds to the JSON property sampleQueries
7970 7971 7972 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7970 def sample_queries @sample_queries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7977 7978 7979 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7977 def update!(**args) @sample_queries = args[:sample_queries] if args.key?(:sample_queries) end |