Skip to content

Commit

Permalink
feat: Add FileUploads service (#27360)
Browse files Browse the repository at this point in the history
docs: A comment for enum value `PRODUCTS` in enum `Channel` is changed
  • Loading branch information
gcf-owl-bot[bot] authored Sep 25, 2024
1 parent be9fa35 commit 16234fa
Show file tree
Hide file tree
Showing 25 changed files with 2,053 additions and 5 deletions.
15 changes: 15 additions & 0 deletions google-shopping-merchant-data_sources-v1beta/.owlbot-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,21 @@
"lib/google/shopping/merchant/data_sources/v1beta/data_sources_service/rest.rb",
"lib/google/shopping/merchant/data_sources/v1beta/data_sources_service/rest/client.rb",
"lib/google/shopping/merchant/data_sources/v1beta/data_sources_service/rest/service_stub.rb",
"lib/google/shopping/merchant/data_sources/v1beta/file_uploads_service.rb",
"lib/google/shopping/merchant/data_sources/v1beta/file_uploads_service/client.rb",
"lib/google/shopping/merchant/data_sources/v1beta/file_uploads_service/credentials.rb",
"lib/google/shopping/merchant/data_sources/v1beta/file_uploads_service/paths.rb",
"lib/google/shopping/merchant/data_sources/v1beta/file_uploads_service/rest.rb",
"lib/google/shopping/merchant/data_sources/v1beta/file_uploads_service/rest/client.rb",
"lib/google/shopping/merchant/data_sources/v1beta/file_uploads_service/rest/service_stub.rb",
"lib/google/shopping/merchant/data_sources/v1beta/rest.rb",
"lib/google/shopping/merchant/data_sources/v1beta/version.rb",
"lib/google/shopping/merchant/datasources/v1beta/datasources_pb.rb",
"lib/google/shopping/merchant/datasources/v1beta/datasources_services_pb.rb",
"lib/google/shopping/merchant/datasources/v1beta/datasourcetypes_pb.rb",
"lib/google/shopping/merchant/datasources/v1beta/fileinputs_pb.rb",
"lib/google/shopping/merchant/datasources/v1beta/fileuploads_pb.rb",
"lib/google/shopping/merchant/datasources/v1beta/fileuploads_services_pb.rb",
"proto_docs/README.md",
"proto_docs/google/api/client.rb",
"proto_docs/google/api/field_behavior.rb",
Expand All @@ -36,9 +45,11 @@
"proto_docs/google/protobuf/duration.rb",
"proto_docs/google/protobuf/empty.rb",
"proto_docs/google/protobuf/field_mask.rb",
"proto_docs/google/protobuf/timestamp.rb",
"proto_docs/google/shopping/merchant/datasources/v1beta/datasources.rb",
"proto_docs/google/shopping/merchant/datasources/v1beta/datasourcetypes.rb",
"proto_docs/google/shopping/merchant/datasources/v1beta/fileinputs.rb",
"proto_docs/google/shopping/merchant/datasources/v1beta/fileuploads.rb",
"proto_docs/google/type/dayofweek.rb",
"proto_docs/google/type/timeofday.rb",
"snippets/Gemfile",
Expand All @@ -48,10 +59,14 @@
"snippets/data_sources_service/get_data_source.rb",
"snippets/data_sources_service/list_data_sources.rb",
"snippets/data_sources_service/update_data_source.rb",
"snippets/file_uploads_service/get_file_upload.rb",
"snippets/snippet_metadata_google.shopping.merchant.datasources.v1beta.json",
"test/google/shopping/merchant/data_sources/v1beta/data_sources_service_paths_test.rb",
"test/google/shopping/merchant/data_sources/v1beta/data_sources_service_rest_test.rb",
"test/google/shopping/merchant/data_sources/v1beta/data_sources_service_test.rb",
"test/google/shopping/merchant/data_sources/v1beta/file_uploads_service_paths_test.rb",
"test/google/shopping/merchant/data_sources/v1beta/file_uploads_service_rest_test.rb",
"test/google/shopping/merchant/data_sources/v1beta/file_uploads_service_test.rb",
"test/helper.rb"
],
"static": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"release_level": "preview",
"repo": "googleapis/google-cloud-ruby",
"requires_billing": true,
"ruby-cloud-description": "Programmatically manage your Merchant Center accounts. Note that google-shopping-merchant-data_sources-v1beta is a version-specific client library. For most uses, we recommend installing the main client library google-shopping-merchant-data_sources instead. See the readme for more details.",
"ruby-cloud-description": "Merchant API consists of multiple Sub-APIs. Accounts Sub-API: Enables you to programmatically manage your accounts. Conversions Sub-API: Enables you to programmatically manage your conversion sources for a merchant account. Datasources Sub-API: Enables you to programmatically manage your datasources. Inventories Sub-API: This bundle enables you to programmatically manage your local and regional inventories. Local Feeds Partnerships Sub-API: This bundle enables LFP partners to submit local inventories for a merchant. Notifications Sub-API: This bundle enables you to programmatically manage your notification subscriptions. Products Sub-API: This bundle enables you to programmatically manage your products. Promotions Sub-API: This bundle enables you to programmatically manage your promotions for products. Quota Sub-API: This bundle enables you to list your quotas for all APIs you are using. Reports Sub-API: This bundle enables you to programmatically retrieve reports and insights about products, their performance and their competitive environment. Note that google-shopping-merchant-data_sources-v1beta is a version-specific client library. For most uses, we recommend installing the main client library google-shopping-merchant-data_sources instead. See the readme for more details.",
"ruby-cloud-product-url": "https://developers.google.com/merchant/api",
"library_type": "GAPIC_AUTO"
}
3 changes: 2 additions & 1 deletion google-shopping-merchant-data_sources-v1beta/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Ruby Client for the Merchant V1BETA API

