Skip to content

Commit 0f7f369

Browse files
1 parent 3f75420 commit 0f7f369

File tree

6 files changed

+201
-6
lines changed

6 files changed

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

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

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,22 @@ public final class GoogleApiSource extends com.google.api.client.json.GenericJso
9898
@com.google.api.client.util.Key
9999
private java.lang.String name;
100100

101+
/**
102+
* Optional. Config to enable subscribing to events from all projects in the GoogleApiSource's
103+
* org.
104+
* The value may be {@code null}.
105+
*/
106+
@com.google.api.client.util.Key
107+
private OrganizationSubscription organizationSubscription;
108+
109+
/**
110+
* Optional. Config to enable subscribing to all events from a list of projects. All the projects
111+
* must be in the same org as the GoogleApiSource.
112+
* The value may be {@code null}.
113+
*/
114+
@com.google.api.client.util.Key
115+
private ProjectSubscriptions projectSubscriptions;
116+
101117
/**
102118
* Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and
103119
* guaranteed to remain unchanged until the resource is deleted.
@@ -278,6 +294,44 @@ public GoogleApiSource setName(java.lang.String name) {
278294
return this;
279295
}
280296

297+
/**
298+
* Optional. Config to enable subscribing to events from all projects in the GoogleApiSource's
299+
* org.
300+
* @return value or {@code null} for none
301+
*/
302+
public OrganizationSubscription getOrganizationSubscription() {
303+
return organizationSubscription;
304+
}
305+
306+
/**
307+
* Optional. Config to enable subscribing to events from all projects in the GoogleApiSource's
308+
* org.
309+
* @param organizationSubscription organizationSubscription or {@code null} for none
310+
*/
311+
public GoogleApiSource setOrganizationSubscription(OrganizationSubscription organizationSubscription) {
312+
this.organizationSubscription = organizationSubscription;
313+
return this;
314+
}
315+
316+
/**
317+
* Optional. Config to enable subscribing to all events from a list of projects. All the projects
318+
* must be in the same org as the GoogleApiSource.
319+
* @return value or {@code null} for none
320+
*/
321+
public ProjectSubscriptions getProjectSubscriptions() {
322+
return projectSubscriptions;
323+
}
324+
325+
/**
326+
* Optional. Config to enable subscribing to all events from a list of projects. All the projects
327+
* must be in the same org as the GoogleApiSource.
328+
* @param projectSubscriptions projectSubscriptions or {@code null} for none
329+
*/
330+
public GoogleApiSource setProjectSubscriptions(ProjectSubscriptions projectSubscriptions) {
331+
this.projectSubscriptions = projectSubscriptions;
332+
return this;
333+
}
334+
281335
/**
282336
* Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and
283337
* guaranteed to remain unchanged until the resource is deleted.
Lines changed: 66 additions & 0 deletions
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.eventarc.v1.model;
18+
19+
/**
20+
* Config to enabled subscribing to events from other projects in the org.
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 Eventarc 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 OrganizationSubscription extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. Enable org level subscription.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Boolean enabled;
38+
39+
/**
40+
* Required. Enable org level subscription.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.Boolean getEnabled() {
44+
return enabled;
45+
}
46+
47+
/**
48+
* Required. Enable org level subscription.
49+
* @param enabled enabled or {@code null} for none
50+
*/
51+
public OrganizationSubscription setEnabled(java.lang.Boolean enabled) {
52+
this.enabled = enabled;
53+
return this;
54+
}
55+
56+
@Override
57+
public OrganizationSubscription set(String fieldName, Object value) {
58+
return (OrganizationSubscription) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public OrganizationSubscription clone() {
63+
return (OrganizationSubscription) super.clone();
64+
}
65+
66+
}
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
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+
* Config to enable subscribing to all events from a list of projects.
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 Eventarc 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 ProjectSubscriptions extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. A list of projects to receive events from. All the projects must be in the same org.
34+
* The listed projects should have the format project/{identifier} where identifier can be either
35+
* the project id for project number. A single list may contain both formats. At most 100 projects
36+
* can be listed.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.util.List<java.lang.String> list;
41+
42+
/**
43+
* Required. A list of projects to receive events from. All the projects must be in the same org.
44+
* The listed projects should have the format project/{identifier} where identifier can be either
45+
* the project id for project number. A single list may contain both formats. At most 100 projects
46+
* can be listed.
47+
* @return value or {@code null} for none
48+
*/
49+
public java.util.List<java.lang.String> getList() {
50+
return list;
51+
}
52+
53+
/**
54+
* Required. A list of projects to receive events from. All the projects must be in the same org.
55+
* The listed projects should have the format project/{identifier} where identifier can be either
56+
* the project id for project number. A single list may contain both formats. At most 100 projects
57+
* can be listed.
58+
* @param list list or {@code null} for none
59+
*/
60+
public ProjectSubscriptions setList(java.util.List<java.lang.String> list) {
61+
this.list = list;
62+
return this;
63+
}
64+
65+
@Override
66+
public ProjectSubscriptions set(String fieldName, Object value) {
67+
return (ProjectSubscriptions) super.set(fieldName, value);
68+
}
69+
70+
@Override
71+
public ProjectSubscriptions clone() {
72+
return (ProjectSubscriptions) super.clone();
73+
}
74+
75+
}

clients/google-api-services-eventarc/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-eventarc</artifactId>
11-
<version>v1-rev20250905-2.0.0</version>
12-
<name>Eventarc API v1-rev20250905-2.0.0</name>
11+
<version>v1-rev20250912-2.0.0</version>
12+
<name>Eventarc API v1-rev20250912-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)