Class: Google::Shopping::Merchant::DataSources::V1beta::DataSource

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/merchant/datasources/v1beta/datasources.rb

Overview

The data source for the Merchant Center account.

Defined Under Namespace

Modules: Input

Instance Attribute Summary collapse

Instance Attribute Details

#data_source_id::Integer (readonly)

Returns Output only. The data source id.

Returns:

  • (::Integer)

    Output only. The data source id.



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# File 'proto_docs/google/shopping/merchant/datasources/v1beta/datasources.rb', line 94

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

  # Determines the type of input to the data source. Based on the input some
  # settings might not be supported.
  module Input
    # Input unspecified.
    INPUT_UNSPECIFIED = 0

    # Represents data sources for which the data is primarily provided through
    # the API.
    API = 1

    # Represents data sources for which the data is primarily provided through
    # file input. Data can still be provided through the API.
    FILE = 2

    # The data source for products added directly in Merchant Center.
    #
    # This type of data source can not be created or updated through this API,
    # only by Merchant Center UI.
    #
    # This type of data source is read only.
    UI = 3

    # This is also known as
    # [Automated feeds](https://support.google.com/merchants/answer/12158480)
    # used to automatically build your product data. This type of data source
    # can be enabled or disabled through the Accounts bundle.
    AUTOFEED = 4
  end
end

#display_name::String

Returns Required. The displayed data source name in the Merchant Center UI.

Returns:

  • (::String)

    Required. The displayed data source name in the Merchant Center UI.



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# File 'proto_docs/google/shopping/merchant/datasources/v1beta/datasources.rb', line 94

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

  # Determines the type of input to the data source. Based on the input some
  # settings might not be supported.
  module Input
    # Input unspecified.
    INPUT_UNSPECIFIED = 0

    # Represents data sources for which the data is primarily provided through
    # the API.
    API = 1

    # Represents data sources for which the data is primarily provided through
    # file input. Data can still be provided through the API.
    FILE = 2

    # The data source for products added directly in Merchant Center.
    #
    # This type of data source can not be created or updated through this API,
    # only by Merchant Center UI.
    #
    # This type of data source is read only.
    UI = 3

    # This is also known as
    # [Automated feeds](https://support.google.com/merchants/answer/12158480)
    # used to automatically build your product data. This type of data source
    # can be enabled or disabled through the Accounts bundle.
    AUTOFEED = 4
  end
end

#file_input::Google::Shopping::Merchant::DataSources::V1beta::FileInput

Returns Optional. The field is used only when data is managed through a file.

Returns:



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# File 'proto_docs/google/shopping/merchant/datasources/v1beta/datasources.rb', line 94

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

  # Determines the type of input to the data source. Based on the input some
  # settings might not be supported.
  module Input
    # Input unspecified.
    INPUT_UNSPECIFIED = 0

    # Represents data sources for which the data is primarily provided through
    # the API.
    API = 1

    # Represents data sources for which the data is primarily provided through
    # file input. Data can still be provided through the API.
    FILE = 2

    # The data source for products added directly in Merchant Center.
    #
    # This type of data source can not be created or updated through this API,
    # only by Merchant Center UI.
    #
    # This type of data source is read only.
    UI = 3

    # This is also known as
    # [Automated feeds](https://support.google.com/merchants/answer/12158480)
    # used to automatically build your product data. This type of data source
    # can be enabled or disabled through the Accounts bundle.
    AUTOFEED = 4
  end
end

#input::Google::Shopping::Merchant::DataSources::V1beta::DataSource::Input (readonly)

Returns Output only. Determines the type of input to the data source. Based on the input some settings might not work. Only generic data sources can be created through the API.