Programmatically manage your Merchant Center accounts.
Programmatically manage your Merchant Center Accounts.

Merchant API consists of multiple Sub-APIs. Accounts Sub-API: Enables you to programmatically manage your accounts. Conversions Sub-API: Enables you to programmatically manage your conversion sources for a merchant account. Datasources Sub-API: Enables you to programmatically manage your datasources. Inventories Sub-API: This bundle enables you to programmatically manage your local and regional inventories. Local Feeds Partnerships Sub-API: This bundle enables LFP partners to submit local inventories for a merchant. Notifications Sub-API: This bundle enables you to programmatically manage your notification subscriptions. Products Sub-API: This bundle enables you to programmatically manage your products. Promotions Sub-API: This bundle enables you to programmatically manage your promotions for products. Quota Sub-API: This bundle enables you to list your quotas for all APIs you are using. Reports Sub-API: This bundle enables you to programmatically retrieve reports and insights about products, their performance and their competitive environment.

https://github.com/googleapis/google-cloud-ruby

Expand Down
14 changes: 14 additions & 0 deletions google-shopping-merchant-data_sources-v1beta/gapic_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,20 @@
}
}
}
},
"FileUploadsService": {
"clients": {
"grpc": {
"libraryClient": "::Google::Shopping::Merchant::DataSources::V1beta::FileUploadsService::Client",
"rpcs": {
"GetFileUpload": {
"methods": [
"get_file_upload"
]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Gem::Specification.new do |gem|

gem.authors = ["Google LLC"]
gem.email = "[email protected]"
gem.description = "Programmatically manage your Merchant Center accounts. Note that google-shopping-merchant-data_sources-v1beta is a version-specific client library. For most uses, we recommend installing the main client library google-shopping-merchant-data_sources instead. See the readme for more details."
gem.summary = "Programmatically manage your Merchant Center accounts."
gem.description = "Merchant API consists of multiple Sub-APIs. Accounts Sub-API: Enables you to programmatically manage your accounts. Conversions Sub-API: Enables you to programmatically manage your conversion sources for a merchant account. Datasources Sub-API: Enables you to programmatically manage your datasources. Inventories Sub-API: This bundle enables you to programmatically manage your local and regional inventories. Local Feeds Partnerships Sub-API: This bundle enables LFP partners to submit local inventories for a merchant. Notifications Sub-API: This bundle enables you to programmatically manage your notification subscriptions. Products Sub-API: This bundle enables you to programmatically manage your products. Promotions Sub-API: This bundle enables you to programmatically manage your promotions for products. Quota Sub-API: This bundle enables you to list your quotas for all APIs you are using. Reports Sub-API: This bundle enables you to programmatically retrieve reports and insights about products, their performance and their competitive environment. Note that google-shopping-merchant-data_sources-v1beta is a version-specific client library. For most uses, we recommend installing the main client library google-shopping-merchant-data_sources instead. See the readme for more details."
gem.summary = "Programmatically manage your Merchant Center Accounts."
gem.homepage = "https://github.com/googleapis/google-cloud-ruby"
gem.license = "Apache-2.0"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!

require "google/shopping/merchant/data_sources/v1beta/data_sources_service"
require "google/shopping/merchant/data_sources/v1beta/file_uploads_service"
require "google/shopping/merchant/data_sources/v1beta/version"

module Google
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# frozen_string_literal: true

# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Auto-generated by gapic-generator-ruby. DO NOT EDIT!

require "gapic/common"
require "gapic/config"
require "gapic/config/method"

require "google/shopping/merchant/data_sources/v1beta/version"

require "google/shopping/merchant/data_sources/v1beta/file_uploads_service/credentials"
require "google/shopping/merchant/data_sources/v1beta/file_uploads_service/paths"
require "google/shopping/merchant/data_sources/v1beta/file_uploads_service/client"
require "google/shopping/merchant/data_sources/v1beta/file_uploads_service/rest"

module Google
module Shopping
module Merchant
module DataSources
module V1beta
##
# Service to manage data source file uploads.
#
# @example Load this service and instantiate a gRPC client
#
# require "google/shopping/merchant/data_sources/v1beta/file_uploads_service"
# client = ::Google::Shopping::Merchant::DataSources::V1beta::FileUploadsService::Client.new
#
# @example Load this service and instantiate a REST client
#
# require "google/shopping/merchant/data_sources/v1beta/file_uploads_service/rest"
# client = ::Google::Shopping::Merchant::DataSources::V1beta::FileUploadsService::Rest::Client.new
#
module FileUploadsService
end
end
end
end
end
end

helper_path = ::File.join __dir__, "file_uploads_service", "helpers.rb"
require "google/shopping/merchant/data_sources/v1beta/file_uploads_service/helpers" if ::File.file? helper_path
Loading

0 comments on commit 16234fa

Please sign in to comment.