Class: Google::Cloud::Retail::V2::OutputConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/retail/v2/export_config.rb

Overview

The output configuration setting.

Defined Under Namespace

Classes: BigQueryDestination, GcsDestination

Instance Attribute Summary collapse

Instance Attribute Details

#bigquery_destination::Google::Cloud::Retail::V2::OutputConfig::BigQueryDestination

Returns The BigQuery location where the output is to be written to.

Returns:



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# File 'proto_docs/google/cloud/retail/v2/export_config.rb', line 31

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

  # The Google Cloud Storage output destination configuration.
  # @!attribute [rw] output_uri_prefix
  #   @return [::String]
  #     Required. The output uri prefix for saving output data to json files.
  #     Some mapping examples are as follows:
  #     output_uri_prefix         sample output(assuming the object is foo.json)
  #     ========================  =============================================
  #     gs://bucket/              gs://bucket/foo.json
  #     gs://bucket/folder/       gs://bucket/folder/foo.json
  #     gs://bucket/folder/item_  gs://bucket/folder/item_foo.json
  class GcsDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The BigQuery output destination configuration.
  # @!attribute [rw] dataset_id
  #   @return [::String]
  #     Required. The ID of a BigQuery Dataset.
  # @!attribute [rw] table_id_prefix
  #   @return [::String]
  #     Required. The prefix of exported BigQuery tables.
  # @!attribute [rw] table_type
  #   @return [::String]
  #     Required. Describes the table type. The following values are supported:
  #
  #     * `table`: A BigQuery native table.
  #     * `view`: A virtual table defined by a SQL query.
  class BigQueryDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#gcs_destination::Google::Cloud::Retail::V2::OutputConfig::GcsDestination

Returns The Google Cloud Storage location where the output is to be written to.

Returns:



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# File 'proto_docs/google/cloud/retail/v2/export_config.rb', line 31

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

  # The Google Cloud Storage output destination configuration.
  # @!attribute [rw] output_uri_prefix
  #   @return [::String]
  #     Required. The output uri prefix for saving output data to json files.
  #     Some mapping examples are as follows:
  #     output_uri_prefix         sample output(assuming the object is foo.json)
  #     ========================  =============================================
  #     gs://bucket/              gs://bucket/foo.json
  #     gs://bucket/folder/       gs://bucket/folder/foo.json
  #     gs://bucket/folder/item_  gs://bucket/folder/item_foo.json
  class GcsDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The BigQuery output destination configuration.
  # @!attribute [rw] dataset_id
  #   @return [::String]
  #     Required. The ID of a BigQuery Dataset.
  # @!attribute [rw] table_id_prefix
  #   @return [::String]
  #     Required. The prefix of exported BigQuery tables.
  # @!attribute [rw] table_type
  #   @return [::String]
  #     Required. Describes the table type. The following values are supported:
  #
  #     * `table`: A BigQuery native table.
  #     * `view`: A virtual table defined by a SQL query.
  class BigQueryDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end