Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
feat: removed OPTIONAL for speech model variant docs: added more docs…
Browse files Browse the repository at this point in the history
… for speech model variant and improved docs format for participant (#906)

* feat: removed OPTIONAL for speech model variant docs: added more docs for speech model variant and improved docs format for participant

PiperOrigin-RevId: 416079722

Source-Link: googleapis/googleapis@14b7a25

Source-Link: https://github.com/googleapis/googleapis-gen/commit/e1b0be15a7cd3466c46f0865835e714d1e9309fb
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTFiMGJlMTVhN2NkMzQ2NmM0NmYwODY1ODM1ZTcxNGQxZTkzMDlmYiJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Dec 15, 2021
1 parent 76753a9 commit 7df7d27
Show file tree
Hide file tree
Showing 176 changed files with 294 additions and 188 deletions.
9 changes: 2 additions & 7 deletions linkinator.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@
"skip": [
"https://codecov.io/gh/googleapis/",
"www.googleapis.com",
"img.shields.io",
"https://console.cloud.google.com/cloudshell"
"img.shields.io"
],
"silent": true,
"concurrency": 5,
"retry": true,
"retryErrors": true,
"retryErrorsCount": 5,
"retryErrorsJitter": 3000
"concurrency": 5
}
7 changes: 5 additions & 2 deletions protos/google/cloud/dialogflow/v2/audio_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -340,11 +340,14 @@ message OutputAudioConfig {

// Configures speech transcription for [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile].
message SpeechToTextConfig {
// Optional. The speech model used in speech to text.
// The speech model used in speech to text.
// `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as
// `USE_ENHANCED`. It can be overridden in [AnalyzeContentRequest][google.cloud.dialogflow.v2.AnalyzeContentRequest] and
// [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest] request.
SpeechModelVariant speech_model_variant = 1 [(google.api.field_behavior) = OPTIONAL];
// If enhanced model variant is specified and an enhanced
// version of the specified model for the language does not exist, then it
// would emit an error.
SpeechModelVariant speech_model_variant = 1;
}

// Audio encoding of the output audio format in Text-To-Speech.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import "google/api/resource.proto";
import "google/cloud/dialogflow/v2/audio_config.proto";
import "google/cloud/dialogflow/v2/participant.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
Expand Down
126 changes: 47 additions & 79 deletions protos/google/cloud/dialogflow/v2/participant.proto

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions samples/generated/v2/agents.delete_agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/agents.export_agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent, agentUri) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/agents.get_agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/agents.get_validation_result.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/agents.import_agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/agents.restore_agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down
3 changes: 2 additions & 1 deletion samples/generated/v2/agents.search_agents.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -49,7 +50,7 @@ function main(parent) {
// Run request
const iterable = await dialogflowClient.searchAgentsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/agents.set_agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(agent) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/agents.train_agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down
5 changes: 3 additions & 2 deletions samples/generated/v2/answer_records.list_answer_records.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent, filter) {
Expand Down Expand Up @@ -41,7 +42,7 @@ function main(parent, filter) {
// const pageSize = 1234
/**
* Optional. The
* ListAnswerRecordsResponse.next_page_token google.cloud.dialogflow.v2.ListAnswerRecordsResponse.next_page_token
* ListAnswerRecordsResponse.next_page_token google.cloud.dialogflow.v2.ListAnswerRecordsResponse.next_page_token
* value returned from a previous list request used to continue listing on
* the next page.
*/
Expand All @@ -63,7 +64,7 @@ function main(parent, filter) {
// Run request
const iterable = await dialogflowClient.listAnswerRecordsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(answerRecord, updateMask) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/contexts.create_context.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent, context) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/contexts.delete_all_contexts.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/contexts.delete_context.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/contexts.get_context.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
3 changes: 2 additions & 1 deletion samples/generated/v2/contexts.list_contexts.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -53,7 +54,7 @@ function main(parent) {
// Run request
const iterable = await dialogflowClient.listContextsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/contexts.update_context.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(context) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent, conversationProfile) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -47,11 +48,9 @@ function main(parent) {
};

// Run request
const iterable = await dialogflowClient.listConversationProfilesAsync(
request
);
const iterable = await dialogflowClient.listConversationProfilesAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(conversationProfile, updateMask) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/conversations.create_conversation.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent, conversation) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/conversations.get_conversation.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
3 changes: 2 additions & 1 deletion samples/generated/v2/conversations.list_conversations.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -67,7 +68,7 @@ function main(parent) {
// Run request
const iterable = await dialogflowClient.listConversationsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
3 changes: 2 additions & 1 deletion samples/generated/v2/conversations.list_messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -60,7 +61,7 @@ function main(parent) {
// Run request
const iterable = await dialogflowClient.listMessagesAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/documents.create_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent, document) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/documents.delete_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/documents.get_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
3 changes: 2 additions & 1 deletion samples/generated/v2/documents.list_documents.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand Down Expand Up @@ -50,7 +51,7 @@ function main(parent) {
// Run request
const iterable = await dialogflowClient.listDocumentsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/documents.reload_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down
1 change: 1 addition & 0 deletions samples/generated/v2/documents.update_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(document) {
Expand Down
Loading

0 comments on commit 7df7d27

Please sign in to comment.