Skip to content

Commit 08b2727

Browse files
1 parent 4f1b03e commit 08b2727

File tree

6 files changed

+201
-6
lines changed

6 files changed

+201
-6
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-rev20241210-2.0.0</version>
25+
<version>v1-rev20241213-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-rev20241210-2.0.0'
38+
implementation 'com.google.apis:google-api-services-apigee:v1-rev20241213-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@ public final class GoogleCloudApigeeV1Environment extends com.google.api.client.
3737
@com.google.api.client.util.Key
3838
private java.lang.String apiProxyType;
3939

40+
/**
41+
* Optional. The algorithm to resolve IP. This will affect Analytics, API Security, and other
42+
* features that use the client ip. To remove a client ip resolution config, update the field to
43+
* an empty value. Example: '{ "clientIpResolutionConfig" = {} }' For more information, see:
44+
* https://cloud.google.com/apigee/docs/api-platform/system-administration/client-ip-resolution.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig clientIpResolutionConfig;
49+
4050
/**
4151
* Output only. Creation time of this environment as milliseconds since epoch.
4252
* The value may be {@code null}.
@@ -151,6 +161,29 @@ public GoogleCloudApigeeV1Environment setApiProxyType(java.lang.String apiProxyT
151161
return this;
152162
}
153163

164+
/**
165+
* Optional. The algorithm to resolve IP. This will affect Analytics, API Security, and other
166+
* features that use the client ip. To remove a client ip resolution config, update the field to
167+
* an empty value. Example: '{ "clientIpResolutionConfig" = {} }' For more information, see:
168+
* https://cloud.google.com/apigee/docs/api-platform/system-administration/client-ip-resolution.
169+
* @return value or {@code null} for none
170+
*/
171+
public GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig getClientIpResolutionConfig() {
172+
return clientIpResolutionConfig;
173+
}
174+
175+
/**
176+
* Optional. The algorithm to resolve IP. This will affect Analytics, API Security, and other
177+
* features that use the client ip. To remove a client ip resolution config, update the field to
178+
* an empty value. Example: '{ "clientIpResolutionConfig" = {} }' For more information, see:
179+
* https://cloud.google.com/apigee/docs/api-platform/system-administration/client-ip-resolution.
180+
* @param clientIpResolutionConfig clientIpResolutionConfig or {@code null} for none
181+
*/
182+
public GoogleCloudApigeeV1Environment setClientIpResolutionConfig(GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig clientIpResolutionConfig) {
183+
this.clientIpResolutionConfig = clientIpResolutionConfig;
184+
return this;
185+
}
186+
154187
/**
155188
* Output only. Creation time of this environment as milliseconds since epoch.
156189
* @return value or {@code null} for none
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.apigee.v1.model;
18+
19+
/**
20+
* Configuration for resolving the client ip.
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 GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Resolves the client ip based on a custom header.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm headerIndexAlgorithm;
38+
39+
/**
40+
* Resolves the client ip based on a custom header.
41+
* @return value or {@code null} for none
42+
*/
43+
public GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm getHeaderIndexAlgorithm() {
44+
return headerIndexAlgorithm;
45+
}
46+
47+
/**
48+
* Resolves the client ip based on a custom header.
49+
* @param headerIndexAlgorithm headerIndexAlgorithm or {@code null} for none
50+
*/
51+
public GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig setHeaderIndexAlgorithm(GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm headerIndexAlgorithm) {
52+
this.headerIndexAlgorithm = headerIndexAlgorithm;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig set(String fieldName, Object value) {
58+
return (GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig clone() {
63+
return (GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig) super.clone();
64+
}
65+
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
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+
* Resolves the client ip based on a custom header.
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 GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The index of the ip in the header. Positive indices 0, 1, 2, 3 chooses indices from
34+
* the left (first ips) Negative indices -1, -2, -3 chooses indices from the right (last ips)
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Integer ipHeaderIndex;
39+
40+
/**
41+
* Required. The name of the header to extract the client ip from. We are currently only
42+
* supporting the X-Forwarded-For header.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String ipHeaderName;
47+
48+
/**
49+
* Required. The index of the ip in the header. Positive indices 0, 1, 2, 3 chooses indices from
50+
* the left (first ips) Negative indices -1, -2, -3 chooses indices from the right (last ips)
51+
* @return value or {@code null} for none
52+
*/
53+
public java.lang.Integer getIpHeaderIndex() {
54+
return ipHeaderIndex;
55+
}
56+
57+
/**
58+
* Required. The index of the ip in the header. Positive indices 0, 1, 2, 3 chooses indices from
59+
* the left (first ips) Negative indices -1, -2, -3 chooses indices from the right (last ips)
60+
* @param ipHeaderIndex ipHeaderIndex or {@code null} for none
61+
*/
62+
public GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm setIpHeaderIndex(java.lang.Integer ipHeaderIndex) {
63+
this.ipHeaderIndex = ipHeaderIndex;
64+
return this;
65+
}
66+
67+
/**
68+
* Required. The name of the header to extract the client ip from. We are currently only
69+
* supporting the X-Forwarded-For header.
70+
* @return value or {@code null} for none
71+
*/
72+
public java.lang.String getIpHeaderName() {
73+
return ipHeaderName;
74+
}
75+
76+
/**
77+
* Required. The name of the header to extract the client ip from. We are currently only
78+
* supporting the X-Forwarded-For header.
79+
* @param ipHeaderName ipHeaderName or {@code null} for none
80+
*/
81+
public GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm setIpHeaderName(java.lang.String ipHeaderName) {
82+
this.ipHeaderName = ipHeaderName;
83+
return this;
84+
}
85+
86+
@Override
87+
public GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm set(String fieldName, Object value) {
88+
return (GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm) super.set(fieldName, value);
89+
}
90+
91+
@Override
92+
public GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm clone() {
93+
return (GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm) super.clone();
94+
}
95+
96+
}

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-rev20241210-2.0.0</version>
12-
<name>Apigee API v1-rev20241210-2.0.0</name>
11+
<version>v1-rev20241213-2.0.0</version>
12+
<name>Apigee API v1-rev20241213-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)