Skip to content

Commit 4c381c8

Browse files
1 parent ad1f548 commit 4c381c8

9 files changed

+751
-6
lines changed

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

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

Lines changed: 328 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
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.v1alpha.model;
18+
19+
/**
20+
* Request message for LicenseConfigService.DistributeLicenseConfig method.
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 GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Distribute seats to this license config instead of creating a new one. If not
34+
* specified, a new license config will be created from the billing account license config.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String licenseConfigId;
39+
40+
/**
41+
* Required. The number of licenses to distribute.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
45+
private java.lang.Long licenseCount;
46+
47+
/**
48+
* Required. The target GCP project region to distribute the license config to.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String location;
53+
54+
/**
55+
* Required. The target GCP project number to distribute the license config to.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
59+
private java.lang.Long projectNumber;
60+
61+
/**
62+
* Optional. Distribute seats to this license config instead of creating a new one. If not
63+
* specified, a new license config will be created from the billing account license config.
64+
* @return value or {@code null} for none
65+
*/
66+
public java.lang.String getLicenseConfigId() {
67+
return licenseConfigId;
68+
}
69+
70+
/**
71+
* Optional. Distribute seats to this license config instead of creating a new one. If not
72+
* specified, a new license config will be created from the billing account license config.
73+
* @param licenseConfigId licenseConfigId or {@code null} for none
74+
*/
75+
public GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest setLicenseConfigId(java.lang.String licenseConfigId) {
76+
this.licenseConfigId = licenseConfigId;
77+
return this;
78+
}
79+
80+
/**
81+
* Required. The number of licenses to distribute.
82+
* @return value or {@code null} for none
83+
*/
84+
public java.lang.Long getLicenseCount() {
85+
return licenseCount;
86+
}
87+
88+
/**
89+
* Required. The number of licenses to distribute.
90+
* @param licenseCount licenseCount or {@code null} for none
91+
*/
92+
public GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest setLicenseCount(java.lang.Long licenseCount) {
93+
this.licenseCount = licenseCount;
94+
return this;
95+
}
96+
97+
/**
98+
* Required. The target GCP project region to distribute the license config to.
99+
* @return value or {@code null} for none
100+
*/
101+
public java.lang.String getLocation() {
102+
return location;
103+
}
104+
105+
/**
106+
* Required. The target GCP project region to distribute the license config to.
107+
* @param location location or {@code null} for none
108+
*/
109+
public GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest setLocation(java.lang.String location) {
110+
this.location = location;
111+
return this;
112+
}
113+
114+
/**
115+
* Required. The target GCP project number to distribute the license config to.
116+
* @return value or {@code null} for none
117+
*/
118+
public java.lang.Long getProjectNumber() {
119+
return projectNumber;
120+
}
121+
122+
/**
123+
* Required. The target GCP project number to distribute the license config to.
124+
* @param projectNumber projectNumber or {@code null} for none
125+
*/
126+
public GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest setProjectNumber(java.lang.Long projectNumber) {
127+
this.projectNumber = projectNumber;
128+
return this;
129+
}
130+
131+
@Override
132+
public GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest set(String fieldName, Object value) {
133+
return (GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest) super.set(fieldName, value);
134+
}
135+
136+
@Override
137+
public GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest clone() {
138+
return (GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest) super.clone();
139+
}
140+
141+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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.v1alpha.model;
18+
19+
/**
20+
* Response message for LicenseConfigService.DistributeLicenseConfig method.
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 GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The updated or created LicenseConfig.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudDiscoveryengineV1alphaLicenseConfig licenseConfig;
38+
39+
/**
40+
* The updated or created LicenseConfig.
41+
* @return value or {@code null} for none
42+
*/
43+
public GoogleCloudDiscoveryengineV1alphaLicenseConfig getLicenseConfig() {
44+
return licenseConfig;
45+
}
46+
47+
/**
48+
* The updated or created LicenseConfig.
49+
* @param licenseConfig licenseConfig or {@code null} for none
50+
*/
51+
public GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse setLicenseConfig(GoogleCloudDiscoveryengineV1alphaLicenseConfig licenseConfig) {
52+
this.licenseConfig = licenseConfig;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse set(String fieldName, Object value) {
58+
return (GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse clone() {
63+
return (GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse) super.clone();
64+
}
65+
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
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.v1alpha.model;
18+
19+
/**
20+
* Request message for LicenseConfigService.RetractLicenseConfig method.
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 GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. If set to true, retract the entire license config. Otherwise, retract the specified
34+
* license count.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Boolean fullRetract;
39+
40+
/**
41+
* Required. Full resource name of LicenseConfig. Format:
42+
* `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String licenseConfig;
47+
48+
/**
49+
* Optional. The number of licenses to retract. Only used when full_retract is false.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
53+
private java.lang.Long licenseCount;
54+
55+
/**
56+
* Optional. If set to true, retract the entire license config. Otherwise, retract the specified
57+
* license count.
58+
* @return value or {@code null} for none
59+
*/
60+
public java.lang.Boolean getFullRetract() {
61+
return fullRetract;
62+
}
63+
64+
/**
65+
* Optional. If set to true, retract the entire license config. Otherwise, retract the specified
66+
* license count.
67+
* @param fullRetract fullRetract or {@code null} for none
68+
*/
69+
public GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest setFullRetract(java.lang.Boolean fullRetract) {
70+
this.fullRetract = fullRetract;
71+
return this;
72+
}
73+
74+
/**
75+
* Required. Full resource name of LicenseConfig. Format:
76+
* `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`.
77+
* @return value or {@code null} for none
78+
*/
79+
public java.lang.String getLicenseConfig() {
80+
return licenseConfig;
81+
}
82+
83+
/**
84+
* Required. Full resource name of LicenseConfig. Format:
85+
* `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`.
86+
* @param licenseConfig licenseConfig or {@code null} for none
87+
*/
88+
public GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest setLicenseConfig(java.lang.String licenseConfig) {
89+
this.licenseConfig = licenseConfig;
90+
return this;
91+
}
92+
93+
/**
94+
* Optional. The number of licenses to retract. Only used when full_retract is false.
95+
* @return value or {@code null} for none
96+
*/
97+
public java.lang.Long getLicenseCount() {
98+
return licenseCount;
99+
}
100+
101+
/**
102+
* Optional. The number of licenses to retract. Only used when full_retract is false.
103+
* @param licenseCount licenseCount or {@code null} for none
104+
*/
105+
public GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest setLicenseCount(java.lang.Long licenseCount) {
106+
this.licenseCount = licenseCount;
107+
return this;
108+
}
109+
110+
@Override
111+
public GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest set(String fieldName, Object value) {
112+
return (GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest) super.set(fieldName, value);
113+
}
114+
115+
@Override
116+
public GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest clone() {
117+
return (GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest) super.clone();
118+
}
119+
120+
}

0 commit comments

Comments
 (0)