Returns:



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# File 'proto_docs/google/shopping/merchant/datasources/v1beta/datasources.rb', line 94

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

  # Determines the type of input to the data source. Based on the input some
  # settings might not be supported.
  module Input
    # Input unspecified.
    INPUT_UNSPECIFIED = 0

    # Represents data sources for which the data is primarily provided through
    # the API.
    API = 1

    # Represents data sources for which the data is primarily provided through
    # file input. Data can still be provided through the API.
    FILE = 2

    # The data source for products added directly in Merchant Center.
    #
    # This type of data source can not be created or updated through this API,
    # only by Merchant Center UI.
    #
    # This type of data source is read only.
    UI = 3

    # This is also known as
    # [Automated feeds](https://support.google.com/merchants/answer/12158480)
    # used to automatically build your product data. This type of data source
    # can be enabled or disabled through the Accounts bundle.
    AUTOFEED = 4
  end
end

#local_inventory_data_source::Google::Shopping::Merchant::DataSources::V1beta::LocalInventoryDataSource

Returns The local inventory data source.

Note: The following fields are mutually exclusive: local_inventory_data_source, primary_product_data_source, supplemental_product_data_source, regional_inventory_data_source, promotion_data_source, product_review_data_source, merchant_review_data_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Shopping::Merchant::DataSources::V1beta::LocalInventoryDataSource)

    The local inventory data source.

    Note: The following fields are mutually exclusive: local_inventory_data_source, primary_product_data_source, supplemental_product_data_source, regional_inventory_data_source, promotion_data_source, product_review_data_source, merchant_review_data_source. If a field in that set is populated, all other fields in the set will automatically be cleared.



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# File 'proto_docs/google/shopping/merchant/datasources/v1beta/datasources.rb', line 94

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

  # Determines the type of input to the data source. Based on the input some
  # settings might not be supported.
  module Input
    # Input unspecified.
    INPUT_UNSPECIFIED = 0

    # Represents data sources for which the data is primarily provided through
    # the API.
    API = 1

    # Represents data sources for which the data is primarily provided through
    # file input. Data can still be provided through the API.
    FILE = 2

    # The data source for products added directly in Merchant Center.
    #
    # This type of data source can not be created or updated through this API,
    # only by Merchant Center UI.
    #
    # This type of data source is read only.
    UI = 3

    # This is also known as
    # [Automated feeds](https://support.google.com/merchants/answer/12158480)
    # used to automatically build your product data. This type of data source
    # can be enabled or disabled through the Accounts bundle.
    AUTOFEED = 4
  end
end

#merchant_review_data_source::Google::Shopping::Merchant::DataSources::V1beta::MerchantReviewDataSource

Returns The merchant review data source.

Note: The following fields are mutually exclusive: merchant_review_data_source, primary_product_data_source, supplemental_product_data_source, local_inventory_data_source, regional_inventory_data_source, promotion_data_source, product_review_data_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Shopping::Merchant::DataSources::V1beta::MerchantReviewDataSource)

    The merchant review data source.

    Note: The following fields are mutually exclusive: merchant_review_data_source, primary_product_data_source, supplemental_product_data_source, local_inventory_data_source, regional_inventory_data_source, promotion_data_source, product_review_data_source. If a field in that set is populated, all other fields in the set will automatically be cleared.



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# File 'proto_docs/google/shopping/merchant/datasources/v1beta/datasources.rb', line 94

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

  # Determines the type of input to the data source. Based on the input some
  # settings might not be supported.
  module Input
    # Input unspecified.
    INPUT_UNSPECIFIED = 0

    # Represents data sources for which the data is primarily provided through
    # the API.
    API = 1

    # Represents data sources for which the data is primarily provided through
    # file input. Data can still be provided through the API.
    FILE = 2

    # The data source for products added directly in Merchant Center.
    #
    # This type of data source can not be created or updated through this API,
    # only by Merchant Center UI.
    #
    # This type of data source is read only.
    UI = 3

    # This is also known as
    # [Automated feeds](https://support.google.com/merchants/answer/12158480)
    # used to automatically build your product data. This type of data source
    # can be enabled or disabled through the Accounts bundle.
    AUTOFEED = 4
  end
end

#name::String

Returns Identifier. The name of the data source. Format: {datasource.name=accounts/{account}/dataSources/{datasource}}.

