Class: Google::Cloud::DiscoveryEngine::V1beta::ImportSampleQueriesRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb

Overview

Request message for SampleQueryService.ImportSampleQueries method.

Defined Under Namespace

Classes: InlineSource

Instance Attribute Summary collapse

Instance Attribute Details

#bigquery_source::Google::Cloud::DiscoveryEngine::V1beta::BigQuerySource

Returns BigQuery input source.

Returns:



838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
# File 'proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb', line 838

class ImportSampleQueriesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The inline source for
  # {::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery SampleQuery}s.
  # @!attribute [rw] sample_queries
  #   @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery>]
  #     Required. A list of
  #     {::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery SampleQuery}s to
  #     import. Max of 1000 items.
  class InlineSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#error_config::Google::Cloud::DiscoveryEngine::V1beta::ImportErrorConfig

Returns The desired location of errors incurred during the Import.

Returns:



838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
# File 'proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb', line 838

class ImportSampleQueriesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The inline source for
  # {::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery SampleQuery}s.
  # @!attribute [rw] sample_queries
  #   @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery>]
  #     Required. A list of
  #     {::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery SampleQuery}s to
  #     import. Max of 1000 items.
  class InlineSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#gcs_source::Google::Cloud::DiscoveryEngine::V1beta::GcsSource

Returns Cloud Storage location for the input content.

Returns:



838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
# File 'proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb', line 838

class ImportSampleQueriesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The inline source for
  # {::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery SampleQuery}s.
  # @!attribute [rw] sample_queries
  #   @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery>]
  #     Required. A list of
  #     {::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery SampleQuery}s to
  #     import. Max of 1000 items.
  class InlineSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#inline_source::Google::Cloud::DiscoveryEngine::V1beta::ImportSampleQueriesRequest::InlineSource

Returns The Inline source for sample query entries.

Returns:



838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
# File 'proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb', line 838

class ImportSampleQueriesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The inline source for
  # {::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery SampleQuery}s.
  # @!attribute [rw] sample_queries
  #   @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery>]
  #     Required. A list of
  #     {::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery SampleQuery}s to
  #     import. Max of 1000 items.
  class InlineSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#parent::String

Returns Required. The parent sample query set resource name, such as projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}.

If the caller does not have permission to list SampleQuerys under this sample query set, regardless of whether or not this sample query set exists, a PERMISSION_DENIED error is returned.

Returns:

  • (::String)

    Required. The parent sample query set resource name, such as projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}.

    If the caller does not have permission to list SampleQuerys under this sample query set, regardless of whether or not this sample query set exists, a PERMISSION_DENIED error is returned.



838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
# File 'proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb', line 838

class ImportSampleQueriesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The inline source for
  # {::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery SampleQuery}s.
  # @!attribute [rw] sample_queries
  #   @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery>]
  #     Required. A list of
  #     {::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery SampleQuery}s to
  #     import. Max of 1000 items.
  class InlineSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end