From 6a211105d97cc92e053b2d281a4bb2df1366f3e0 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Fri, 8 Apr 2022 16:52:18 -0700 Subject: [PATCH] fix: use full link in comment to fix JSDoc broken link Committer: @summer-ji-eng PiperOrigin-RevId: 440481666 --- .../v1p1beta1/cloud_speech_adaptation.proto | 50 +++++++++++-------- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto b/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto index de8ecdac90ec3..7b29f05eee764 100644 --- a/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto +++ b/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto @@ -34,7 +34,8 @@ option objc_class_prefix = "GCS"; // Service that implements Google Cloud Speech Adaptation API. service Adaptation { option (google.api.default_host) = "speech.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Create a set of phrase hints. Each item in the set can be a single word or // a multi-word phrase. The items in the PhraseSet are favored by the @@ -86,7 +87,8 @@ service Adaptation { post: "/v1p1beta1/{parent=projects/*/locations/*}/customClasses" body: "*" }; - option (google.api.method_signature) = "parent,custom_class,custom_class_id"; + option (google.api.method_signature) = + "parent,custom_class,custom_class_id"; } // Get a custom class. @@ -98,7 +100,8 @@ service Adaptation { } // List custom classes. - rpc ListCustomClasses(ListCustomClassesRequest) returns (ListCustomClassesResponse) { + rpc ListCustomClasses(ListCustomClassesRequest) + returns (ListCustomClassesResponse) { option (google.api.http) = { get: "/v1p1beta1/{parent=projects/*/locations/*}/customClasses" }; @@ -115,7 +118,8 @@ service Adaptation { } // Delete a custom class. - rpc DeleteCustomClass(DeleteCustomClassRequest) returns (google.protobuf.Empty) { + rpc DeleteCustomClass(DeleteCustomClassRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1p1beta1/{name=projects/*/locations/*/customClasses/*}" }; @@ -125,15 +129,16 @@ service Adaptation { // Message sent by the client for the `CreatePhraseSet` method. message CreatePhraseSetRequest { - // Required. The parent resource where this phrase set will be created. Format: + // Required. The parent resource where this phrase set will be created. + // Format: // // `projects/{project}/locations/{location}/phraseSets` // // Speech-to-Text supports three locations: `global`, `us` (US North America), // and `eu` (Europe). If you are calling the `speech.googleapis.com` // endpoint, use the `global` location. To specify a region, use a - // [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or - // `eu` location value. + // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) + // with matching `us` or `eu` location value. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -164,8 +169,8 @@ message UpdatePhraseSetRequest { // Speech-to-Text supports three locations: `global`, `us` (US North America), // and `eu` (Europe). If you are calling the `speech.googleapis.com` // endpoint, use the `global` location. To specify a region, use a - // [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or - // `eu` location value. + // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) + // with matching `us` or `eu` location value. PhraseSet phrase_set = 1 [(google.api.field_behavior) = REQUIRED]; // The list of fields to be updated. @@ -181,8 +186,8 @@ message GetPhraseSetRequest { // Speech-to-Text supports three locations: `global`, `us` (US North America), // and `eu` (Europe). If you are calling the `speech.googleapis.com` // endpoint, use the `global` location. To specify a region, use a - // [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or - // `eu` location value. + // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) + // with matching `us` or `eu` location value. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -200,8 +205,8 @@ message ListPhraseSetRequest { // Speech-to-Text supports three locations: `global`, `us` (US North America), // and `eu` (Europe). If you are calling the `speech.googleapis.com` // endpoint, use the `global` location. To specify a region, use a - // [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or - // `eu` location value. + // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) + // with matching `us` or `eu` location value. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -248,15 +253,16 @@ message DeletePhraseSetRequest { // Message sent by the client for the `CreateCustomClass` method. message CreateCustomClassRequest { - // Required. The parent resource where this custom class will be created. Format: + // Required. The parent resource where this custom class will be created. + // Format: // // `projects/{project}/locations/{location}/customClasses` // // Speech-to-Text supports three locations: `global`, `us` (US North America), // and `eu` (Europe). If you are calling the `speech.googleapis.com` // endpoint, use the `global` location. To specify a region, use a - // [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or - // `eu` location value. + // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) + // with matching `us` or `eu` location value. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -287,8 +293,8 @@ message UpdateCustomClassRequest { // Speech-to-Text supports three locations: `global`, `us` (US North America), // and `eu` (Europe). If you are calling the `speech.googleapis.com` // endpoint, use the `global` location. To specify a region, use a - // [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or - // `eu` location value. + // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) + // with matching `us` or `eu` location value. CustomClass custom_class = 1 [(google.api.field_behavior) = REQUIRED]; // The list of fields to be updated. @@ -317,8 +323,8 @@ message ListCustomClassesRequest { // Speech-to-Text supports three locations: `global`, `us` (US North America), // and `eu` (Europe). If you are calling the `speech.googleapis.com` // endpoint, use the `global` location. To specify a region, use a - // [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or - // `eu` location value. + // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) + // with matching `us` or `eu` location value. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -359,8 +365,8 @@ message DeleteCustomClassRequest { // Speech-to-Text supports three locations: `global`, `us` (US North America), // and `eu` (Europe). If you are calling the `speech.googleapis.com` // endpoint, use the `global` location. To specify a region, use a - // [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or - // `eu` location value. + // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) + // with matching `us` or `eu` location value. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = {