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.

Note: The following fields are mutually exclusive: bigquery_source, inline_source, gcs_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
# File 'proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb', line 878

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:



878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
# File 'proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb', line 878

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.

Note: The following fields are mutually exclusive: gcs_source, inline_source, bigquery_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::DiscoveryEngine::V1beta::GcsSource)

    Cloud Storage location for the input content.

    Note: The following fields are mutually exclusive: gcs_source, inline_source, bigquery_source. If a field in that set is populated, all other fields in the set will automatically be cleared.



878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
# File 'proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb', line 878

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.

Note: The following fields are mutually exclusive: inline_source, gcs_source, bigquery_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
# File 'proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb', line 878

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.



878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
# File 'proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb', line 878

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