Skip to content

Commit 8f40b5a

Browse files
chore: regenerate dialogflow client
1 parent c84e4c0 commit 8f40b5a

File tree

75 files changed

+4999
-24
lines changed

Some content is hidden

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

75 files changed

+4999
-24
lines changed

clients/google-api-services-dialogflow/v2/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-dialogflow</artifactId>
25-
<version>v2-rev20240617-2.0.0</version>
25+
<version>v2-rev20240704-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-dialogflow:v2-rev20240617-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dialogflow:v2-rev20240704-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/Dialogflow.java

Lines changed: 307 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21797,6 +21797,145 @@ public GetAgent set(String parameterName, Object value) {
2179721797
return (GetAgent) super.set(parameterName, value);
2179821798
}
2179921799
}
21800+
/**
21801+
* Gets location-level encryption key specification.
21802+
*
21803+
* Create a request for the method "locations.getEncryptionSpec".
21804+
*
21805+
* This request holds the parameters needed by the dialogflow server. After setting any optional
21806+
* parameters, call the {@link GetEncryptionSpec#execute()} method to invoke the remote operation.
21807+
*
21808+
* @param name Required. The name of the encryption spec resource to get.
21809+
* @return the request
21810+
*/
21811+
public GetEncryptionSpec getEncryptionSpec(java.lang.String name) throws java.io.IOException {
21812+
GetEncryptionSpec result = new GetEncryptionSpec(name);
21813+
initialize(result);
21814+
return result;
21815+
}
21816+
21817+
public class GetEncryptionSpec extends DialogflowRequest<com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2EncryptionSpec> {
21818+
21819+
private static final String REST_PATH = "v2/{+name}";
21820+
21821+
private final java.util.regex.Pattern NAME_PATTERN =
21822+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/encryptionSpec$");
21823+
21824+
/**
21825+
* Gets location-level encryption key specification.
21826+
*
21827+
* Create a request for the method "locations.getEncryptionSpec".
21828+
*
21829+
* This request holds the parameters needed by the the dialogflow server. After setting any
21830+
* optional parameters, call the {@link GetEncryptionSpec#execute()} method to invoke the remote
21831+
* operation. <p> {@link GetEncryptionSpec#initialize(com.google.api.client.googleapis.services.Ab
21832+
* stractGoogleClientRequest)} must be called to initialize this instance immediately after
21833+
* invoking the constructor. </p>
21834+
*
21835+
* @param name Required. The name of the encryption spec resource to get.
21836+
* @since 1.13
21837+
*/
21838+
protected GetEncryptionSpec(java.lang.String name) {
21839+
super(Dialogflow.this, "GET", REST_PATH, null, com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2EncryptionSpec.class);
21840+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
21841+
if (!getSuppressPatternChecks()) {
21842+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
21843+
"Parameter name must conform to the pattern " +
21844+
"^projects/[^/]+/locations/[^/]+/encryptionSpec$");
21845+
}
21846+
}
21847+
21848+
@Override
21849+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
21850+
return super.executeUsingHead();
21851+
}
21852+
21853+
@Override
21854+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
21855+
return super.buildHttpRequestUsingHead();
21856+
}
21857+
21858+
@Override
21859+
public GetEncryptionSpec set$Xgafv(java.lang.String $Xgafv) {
21860+
return (GetEncryptionSpec) super.set$Xgafv($Xgafv);
21861+
}
21862+
21863+
@Override
21864+
public GetEncryptionSpec setAccessToken(java.lang.String accessToken) {
21865+
return (GetEncryptionSpec) super.setAccessToken(accessToken);
21866+
}
21867+
21868+
@Override
21869+
public GetEncryptionSpec setAlt(java.lang.String alt) {
21870+
return (GetEncryptionSpec) super.setAlt(alt);
21871+
}
21872+
21873+
@Override
21874+
public GetEncryptionSpec setCallback(java.lang.String callback) {
21875+
return (GetEncryptionSpec) super.setCallback(callback);
21876+
}
21877+
21878+
@Override
21879+
public GetEncryptionSpec setFields(java.lang.String fields) {
21880+
return (GetEncryptionSpec) super.setFields(fields);
21881+
}
21882+
21883+
@Override
21884+
public GetEncryptionSpec setKey(java.lang.String key) {
21885+
return (GetEncryptionSpec) super.setKey(key);
21886+
}
21887+
21888+
@Override
21889+
public GetEncryptionSpec setOauthToken(java.lang.String oauthToken) {
21890+
return (GetEncryptionSpec) super.setOauthToken(oauthToken);
21891+
}
21892+
21893+
@Override
21894+
public GetEncryptionSpec setPrettyPrint(java.lang.Boolean prettyPrint) {
21895+
return (GetEncryptionSpec) super.setPrettyPrint(prettyPrint);
21896+
}
21897+
21898+
@Override
21899+
public GetEncryptionSpec setQuotaUser(java.lang.String quotaUser) {
21900+
return (GetEncryptionSpec) super.setQuotaUser(quotaUser);
21901+
}
21902+
21903+
@Override
21904+
public GetEncryptionSpec setUploadType(java.lang.String uploadType) {
21905+
return (GetEncryptionSpec) super.setUploadType(uploadType);
21906+
}
21907+
21908+
@Override
21909+
public GetEncryptionSpec setUploadProtocol(java.lang.String uploadProtocol) {
21910+
return (GetEncryptionSpec) super.setUploadProtocol(uploadProtocol);
21911+
}
21912+
21913+
/** Required. The name of the encryption spec resource to get. */
21914+
@com.google.api.client.util.Key
21915+
private java.lang.String name;
21916+
21917+
/** Required. The name of the encryption spec resource to get.
21918+
*/
21919+
public java.lang.String getName() {
21920+
return name;
21921+
}
21922+
21923+
/** Required. The name of the encryption spec resource to get. */
21924+
public GetEncryptionSpec setName(java.lang.String name) {
21925+
if (!getSuppressPatternChecks()) {
21926+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
21927+
"Parameter name must conform to the pattern " +
21928+
"^projects/[^/]+/locations/[^/]+/encryptionSpec$");
21929+
}
21930+
this.name = name;
21931+
return this;
21932+
}
21933+
21934+
@Override
21935+
public GetEncryptionSpec set(String parameterName, Object value) {
21936+
return (GetEncryptionSpec) super.set(parameterName, value);
21937+
}
21938+
}
2180021939
/**
2180121940
* Lists information about the supported locations for this service.
2180221941
*
@@ -39004,6 +39143,174 @@ public SuggestConversationSummary set(String parameterName, Object value) {
3900439143

3900539144
}
3900639145
}
39146+
/**
39147+
* An accessor for creating requests from the EncryptionSpec collection.
39148+
*
39149+
* <p>The typical use is:</p>
39150+
* <pre>
39151+
* {@code Dialogflow dialogflow = new Dialogflow(...);}
39152+
* {@code Dialogflow.EncryptionSpec.List request = dialogflow.encryptionSpec().list(parameters ...)}
39153+
* </pre>
39154+
*
39155+
* @return the resource collection
39156+
*/
39157+
public EncryptionSpec encryptionSpec() {
39158+
return new EncryptionSpec();
39159+
}
39160+
39161+
/**
39162+
* The "encryptionSpec" collection of methods.
39163+
*/
39164+
public class EncryptionSpec {
39165+
39166+
/**
39167+
* Initializes a location-level encryption key specification. An error will be thrown if the
39168+
* location has resources already created before the initialization. Once the encryption
39169+
* specification is initialized at a location, it is immutable and all newly created resources under
39170+
* the location will be encrypted with the existing specification.
39171+
*
39172+
* Create a request for the method "encryptionSpec.initialize".
39173+
*
39174+
* This request holds the parameters needed by the dialogflow server. After setting any optional
39175+
* parameters, call the {@link Initialize#execute()} method to invoke the remote operation.
39176+
*
39177+
* @param name Immutable. The resource name of the encryption key specification resource. Format:
39178+
* projects/{project}/locations/{location}/encryptionSpec
39179+
* @param content the {@link com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2InitializeEncryptionSpecRequest}
39180+
* @return the request
39181+
*/
39182+
public Initialize initialize(java.lang.String name, com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2InitializeEncryptionSpecRequest content) throws java.io.IOException {
39183+
Initialize result = new Initialize(name, content);
39184+
initialize(result);
39185+
return result;
39186+
}
39187+
39188+
public class Initialize extends DialogflowRequest<com.google.api.services.dialogflow.v2.model.GoogleLongrunningOperation> {
39189+
39190+
private static final String REST_PATH = "v2/{+name}:initialize";
39191+
39192+
private final java.util.regex.Pattern NAME_PATTERN =
39193+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/encryptionSpec$");
39194+
39195+
/**
39196+
* Initializes a location-level encryption key specification. An error will be thrown if the
39197+
* location has resources already created before the initialization. Once the encryption
39198+
* specification is initialized at a location, it is immutable and all newly created resources
39199+
* under the location will be encrypted with the existing specification.
39200+
*
39201+
* Create a request for the method "encryptionSpec.initialize".
39202+
*
39203+
* This request holds the parameters needed by the the dialogflow server. After setting any
39204+
* optional parameters, call the {@link Initialize#execute()} method to invoke the remote
39205+
* operation. <p> {@link
39206+
* Initialize#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
39207+
* must be called to initialize this instance immediately after invoking the constructor. </p>
39208+
*
39209+
* @param name Immutable. The resource name of the encryption key specification resource. Format:
39210+
* projects/{project}/locations/{location}/encryptionSpec
39211+
* @param content the {@link com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2InitializeEncryptionSpecRequest}
39212+
* @since 1.13
39213+
*/
39214+
protected Initialize(java.lang.String name, com.google.api.services.dialogflow.v2.model.GoogleCloudDialogflowV2InitializeEncryptionSpecRequest content) {
39215+
super(Dialogflow.this, "POST", REST_PATH, content, com.google.api.services.dialogflow.v2.model.GoogleLongrunningOperation.class);
39216+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
39217+
if (!getSuppressPatternChecks()) {
39218+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
39219+
"Parameter name must conform to the pattern " +
39220+
"^projects/[^/]+/locations/[^/]+/encryptionSpec$");
39221+
}
39222+
}
39223+
39224+
@Override
39225+
public Initialize set$Xgafv(java.lang.String $Xgafv) {
39226+
return (Initialize) super.set$Xgafv($Xgafv);
39227+
}
39228+
39229+
@Override
39230+
public Initialize setAccessToken(java.lang.String accessToken) {
39231+
return (Initialize) super.setAccessToken(accessToken);
39232+
}
39233+
39234+
@Override
39235+
public Initialize setAlt(java.lang.String alt) {
39236+
return (Initialize) super.setAlt(alt);
39237+
}
39238+
39239+
@Override
39240+
public Initialize setCallback(java.lang.String callback) {
39241+
return (Initialize) super.setCallback(callback);
39242+
}
39243+
39244+
@Override
39245+
public Initialize setFields(java.lang.String fields) {
39246+
return (Initialize) super.setFields(fields);
39247+
}
39248+
39249+
@Override
39250+
public Initialize setKey(java.lang.String key) {
39251+
return (Initialize) super.setKey(key);
39252+
}
39253+
39254+
@Override
39255+
public Initialize setOauthToken(java.lang.String oauthToken) {
39256+
return (Initialize) super.setOauthToken(oauthToken);
39257+
}
39258+
39259+
@Override
39260+
public Initialize setPrettyPrint(java.lang.Boolean prettyPrint) {
39261+
return (Initialize) super.setPrettyPrint(prettyPrint);
39262+
}
39263+
39264+
@Override
39265+
public Initialize setQuotaUser(java.lang.String quotaUser) {
39266+
return (Initialize) super.setQuotaUser(quotaUser);
39267+
}
39268+
39269+
@Override
39270+
public Initialize setUploadType(java.lang.String uploadType) {
39271+
return (Initialize) super.setUploadType(uploadType);
39272+
}
39273+
39274+
@Override
39275+
public Initialize setUploadProtocol(java.lang.String uploadProtocol) {
39276+
return (Initialize) super.setUploadProtocol(uploadProtocol);
39277+
}
39278+
39279+
/**
39280+
* Immutable. The resource name of the encryption key specification resource. Format:
39281+
* projects/{project}/locations/{location}/encryptionSpec
39282+
*/
39283+
@com.google.api.client.util.Key
39284+
private java.lang.String name;
39285+
39286+
/** Immutable. The resource name of the encryption key specification resource. Format:
39287+
projects/{project}/locations/{location}/encryptionSpec
39288+
*/
39289+
public java.lang.String getName() {
39290+
return name;
39291+
}
39292+
39293+
/**
39294+
* Immutable. The resource name of the encryption key specification resource. Format:
39295+
* projects/{project}/locations/{location}/encryptionSpec
39296+
*/
39297+
public Initialize setName(java.lang.String name) {
39298+
if (!getSuppressPatternChecks()) {
39299+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
39300+
"Parameter name must conform to the pattern " +
39301+
"^projects/[^/]+/locations/[^/]+/encryptionSpec$");
39302+
}
39303+
this.name = name;
39304+
return this;
39305+
}
39306+
39307+
@Override
39308+
public Initialize set(String parameterName, Object value) {
39309+
return (Initialize) super.set(parameterName, value);
39310+
}
39311+
}
39312+
39313+
}
3900739314
/**
3900839315
* An accessor for creating requests from the Generators collection.
3900939316
*

clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/model/GoogleCloudDialogflowCxV3EventHandler.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ public final class GoogleCloudDialogflowCxV3EventHandler extends com.google.api.
6161
@com.google.api.client.util.Key
6262
private java.lang.String targetPage;
6363

64+
/**
65+
* The target playbook to transition to. Format: `projects//locations//agents//playbooks/`.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.lang.String targetPlaybook;
70+
6471
/**
6572
* The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment
6673
* enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a
@@ -138,6 +145,23 @@ public GoogleCloudDialogflowCxV3EventHandler setTargetPage(java.lang.String targ
138145
return this;
139146
}
140147

148+
/**
149+
* The target playbook to transition to. Format: `projects//locations//agents//playbooks/`.
150+
* @return value or {@code null} for none
151+
*/
152+
public java.lang.String getTargetPlaybook() {
153+
return targetPlaybook;
154+
}
155+
156+
/**
157+
* The target playbook to transition to. Format: `projects//locations//agents//playbooks/`.
158+
* @param targetPlaybook targetPlaybook or {@code null} for none
159+
*/
160+
public GoogleCloudDialogflowCxV3EventHandler setTargetPlaybook(java.lang.String targetPlaybook) {
161+
this.targetPlaybook = targetPlaybook;
162+
return this;
163+
}
164+
141165
/**
142166
* The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment
143167
* enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a

0 commit comments

Comments
 (0)