Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.2.5" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.2.5" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -310,14 +310,18 @@ async def insert_product_input(
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
) -> productinputs.ProductInput:
r"""Uploads a product input to your Merchant Center
account. If an input with the same contentLanguage,
offerId, and dataSource already exists, this method
replaces that entry.
r"""`Uploads a product input to your Merchant Center
account </merchant/api/guides/products/overview#upload-product-input>`__.
You must have a products data source to be able to insert a
product. The unique identifier of the data source is passed as a
query parameter in the request URL.

After inserting, updating, or deleting a product input,
it may take several minutes before the processed product
can be retrieved.
If an input with the same contentLanguage, offerId, and
dataSource already exists, this method replaces that entry.

After inserting, updating, or deleting a product input, it may
take several minutes before the processed product can be
retrieved.

.. code-block:: python

Expand Down Expand Up @@ -372,6 +376,8 @@ async def sample_insert_product_input():
inputs, rules and supplemental data source data are
combined to create the processed
[Product][google.shopping.merchant.products.v1beta.Product].
For more information, see [Manage
products](/merchant/api/guides/products/overview).

Required product input attributes to pass data
validation checks are primarily defined in the
Expand All @@ -390,8 +396,14 @@ async def sample_insert_product_input():

All fields in the product input and its sub-messages
match the English name of their corresponding
attribute in the vertical spec with [some
attribute in the [Products Data
Specification](\ https://support.google.com/merchants/answer/188494)
with [some
exceptions](\ https://support.google.com/merchants/answer/7052112).
The following reference documentation lists the field
names in the **camelCase** casing style while the
Products Data Specification lists the names in the
**snake_case** casing style.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -530,6 +542,8 @@ async def sample_update_product_input():
inputs, rules and supplemental data source data are
combined to create the processed
[Product][google.shopping.merchant.products.v1beta.Product].
For more information, see [Manage
products](/merchant/api/guides/products/overview).

Required product input attributes to pass data
validation checks are primarily defined in the
Expand All @@ -548,8 +562,14 @@ async def sample_update_product_input():

All fields in the product input and its sub-messages
match the English name of their corresponding
attribute in the vertical spec with [some
attribute in the [Products Data
Specification](\ https://support.google.com/merchants/answer/188494)
with [some
exceptions](\ https://support.google.com/merchants/answer/7052112).
The following reference documentation lists the field
names in the **camelCase** casing style while the
Products Data Specification lists the names in the
**snake_case** casing style.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -651,11 +671,11 @@ async def sample_delete_product_input():
name (:class:`str`):
Required. The name of the product input resource to
delete. Format:
accounts/{account}/productInputs/{product} where the
``accounts/{account}/productInputs/{product}`` where the
last section ``product`` consists of 4 parts:
channel~content_language~feed_label~offer_id example for
product name is
"accounts/123/productInputs/online~en~US~sku123"
``channel~content_language~feed_label~offer_id`` example
for product name is
``accounts/123/productInputs/online~en~US~sku123``.

This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -744,14 +744,18 @@ def insert_product_input(
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
) -> productinputs.ProductInput:
r"""Uploads a product input to your Merchant Center
account. If an input with the same contentLanguage,
offerId, and dataSource already exists, this method
replaces that entry.
r"""`Uploads a product input to your Merchant Center
account </merchant/api/guides/products/overview#upload-product-input>`__.
You must have a products data source to be able to insert a
product. The unique identifier of the data source is passed as a
query parameter in the request URL.

After inserting, updating, or deleting a product input,
it may take several minutes before the processed product
can be retrieved.
If an input with the same contentLanguage, offerId, and
dataSource already exists, this method replaces that entry.

After inserting, updating, or deleting a product input, it may
take several minutes before the processed product can be
retrieved.

.. code-block:: python

Expand Down Expand Up @@ -806,6 +810,8 @@ def sample_insert_product_input():
inputs, rules and supplemental data source data are
combined to create the processed
[Product][google.shopping.merchant.products.v1beta.Product].
For more information, see [Manage
products](/merchant/api/guides/products/overview).

Required product input attributes to pass data
validation checks are primarily defined in the
Expand All @@ -824,8 +830,14 @@ def sample_insert_product_input():

All fields in the product input and its sub-messages
match the English name of their corresponding
attribute in the vertical spec with [some
attribute in the [Products Data
Specification](\ https://support.google.com/merchants/answer/188494)
with [some
exceptions](\ https://support.google.com/merchants/answer/7052112).
The following reference documentation lists the field
names in the **camelCase** casing style while the
Products Data Specification lists the names in the
**snake_case** casing style.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -962,6 +974,8 @@ def sample_update_product_input():
inputs, rules and supplemental data source data are
combined to create the processed
[Product][google.shopping.merchant.products.v1beta.Product].
For more information, see [Manage
products](/merchant/api/guides/products/overview).

Required product input attributes to pass data
validation checks are primarily defined in the
Expand All @@ -980,8 +994,14 @@ def sample_update_product_input():

All fields in the product input and its sub-messages
match the English name of their corresponding
attribute in the vertical spec with [some
attribute in the [Products Data
Specification](\ https://support.google.com/merchants/answer/188494)
with [some
exceptions](\ https://support.google.com/merchants/answer/7052112).
The following reference documentation lists the field
names in the **camelCase** casing style while the
Products Data Specification lists the names in the
**snake_case** casing style.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -1080,11 +1100,11 @@ def sample_delete_product_input():
name (str):
Required. The name of the product input resource to
delete. Format:
accounts/{account}/productInputs/{product} where the
``accounts/{account}/productInputs/{product}`` where the
last section ``product`` consists of 4 parts:
channel~content_language~feed_label~offer_id example for
product name is
"accounts/123/productInputs/online~en~US~sku123"
``channel~content_language~feed_label~offer_id`` example
for product name is
``accounts/123/productInputs/online~en~US~sku123``.

This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,14 +329,18 @@ def insert_product_input(
]:
r"""Return a callable for the insert product input method over gRPC.

Uploads a product input to your Merchant Center
account. If an input with the same contentLanguage,
offerId, and dataSource already exists, this method
replaces that entry.

After inserting, updating, or deleting a product input,
it may take several minutes before the processed product
can be retrieved.
`Uploads a product input to your Merchant Center
account </merchant/api/guides/products/overview#upload-product-input>`__.
You must have a products data source to be able to insert a
product. The unique identifier of the data source is passed as a
query parameter in the request URL.

If an input with the same contentLanguage, offerId, and
dataSource already exists, this method replaces that entry.

After inserting, updating, or deleting a product input, it may
take several minutes before the processed product can be
retrieved.

Returns:
Callable[[~.InsertProductInputRequest],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,14 +337,18 @@ def insert_product_input(
]:
r"""Return a callable for the insert product input method over gRPC.

Uploads a product input to your Merchant Center
account. If an input with the same contentLanguage,
offerId, and dataSource already exists, this method
replaces that entry.

After inserting, updating, or deleting a product input,
it may take several minutes before the processed product
can be retrieved.
`Uploads a product input to your Merchant Center
account </merchant/api/guides/products/overview#upload-product-input>`__.
You must have a products data source to be able to insert a
product. The unique identifier of the data source is passed as a
query parameter in the request URL.

If an input with the same contentLanguage, offerId, and
dataSource already exists, this method replaces that entry.

After inserting, updating, or deleting a product input, it may
take several minutes before the processed product can be
retrieved.

Returns:
Callable[[~.InsertProductInputRequest],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,8 @@ def __call__(
surfaces. Product inputs, rules and supplemental data
source data are combined to create the processed
[Product][google.shopping.merchant.products.v1beta.Product].
For more information, see `Manage
products </merchant/api/guides/products/overview>`__.

Required product input attributes to pass data
validation checks are primarily defined in the `Products
Expand All @@ -487,8 +489,14 @@ def __call__(

All fields in the product input and its sub-messages
match the English name of their corresponding attribute
in the vertical spec with `some
in the `Products Data
Specification <https://support.google.com/merchants/answer/188494>`__
with `some
exceptions <https://support.google.com/merchants/answer/7052112>`__.
The following reference documentation lists the field
names in the **camelCase** casing style while the
Products Data Specification lists the names in the
**snake_case** casing style.

"""

Expand Down Expand Up @@ -656,6 +664,8 @@ def __call__(
surfaces. Product inputs, rules and supplemental data
source data are combined to create the processed
[Product][google.shopping.merchant.products.v1beta.Product].
For more information, see `Manage
products </merchant/api/guides/products/overview>`__.

Required product input attributes to pass data
validation checks are primarily defined in the `Products
Expand All @@ -674,8 +684,14 @@ def __call__(

All fields in the product input and its sub-messages
match the English name of their corresponding attribute
in the vertical spec with `some
in the `Products Data
Specification <https://support.google.com/merchants/answer/188494>`__
with `some
exceptions <https://support.google.com/merchants/answer/7052112>`__.
The following reference documentation lists the field
names in the **camelCase** casing style while the
Products Data Specification lists the names in the
**snake_case** casing style.

"""

Expand Down
Loading
Loading