Skip to content

Commit e21eea6

Browse files
1 parent 74b5a03 commit e21eea6

File tree

63 files changed

+9821
-18
lines changed

Some content is hidden

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

63 files changed

+9821
-18
lines changed

clients/google-api-services-discoveryengine/v1/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-discoveryengine</artifactId>
25-
<version>v1-rev20250914-2.0.0</version>
25+
<version>v1-rev20250918-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-discoveryengine:v1-rev20250914-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20250918-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/DiscoveryEngine.java

Lines changed: 819 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.discoveryengine.v1.model;
18+
19+
/**
20+
* Informations to support actions on the connector.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleCloudDiscoveryengineV1ActionConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. Params needed to support actions in the format of (Key, Value) pairs. Required
34+
* parameters for sources that support OAUTH, i.e. `gmail`, `google_calendar`, `jira`, `workday`,
35+
* `salesforce`, `confluence`: * Key: `client_id` * Value: type STRING. The client ID for the
36+
* service provider to identify your application. * Key: `client_secret` * Value:type STRING. The
37+
* client secret generated by the application's authorization server.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.util.Map<String, java.lang.Object> actionParams;
42+
43+
/**
44+
* Output only. The connector contains the necessary parameters and is configured to support
45+
* actions.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.Boolean isActionConfigured;
50+
51+
/**
52+
* Optional. The Service Directory resource name (projects/locations/namespaces/services)
53+
* representing a VPC network endpoint used to connect to the data source's `instance_uri`,
54+
* defined in DataConnector.params. Required when VPC Service Controls are enabled.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.String serviceName;
59+
60+
/**
61+
* Optional. Whether to use static secrets for the connector. If true, the secrets provided in the
62+
* action_params will be ignored.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.lang.Boolean useStaticSecrets;
67+
68+
/**
69+
* Required. Params needed to support actions in the format of (Key, Value) pairs. Required
70+
* parameters for sources that support OAUTH, i.e. `gmail`, `google_calendar`, `jira`, `workday`,
71+
* `salesforce`, `confluence`: * Key: `client_id` * Value: type STRING. The client ID for the
72+
* service provider to identify your application. * Key: `client_secret` * Value:type STRING. The
73+
* client secret generated by the application's authorization server.
74+
* @return value or {@code null} for none
75+
*/
76+
public java.util.Map<String, java.lang.Object> getActionParams() {
77+
return actionParams;
78+
}
79+
80+
/**
81+
* Required. Params needed to support actions in the format of (Key, Value) pairs. Required
82+
* parameters for sources that support OAUTH, i.e. `gmail`, `google_calendar`, `jira`, `workday`,
83+
* `salesforce`, `confluence`: * Key: `client_id` * Value: type STRING. The client ID for the
84+
* service provider to identify your application. * Key: `client_secret` * Value:type STRING. The
85+
* client secret generated by the application's authorization server.
86+
* @param actionParams actionParams or {@code null} for none
87+
*/
88+
public GoogleCloudDiscoveryengineV1ActionConfig setActionParams(java.util.Map<String, java.lang.Object> actionParams) {
89+
this.actionParams = actionParams;
90+
return this;
91+
}
92+
93+
/**
94+
* Output only. The connector contains the necessary parameters and is configured to support
95+
* actions.
96+
* @return value or {@code null} for none
97+
*/
98+
public java.lang.Boolean getIsActionConfigured() {
99+
return isActionConfigured;
100+
}
101+
102+
/**
103+
* Output only. The connector contains the necessary parameters and is configured to support
104+
* actions.
105+
* @param isActionConfigured isActionConfigured or {@code null} for none
106+
*/
107+
public GoogleCloudDiscoveryengineV1ActionConfig setIsActionConfigured(java.lang.Boolean isActionConfigured) {
108+
this.isActionConfigured = isActionConfigured;
109+
return this;
110+
}
111+
112+
/**
113+
* Optional. The Service Directory resource name (projects/locations/namespaces/services)
114+
* representing a VPC network endpoint used to connect to the data source's `instance_uri`,
115+
* defined in DataConnector.params. Required when VPC Service Controls are enabled.
116+
* @return value or {@code null} for none
117+
*/
118+
public java.lang.String getServiceName() {
119+
return serviceName;
120+
}
121+
122+
/**
123+
* Optional. The Service Directory resource name (projects/locations/namespaces/services)
124+
* representing a VPC network endpoint used to connect to the data source's `instance_uri`,
125+
* defined in DataConnector.params. Required when VPC Service Controls are enabled.
126+
* @param serviceName serviceName or {@code null} for none
127+
*/
128+
public GoogleCloudDiscoveryengineV1ActionConfig setServiceName(java.lang.String serviceName) {
129+
this.serviceName = serviceName;
130+
return this;
131+
}
132+
133+
/**
134+
* Optional. Whether to use static secrets for the connector. If true, the secrets provided in the
135+
* action_params will be ignored.
136+
* @return value or {@code null} for none
137+
*/
138+
public java.lang.Boolean getUseStaticSecrets() {
139+
return useStaticSecrets;
140+
}
141+
142+
/**
143+
* Optional. Whether to use static secrets for the connector. If true, the secrets provided in the
144+
* action_params will be ignored.
145+
* @param useStaticSecrets useStaticSecrets or {@code null} for none
146+
*/
147+
public GoogleCloudDiscoveryengineV1ActionConfig setUseStaticSecrets(java.lang.Boolean useStaticSecrets) {
148+
this.useStaticSecrets = useStaticSecrets;
149+
return this;
150+
}
151+
152+
@Override
153+
public GoogleCloudDiscoveryengineV1ActionConfig set(String fieldName, Object value) {
154+
return (GoogleCloudDiscoveryengineV1ActionConfig) super.set(fieldName, value);
155+
}
156+
157+
@Override
158+
public GoogleCloudDiscoveryengineV1ActionConfig clone() {
159+
return (GoogleCloudDiscoveryengineV1ActionConfig) super.clone();
160+
}
161+
162+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.discoveryengine.v1.model;
18+
19+
/**
20+
* The connector level alert config.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleCloudDiscoveryengineV1AlertPolicyConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The enrollment states of each alert.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment> alertEnrollments;
38+
39+
/**
40+
* Immutable. The fully qualified resource name of the AlertPolicy.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String alertPolicyName;
45+
46+
/**
47+
* Optional. The enrollment states of each alert.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.util.List<GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment> getAlertEnrollments() {
51+
return alertEnrollments;
52+
}
53+
54+
/**
55+
* Optional. The enrollment states of each alert.
56+
* @param alertEnrollments alertEnrollments or {@code null} for none
57+
*/
58+
public GoogleCloudDiscoveryengineV1AlertPolicyConfig setAlertEnrollments(java.util.List<GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment> alertEnrollments) {
59+
this.alertEnrollments = alertEnrollments;
60+
return this;
61+
}
62+
63+
/**
64+
* Immutable. The fully qualified resource name of the AlertPolicy.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getAlertPolicyName() {
68+
return alertPolicyName;
69+
}
70+
71+
/**
72+
* Immutable. The fully qualified resource name of the AlertPolicy.
73+
* @param alertPolicyName alertPolicyName or {@code null} for none
74+
*/
75+
public GoogleCloudDiscoveryengineV1AlertPolicyConfig setAlertPolicyName(java.lang.String alertPolicyName) {
76+
this.alertPolicyName = alertPolicyName;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudDiscoveryengineV1AlertPolicyConfig set(String fieldName, Object value) {
82+
return (GoogleCloudDiscoveryengineV1AlertPolicyConfig) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudDiscoveryengineV1AlertPolicyConfig clone() {
87+
return (GoogleCloudDiscoveryengineV1AlertPolicyConfig) super.clone();
88+
}
89+
90+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.discoveryengine.v1.model;
18+
19+
/**
20+
* The alert enrollment status.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Immutable. The id of an alert.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String alertId;
38+
39+
/**
40+
* Required. The enrollment status of a customer.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String enrollState;
45+
46+
/**
47+
* Immutable. The id of an alert.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getAlertId() {
51+
return alertId;
52+
}
53+
54+
/**
55+
* Immutable. The id of an alert.
56+
* @param alertId alertId or {@code null} for none
57+
*/
58+
public GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment setAlertId(java.lang.String alertId) {
59+
this.alertId = alertId;
60+
return this;
61+
}
62+
63+
/**
64+
* Required. The enrollment status of a customer.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getEnrollState() {
68+
return enrollState;
69+
}
70+
71+
/**
72+
* Required. The enrollment status of a customer.
73+
* @param enrollState enrollState or {@code null} for none
74+
*/
75+
public GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment setEnrollState(java.lang.String enrollState) {
76+
this.enrollState = enrollState;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment set(String fieldName, Object value) {
82+
return (GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment clone() {
87+
return (GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment) super.clone();
88+
}
89+
90+
}

0 commit comments

Comments
 (0)