Returns:

  • (::String)

    Identifier. The name of the data source. Format: {datasource.name=accounts/{account}/dataSources/{datasource}}



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# File 'proto_docs/google/shopping/merchant/datasources/v1beta/datasources.rb', line 94

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

  # Determines the type of input to the data source. Based on the input some
  # settings might not be supported.
  module Input
    # Input unspecified.
    INPUT_UNSPECIFIED = 0

    # Represents data sources for which the data is primarily provided through
    # the API.
    API = 1

    # Represents data sources for which the data is primarily provided through
    # file input. Data can still be provided through the API.
    FILE = 2

    # The data source for products added directly in Merchant Center.
    #
    # This type of data source can not be created or updated through this API,
    # only by Merchant Center UI.
    #
    # This type of data source is read only.
    UI = 3

    # This is also known as
    # [Automated feeds](https://support.google.com/merchants/answer/12158480)
    # used to automatically build your product data. This type of data source
    # can be enabled or disabled through the Accounts bundle.
    AUTOFEED = 4
  end
end

#primary_product_data_source::Google::Shopping::Merchant::DataSources::V1beta::PrimaryProductDataSource

Returns The primary data source for local and online products.

Note: The following fields are mutually exclusive: primary_product_data_source, supplemental_product_data_source, local_inventory_data_source, regional_inventory_data_source, promotion_data_source, product_review_data_source, merchant_review_data_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Shopping::Merchant::DataSources::V1beta::PrimaryProductDataSource)

    The primary data source for local and online products.

    Note: The following fields are mutually exclusive: primary_product_data_source, supplemental_product_data_source, local_inventory_data_source, regional_inventory_data_source, promotion_data_source, product_review_data_source, merchant_review_data_source. If a field in that set is populated, all other fields in the set will automatically be cleared.



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# File 'proto_docs/google/shopping/merchant/datasources/v1beta/datasources.rb', line 94

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

  # Determines the type of input to the data source. Based on the input some
  # settings might not be supported.
  module Input
    # Input unspecified.
    INPUT_UNSPECIFIED = 0

    # Represents data sources for which the data is primarily provided through
    # the API.
    API = 1

    # Represents data sources for which the data is primarily provided through
    # file input. Data can still be provided through the API.
    FILE = 2

    # The data source for products added directly in Merchant Center.
    #
    # This type of data source can not be created or updated through this API,
    # only by Merchant Center UI.
    #
    # This type of data source is read only.
    UI = 3

    # This is also known as
    # [Automated feeds](https://support.google.com/merchants/answer/12158480)
    # used to automatically build your product data. This type of data source
    # can be enabled or disabled through the Accounts bundle.
    AUTOFEED = 4
  end
end

#product_review_data_source::Google::Shopping::Merchant::DataSources::V1beta::ProductReviewDataSource

Returns The product review data source.

Note: The following fields are mutually exclusive: product_review_data_source, primary_product_data_source, supplemental_product_data_source, local_inventory_data_source, regional_inventory_data_source, promotion_data_source, merchant_review_data_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Shopping::Merchant::DataSources::V1beta::ProductReviewDataSource)

    The product review data source.

    Note: The following fields are mutually exclusive: product_review_data_source, primary_product_data_source, supplemental_product_data_source, local_inventory_data_source, regional_inventory_data_source, promotion_data_source, merchant_review_data_source. If a field in that set is populated, all other fields in the set will automatically be cleared.



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# File 'proto_docs/google/shopping/merchant/datasources/v1beta/datasources.rb', line 94

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

  # Determines the type of input to the data source. Based on the input some
  # settings might not be supported.
  module Input
    # Input unspecified.
    INPUT_UNSPECIFIED = 0

    # Represents data sources for which the data is primarily provided through
    # the API.
    API = 1

    # Represents data sources for which the data is primarily provided through
    # file input. Data can still be provided through the API.
    FILE = 2

    # The data source for products added directly in Merchant Center.
    #
    # This type of data source can not be created or updated through this API,
    # only by Merchant Center UI.
    #
    # This type of data source is read only.
    UI = 3

    # This is also known as
    # [Automated feeds](https://support.google.com/merchants/answer/12158480)
    # used to automatically build your product data. This type of data source
    # can be enabled or disabled through the Accounts bundle.
    AUTOFEED = 4
  end
end

