Skip to content

Commit

Permalink
chore(global): Regenerate the world using microgenerator 0.18.1 (goog…
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma authored Dec 15, 2022
1 parent 9f8c6ea commit eb1c861
Show file tree
Hide file tree
Showing 1,086 changed files with 2,723 additions and 2,603 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |gem|

gem.required_ruby_version = ">= 2.6"

gem.add_dependency "gapic-common", ">= 0.12", "< 2.a"
gem.add_dependency "gapic-common", ">= 0.16.0", "< 2.a"
gem.add_dependency "google-cloud-errors", "~> 1.0"

gem.add_development_dependency "google-style", "~> 1.26.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ module Google
module Analytics
module Admin
##
# To load this package, including all its services, and instantiate a client:
# API client module.
#
# @example
# @example Load this package, including all its services, and instantiate a gRPC client
#
# require "google/analytics/admin/v1alpha"
# client = ::Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Client.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module V1alpha
##
# Service Interface for the Analytics Admin API (GA4).
#
# To load this service and instantiate a client:
# @example Load this service and instantiate a gRPC client
#
# require "google/analytics/admin/v1alpha/analytics_admin_service"
# client = ::Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Client.new
Expand Down
2 changes: 1 addition & 1 deletion google-analytics-admin/.repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"requires_billing": true,
"ruby-cloud-description": "The Analytics Admin API allows for programmatic access to the Google Analytics App+Web configuration data. You can use the Google Analytics Admin API to manage accounts and App+Web properties.",
"ruby-cloud-env-prefix": "ANALYTICS_ADMIN",
"library_type": "GAPIC_AUTO"
"library_type": "GAPIC_MANUAL"
}
10 changes: 5 additions & 5 deletions google-analytics-admin/lib/google/analytics/admin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ module Admin
#
# By default, this returns an instance of
# [Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Client](https://googleapis.dev/ruby/google-analytics-admin-v1alpha/latest/Google/Analytics/Admin/V1alpha/AnalyticsAdminService/Client.html)
# for version V1alpha of the API.
# However, you can specify specify a different API version by passing it in the
# for a gRPC client for version V1alpha of the API.
# However, you can specify a different API version by passing it in the
# `version` parameter. If the AnalyticsAdminService service is
# supported by that API version, and the corresponding gem is available, the
# appropriate versioned client will be returned.
Expand All @@ -44,7 +44,7 @@ module Admin
#
# @param version [::String, ::Symbol] The API version to connect to. Optional.
# Defaults to `:v1alpha`.
# @return [AnalyticsAdminService::Client] A client object for the specified version.
# @return [::Object] A client object for the specified version.
#
def self.analytics_admin_service version: :v1alpha, &block
require "google/analytics/admin/#{version.to_s.downcase}"
Expand All @@ -53,8 +53,8 @@ def self.analytics_admin_service version: :v1alpha, &block
.constants
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
.first
package_module = Google::Analytics::Admin.const_get package_name
package_module.const_get(:AnalyticsAdminService).const_get(:Client).new(&block)
service_module = Google::Analytics::Admin.const_get(package_name).const_get(:AnalyticsAdminService)
service_module.const_get(:Client).new(&block)
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
require "gapic/grpc"

class Google::Analytics::Admin::ClientConstructionMinitest < Minitest::Test
def test_analytics_admin_service
def test_analytics_admin_service_grpc
Gapic::ServiceStub.stub :new, :stub do
grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure
client = Google::Analytics::Admin.analytics_admin_service do |config|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |gem|

gem.required_ruby_version = ">= 2.6"

gem.add_dependency "gapic-common", ">= 0.12", "< 2.a"
gem.add_dependency "gapic-common", ">= 0.16.0", "< 2.a"
gem.add_dependency "google-cloud-errors", "~> 1.0"

