Skip to content

Commit 9cb3e39

Browse files
1 parent 245123d commit 9cb3e39

27 files changed

+8607
-993
lines changed

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

clients/google-api-services-eventarc/v1/2.0.0/com/google/api/services/eventarc/v1/Eventarc.java

Lines changed: 4925 additions & 987 deletions
Large diffs are not rendered by default.
Lines changed: 329 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,329 @@
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.eventarc.v1.model;
18+
19+
/**
20+
* An enrollment represents a subscription for messages on a particular message bus. It defines a
21+
* matching criteria for messages on the bus and the subscriber endpoint where matched messages
22+
* should be delivered.
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 Eventarc 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 Enrollment extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Optional. Resource annotations.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.util.Map<String, java.lang.String> annotations;
40+
41+
/**
42+
* Required. A CEL expression identifying which messages this enrollment applies to.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String celMatch;
47+
48+
/**
49+
* Output only. The creation time.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private String createTime;
54+
55+
/**
56+
* Required. Destination is the Pipeline that the Enrollment is delivering to. It must point to
57+
* the full resource name of a Pipeline. Format:
58+
* "projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.lang.String destination;
63+
64+
/**
65+
* Optional. Resource display name.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.lang.String displayName;
70+
71+
/**
72+
* Output only. This checksum is computed by the server based on the value of other fields, and
73+
* might be sent only on update and delete requests to ensure that the client has an up-to-date
74+
* value before proceeding.
75+
* The value may be {@code null}.
76+
*/
77+
@com.google.api.client.util.Key
78+
private java.lang.String etag;
79+
80+
/**
81+
* Optional. Resource labels.
82+
* The value may be {@code null}.
83+
*/
84+
@com.google.api.client.util.Key
85+
private java.util.Map<String, java.lang.String> labels;
86+
87+
/**
88+
* Required. Resource name of the message bus identifying the source of the messages. It matches
89+
* the form projects/{project}/locations/{location}/messageBuses/{messageBus}.
90+
* The value may be {@code null}.
91+
*/
92+
@com.google.api.client.util.Key
93+
private java.lang.String messageBus;
94+
95+
/**
96+
* Identifier. Resource name of the form
97+
* projects/{project}/locations/{location}/enrollments/{enrollment}
98+
* The value may be {@code null}.
99+
*/
100+
@com.google.api.client.util.Key
101+
private java.lang.String name;
102+
103+
/**
104+
* Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and
105+
* guaranteed to remain unchanged until the resource is deleted.
106+
* The value may be {@code null}.
107+
*/
108+
@com.google.api.client.util.Key
109+
private java.lang.String uid;
110+
111+
/**
112+
* Output only. The last-modified time.
113+
* The value may be {@code null}.
114+
*/
115+
@com.google.api.client.util.Key
116+
private String updateTime;
117+
118+
/**
119+
* Optional. Resource annotations.
120+
* @return value or {@code null} for none
121+
*/
122+
public java.util.Map<String, java.lang.String> getAnnotations() {
123+
return annotations;
124+
}
125+
126+
/**
127+
* Optional. Resource annotations.
128+
* @param annotations annotations or {@code null} for none
129+
*/
130+
public Enrollment setAnnotations(java.util.Map<String, java.lang.String> annotations) {
131+
this.annotations = annotations;
132+
return this;
133+
}
134+
135+
/**
136+
* Required. A CEL expression identifying which messages this enrollment applies to.
137+
* @return value or {@code null} for none
138+
*/
139+
public java.lang.String getCelMatch() {
140+
return celMatch;
141+
}
142+
143+
/**
144+
* Required. A CEL expression identifying which messages this enrollment applies to.
145+
* @param celMatch celMatch or {@code null} for none
146+
*/
147+
public Enrollment setCelMatch(java.lang.String celMatch) {
148+
this.celMatch = celMatch;
149+
return this;
150+
}
151+
152+
/**
153+
* Output only. The creation time.
154+
* @return value or {@code null} for none
155+
*/
156+
public String getCreateTime() {
157+
return createTime;
158+
}
159+
160+
/**
161+
* Output only. The creation time.
162+
* @param createTime createTime or {@code null} for none
163+
*/
164+
public Enrollment setCreateTime(String createTime) {
165+
this.createTime = createTime;
166+
return this;
167+
}
168+
169+
/**
170+
* Required. Destination is the Pipeline that the Enrollment is delivering to. It must point to
171+
* the full resource name of a Pipeline. Format:
172+
* "projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
173+
* @return value or {@code null} for none
174+
*/
175+
public java.lang.String getDestination() {
176+
return destination;
177+
}
178+
179+
/**
180+
* Required. Destination is the Pipeline that the Enrollment is delivering to. It must point to
181+
* the full resource name of a Pipeline. Format:
182+
* "projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
183+
* @param destination destination or {@code null} for none
184+
*/
185+
public Enrollment setDestination(java.lang.String destination) {
186+
this.destination = destination;
187+
return this;
188+
}
189+
190+
/**
191+
* Optional. Resource display name.
192+
* @return value or {@code null} for none
193+
*/
194+
public java.lang.String getDisplayName() {
195+
return displayName;
196+
}
197+
198+
/**
199+
* Optional. Resource display name.
200+
* @param displayName displayName or {@code null} for none
201+
*/
202+
public Enrollment setDisplayName(java.lang.String displayName) {
203+
this.displayName = displayName;
204+
return this;
205+
}
206+
207+
/**
208+
* Output only. This checksum is computed by the server based on the value of other fields, and
209+
* might be sent only on update and delete requests to ensure that the client has an up-to-date
210+
* value before proceeding.
211+
* @return value or {@code null} for none
212+
*/
213+
public java.lang.String getEtag() {
214+
return etag;
215+
}
216+
217+
/**
218+
* Output only. This checksum is computed by the server based on the value of other fields, and
219+
* might be sent only on update and delete requests to ensure that the client has an up-to-date
220+
* value before proceeding.
221+
* @param etag etag or {@code null} for none
222+
*/
223+
public Enrollment setEtag(java.lang.String etag) {
224+
this.etag = etag;
225+
return this;
226+
}
227+
228+
/**
229+
* Optional. Resource labels.
230+
* @return value or {@code null} for none
231+
*/
232+
public java.util.Map<String, java.lang.String> getLabels() {
233+
return labels;
234+
}
235+
236+
/**
237+
* Optional. Resource labels.
238+
* @param labels labels or {@code null} for none
239+
*/
240+
public Enrollment setLabels(java.util.Map<String, java.lang.String> labels) {
241+
this.labels = labels;
242+
return this;
243+
}
244+
245+
/**
246+
* Required. Resource name of the message bus identifying the source of the messages. It matches
247+
* the form projects/{project}/locations/{location}/messageBuses/{messageBus}.
248+
* @return value or {@code null} for none
249+
*/
250+
public java.lang.String getMessageBus() {
251+
return messageBus;
252+
}
253+
254+
/**
255+
* Required. Resource name of the message bus identifying the source of the messages. It matches
256+
* the form projects/{project}/locations/{location}/messageBuses/{messageBus}.
257+
* @param messageBus messageBus or {@code null} for none
258+
*/
259+
public Enrollment setMessageBus(java.lang.String messageBus) {
260+
this.messageBus = messageBus;
261+
return this;
262+
}
263+
264+
/**
265+
* Identifier. Resource name of the form
266+
* projects/{project}/locations/{location}/enrollments/{enrollment}
267+
* @return value or {@code null} for none
268+
*/
269+
public java.lang.String getName() {
270+
return name;
271+
}
272+
273+
/**
274+
* Identifier. Resource name of the form
275+
* projects/{project}/locations/{location}/enrollments/{enrollment}
276+
* @param name name or {@code null} for none
277+
*/
278+
public Enrollment setName(java.lang.String name) {
279+
this.name = name;
280+
return this;
281+
}
282+
283+
/**
284+
* Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and
285+
* guaranteed to remain unchanged until the resource is deleted.
286+
* @return value or {@code null} for none
287+
*/
288+
public java.lang.String getUid() {
289+
return uid;
290+
}
291+
292+
/**
293+
* Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and
294+
* guaranteed to remain unchanged until the resource is deleted.
295+
* @param uid uid or {@code null} for none
296+
*/
297+
public Enrollment setUid(java.lang.String uid) {
298+
this.uid = uid;
299+
return this;
300+
}
301+
302+
/**
303+
* Output only. The last-modified time.
304+
* @return value or {@code null} for none
305+
*/
306+
public String getUpdateTime() {
307+
return updateTime;
308+
}
309+
310+
/**
311+
* Output only. The last-modified time.
312+
* @param updateTime updateTime or {@code null} for none
313+
*/
314+
public Enrollment setUpdateTime(String updateTime) {
315+
this.updateTime = updateTime;
316+
return this;
317+
}
318+
319+
@Override
320+
public Enrollment set(String fieldName, Object value) {
321+
return (Enrollment) super.set(fieldName, value);
322+
}
323+
324+
@Override
325+
public Enrollment clone() {
326+
return (Enrollment) super.clone();
327+
}
328+
329+
}

0 commit comments

Comments
 (0)