Skip to content

Commit c95be17

Browse files
1 parent fec7a45 commit c95be17

File tree

7 files changed

+70
-15
lines changed

7 files changed

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

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2344,6 +2344,31 @@ public Delete setName(java.lang.String name) {
23442344
return this;
23452345
}
23462346

2347+
/**
2348+
* Optional. If the listing is commercial then this field must be set to true, otherwise
2349+
* a failure is thrown. This acts as a safety guard to avoid deleting commercial
2350+
* listings accidentally.
2351+
*/
2352+
@com.google.api.client.util.Key
2353+
private java.lang.Boolean deleteCommercial;
2354+
2355+
/** Optional. If the listing is commercial then this field must be set to true, otherwise a failure is
2356+
thrown. This acts as a safety guard to avoid deleting commercial listings accidentally.
2357+
*/
2358+
public java.lang.Boolean getDeleteCommercial() {
2359+
return deleteCommercial;
2360+
}
2361+
2362+
/**
2363+
* Optional. If the listing is commercial then this field must be set to true, otherwise
2364+
* a failure is thrown. This acts as a safety guard to avoid deleting commercial
2365+
* listings accidentally.
2366+
*/
2367+
public Delete setDeleteCommercial(java.lang.Boolean deleteCommercial) {
2368+
this.deleteCommercial = deleteCommercial;
2369+
return this;
2370+
}
2371+
23472372
@Override
23482373
public Delete set(String parameterName, Object value) {
23492374
return (Delete) super.set(parameterName, value);

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
public final class Listing extends com.google.api.client.json.GenericJson {
3333

3434
/**
35-
* Required. Shared dataset i.e. BigQuery dataset source.
35+
* Shared dataset i.e. BigQuery dataset source.
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
@@ -132,7 +132,7 @@ public final class Listing extends com.google.api.client.json.GenericJson {
132132
private Publisher publisher;
133133

134134
/**
135-
* Required. Pub/Sub topic source.
135+
* Pub/Sub topic source.
136136
* The value may be {@code null}.
137137
*/
138138
@com.google.api.client.util.Key
@@ -169,15 +169,15 @@ public final class Listing extends com.google.api.client.json.GenericJson {
169169
private java.lang.String state;
170170

171171
/**
172-
* Required. Shared dataset i.e. BigQuery dataset source.
172+
* Shared dataset i.e. BigQuery dataset source.
173173
* @return value or {@code null} for none
174174
*/
175175
public BigQueryDatasetSource getBigqueryDataset() {
176176
return bigqueryDataset;
177177
}
178178

179179
/**
180-
* Required. Shared dataset i.e. BigQuery dataset source.
180+
* Shared dataset i.e. BigQuery dataset source.
181181
* @param bigqueryDataset bigqueryDataset or {@code null} for none
182182
*/
183183
public Listing setBigqueryDataset(BigQueryDatasetSource bigqueryDataset) {
@@ -442,15 +442,15 @@ public Listing setPublisher(Publisher publisher) {
442442
}
443443

444444
/**
445-
* Required. Pub/Sub topic source.
445+
* Pub/Sub topic source.
446446
* @return value or {@code null} for none
447447
*/
448448
public PubSubTopicSource getPubsubTopic() {
449449
return pubsubTopic;
450450
}
451451

452452
/**
453-
* Required. Pub/Sub topic source.
453+
* Pub/Sub topic source.
454454
* @param pubsubTopic pubsubTopic or {@code null} for none
455455
*/
456456
public Listing setPubsubTopic(PubSubTopicSource pubsubTopic) {

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,36 @@
2929
@SuppressWarnings("javadoc")
3030
public final class RevokeSubscriptionRequest extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Optional. If the subscription is commercial then this field must be set to true, otherwise a
34+
* failure is thrown. This acts as a safety guard to avoid revoking commercial subscriptions
35+
* accidentally.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.Boolean revokeCommercial;
40+
41+
/**
42+
* Optional. If the subscription is commercial then this field must be set to true, otherwise a
43+
* failure is thrown. This acts as a safety guard to avoid revoking commercial subscriptions
44+
* accidentally.
45+
* @return value or {@code null} for none
46+
*/
47+
public java.lang.Boolean getRevokeCommercial() {
48+
return revokeCommercial;
49+
}
50+
51+
/**
52+
* Optional. If the subscription is commercial then this field must be set to true, otherwise a
53+
* failure is thrown. This acts as a safety guard to avoid revoking commercial subscriptions
54+
* accidentally.
55+
* @param revokeCommercial revokeCommercial or {@code null} for none
56+
*/
57+
public RevokeSubscriptionRequest setRevokeCommercial(java.lang.Boolean revokeCommercial) {
58+
this.revokeCommercial = revokeCommercial;
59+
return this;
60+
}
61+
3262
@Override
3363
public RevokeSubscriptionRequest set(String fieldName, Object value) {
3464
return (RevokeSubscriptionRequest) super.set(fieldName, value);

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public final class SubscribeListingRequest extends com.google.api.client.json.Ge
3737
private DestinationDataset destinationDataset;
3838

3939
/**
40-
* Required. Input only. Destination Pub/Sub subscription to create for the subscriber.
40+
* Input only. Destination Pub/Sub subscription to create for the subscriber.
4141
* The value may be {@code null}.
4242
*/
4343
@com.google.api.client.util.Key
@@ -61,15 +61,15 @@ public SubscribeListingRequest setDestinationDataset(DestinationDataset destinat
6161
}
6262

6363
/**
64-
* Required. Input only. Destination Pub/Sub subscription to create for the subscriber.
64+
* Input only. Destination Pub/Sub subscription to create for the subscriber.
6565
* @return value or {@code null} for none
6666
*/
6767
public DestinationPubSubSubscription getDestinationPubsubSubscription() {
6868
return destinationPubsubSubscription;
6969
}
7070

7171
/**
72-
* Required. Input only. Destination Pub/Sub subscription to create for the subscriber.
72+
* Input only. Destination Pub/Sub subscription to create for the subscriber.
7373
* @param destinationPubsubSubscription destinationPubsubSubscription or {@code null} for none
7474
*/
7575
public SubscribeListingRequest setDestinationPubsubSubscription(DestinationPubSubSubscription destinationPubsubSubscription) {

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

0 commit comments

Comments
 (0)