gem.add_development_dependency "google-style", "~> 1.26.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ module Google
module Analytics
module Data
##
# To load this package, including all its services, and instantiate a client:
# API client module.
#
# @example
# @example Load this package, including all its services, and instantiate a gRPC client
#
# require "google/analytics/data/v1beta"
# client = ::Google::Analytics::Data::V1beta::AnalyticsData::Client.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module V1beta
##
# Google Analytics reporting data service.
#
# To load this service and instantiate a client:
# @example Load this service and instantiate a gRPC client
#
# require "google/analytics/data/v1beta/analytics_data"
# client = ::Google::Analytics::Data::V1beta::AnalyticsData::Client.new
Expand Down
2 changes: 1 addition & 1 deletion google-analytics-data/.repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"ruby-cloud-env-prefix": "ANALYTICS_DATA",
"ruby-cloud-product-url": "https://developers.google.com/analytics/devguides/reporting/data/v1",
"ruby-cloud-service-override": "BetaAnalyticsData=AnalyticsData",
"library_type": "GAPIC_AUTO"
"library_type": "GAPIC_MANUAL"
}
10 changes: 5 additions & 5 deletions google-analytics-data/lib/google/analytics/data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ module Data
#
# By default, this returns an instance of
# [Google::Analytics::Data::V1beta::AnalyticsData::Client](https://googleapis.dev/ruby/google-analytics-data-v1beta/latest/Google/Analytics/Data/V1beta/AnalyticsData/Client.html)
# for version V1beta of the API.
# However, you can specify specify a different API version by passing it in the
# for a gRPC client for version V1beta of the API.
# However, you can specify a different API version by passing it in the
# `version` parameter. If the AnalyticsData service is
# supported by that API version, and the corresponding gem is available, the
# appropriate versioned client will be returned.
Expand All @@ -44,7 +44,7 @@ module Data
#
# @param version [::String, ::Symbol] The API version to connect to. Optional.
# Defaults to `:v1beta`.
# @return [AnalyticsData::Client] A client object for the specified version.
# @return [::Object] A client object for the specified version.
#
def self.analytics_data version: :v1beta, &block
require "google/analytics/data/#{version.to_s.downcase}"
Expand All @@ -53,8 +53,8 @@ def self.analytics_data version: :v1beta, &block
.constants
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
.first
package_module = Google::Analytics::Data.const_get package_name
package_module.const_get(:AnalyticsData).const_get(:Client).new(&block)
service_module = Google::Analytics::Data.const_get(package_name).const_get(:AnalyticsData)
service_module.const_get(:Client).new(&block)
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
require "gapic/grpc"

class Google::Analytics::Data::ClientConstructionMinitest < Minitest::Test
def test_analytics_data
def test_analytics_data_grpc
Gapic::ServiceStub.stub :new, :stub do
grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure
client = Google::Analytics::Data.analytics_data do |config|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |gem|

gem.required_ruby_version = ">= 2.6"

gem.add_dependency "gapic-common", ">= 0.12", "< 2.a"
gem.add_dependency "gapic-common", ">= 0.16.0", "< 2.a"
gem.add_dependency "google-cloud-errors", "~> 1.0"

