Skip to content

Commit b5c0c37

Browse files
1 parent 4d1ef21 commit b5c0c37

File tree

6 files changed

+206
-6
lines changed

6 files changed

+206
-6
lines changed

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

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

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,21 @@ public final class BigQueryDatasetSource extends com.google.api.client.json.Gene
4040
@com.google.api.client.util.Key
4141
private java.lang.String dataset;
4242

43+
/**
44+
* Output only. Server-owned effective state of replicas. Contains both primary and secondary
45+
* replicas. Each replica includes a system-computed (output-only) state and primary designation.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.util.List<Replica> effectiveReplicas;
50+
51+
/**
52+
* Optional. A list of regions where the publisher has created shared dataset replicas.
53+
* The value may be {@code null}.
54+
*/
55+
@com.google.api.client.util.Key
56+
private java.util.List<java.lang.String> replicaLocations;
57+
4358
/**
4459
* Optional. If set, restricted export policy will be propagated and enforced on the linked
4560
* dataset.
@@ -75,6 +90,42 @@ public BigQueryDatasetSource setDataset(java.lang.String dataset) {
7590
return this;
7691
}
7792

93+
/**
94+
* Output only. Server-owned effective state of replicas. Contains both primary and secondary
95+
* replicas. Each replica includes a system-computed (output-only) state and primary designation.
96+
* @return value or {@code null} for none
97+
*/
98+
public java.util.List<Replica> getEffectiveReplicas() {
99+
return effectiveReplicas;
100+
}
101+
102+
/**
103+
* Output only. Server-owned effective state of replicas. Contains both primary and secondary
104+
* replicas. Each replica includes a system-computed (output-only) state and primary designation.
105+
* @param effectiveReplicas effectiveReplicas or {@code null} for none
106+
*/
107+
public BigQueryDatasetSource setEffectiveReplicas(java.util.List<Replica> effectiveReplicas) {
108+
this.effectiveReplicas = effectiveReplicas;
109+
return this;
110+
}
111+
112+
/**
113+
* Optional. A list of regions where the publisher has created shared dataset replicas.
114+
* @return value or {@code null} for none
115+
*/
116+
public java.util.List<java.lang.String> getReplicaLocations() {
117+
return replicaLocations;
118+
}
119+
120+
/**
121+
* Optional. A list of regions where the publisher has created shared dataset replicas.
122+
* @param replicaLocations replicaLocations or {@code null} for none
123+
*/
124+
public BigQueryDatasetSource setReplicaLocations(java.util.List<java.lang.String> replicaLocations) {
125+
this.replicaLocations = replicaLocations;
126+
return this;
127+
}
128+
78129
/**
79130
* Optional. If set, restricted export policy will be propagated and enforced on the linked
80131
* dataset.

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@ public final class DestinationDataset extends com.google.api.client.json.Generic
6767
@com.google.api.client.util.Key
6868
private java.lang.String location;
6969

70+
/**
71+
* Optional. The geographic locations where the dataset should be replicated. See [BigQuery
72+
* locations](https://cloud.google.com/bigquery/docs/locations) for supported locations.
73+
* The value may be {@code null}.
74+
*/
75+
@com.google.api.client.util.Key
76+
private java.util.List<java.lang.String> replicaLocations;
77+
7078
/**
7179
* Required. A reference that identifies the destination dataset.
7280
* @return value or {@code null} for none
@@ -158,6 +166,25 @@ public DestinationDataset setLocation(java.lang.String location) {
158166
return this;
159167
}
160168

169+
/**
170+
* Optional. The geographic locations where the dataset should be replicated. See [BigQuery
171+
* locations](https://cloud.google.com/bigquery/docs/locations) for supported locations.
172+
* @return value or {@code null} for none
173+
*/
174+
public java.util.List<java.lang.String> getReplicaLocations() {
175+
return replicaLocations;
176+
}
177+
178+
/**
179+
* Optional. The geographic locations where the dataset should be replicated. See [BigQuery
180+
* locations](https://cloud.google.com/bigquery/docs/locations) for supported locations.
181+
* @param replicaLocations replicaLocations or {@code null} for none
182+
*/
183+
public DestinationDataset setReplicaLocations(java.util.List<java.lang.String> replicaLocations) {
184+
this.replicaLocations = replicaLocations;
185+
return this;
186+
}
187+
161188
@Override
162189
public DestinationDataset set(String fieldName, Object value) {
163190
return (DestinationDataset) super.set(fieldName, value);
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
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+
* Represents the state of a replica of a shared dataset. It includes the geographic location of the
21+
* replica and system-computed, output-only fields indicating its replication state and whether it
22+
* is the primary replica.
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 Analytics Hub 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 Replica extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Output only. The geographic location where the replica resides. See [BigQuery
36+
* locations](https://cloud.google.com/bigquery/docs/locations) for supported locations. Eg. "us-
37+
* central1".
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.String location;
42+
43+
/**
44+
* Output only. Indicates that this replica is the primary replica.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.String primaryState;
49+
50+
/**
51+
* Output only. Assigned by Analytics Hub based on real BigQuery replication state.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.lang.String replicaState;
56+
57+
/**
58+
* Output only. The geographic location where the replica resides. See [BigQuery
59+
* locations](https://cloud.google.com/bigquery/docs/locations) for supported locations. Eg. "us-
60+
* central1".
61+
* @return value or {@code null} for none
62+
*/
63+
public java.lang.String getLocation() {
64+
return location;
65+
}
66+
67+
/**
68+
* Output only. The geographic location where the replica resides. See [BigQuery
69+
* locations](https://cloud.google.com/bigquery/docs/locations) for supported locations. Eg. "us-
70+
* central1".
71+
* @param location location or {@code null} for none
72+
*/
73+
public Replica setLocation(java.lang.String location) {
74+
this.location = location;
75+
return this;
76+
}
77+
78+
/**
79+
* Output only. Indicates that this replica is the primary replica.
80+
* @return value or {@code null} for none
81+
*/
82+
public java.lang.String getPrimaryState() {
83+
return primaryState;
84+
}
85+
86+
/**
87+
* Output only. Indicates that this replica is the primary replica.
88+
* @param primaryState primaryState or {@code null} for none
89+
*/
90+
public Replica setPrimaryState(java.lang.String primaryState) {
91+
this.primaryState = primaryState;
92+
return this;
93+
}
94+
95+
/**
96+
* Output only. Assigned by Analytics Hub based on real BigQuery replication state.
97+
* @return value or {@code null} for none
98+
*/
99+
public java.lang.String getReplicaState() {
100+
return replicaState;
101+
}
102+
103+
/**
104+
* Output only. Assigned by Analytics Hub based on real BigQuery replication state.
105+
* @param replicaState replicaState or {@code null} for none
106+
*/
107+
public Replica setReplicaState(java.lang.String replicaState) {
108+
this.replicaState = replicaState;
109+
return this;
110+
}
111+
112+
@Override
113+
public Replica set(String fieldName, Object value) {
114+
return (Replica) super.set(fieldName, value);
115+
}
116+
117+
@Override
118+
public Replica clone() {
119+
return (Replica) super.clone();
120+
}
121+
122+
}

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-rev20250807-2.0.0</version>
12-
<name>Analytics Hub API v1-rev20250807-2.0.0</name>
11+
<version>v1-rev20250901-2.0.0</version>
12+
<name>Analytics Hub API v1-rev20250901-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-rev20250807-2.0.0</version>
25+
<version>v1-rev20250901-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-rev20250807-2.0.0'
38+
implementation 'com.google.apis:google-api-services-analyticshub:v1-rev20250901-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)