Skip to content

Commit 04921e4

Browse files
1 parent b693002 commit 04921e4

47 files changed

Lines changed: 4355 additions & 183 deletions

File tree

Some content is hidden

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

‎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-rev20261102-2.9.2</version>
25+
<version>v1-rev20261106-2.9.2</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-rev20261102-2.9.2'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20261106-2.9.2'
3939
}
4040
```
4141

‎clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Engine.java‎

Lines changed: 45 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,15 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli
146146
@com.google.api.client.util.Key
147147
private java.util.Map<String, java.lang.String> effectiveFeatures;
148148

149+
/**
150+
* Optional. Per-feature access policies, keyed by feature toggle name (see `features`). A feature
151+
* with no entry is available to every user when it is on. Only features that support access
152+
* policies are accepted.
153+
* The value may be {@code null}.
154+
*/
155+
@com.google.api.client.util.Key
156+
private java.util.Map<String, GoogleCloudDiscoveryengineV1EngineFeaturePolicy> featurePolicies;
157+
149158
/**
150159
* Optional. Feature config for the engine to opt in or opt out of features. Supported keys: *
151160
* `*`: all features, if it's present, all other feature state settings are ignored. * `agent-
@@ -156,11 +165,11 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli
156165
* `disable-video-generation` * `music-generation` * `speech-generation` * `disable-onedrive-
157166
* upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails`
158167
* * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` *
159-
* `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-
160-
* sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-
161-
* product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` *
162-
* `remote-vm` * `license-tier-badge` * `agent-marketplace` * `agent-scheduling` * `preview-
163-
* agents`
168+
* `skill-sharing-without-admin-approval` * `skill-security-scan` * `disable-projects` * `sobi` *
169+
* `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-
170+
* orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` *
171+
* `code-extraction` * `remote-vm` * `license-tier-badge` * `canvas-app-sharing` * `agent-
172+
* marketplace` * `agent-scheduling` * `preview-agents` * `plugins`
164173
* The value may be {@code null}.
165174
*/
166175
@com.google.api.client.util.Key
@@ -549,6 +558,27 @@ public GoogleCloudDiscoveryengineV1Engine setEffectiveFeatures(java.util.Map<Str
549558
return this;
550559
}
551560

561+
/**
562+
* Optional. Per-feature access policies, keyed by feature toggle name (see `features`). A feature
563+
* with no entry is available to every user when it is on. Only features that support access
564+
* policies are accepted.
565+
* @return value or {@code null} for none
566+
*/
567+
public java.util.Map<String, GoogleCloudDiscoveryengineV1EngineFeaturePolicy> getFeaturePolicies() {
568+
return featurePolicies;
569+
}
570+
571+
/**
572+
* Optional. Per-feature access policies, keyed by feature toggle name (see `features`). A feature
573+
* with no entry is available to every user when it is on. Only features that support access
574+
* policies are accepted.
575+
* @param featurePolicies featurePolicies or {@code null} for none
576+
*/
577+
public GoogleCloudDiscoveryengineV1Engine setFeaturePolicies(java.util.Map<String, GoogleCloudDiscoveryengineV1EngineFeaturePolicy> featurePolicies) {
578+
this.featurePolicies = featurePolicies;
579+
return this;
580+
}
581+
552582
/**
553583
* Optional. Feature config for the engine to opt in or opt out of features. Supported keys: *
554584
* `*`: all features, if it's present, all other feature state settings are ignored. * `agent-
@@ -559,11 +589,11 @@ public GoogleCloudDiscoveryengineV1Engine setEffectiveFeatures(java.util.Map<Str
559589
* `disable-video-generation` * `music-generation` * `speech-generation` * `disable-onedrive-
560590
* upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails`
561591
* * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` *
562-
* `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-
563-
* sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-
564-
* product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` *
565-
* `remote-vm` * `license-tier-badge` * `agent-marketplace` * `agent-scheduling` * `preview-
566-
* agents`
592+
* `skill-sharing-without-admin-approval` * `skill-security-scan` * `disable-projects` * `sobi` *
593+
* `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-
594+
* orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` *
595+
* `code-extraction` * `remote-vm` * `license-tier-badge` * `canvas-app-sharing` * `agent-
596+
* marketplace` * `agent-scheduling` * `preview-agents` * `plugins`
567597
* @return value or {@code null} for none
568598
*/
569599
public java.util.Map<String, java.lang.String> getFeatures() {
@@ -580,11 +610,11 @@ public java.util.Map<String, java.lang.String> getFeatures() {
580610
* `disable-video-generation` * `music-generation` * `speech-generation` * `disable-onedrive-
581611
* upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails`
582612
* * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` *
583-
* `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-
584-
* sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-
585-
* product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` *
586-
* `remote-vm` * `license-tier-badge` * `agent-marketplace` * `agent-scheduling` * `preview-
587-
* agents`
613+
* `skill-sharing-without-admin-approval` * `skill-security-scan` * `disable-projects` * `sobi` *
614+
* `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-
615+
* orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` *
616+
* `code-extraction` * `remote-vm` * `license-tier-badge` * `canvas-app-sharing` * `agent-
617+
* marketplace` * `agent-scheduling` * `preview-agents` * `plugins`
588618
* @param features features or {@code null} for none
589619
*/
590620
public GoogleCloudDiscoveryengineV1Engine setFeatures(java.util.Map<String, java.lang.String> features) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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+
* Restricts which users may use a feature that is turned on in `features`.
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 GoogleCloudDiscoveryengineV1EngineFeaturePolicy extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Members who may use the feature.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember> allowedMembers;
38+
39+
/**
40+
* Optional. Access for users who match neither list.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String defaultAccess;
45+
46+
/**
47+
* Optional. Members who may not use the feature. Takes precedence over `allowed_members`.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.util.List<GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember> deniedMembers;
52+
53+
/**
54+
* Optional. Members who may use the feature.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.util.List<GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember> getAllowedMembers() {
58+
return allowedMembers;
59+
}
60+
61+
/**
62+
* Optional. Members who may use the feature.
63+
* @param allowedMembers allowedMembers or {@code null} for none
64+
*/
65+
public GoogleCloudDiscoveryengineV1EngineFeaturePolicy setAllowedMembers(java.util.List<GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember> allowedMembers) {
66+
this.allowedMembers = allowedMembers;
67+
return this;
68+
}
69+
70+
/**
71+
* Optional. Access for users who match neither list.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getDefaultAccess() {
75+
return defaultAccess;
76+
}
77+
78+
/**
79+
* Optional. Access for users who match neither list.
80+
* @param defaultAccess defaultAccess or {@code null} for none
81+
*/
82+
public GoogleCloudDiscoveryengineV1EngineFeaturePolicy setDefaultAccess(java.lang.String defaultAccess) {
83+
this.defaultAccess = defaultAccess;
84+
return this;
85+
}
86+
87+
/**
88+
* Optional. Members who may not use the feature. Takes precedence over `allowed_members`.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.util.List<GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember> getDeniedMembers() {
92+
return deniedMembers;
93+
}
94+
95+
/**
96+
* Optional. Members who may not use the feature. Takes precedence over `allowed_members`.
97+
* @param deniedMembers deniedMembers or {@code null} for none
98+
*/
99+
public GoogleCloudDiscoveryengineV1EngineFeaturePolicy setDeniedMembers(java.util.List<GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember> deniedMembers) {
100+
this.deniedMembers = deniedMembers;
101+
return this;
102+
}
103+
104+
@Override
105+
public GoogleCloudDiscoveryengineV1EngineFeaturePolicy set(String fieldName, Object value) {
106+
return (GoogleCloudDiscoveryengineV1EngineFeaturePolicy) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public GoogleCloudDiscoveryengineV1EngineFeaturePolicy clone() {
111+
return (GoogleCloudDiscoveryengineV1EngineFeaturePolicy) super.clone();
112+
}
113+
114+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
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+
* A user or group the policy refers to.
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 GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Label shown in the console. Never used for evaluation.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String displayName;
38+
39+
/**
40+
* Required. Identifier evaluated at serving time. Its format depends on the project's identity
41+
* provider: * Google identity (`GSUITE`): the group or user email. For groups, the server
42+
* resolves the email to a group ID on write and returns the email on read. * Workforce Identity
43+
* Federation (`THIRD_PARTY`), groups: the value the provider emits in `google.groups`. With SCIM
44+
* this is the SCIM group ID; without SCIM and with the default Microsoft Entra mapping it is the
45+
* Entra group object ID. * Workforce Identity Federation, users: the user's workforce identity
46+
* subject.
47+
* The value may be {@code null}.
48+
*/
49+
@com.google.api.client.util.Key
50+
private java.lang.String id;
51+
52+
/**
53+
* Required. Kind of member.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private java.lang.String type;
58+
59+
/**
60+
* Output only. Result of the server's directory check when the member was saved.
61+
* The value may be {@code null}.
62+
*/
63+
@com.google.api.client.util.Key
64+
private java.lang.String verification;
65+
66+
/**
67+
* Optional. Label shown in the console. Never used for evaluation.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getDisplayName() {
71+
return displayName;
72+
}
73+
74+
/**
75+
* Optional. Label shown in the console. Never used for evaluation.
76+
* @param displayName displayName or {@code null} for none
77+
*/
78+
public GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember setDisplayName(java.lang.String displayName) {
79+
this.displayName = displayName;
80+
return this;
81+
}
82+
83+
/**
84+
* Required. Identifier evaluated at serving time. Its format depends on the project's identity
85+
* provider: * Google identity (`GSUITE`): the group or user email. For groups, the server
86+
* resolves the email to a group ID on write and returns the email on read. * Workforce Identity
87+
* Federation (`THIRD_PARTY`), groups: the value the provider emits in `google.groups`. With SCIM
88+
* this is the SCIM group ID; without SCIM and with the default Microsoft Entra mapping it is the
89+
* Entra group object ID. * Workforce Identity Federation, users: the user's workforce identity
90+
* subject.
91+
* @return value or {@code null} for none
92+
*/
93+
public java.lang.String getId() {
94+
return id;
95+
}
96+
97+
/**
98+
* Required. Identifier evaluated at serving time. Its format depends on the project's identity
99+
* provider: * Google identity (`GSUITE`): the group or user email. For groups, the server
100+
* resolves the email to a group ID on write and returns the email on read. * Workforce Identity
101+
* Federation (`THIRD_PARTY`), groups: the value the provider emits in `google.groups`. With SCIM
102+
* this is the SCIM group ID; without SCIM and with the default Microsoft Entra mapping it is the
103+
* Entra group object ID. * Workforce Identity Federation, users: the user's workforce identity
104+
* subject.
105+
* @param id id or {@code null} for none
106+
*/
107+
public GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember setId(java.lang.String id) {
108+
this.id = id;
109+
return this;
110+
}
111+
112+
/**
113+
* Required. Kind of member.
114+
* @return value or {@code null} for none
115+
*/
116+
public java.lang.String getType() {
117+
return type;
118+
}
119+
120+
/**
121+
* Required. Kind of member.
122+
* @param type type or {@code null} for none
123+
*/
124+
public GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember setType(java.lang.String type) {
125+
this.type = type;
126+
return this;
127+
}
128+
129+
/**
130+
* Output only. Result of the server's directory check when the member was saved.
131+
* @return value or {@code null} for none
132+
*/
133+
public java.lang.String getVerification() {
134+
return verification;
135+
}
136+
137+
/**
138+
* Output only. Result of the server's directory check when the member was saved.
139+
* @param verification verification or {@code null} for none
140+
*/
141+
public GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember setVerification(java.lang.String verification) {
142+
this.verification = verification;
143+
return this;
144+
}
145+
146+
@Override
147+
public GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember set(String fieldName, Object value) {
148+
return (GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember) super.set(fieldName, value);
149+
}
150+
151+
@Override
152+
public GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember clone() {
153+
return (GoogleCloudDiscoveryengineV1EngineFeaturePolicyMember) super.clone();
154+
}
155+
156+
}

0 commit comments

Comments
 (0)