Skip to content

Commit

Permalink
fix: use full link in comment to fix JSDoc broken link
Browse files Browse the repository at this point in the history
Committer: @summer-ji-eng
PiperOrigin-RevId: 440481666
  • Loading branch information
Google APIs authored and Copybara-Service committed Apr 8, 2022
1 parent 5d84222 commit 6a21110
Showing 1 changed file with 28 additions and 22 deletions.
50 changes: 28 additions & 22 deletions google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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"
};
Expand All @@ -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/*}"
};
Expand All @@ -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) = {
Expand Down Expand Up @@ -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.
Expand All @@ -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) = {
Expand All @@ -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) = {
Expand Down Expand Up @@ -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) = {
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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) = {
Expand Down Expand Up @@ -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) = {
Expand Down

0 comments on commit 6a21110

Please sign in to comment.