gem.add_development_dependency "google-style", "~> 1.26.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ module Google
module Area120
module Tables
##
# To load this package, including all its services, and instantiate a client:
# API client module.
#
# @example
# @example Load this package, including all its services, and instantiate a gRPC client
#
# require "google/area120/tables/v1alpha1"
# client = ::Google::Area120::Tables::V1alpha1::TablesService::Client.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module V1alpha1
# {::Google::Area120::Tables::V1alpha1::Workspace Workspace}
# resources, named `workspaces/*`.
#
# To load this service and instantiate a client:
# @example Load this service and instantiate a gRPC client
#
# require "google/area120/tables/v1alpha1/tables_service"
# client = ::Google::Area120::Tables::V1alpha1::TablesService::Client.new
Expand Down
2 changes: 1 addition & 1 deletion google-area120-tables/.repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"ruby-cloud-description": "Using the Area 120 Tables API, you can query for tables, and update/create/delete rows within tables programmatically.",
"ruby-cloud-env-prefix": "AREA120_TABLES",
"ruby-cloud-product-url": "https://tables.area120.google.com/u/0/about#/",
"library_type": "GAPIC_AUTO"
"library_type": "GAPIC_MANUAL"
}
10 changes: 5 additions & 5 deletions google-area120-tables/lib/google/area120/tables.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ module Tables
#
# By default, this returns an instance of
# [Google::Area120::Tables::V1alpha1::TablesService::Client](https://googleapis.dev/ruby/google-area120-tables-v1alpha1/latest/Google/Area120/Tables/V1alpha1/TablesService/Client.html)
# for version V1alpha1 of the API.
# However, you can specify specify a different API version by passing it in the
# for a gRPC client for version V1alpha1 of the API.
# However, you can specify a different API version by passing it in the
# `version` parameter. If the TablesService service is
# supported by that API version, and the corresponding gem is available, the
# appropriate versioned client will be returned.
Expand All @@ -55,7 +55,7 @@ module Tables
#
# @param version [::String, ::Symbol] The API version to connect to. Optional.
# Defaults to `:v1alpha1`.
# @return [TablesService::Client] A client object for the specified version.
# @return [::Object] A client object for the specified version.
#
def self.tables_service version: :v1alpha1, &block
require "google/area120/tables/#{version.to_s.downcase}"
Expand All @@ -64,8 +64,8 @@ def self.tables_service version: :v1alpha1, &block
.constants
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
.first
package_module = Google::Area120::Tables.const_get package_name
package_module.const_get(:TablesService).const_get(:Client).new(&block)
service_module = Google::Area120::Tables.const_get(package_name).const_get(:TablesService)
service_module.const_get(:Client).new(&block)
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
require "gapic/grpc"

class Google::Area120::Tables::ClientConstructionMinitest < Minitest::Test
def test_tables_service
def test_tables_service_grpc
Gapic::ServiceStub.stub :new, :stub do
grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure
client = Google::Area120::Tables.tables_service do |config|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |gem|

gem.required_ruby_version = ">= 2.6"

gem.add_dependency "gapic-common", ">= 0.12", "< 2.a"
gem.add_dependency "gapic-common", ">= 0.16.0", "< 2.a"
gem.add_dependency "google-cloud-errors", "~> 1.0"

gem.add_development_dependency "google-style", "~> 1.26.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ module Google
module Cloud
module AccessApproval
##
# To load this package, including all its services, and instantiate a client:
# API client module.
#
# @example
# @example Load this package, including all its services, and instantiate a gRPC client
#
# require "google/cloud/access_approval/v1"
# client = ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module V1
#
# If a request is not approved or dismissed, we call it pending.
#
# To load this service and instantiate a client:
# @example Load this service and instantiate a gRPC client
#
# require "google/cloud/access_approval/v1/access_approval"
# client = ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.new
Expand Down
2 changes: 1 addition & 1 deletion google-cloud-access_approval/.repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"ruby-cloud-description": "An API for controlling access to data by Google personnel.",
"ruby-cloud-env-prefix": "ACCESS_APPROVAL",
"ruby-cloud-product-url": "https://cloud.google.com/access-approval/",
"library_type": "GAPIC_AUTO"
"library_type": "GAPIC_MANUAL"
}
12 changes: 6 additions & 6 deletions google-cloud-access_approval/lib/google/cloud/access_approval.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ module AccessApproval
#
# By default, this returns an instance of
# [Google::Cloud::AccessApproval::V1::AccessApproval::Client](https://googleapis.dev/ruby/google-cloud-access_approval-v1/latest/Google/Cloud/AccessApproval/V1/AccessApproval/Client.html)
# for version V1 of the API.
# However, you can specify specify a different API version by passing it in the
# for a gRPC client for version V1 of the API.
# However, you can specify a different API version by passing it in the
# `version` parameter. If the AccessApproval service is
# supported by that API version, and the corresponding gem is available, the
# appropriate versioned client will be returned.
Expand Down Expand Up @@ -93,7 +93,7 @@ module AccessApproval
#
# @param version [::String, ::Symbol] The API version to connect to. Optional.
# Defaults to `:v1`.
# @return [AccessApproval::Client] A client object for the specified version.
# @return [::Object] A client object for the specified version.
#
def self.access_approval version: :v1, &block
require "google/cloud/access_approval/#{version.to_s.downcase}"
Expand All @@ -102,8 +102,8 @@ def self.access_approval version: :v1, &block
.constants
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
.first
package_module = Google::Cloud::AccessApproval.const_get package_name
package_module.const_get(:AccessApproval).const_get(:Client).new(&block)
service_module = Google::Cloud::AccessApproval.const_get(package_name).const_get(:AccessApproval)
service_module.const_get(:Client).new(&block)
end