#promotion_data_source::Google::Shopping::Merchant::DataSources::V1beta::PromotionDataSource

Returns The promotion data source.

Note: The following fields are mutually exclusive: promotion_data_source, primary_product_data_source, supplemental_product_data_source, local_inventory_data_source, regional_inventory_data_source, product_review_data_source, merchant_review_data_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Shopping::Merchant::DataSources::V1beta::PromotionDataSource)

    The promotion data source.

    Note: The following fields are mutually exclusive: promotion_data_source, primary_product_data_source, supplemental_product_data_source, local_inventory_data_source, regional_inventory_data_source, product_review_data_source, merchant_review_data_source. If a field in that set is populated, all other fields in the set will automatically be cleared.



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# File 'proto_docs/google/shopping/merchant/datasources/v1beta/datasources.rb', line 94

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

  # Determines the type of input to the data source. Based on the input some
  # settings might not be supported.
  module Input
    # Input unspecified.
    INPUT_UNSPECIFIED = 0

    # Represents data sources for which the data is primarily provided through
    # the API.
    API = 1

    # Represents data sources for which the data is primarily provided through
    # file input. Data can still be provided through the API.
    FILE = 2

    # The data source for products added directly in Merchant Center.
    #
    # This type of data source can not be created or updated through this API,
    # only by Merchant Center UI.
    #
    # This type of data source is read only.
    UI = 3

    # This is also known as
    # [Automated feeds](https://support.google.com/merchants/answer/12158480)
    # used to automatically build your product data. This type of data source
    # can be enabled or disabled through the Accounts bundle.
    AUTOFEED = 4
  end
end

#regional_inventory_data_source::Google::Shopping::Merchant::DataSources::V1beta::RegionalInventoryDataSource

Returns The regional inventory data source.

Note: The following fields are mutually exclusive: regional_inventory_data_source, primary_product_data_source, supplemental_product_data_source, local_inventory_data_source, promotion_data_source, product_review_data_source, merchant_review_data_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# File 'proto_docs/google/shopping/merchant/datasources/v1beta/datasources.rb', line 94

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

  # Determines the type of input to the data source. Based on the input some
  # settings might not be supported.
  module Input
    # Input unspecified.
    INPUT_UNSPECIFIED = 0

    # Represents data sources for which the data is primarily provided through
    # the API.
    API = 1

    # Represents data sources for which the data is primarily provided through
    # file input. Data can still be provided through the API.
    FILE = 2

    # The data source for products added directly in Merchant Center.
    #
    # This type of data source can not be created or updated through this API,
    # only by Merchant Center UI.
    #
    # This type of data source is read only.
    UI = 3

    # This is also known as
    # [Automated feeds](https://support.google.com/merchants/answer/12158480)
    # used to automatically build your product data. This type of data source
    # can be enabled or disabled through the Accounts bundle.
    AUTOFEED = 4
  end
end

#supplemental_product_data_source::Google::Shopping::Merchant::DataSources::V1beta::SupplementalProductDataSource

Returns The supplemental data source for local and online products.

Note: The following fields are mutually exclusive: supplemental_product_data_source, primary_product_data_source, local_inventory_data_source, regional_inventory_data_source, promotion_data_source, product_review_data_source, merchant_review_data_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# File 'proto_docs/google/shopping/merchant/datasources/v1beta/datasources.rb', line 94

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

  # Determines the type of input to the data source. Based on the input some
  # settings might not be supported.
  module Input
    # Input unspecified.
    INPUT_UNSPECIFIED = 0

    # Represents data sources for which the data is primarily provided through
    # the API.
    API = 1

    # Represents data sources for which the data is primarily provided through
    # file input. Data can still be provided through the API.
    FILE = 2

    # The data source for products added directly in Merchant Center.
    #
    # This type of data source can not be created or updated through this API,
    # only by Merchant Center UI.
    #
    # This type of data source is read only.
    UI = 3

    # This is also known as
    # [Automated feeds](https://support.google.com/merchants/answer/12158480)
    # used to automatically build your product data. This type of data source
    # can be enabled or disabled through the Accounts bundle.
    AUTOFEED = 4
  end
end