Skip to content

Commit 8310e03

Browse files
Google APIscopybara-github
authored andcommitted
feat: Support REST transport
PiperOrigin-RevId: 511900156
1 parent a45d9c0 commit 8310e03

5 files changed

Lines changed: 10 additions & 5 deletions

File tree

google/cloud/language/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ ruby_cloud_gapic_library(
2222
extra_protoc_parameters = [
2323
"ruby-cloud-gem-name=google-cloud-language",
2424
"ruby-cloud-env-prefix=LANGUAGE",
25-
"ruby-cloud-wrapper-of=v1:0.4;v1beta2:0.4",
25+
"ruby-cloud-wrapper-of=v1:0.7;v1beta2:0.7",
2626
"ruby-cloud-product-url=https://cloud.google.com/natural-language",
2727
"ruby-cloud-api-id=language.googleapis.com",
2828
"ruby-cloud-api-shortname=language",
2929
"ruby-cloud-migration-version=1.0",
3030
],
3131
ruby_cloud_description = "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations.",
3232
ruby_cloud_title = "Cloud Natural Language",
33+
transport = "grpc+rest",
3334
)
3435

3536
# Open Source package.

google/cloud/speech/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ ruby_cloud_gapic_library(
2222
extra_protoc_parameters = [
2323
"ruby-cloud-gem-name=google-cloud-speech",
2424
"ruby-cloud-env-prefix=SPEECH",
25-
"ruby-cloud-wrapper-of=v1:0.8;v1p1beta1:0.0",
25+
"ruby-cloud-wrapper-of=v1:0.11;v1p1beta1:0.16",
2626
"ruby-cloud-product-url=https://cloud.google.com/speech-to-text",
2727
"ruby-cloud-api-id=speech.googleapis.com",
2828
"ruby-cloud-api-shortname=speech",
2929
"ruby-cloud-migration-version=1.0",
3030
],
3131
ruby_cloud_description = "Google Speech-to-Text enables developers to convert audio to text by applying powerful neural network models in an easy-to-use API. The API recognizes more than 120 languages and variants to support your global user base. You can enable voice command-and-control, transcribe audio from call centers, and more. It can process real-time streaming or prerecorded audio, using Google's machine learning technology.",
3232
ruby_cloud_title = "Cloud Speech-to-Text",
33+
transport = "grpc+rest",
3334
)
3435

3536
# Open Source package.

google/cloud/texttospeech/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ ruby_cloud_gapic_library(
2222
extra_protoc_parameters = [
2323
"ruby-cloud-gem-name=google-cloud-text_to_speech",
2424
"ruby-cloud-env-prefix=TEXTTOSPEECH",
25-
"ruby-cloud-wrapper-of=v1:0.8;v1beta1:0.9",
25+
"ruby-cloud-wrapper-of=v1:0.9;v1beta1:0.10",
2626
"ruby-cloud-product-url=https://cloud.google.com/text-to-speech",
2727
"ruby-cloud-api-id=texttospeech.googleapis.com",
2828
"ruby-cloud-api-shortname=texttospeech",
2929
"ruby-cloud-migration-version=1.0",
3030
],
3131
ruby_cloud_description = "Text-to-Speech converts text or Speech Synthesis Markup Language (SSML) input into audio data of natural human speech.",
3232
ruby_cloud_title = "Cloud Text-to-Speech",
33+
transport = "grpc+rest",
3334
)
3435

3536
# Open Source package.

google/cloud/videointelligence/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ ruby_cloud_gapic_library(
2222
extra_protoc_parameters = [
2323
"ruby-cloud-gem-name=google-cloud-video_intelligence",
2424
"ruby-cloud-env-prefix=VIDEO_INTELLIGENCE",
25-
"ruby-cloud-wrapper-of=v1:0.0;v1beta2:0.0;v1p1beta1:0.0;v1p2beta1:0.0",
25+
"ruby-cloud-wrapper-of=v1:0.8;v1beta2:0.6;v1p1beta1:0.6;v1p2beta1:0.7",
2626
"ruby-cloud-product-url=https://cloud.google.com/video-intelligence",
2727
"ruby-cloud-api-id=videointelligence.googleapis.com",
2828
"ruby-cloud-api-shortname=videointelligence",
2929
"ruby-cloud-migration-version=3.0",
3030
],
3131
ruby_cloud_description = "Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.",
3232
ruby_cloud_title = "Cloud Video Intelligence",
33+
transport = "grpc+rest",
3334
)
3435

3536
# Open Source package.

google/cloud/vision/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ ruby_cloud_gapic_library(
2222
extra_protoc_parameters = [
2323
"ruby-cloud-gem-name=google-cloud-vision",
2424
"ruby-cloud-env-prefix=VISION",
25-
"ruby-cloud-wrapper-of=v1:0.0;v1p3beta1:0.0",
25+
"ruby-cloud-wrapper-of=v1:0.10;v1p3beta1:0.9",
2626
"ruby-cloud-product-url=https://cloud.google.com/vision",
2727
"ruby-cloud-api-id=vision.googleapis.com",
2828
"ruby-cloud-api-shortname=vision",
2929
"ruby-cloud-migration-version=1.0",
3030
],
3131
ruby_cloud_description = "Cloud Vision API allows developers to easily integrate vision detection features within applications, including image labeling, face and landmark detection, optical character recognition (OCR), and tagging of explicit content.",
3232
ruby_cloud_title = "Cloud Vision",
33+
transport = "grpc+rest",
3334
)
3435

3536
# Open Source package.

0 commit comments

Comments
 (0)