Skip to content

Commit c42b2fd

Browse files
1 parent 0e68556 commit c42b2fd

13 files changed

+582
-18
lines changed

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

clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/Apigee.java

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56125,6 +56125,28 @@ public Delete setName(java.lang.String name) {
5612556125
return this;
5612656126
}
5612756127

56128+
/**
56129+
* Optional. The risk assessment type of the security profile. Defaults to
56130+
* ADVANCED_API_SECURITY.
56131+
*/
56132+
@com.google.api.client.util.Key
56133+
private java.lang.String riskAssessmentType;
56134+
56135+
/** Optional. The risk assessment type of the security profile. Defaults to ADVANCED_API_SECURITY.
56136+
*/
56137+
public java.lang.String getRiskAssessmentType() {
56138+
return riskAssessmentType;
56139+
}
56140+
56141+
/**
56142+
* Optional. The risk assessment type of the security profile. Defaults to
56143+
* ADVANCED_API_SECURITY.
56144+
*/
56145+
public Delete setRiskAssessmentType(java.lang.String riskAssessmentType) {
56146+
this.riskAssessmentType = riskAssessmentType;
56147+
return this;
56148+
}
56149+
5612856150
@Override
5612956151
public Delete set(String parameterName, Object value) {
5613056152
return (Delete) super.set(parameterName, value);
@@ -56272,6 +56294,28 @@ public Get setName(java.lang.String name) {
5627256294
return this;
5627356295
}
5627456296

56297+
/**
56298+
* Optional. The risk assessment type of the security profile. Defaults to
56299+
* ADVANCED_API_SECURITY.
56300+
*/
56301+
@com.google.api.client.util.Key
56302+
private java.lang.String riskAssessmentType;
56303+
56304+
/** Optional. The risk assessment type of the security profile. Defaults to ADVANCED_API_SECURITY.
56305+
*/
56306+
public java.lang.String getRiskAssessmentType() {
56307+
return riskAssessmentType;
56308+
}
56309+
56310+
/**
56311+
* Optional. The risk assessment type of the security profile. Defaults to
56312+
* ADVANCED_API_SECURITY.
56313+
*/
56314+
public Get setRiskAssessmentType(java.lang.String riskAssessmentType) {
56315+
this.riskAssessmentType = riskAssessmentType;
56316+
return this;
56317+
}
56318+
5627556319
@Override
5627656320
public Get set(String parameterName, Object value) {
5627756321
return (Get) super.set(parameterName, value);
@@ -56458,6 +56502,28 @@ public List setPageToken(java.lang.String pageToken) {
5645856502
return this;
5645956503
}
5646056504

56505+
/**
56506+
* Optional. The risk assessment type of the security profiles. Defaults to
56507+
* ADVANCED_API_SECURITY.
56508+
*/
56509+
@com.google.api.client.util.Key
56510+
private java.lang.String riskAssessmentType;
56511+
56512+
/** Optional. The risk assessment type of the security profiles. Defaults to ADVANCED_API_SECURITY.
56513+
*/
56514+
public java.lang.String getRiskAssessmentType() {
56515+
return riskAssessmentType;
56516+
}
56517+
56518+
/**
56519+
* Optional. The risk assessment type of the security profiles. Defaults to
56520+
* ADVANCED_API_SECURITY.
56521+
*/
56522+
public List setRiskAssessmentType(java.lang.String riskAssessmentType) {
56523+
this.riskAssessmentType = riskAssessmentType;
56524+
return this;
56525+
}
56526+
5646156527
@Override
5646256528
public List set(String parameterName, Object value) {
5646356529
return (List) super.set(parameterName, value);

clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest.java

Lines changed: 57 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,20 @@
2929
@SuppressWarnings("javadoc")
3030
public final class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* An array of API Hub APIs to assess. A maximum of 1 API can be assessed.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray apiHubApis;
38+
39+
/**
40+
* An array of API Hub Gateways to assess. A maximum of 3 gateways can be assessed.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray apiHubGateways;
45+
3246
/**
3347
* Include only these resources.
3448
* The value may be {@code null}.
@@ -67,13 +81,48 @@ public final class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsReque
6781
private java.lang.String profile;
6882

6983
/**
70-
* Optional. Scope of the resources for the computation. For Apigee, the environment is the scope
71-
* of the resources.
84+
* Optional. Scope of the resources for the computation. When computing scores for Apigee proxies,
85+
* the scope should be set to the environment of the resources. When computing scores for API Hub
86+
* deployments, api_hub_scope should be set instead.
7287
* The value may be {@code null}.
7388
*/
7489
@com.google.api.client.util.Key
7590
private java.lang.String scope;
7691

92+
/**
93+
* An array of API Hub APIs to assess. A maximum of 1 API can be assessed.
94+
* @return value or {@code null} for none
95+
*/
96+
public GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray getApiHubApis() {
97+
return apiHubApis;
98+
}
99+
100+
/**
101+
* An array of API Hub APIs to assess. A maximum of 1 API can be assessed.
102+
* @param apiHubApis apiHubApis or {@code null} for none
103+
*/
104+
public GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest setApiHubApis(GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray apiHubApis) {
105+
this.apiHubApis = apiHubApis;
106+
return this;
107+
}
108+
109+
/**
110+
* An array of API Hub Gateways to assess. A maximum of 3 gateways can be assessed.
111+
* @return value or {@code null} for none
112+
*/
113+
public GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray getApiHubGateways() {
114+
return apiHubGateways;
115+
}
116+
117+
/**
118+
* An array of API Hub Gateways to assess. A maximum of 3 gateways can be assessed.
119+
* @param apiHubGateways apiHubGateways or {@code null} for none
120+
*/
121+
public GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest setApiHubGateways(GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray apiHubGateways) {
122+
this.apiHubGateways = apiHubGateways;
123+
return this;
124+
}
125+
77126
/**
78127
* Include only these resources.
79128
* @return value or {@code null} for none
@@ -164,17 +213,19 @@ public GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest setProfil
164213
}
165214

166215
/**
167-
* Optional. Scope of the resources for the computation. For Apigee, the environment is the scope
168-
* of the resources.
216+
* Optional. Scope of the resources for the computation. When computing scores for Apigee proxies,
217+
* the scope should be set to the environment of the resources. When computing scores for API Hub
218+
* deployments, api_hub_scope should be set instead.
169219
* @return value or {@code null} for none
170220
*/
171221
public java.lang.String getScope() {
172222
return scope;
173223
}
174224

175225
/**
176-
* Optional. Scope of the resources for the computation. For Apigee, the environment is the scope
177-
* of the resources.
226+
* Optional. Scope of the resources for the computation. When computing scores for Apigee proxies,
227+
* the scope should be set to the environment of the resources. When computing scores for API Hub
228+
* deployments, api_hub_scope should be set instead.
178229
* @param scope scope or {@code null} for none
179230
*/
180231
public GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest setScope(java.lang.String scope) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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.apigee.v1.model;
18+
19+
/**
20+
* Message for the array of API Hub APIs.
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 Apigee 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 GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The array of API Hub API IDs. Format:
34+
* `projects/{project}/locations/{location}/apis/{api}`
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<java.lang.String> apis;
39+
40+
/**
41+
* Required. The array of API Hub API IDs. Format:
42+
* `projects/{project}/locations/{location}/apis/{api}`
43+
* @return value or {@code null} for none
44+
*/
45+
public java.util.List<java.lang.String> getApis() {
46+
return apis;
47+
}
48+
49+
/**
50+
* Required. The array of API Hub API IDs. Format:
51+
* `projects/{project}/locations/{location}/apis/{api}`
52+
* @param apis apis or {@code null} for none
53+
*/
54+
public GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray setApis(java.util.List<java.lang.String> apis) {
55+
this.apis = apis;
56+
return this;
57+
}
58+
59+
@Override
60+
public GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray set(String fieldName, Object value) {
61+
return (GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray) super.set(fieldName, value);
62+
}
63+
64+
@Override
65+
public GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray clone() {
66+
return (GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray) super.clone();
67+
}
68+
69+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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.apigee.v1.model;
18+
19+
/**
20+
* Message for the array of API Hub Gateways.
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 Apigee 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 GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The array of API Hub Gateway IDs. Format:
34+
* `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<java.lang.String> gateways;
39+
40+
/**
41+
* Required. The array of API Hub Gateway IDs. Format:
42+
* `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
43+
* @return value or {@code null} for none
44+
*/
45+
public java.util.List<java.lang.String> getGateways() {
46+
return gateways;
47+
}
48+
49+
/**
50+
* Required. The array of API Hub Gateway IDs. Format:
51+
* `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
52+
* @param gateways gateways or {@code null} for none
53+
*/
54+
public GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray setGateways(java.util.List<java.lang.String> gateways) {
55+
this.gateways = gateways;
56+
return this;
57+
}
58+
59+
@Override
60+
public GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray set(String fieldName, Object value) {
61+
return (GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray) super.set(fieldName, value);
62+
}
63+
64+
@Override
65+
public GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray clone() {
66+
return (GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray) super.clone();
67+
}
68+
69+
}

clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArrayResource.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
public final class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArrayResource extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Required. Name of this resource.
33+
* Required. Name of this resource. For an Apigee API Proxy, this should be the id of the API
34+
* proxy. For an API Hub Deployment, this should be the id of the deployment.
3435
* The value may be {@code null}.
3536
*/
3637
@com.google.api.client.util.Key
@@ -44,15 +45,17 @@ public final class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsReque
4445
private java.lang.String type;
4546

4647
/**
47-
* Required. Name of this resource.
48+
* Required. Name of this resource. For an Apigee API Proxy, this should be the id of the API
49+
* proxy. For an API Hub Deployment, this should be the id of the deployment.
4850
* @return value or {@code null} for none
4951
*/
5052
public java.lang.String getName() {
5153
return name;
5254
}
5355

5456
/**
55-
* Required. Name of this resource.
57+
* Required. Name of this resource. For an Apigee API Proxy, this should be the id of the API
58+
* proxy. For an API Hub Deployment, this should be the id of the deployment.
5659
* @param name name or {@code null} for none
5760
*/
5861
public GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArrayResource setName(java.lang.String name) {

0 commit comments

Comments
 (0)