Skip to content

Commit 918b680

Browse files
1 parent 441fe4c commit 918b680

File tree

8 files changed

+418
-12
lines changed

8 files changed

+418
-12
lines changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,203 @@
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.servicecontrol.v1.model;
18+
19+
/**
20+
* Report v2 extension proto for passing the resource metadata associated with a resource
21+
* create/update/delete/undelete event from ESF to Chemist. ResourceEvent proto should be serialized
22+
* into the ReportRequest.operations.extensions.
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Service Control API. For a detailed explanation see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class V1ResourceEvent extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* The destinations field determines which backend services should handle the event. This should
36+
* be specified as a comma-delimited string.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String destinations;
41+
42+
/**
43+
* The parent resource for the resource.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private Resource parent;
48+
49+
/**
50+
* The api path the resource event was created in. This should match the source of the `payload`
51+
* field. For direct integrations with Chemist, this should generally be the RESPONSE. go
52+
* /resource-event-pipeline-type
53+
* The value may be {@code null}.
54+
*/
55+
@com.google.api.client.util.Key
56+
private java.lang.String path;
57+
58+
/**
59+
* The payload contains metadata associated with the resource event. A ResourceEventPayloadStatus
60+
* is provided instead if the original payload cannot be returned due to a limitation (e.g. size
61+
* limit).
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.util.Map<String, java.lang.Object> payload;
66+
67+
/**
68+
* The resource associated with the event.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private Resource resource;
73+
74+
/**
75+
* The resource event type determines how the backend service should process the event.
76+
* The value may be {@code null}.
77+
*/
78+
@com.google.api.client.util.Key
79+
private java.lang.String type;
80+
81+
/**
82+
* The destinations field determines which backend services should handle the event. This should
83+
* be specified as a comma-delimited string.
84+
* @return value or {@code null} for none
85+
*/
86+
public java.lang.String getDestinations() {
87+
return destinations;
88+
}
89+
90+
/**
91+
* The destinations field determines which backend services should handle the event. This should
92+
* be specified as a comma-delimited string.
93+
* @param destinations destinations or {@code null} for none
94+
*/
95+
public V1ResourceEvent setDestinations(java.lang.String destinations) {
96+
this.destinations = destinations;
97+
return this;
98+
}
99+
100+
/**
101+
* The parent resource for the resource.
102+
* @return value or {@code null} for none
103+
*/
104+
public Resource getParent() {
105+
return parent;
106+
}
107+
108+
/**
109+
* The parent resource for the resource.
110+
* @param parent parent or {@code null} for none
111+
*/
112+
public V1ResourceEvent setParent(Resource parent) {
113+
this.parent = parent;
114+
return this;
115+
}
116+
117+
/**
118+
* The api path the resource event was created in. This should match the source of the `payload`
119+
* field. For direct integrations with Chemist, this should generally be the RESPONSE. go
120+
* /resource-event-pipeline-type
121+
* @return value or {@code null} for none
122+
*/
123+
public java.lang.String getPath() {
124+
return path;
125+
}
126+
127+
/**
128+
* The api path the resource event was created in. This should match the source of the `payload`
129+
* field. For direct integrations with Chemist, this should generally be the RESPONSE. go
130+
* /resource-event-pipeline-type
131+
* @param path path or {@code null} for none
132+
*/
133+
public V1ResourceEvent setPath(java.lang.String path) {
134+
this.path = path;
135+
return this;
136+
}
137+
138+
/**
139+
* The payload contains metadata associated with the resource event. A ResourceEventPayloadStatus
140+
* is provided instead if the original payload cannot be returned due to a limitation (e.g. size
141+
* limit).
142+
* @return value or {@code null} for none
143+
*/
144+
public java.util.Map<String, java.lang.Object> getPayload() {
145+
return payload;
146+
}
147+
148+
/**
149+
* The payload contains metadata associated with the resource event. A ResourceEventPayloadStatus
150+
* is provided instead if the original payload cannot be returned due to a limitation (e.g. size
151+
* limit).
152+
* @param payload payload or {@code null} for none
153+
*/
154+
public V1ResourceEvent setPayload(java.util.Map<String, java.lang.Object> payload) {
155+
this.payload = payload;
156+
return this;
157+
}
158+
159+
/**
160+
* The resource associated with the event.
161+
* @return value or {@code null} for none
162+
*/
163+
public Resource getResource() {
164+
return resource;
165+
}
166+
167+
/**
168+
* The resource associated with the event.
169+
* @param resource resource or {@code null} for none
170+
*/
171+
public V1ResourceEvent setResource(Resource resource) {
172+
this.resource = resource;
173+
return this;
174+
}
175+
176+
/**
177+
* The resource event type determines how the backend service should process the event.
178+
* @return value or {@code null} for none
179+
*/
180+
public java.lang.String getType() {
181+
return type;
182+
}
183+
184+
/**
185+
* The resource event type determines how the backend service should process the event.
186+
* @param type type or {@code null} for none
187+
*/
188+
public V1ResourceEvent setType(java.lang.String type) {
189+
this.type = type;
190+
return this;
191+
}
192+
193+
@Override
194+
public V1ResourceEvent set(String fieldName, Object value) {
195+
return (V1ResourceEvent) super.set(fieldName, value);
196+
}
197+
198+
@Override
199+
public V1ResourceEvent clone() {
200+
return (V1ResourceEvent) super.clone();
201+
}
202+
203+
}

clients/google-api-services-servicecontrol/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-servicecontrol</artifactId>
11-
<version>v1-rev20240419-2.0.0</version>
12-
<name>Service Control API v1-rev20240419-2.0.0</name>
11+
<version>v1-rev20240426-2.0.0</version>
12+
<name>Service Control API v1-rev20240426-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

clients/google-api-services-servicecontrol/v2/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-servicecontrol</artifactId>
25-
<version>v2-rev20240419-2.0.0</version>
25+
<version>v2-rev20240426-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-servicecontrol:v2-rev20240419-2.0.0'
38+
implementation 'com.google.apis:google-api-services-servicecontrol:v2-rev20240426-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)