Skip to content

Commit fb851e0

Browse files
1 parent f5809bb commit fb851e0

8 files changed

+313
-11
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-rev20241213-2.0.0</version>
25+
<version>v1-rev20250129-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-rev20241213-2.0.0'
38+
implementation 'com.google.apis:google-api-services-apigee:v1-rev20250129-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: 212 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6827,6 +6827,218 @@ public Patch set(String parameterName, Object value) {
68276827
}
68286828
}
68296829

6830+
/**
6831+
* An accessor for creating requests from the Debugsessions collection.
6832+
*
6833+
* <p>The typical use is:</p>
6834+
* <pre>
6835+
* {@code Apigee apigee = new Apigee(...);}
6836+
* {@code Apigee.Debugsessions.List request = apigee.debugsessions().list(parameters ...)}
6837+
* </pre>
6838+
*
6839+
* @return the resource collection
6840+
*/
6841+
public Debugsessions debugsessions() {
6842+
return new Debugsessions();
6843+
}
6844+
6845+
/**
6846+
* The "debugsessions" collection of methods.
6847+
*/
6848+
public class Debugsessions {
6849+
6850+
/**
6851+
* Lists debug sessions that are currently active in the given API Proxy.
6852+
*
6853+
* Create a request for the method "debugsessions.list".
6854+
*
6855+
* This request holds the parameters needed by the apigee server. After setting any optional
6856+
* parameters, call the {@link List#execute()} method to invoke the remote operation.
6857+
*
6858+
* @param parent Required. The name of the API Proxy for which to list debug sessions. Must be of the form:
6859+
* `organizations/{organization}/apis/{api}`.
6860+
* @return the request
6861+
*/
6862+
public List list(java.lang.String parent) throws java.io.IOException {
6863+
List result = new List(parent);
6864+
initialize(result);
6865+
return result;
6866+
}
6867+
6868+
public class List extends ApigeeRequest<com.google.api.services.apigee.v1.model.GoogleCloudApigeeV1ListApiDebugSessionsResponse> {
6869+
6870+
private static final String REST_PATH = "v1/{+parent}/debugsessions";
6871+
6872+
private final java.util.regex.Pattern PARENT_PATTERN =
6873+
java.util.regex.Pattern.compile("^organizations/[^/]+/apis/[^/]+$");
6874+
6875+
/**
6876+
* Lists debug sessions that are currently active in the given API Proxy.
6877+
*
6878+
* Create a request for the method "debugsessions.list".
6879+
*
6880+
* This request holds the parameters needed by the the apigee server. After setting any optional
6881+
* parameters, call the {@link List#execute()} method to invoke the remote operation. <p> {@link
6882+
* List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
6883+
* called to initialize this instance immediately after invoking the constructor. </p>
6884+
*
6885+
* @param parent Required. The name of the API Proxy for which to list debug sessions. Must be of the form:
6886+
* `organizations/{organization}/apis/{api}`.
6887+
* @since 1.13
6888+
*/
6889+
protected List(java.lang.String parent) {
6890+
super(Apigee.this, "GET", REST_PATH, null, com.google.api.services.apigee.v1.model.GoogleCloudApigeeV1ListApiDebugSessionsResponse.class);
6891+
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
6892+
if (!getSuppressPatternChecks()) {
6893+
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
6894+
"Parameter parent must conform to the pattern " +
6895+
"^organizations/[^/]+/apis/[^/]+$");
6896+
}
6897+
}
6898+
6899+
@Override
6900+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
6901+
return super.executeUsingHead();
6902+
}
6903+
6904+
@Override
6905+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
6906+
return super.buildHttpRequestUsingHead();
6907+
}
6908+
6909+
@Override
6910+
public List set$Xgafv(java.lang.String $Xgafv) {
6911+
return (List) super.set$Xgafv($Xgafv);
6912+
}
6913+
6914+
@Override
6915+
public List setAccessToken(java.lang.String accessToken) {
6916+
return (List) super.setAccessToken(accessToken);
6917+
}
6918+
6919+
@Override
6920+
public List setAlt(java.lang.String alt) {
6921+
return (List) super.setAlt(alt);
6922+
}
6923+
6924+
@Override
6925+
public List setCallback(java.lang.String callback) {
6926+
return (List) super.setCallback(callback);
6927+
}
6928+
6929+
@Override
6930+
public List setFields(java.lang.String fields) {
6931+
return (List) super.setFields(fields);
6932+
}
6933+
6934+
@Override
6935+
public List setKey(java.lang.String key) {
6936+
return (List) super.setKey(key);
6937+
}
6938+
6939+
@Override
6940+
public List setOauthToken(java.lang.String oauthToken) {
6941+
return (List) super.setOauthToken(oauthToken);
6942+
}
6943+
6944+
@Override
6945+
public List setPrettyPrint(java.lang.Boolean prettyPrint) {
6946+
return (List) super.setPrettyPrint(prettyPrint);
6947+
}
6948+
6949+
@Override
6950+
public List setQuotaUser(java.lang.String quotaUser) {
6951+
return (List) super.setQuotaUser(quotaUser);
6952+
}
6953+
6954+
@Override
6955+
public List setUploadType(java.lang.String uploadType) {
6956+
return (List) super.setUploadType(uploadType);
6957+
}
6958+
6959+
@Override
6960+
public List setUploadProtocol(java.lang.String uploadProtocol) {
6961+
return (List) super.setUploadProtocol(uploadProtocol);
6962+
}
6963+
6964+
/**
6965+
* Required. The name of the API Proxy for which to list debug sessions. Must be of the
6966+
* form: `organizations/{organization}/apis/{api}`.
6967+
*/
6968+
@com.google.api.client.util.Key
6969+
private java.lang.String parent;
6970+
6971+
/** Required. The name of the API Proxy for which to list debug sessions. Must be of the form:
6972+
`organizations/{organization}/apis/{api}`.
6973+
*/
6974+
public java.lang.String getParent() {
6975+
return parent;
6976+
}
6977+
6978+
/**
6979+
* Required. The name of the API Proxy for which to list debug sessions. Must be of the
6980+
* form: `organizations/{organization}/apis/{api}`.
6981+
*/
6982+
public List setParent(java.lang.String parent) {
6983+
if (!getSuppressPatternChecks()) {
6984+
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
6985+
"Parameter parent must conform to the pattern " +
6986+
"^organizations/[^/]+/apis/[^/]+$");
6987+
}
6988+
this.parent = parent;
6989+
return this;
6990+
}
6991+
6992+
/**
6993+
* Optional. Maximum number of debug sessions to return. The page size defaults to 25.
6994+
*/
6995+
@com.google.api.client.util.Key
6996+
private java.lang.Integer pageSize;
6997+
6998+
/** Optional. Maximum number of debug sessions to return. The page size defaults to 25.
6999+
*/
7000+
public java.lang.Integer getPageSize() {
7001+
return pageSize;
7002+
}
7003+
7004+
/**
7005+
* Optional. Maximum number of debug sessions to return. The page size defaults to 25.
7006+
*/
7007+
public List setPageSize(java.lang.Integer pageSize) {
7008+
this.pageSize = pageSize;
7009+
return this;
7010+
}
7011+
7012+
/**
7013+
* Optional. Page token, returned from a previous ListApiDebugSessions call, that you can
7014+
* use to retrieve the next page.
7015+
*/
7016+
@com.google.api.client.util.Key
7017+
private java.lang.String pageToken;
7018+
7019+
/** Optional. Page token, returned from a previous ListApiDebugSessions call, that you can use to
7020+
retrieve the next page.
7021+
*/
7022+
public java.lang.String getPageToken() {
7023+
return pageToken;
7024+
}
7025+
7026+
/**
7027+
* Optional. Page token, returned from a previous ListApiDebugSessions call, that you can
7028+
* use to retrieve the next page.
7029+
*/
7030+
public List setPageToken(java.lang.String pageToken) {
7031+
this.pageToken = pageToken;
7032+
return this;
7033+
}
7034+
7035+
@Override
7036+
public List set(String parameterName, Object value) {
7037+
return (List) super.set(parameterName, value);
7038+
}
7039+
}
7040+
7041+
}
68307042
/**
68317043
* An accessor for creating requests from the Deployments collection.
68327044
*

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.apigee.v1.model;
1818

1919
/**
20-
* Message for include_all option.
20+
* Message for include_all_resources option.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Apigee API. For a detailed explanation see:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.apigee.v1.model;
1818

1919
/**
20-
* An array of resource messages.
20+
* Message for the array of resources. For Apigee, the proxies are resources.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Apigee API. For a detailed explanation see:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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+
* Response for ListApiDebugSessions.
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 GoogleCloudApigeeV1ListApiDebugSessionsResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Page token that you can include in a ListApiDebugSessionsRequest to retrieve the next page. If
34+
* omitted, no subsequent pages exist.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String nextPageToken;
39+
40+
/**
41+
* Session info that includes debug session ID and the first transaction creation timestamp.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<GoogleCloudApigeeV1Session> sessions;
46+
47+
/**
48+
* Page token that you can include in a ListApiDebugSessionsRequest to retrieve the next page. If
49+
* omitted, no subsequent pages exist.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.lang.String getNextPageToken() {
53+
return nextPageToken;
54+
}
55+
56+
/**
57+
* Page token that you can include in a ListApiDebugSessionsRequest to retrieve the next page. If
58+
* omitted, no subsequent pages exist.
59+
* @param nextPageToken nextPageToken or {@code null} for none
60+
*/
61+
public GoogleCloudApigeeV1ListApiDebugSessionsResponse setNextPageToken(java.lang.String nextPageToken) {
62+
this.nextPageToken = nextPageToken;
63+
return this;
64+
}
65+
66+
/**
67+
* Session info that includes debug session ID and the first transaction creation timestamp.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.util.List<GoogleCloudApigeeV1Session> getSessions() {
71+
return sessions;
72+
}
73+
74+
/**
75+
* Session info that includes debug session ID and the first transaction creation timestamp.
76+
* @param sessions sessions or {@code null} for none
77+
*/
78+
public GoogleCloudApigeeV1ListApiDebugSessionsResponse setSessions(java.util.List<GoogleCloudApigeeV1Session> sessions) {
79+
this.sessions = sessions;
80+
return this;
81+
}
82+
83+
@Override
84+
public GoogleCloudApigeeV1ListApiDebugSessionsResponse set(String fieldName, Object value) {
85+
return (GoogleCloudApigeeV1ListApiDebugSessionsResponse) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public GoogleCloudApigeeV1ListApiDebugSessionsResponse clone() {
90+
return (GoogleCloudApigeeV1ListApiDebugSessionsResponse) super.clone();
91+
}
92+
93+
}

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ public final class GoogleCloudApigeeV1SecurityAssessmentResultScoringResult exte
6161
private java.lang.Integer score;
6262

6363
/**
64-
* The severity of the assessment.
6564
* The value may be {@code null}.
6665
*/
6766
@com.google.api.client.util.Key
@@ -142,15 +141,13 @@ public GoogleCloudApigeeV1SecurityAssessmentResultScoringResult setScore(java.la
142141
}
143142

144143
/**
145-
* The severity of the assessment.
146144
* @return value or {@code null} for none
147145
*/
148146
public java.lang.String getSeverity() {
149147
return severity;
150148
}
151149

152150
/**
153-
* The severity of the assessment.
154151
* @param severity severity or {@code null} for none
155152
*/
156153
public GoogleCloudApigeeV1SecurityAssessmentResultScoringResult setSeverity(java.lang.String severity) {

clients/google-api-services-apigee/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-apigee</artifactId>
11-
<version>v1-rev20241213-2.0.0</version>
12-
<name>Apigee API v1-rev20241213-2.0.0</name>
11+
<version>v1-rev20250129-2.0.0</version>
12+
<name>Apigee API v1-rev20250129-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)