Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit a79149b

Browse files
feat: added support for test cases and agent validation (#141)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/549c8707-14a7-4963-9d20-bbd5d5285b08/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 357800868 Source-Link: googleapis/googleapis@e8bc447 PiperOrigin-RevId: 357788001 Source-Link: googleapis/googleapis@2bea43c PiperOrigin-RevId: 357757017 Source-Link: googleapis/googleapis@38d77ab PiperOrigin-RevId: 356804449 Source-Link: googleapis/googleapis@6de7abe PiperOrigin-RevId: 356624136 Source-Link: googleapis/googleapis@e28aa85 PiperOrigin-RevId: 356341083 Source-Link: googleapis/googleapis@8d8c008 PiperOrigin-RevId: 354553780 Source-Link: googleapis/googleapis@c71a9c4 PiperOrigin-RevId: 354550974 Source-Link: googleapis/googleapis@ed71e24 PiperOrigin-RevId: 353783208 Source-Link: googleapis/googleapis@6fa7194 PiperOrigin-RevId: 353683381 Source-Link: googleapis/googleapis@2e29020 PiperOrigin-RevId: 353075593 Source-Link: googleapis/googleapis@cb932c5 PiperOrigin-RevId: 352834280 Source-Link: googleapis/googleapis@f83715b feat: Add new Experiment service feat: supports SentimentAnalysisResult in webhook request feat: Support transition route group coverage for Test Cases fix: RunTestCase http template. PHP REST client lib can be generated chore: update gapic-generator-java to 0.0.20 docs: generate sample code in the Java microgenerator docs: minor doc update on redact field in intent.proto and page.proto docs: minor updates in wording docs: test cases doc update
1 parent 5411cd0 commit a79149b

File tree

390 files changed

+160541
-4099
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

390 files changed

+160541
-4099
lines changed

google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentsClient.java

Lines changed: 478 additions & 0 deletions
Large diffs are not rendered by default.

google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentsSettings.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,17 @@ public OperationCallSettings<RestoreAgentRequest, Empty, Struct> restoreAgentOpe
119119
return ((AgentsStubSettings) getStubSettings()).restoreAgentOperationSettings();
120120
}
121121

122+
/** Returns the object with the settings used for calls to validateAgent. */
123+
public UnaryCallSettings<ValidateAgentRequest, AgentValidationResult> validateAgentSettings() {
124+
return ((AgentsStubSettings) getStubSettings()).validateAgentSettings();
125+
}
126+
127+
/** Returns the object with the settings used for calls to getAgentValidationResult. */
128+
public UnaryCallSettings<GetAgentValidationResultRequest, AgentValidationResult>
129+
getAgentValidationResultSettings() {
130+
return ((AgentsStubSettings) getStubSettings()).getAgentValidationResultSettings();
131+
}
132+
122133
public static final AgentsSettings create(AgentsStubSettings stub) throws IOException {
123134
return new AgentsSettings.Builder(stub.toBuilder()).build();
124135
}
@@ -264,6 +275,18 @@ public UnaryCallSettings.Builder<RestoreAgentRequest, Operation> restoreAgentSet
264275
return getStubSettingsBuilder().restoreAgentOperationSettings();
265276
}
266277

278+
/** Returns the builder for the settings used for calls to validateAgent. */
279+
public UnaryCallSettings.Builder<ValidateAgentRequest, AgentValidationResult>
280+
validateAgentSettings() {
281+
return getStubSettingsBuilder().validateAgentSettings();
282+
}
283+
284+
/** Returns the builder for the settings used for calls to getAgentValidationResult. */
285+
public UnaryCallSettings.Builder<GetAgentValidationResultRequest, AgentValidationResult>
286+
getAgentValidationResultSettings() {
287+
return getStubSettingsBuilder().getAgentValidationResultSettings();
288+
}
289+
267290
@Override
268291
public AgentsSettings build() throws IOException {
269292
return new AgentsSettings(this);

0 commit comments

Comments
 (0)