Skip to content

Commit 0d70f3e

Browse files
1 parent 81298c2 commit 0d70f3e

31 files changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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+
* Information about an associated Analytics Hub subscription
21+
* (https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions).
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Analytics Hub API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class AnalyticsHubSubscriptionInfo extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The name of the associated Analytics Hub listing resource. Pattern:
35+
* "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}"
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String listing;
40+
41+
/**
42+
* Optional. The name of the associated Analytics Hub subscription resource. Pattern:
43+
* "projects/{project}/locations/{location}/subscriptions/{subscription}"
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String subscription;
48+
49+
/**
50+
* Optional. The name of the associated Analytics Hub listing resource. Pattern:
51+
* "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}"
52+
* @return value or {@code null} for none
53+
*/
54+
public java.lang.String getListing() {
55+
return listing;
56+
}
57+
58+
/**
59+
* Optional. The name of the associated Analytics Hub listing resource. Pattern:
60+
* "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}"
61+
* @param listing listing or {@code null} for none
62+
*/
63+
public AnalyticsHubSubscriptionInfo setListing(java.lang.String listing) {
64+
this.listing = listing;
65+
return this;
66+
}
67+
68+
/**
69+
* Optional. The name of the associated Analytics Hub subscription resource. Pattern:
70+
* "projects/{project}/locations/{location}/subscriptions/{subscription}"
71+
* @return value or {@code null} for none
72+
*/
73+
public java.lang.String getSubscription() {
74+
return subscription;
75+
}
76+
77+
/**
78+
* Optional. The name of the associated Analytics Hub subscription resource. Pattern:
79+
* "projects/{project}/locations/{location}/subscriptions/{subscription}"
80+
* @param subscription subscription or {@code null} for none
81+
*/
82+
public AnalyticsHubSubscriptionInfo setSubscription(java.lang.String subscription) {
83+
this.subscription = subscription;
84+
return this;
85+
}
86+
87+
@Override
88+
public AnalyticsHubSubscriptionInfo set(String fieldName, Object value) {
89+
return (AnalyticsHubSubscriptionInfo) super.set(fieldName, value);
90+
}
91+
92+
@Override
93+
public AnalyticsHubSubscriptionInfo clone() {
94+
return (AnalyticsHubSubscriptionInfo) super.clone();
95+
}
96+
97+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
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 writing message data in Avro format. Message payloads and metadata will be
21+
* written to files as an Avro binary.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Analytics Hub API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class AvroConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. When true, the output Cloud Storage file will be serialized using the topic schema,
35+
* if it exists.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.Boolean useTopicSchema;
40+
41+
/**
42+
* Optional. When true, write the subscription name, message_id, publish_time, attributes, and
43+
* ordering_key as additional fields in the output. The subscription name, message_id, and
44+
* publish_time fields are put in their own fields while all other message properties other than
45+
* data (for example, an ordering_key, if present) are added as entries in the attributes map.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.Boolean writeMetadata;
50+
51+
/**
52+
* Optional. When true, the output Cloud Storage file will be serialized using the topic schema,
53+
* if it exists.
54+
* @return value or {@code null} for none
55+
*/
56+
public java.lang.Boolean getUseTopicSchema() {
57+
return useTopicSchema;
58+
}
59+
60+
/**
61+
* Optional. When true, the output Cloud Storage file will be serialized using the topic schema,
62+
* if it exists.
63+
* @param useTopicSchema useTopicSchema or {@code null} for none
64+
*/
65+
public AvroConfig setUseTopicSchema(java.lang.Boolean useTopicSchema) {
66+
this.useTopicSchema = useTopicSchema;
67+
return this;
68+
}
69+
70+
/**
71+
* Optional. When true, write the subscription name, message_id, publish_time, attributes, and
72+
* ordering_key as additional fields in the output. The subscription name, message_id, and
73+
* publish_time fields are put in their own fields while all other message properties other than
74+
* data (for example, an ordering_key, if present) are added as entries in the attributes map.
75+
* @return value or {@code null} for none
76+
*/
77+
public java.lang.Boolean getWriteMetadata() {
78+
return writeMetadata;
79+
}
80+
81+
/**
82+
* Optional. When true, write the subscription name, message_id, publish_time, attributes, and
83+
* ordering_key as additional fields in the output. The subscription name, message_id, and
84+
* publish_time fields are put in their own fields while all other message properties other than
85+
* data (for example, an ordering_key, if present) are added as entries in the attributes map.
86+
* @param writeMetadata writeMetadata or {@code null} for none
87+
*/
88+
public AvroConfig setWriteMetadata(java.lang.Boolean writeMetadata) {
89+
this.writeMetadata = writeMetadata;
90+
return this;
91+
}
92+
93+
@Override
94+
public AvroConfig set(String fieldName, Object value) {
95+
return (AvroConfig) super.set(fieldName, value);
96+
}
97+
98+
@Override
99+
public AvroConfig clone() {
100+
return (AvroConfig) super.clone();
101+
}
102+
103+
}

0 commit comments

Comments
 (0)