Skip to content

Commit f027850

Browse files
1 parent b43cb45 commit f027850

5 files changed

Lines changed: 204 additions & 6 deletions

File tree

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

Lines changed: 171 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
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.analyticshub.v1.model;
18+
19+
/**
20+
* Configuration for a Bigtable subscription. The Pub/Sub message will be written to a Bigtable row
21+
* as follows: - row key: subscription name and message ID delimited by #. - columns: message bytes
22+
* written to a single column family "data" with an empty-string column qualifier. - cell timestamp:
23+
* the message publish timestamp.
24+
*
25+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
26+
* transmitted over HTTP when working with the Analytics Hub API. For a detailed explanation see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class BigtableConfig extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* Optional. The app profile to use for the Bigtable writes. If not specified, the "default"
37+
* application profile will be used. The app profile must use single-cluster routing.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.String appProfileId;
42+
43+
/**
44+
* Optional. The service account to use to write to Bigtable. The subscription creator or updater
45+
* that specifies this field must have `iam.serviceAccounts.actAs` permission on the service
46+
* account. If not specified, the Pub/Sub [service
47+
* agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents),
48+
* service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String serviceAccountEmail;
53+
54+
/**
55+
* Optional. The unique name of the table to write messages to. Values are of the form
56+
* `projects//instances//tables/`.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.String table;
61+
62+
/**
63+
* Optional. When true, write the subscription name, message_id, publish_time, attributes, and
64+
* ordering_key to additional columns in the table under the pubsub_metadata column family. The
65+
* subscription name, message_id, and publish_time fields are put in their own columns while all
66+
* other message properties (other than data) are written to a JSON object in the attributes
67+
* column.
68+
* The value may be {@code null}.
69+
*/
70+
@com.google.api.client.util.Key
71+
private java.lang.Boolean writeMetadata;
72+
73+
/**
74+
* Optional. The app profile to use for the Bigtable writes. If not specified, the "default"
75+
* application profile will be used. The app profile must use single-cluster routing.
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.String getAppProfileId() {
79+
return appProfileId;
80+
}
81+
82+
/**
83+
* Optional. The app profile to use for the Bigtable writes. If not specified, the "default"
84+
* application profile will be used. The app profile must use single-cluster routing.
85+
* @param appProfileId appProfileId or {@code null} for none
86+
*/
87+
public BigtableConfig setAppProfileId(java.lang.String appProfileId) {
88+
this.appProfileId = appProfileId;
89+
return this;
90+
}
91+
92+
/**
93+
* Optional. The service account to use to write to Bigtable. The subscription creator or updater
94+
* that specifies this field must have `iam.serviceAccounts.actAs` permission on the service
95+
* account. If not specified, the Pub/Sub [service
96+
* agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents),
97+
* service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
98+
* @return value or {@code null} for none
99+
*/
100+
public java.lang.String getServiceAccountEmail() {
101+
return serviceAccountEmail;
102+
}
103+
104+
/**
105+
* Optional. The service account to use to write to Bigtable. The subscription creator or updater
106+
* that specifies this field must have `iam.serviceAccounts.actAs` permission on the service
107+
* account. If not specified, the Pub/Sub [service
108+
* agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents),
109+
* service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
110+
* @param serviceAccountEmail serviceAccountEmail or {@code null} for none
111+
*/
112+
public BigtableConfig setServiceAccountEmail(java.lang.String serviceAccountEmail) {
113+
this.serviceAccountEmail = serviceAccountEmail;
114+
return this;
115+
}
116+
117+
/**
118+
* Optional. The unique name of the table to write messages to. Values are of the form
119+
* `projects//instances//tables/`.
120+
* @return value or {@code null} for none
121+
*/
122+
public java.lang.String getTable() {
123+
return table;
124+
}
125+
126+
/**
127+
* Optional. The unique name of the table to write messages to. Values are of the form
128+
* `projects//instances//tables/`.
129+
* @param table table or {@code null} for none
130+
*/
131+
public BigtableConfig setTable(java.lang.String table) {
132+
this.table = table;
133+
return this;
134+
}
135+
136+
/**
137+
* Optional. When true, write the subscription name, message_id, publish_time, attributes, and
138+
* ordering_key to additional columns in the table under the pubsub_metadata column family. The
139+
* subscription name, message_id, and publish_time fields are put in their own columns while all
140+
* other message properties (other than data) are written to a JSON object in the attributes
141+
* column.
142+
* @return value or {@code null} for none
143+
*/
144+
public java.lang.Boolean getWriteMetadata() {
145+
return writeMetadata;
146+
}
147+
148+
/**
149+
* Optional. When true, write the subscription name, message_id, publish_time, attributes, and
150+
* ordering_key to additional columns in the table under the pubsub_metadata column family. The
151+
* subscription name, message_id, and publish_time fields are put in their own columns while all
152+
* other message properties (other than data) are written to a JSON object in the attributes
153+
* column.
154+
* @param writeMetadata writeMetadata or {@code null} for none
155+
*/
156+
public BigtableConfig setWriteMetadata(java.lang.Boolean writeMetadata) {
157+
this.writeMetadata = writeMetadata;
158+
return this;
159+
}
160+
161+
@Override
162+
public BigtableConfig set(String fieldName, Object value) {
163+
return (BigtableConfig) super.set(fieldName, value);
164+
}
165+
166+
@Override
167+
public BigtableConfig clone() {
168+
return (BigtableConfig) super.clone();
169+
}
170+
171+
}

clients/google-api-services-analyticshub/v1/2.0.0/com/google/api/services/analyticshub/v1/model/GooglePubsubV1Subscription.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ public final class GooglePubsubV1Subscription extends com.google.api.client.json
5757
@com.google.api.client.util.Key
5858
private BigQueryConfig bigqueryConfig;
5959

60+
/**
61+
* Optional. If delivery to Bigtable is used with this subscription, this field is used to
62+
* configure it.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private BigtableConfig bigtableConfig;
67+
6068
/**
6169
* Optional. If delivery to Google Cloud Storage is used with this subscription, this field is
6270
* used to configure it.
@@ -257,6 +265,25 @@ public GooglePubsubV1Subscription setBigqueryConfig(BigQueryConfig bigqueryConfi
257265
return this;
258266
}
259267

268+
/**
269+
* Optional. If delivery to Bigtable is used with this subscription, this field is used to
270+
* configure it.
271+
* @return value or {@code null} for none
272+
*/
273+
public BigtableConfig getBigtableConfig() {
274+
return bigtableConfig;
275+
}
276+
277+
/**
278+
* Optional. If delivery to Bigtable is used with this subscription, this field is used to
279+
* configure it.
280+
* @param bigtableConfig bigtableConfig or {@code null} for none
281+
*/
282+
public GooglePubsubV1Subscription setBigtableConfig(BigtableConfig bigtableConfig) {
283+
this.bigtableConfig = bigtableConfig;
284+
return this;
285+
}
286+
260287
/**
261288
* Optional. If delivery to Google Cloud Storage is used with this subscription, this field is
262289
* used to configure it.

clients/google-api-services-analyticshub/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-analyticshub</artifactId>
11-
<version>v1-rev20260118-2.0.0</version>
12-
<name>Analytics Hub API v1-rev20260118-2.0.0</name>
11+
<version>v1-rev20260308-2.0.0</version>
12+
<name>Analytics Hub API v1-rev20260308-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)