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.



7972
7973
7974
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7972

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



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