##
Expand All @@ -123,7 +123,7 @@ def self.access_approval version: :v1, &block
# * `timeout` (*type:* `Numeric`) -
# Default timeout in seconds.
# * `metadata` (*type:* `Hash{Symbol=>String}`) -
# Additional gRPC headers to be sent with the call.
# Additional headers to be sent with the call.
# * `retry_policy` (*type:* `Hash`) -
# The retry policy. The value is a hash with the following keys:
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
require "gapic/grpc"

class Google::Cloud::AccessApproval::ClientConstructionMinitest < Minitest::Test
def test_access_approval
def test_access_approval_grpc
Gapic::ServiceStub.stub :new, :stub do
grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure
client = Google::Cloud::AccessApproval.access_approval do |config|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |gem|

gem.required_ruby_version = ">= 2.6"

gem.add_dependency "gapic-common", ">= 0.12", "< 2.a"
gem.add_dependency "gapic-common", ">= 0.16.0", "< 2.a"
gem.add_dependency "google-cloud-errors", "~> 1.0"
gem.add_dependency "google-cloud-location", ">= 0.0", "< 2.a"
gem.add_dependency "google-iam-v1", ">= 0.0", "< 2.a"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ module Google
module Cloud
module AIPlatform
##
# To load this package, including all its services, and instantiate a client:
# API client module.
#
# @example
# @example Load this package, including all its services, and instantiate a gRPC client
#
# require "google/cloud/ai_platform/v1"
# client = ::Google::Cloud::AIPlatform::V1::DatasetService::Client.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module V1
# The service that handles the CRUD of Vertex AI Dataset and its child
# resources.
#
# To load this service and instantiate a client:
# @example Load this service and instantiate a gRPC client
#
# require "google/cloud/ai_platform/v1/dataset_service"
# client = ::Google::Cloud::AIPlatform::V1::DatasetService::Client.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module V1
##
# A service for managing Vertex AI's Endpoints.
#
# To load this service and instantiate a client:
# @example Load this service and instantiate a gRPC client
#
# require "google/cloud/ai_platform/v1/endpoint_service"
# client = ::Google::Cloud::AIPlatform::V1::EndpointService::Client.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module V1
##
# A service for serving online feature values.
#
# To load this service and instantiate a client:
# @example Load this service and instantiate a gRPC client
#
# require "google/cloud/ai_platform/v1/featurestore_online_serving_service"
# client = ::Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Client.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module V1
##
# The service that handles CRUD and List for resources for Featurestore.
#
# To load this service and instantiate a client:
# @example Load this service and instantiate a gRPC client
#
# require "google/cloud/ai_platform/v1/featurestore_service"
# client = ::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module V1
##
# A service for managing Vertex AI's IndexEndpoints.
#
# To load this service and instantiate a client:
# @example Load this service and instantiate a gRPC client
#
# require "google/cloud/ai_platform/v1/index_endpoint_service"
# client = ::Google::Cloud::AIPlatform::V1::IndexEndpointService::Client.new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module V1
##
# A service for creating and managing Vertex AI's Index resources.
#
# To load this service and instantiate a client:
# @example Load this service and instantiate a gRPC client
#
# require "google/cloud/ai_platform/v1/index_service"
# client = ::Google::Cloud::AIPlatform::V1::IndexService::Client.new
Expand Down
Loading

0 comments on commit eb1c861

Please sign in to comment.