Skip to content

Commit e9efcf3

Browse files
1 parent 7069baf commit e9efcf3

File tree

7 files changed

+684
-6
lines changed

7 files changed

+684
-6
lines changed

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

Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
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.pubsub.model;
18+
19+
/**
20+
* Ingestion settings for Amazon MSK.
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 Cloud Pub/Sub 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 AwsMsk extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. AWS role ARN to be used for Federated Identity authentication with Amazon MSK. Check
34+
* the Pub/Sub docs for how to set up this role and the required permissions that need to be
35+
* attached to it.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String awsRoleArn;
40+
41+
/**
42+
* Required. The Amazon Resource Name (ARN) that uniquely identifies the cluster.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String clusterArn;
47+
48+
/**
49+
* Required. The GCP service account to be used for Federated Identity authentication with Amazon
50+
* MSK (via a `AssumeRoleWithWebIdentity` call for the provided role). The `aws_role_arn` must be
51+
* set up with `accounts.google.com:sub` equals to this service account number.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.lang.String gcpServiceAccount;
56+
57+
/**
58+
* Output only. An output-only field that indicates the state of the Amazon MSK ingestion source.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.lang.String state;
63+
64+
/**
65+
* Required. The name of the topic in the Amazon MSK cluster that Pub/Sub will import from.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.lang.String topic;
70+
71+
/**
72+
* Required. AWS role ARN to be used for Federated Identity authentication with Amazon MSK. Check
73+
* the Pub/Sub docs for how to set up this role and the required permissions that need to be
74+
* attached to it.
75+
* @return value or {@code null} for none
76+
*/
77+
public java.lang.String getAwsRoleArn() {
78+
return awsRoleArn;
79+
}
80+
81+
/**
82+
* Required. AWS role ARN to be used for Federated Identity authentication with Amazon MSK. Check
83+
* the Pub/Sub docs for how to set up this role and the required permissions that need to be
84+
* attached to it.
85+
* @param awsRoleArn awsRoleArn or {@code null} for none
86+
*/
87+
public AwsMsk setAwsRoleArn(java.lang.String awsRoleArn) {
88+
this.awsRoleArn = awsRoleArn;
89+
return this;
90+
}
91+
92+
/**
93+
* Required. The Amazon Resource Name (ARN) that uniquely identifies the cluster.
94+
* @return value or {@code null} for none
95+
*/
96+
public java.lang.String getClusterArn() {
97+
return clusterArn;
98+
}
99+
100+
/**
101+
* Required. The Amazon Resource Name (ARN) that uniquely identifies the cluster.
102+
* @param clusterArn clusterArn or {@code null} for none
103+
*/
104+
public AwsMsk setClusterArn(java.lang.String clusterArn) {
105+
this.clusterArn = clusterArn;
106+
return this;
107+
}
108+
109+
/**
110+
* Required. The GCP service account to be used for Federated Identity authentication with Amazon
111+
* MSK (via a `AssumeRoleWithWebIdentity` call for the provided role). The `aws_role_arn` must be
112+
* set up with `accounts.google.com:sub` equals to this service account number.
113+
* @return value or {@code null} for none
114+
*/
115+
public java.lang.String getGcpServiceAccount() {
116+
return gcpServiceAccount;
117+
}
118+
119+
/**
120+
* Required. The GCP service account to be used for Federated Identity authentication with Amazon
121+
* MSK (via a `AssumeRoleWithWebIdentity` call for the provided role). The `aws_role_arn` must be
122+
* set up with `accounts.google.com:sub` equals to this service account number.
123+
* @param gcpServiceAccount gcpServiceAccount or {@code null} for none
124+
*/
125+
public AwsMsk setGcpServiceAccount(java.lang.String gcpServiceAccount) {
126+
this.gcpServiceAccount = gcpServiceAccount;
127+
return this;
128+
}
129+
130+
/**
131+
* Output only. An output-only field that indicates the state of the Amazon MSK ingestion source.
132+
* @return value or {@code null} for none
133+
*/
134+
public java.lang.String getState() {
135+
return state;
136+
}
137+
138+
/**
139+
* Output only. An output-only field that indicates the state of the Amazon MSK ingestion source.
140+
* @param state state or {@code null} for none
141+
*/
142+
public AwsMsk setState(java.lang.String state) {
143+
this.state = state;
144+
return this;
145+
}
146+
147+
/**
148+
* Required. The name of the topic in the Amazon MSK cluster that Pub/Sub will import from.
149+
* @return value or {@code null} for none
150+
*/
151+
public java.lang.String getTopic() {
152+
return topic;
153+
}
154+
155+
/**
156+
* Required. The name of the topic in the Amazon MSK cluster that Pub/Sub will import from.
157+
* @param topic topic or {@code null} for none
158+
*/
159+
public AwsMsk setTopic(java.lang.String topic) {
160+
this.topic = topic;
161+
return this;
162+
}
163+
164+
@Override
165+
public AwsMsk set(String fieldName, Object value) {
166+
return (AwsMsk) super.set(fieldName, value);
167+
}
168+
169+
@Override
170+
public AwsMsk clone() {
171+
return (AwsMsk) super.clone();
172+
}
173+
174+
}

0 commit comments

Comments
 (0)