Skip to content

Commit bec1237

Browse files
1 parent 508ee0c commit bec1237

10 files changed

Lines changed: 1515 additions & 139 deletions

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

clients/google-api-services-dataplex/v1/2.0.0/com/google/api/services/dataplex/v1/CloudDataplex.java

Lines changed: 1052 additions & 106 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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.dataplex.v1.model;
18+
19+
/**
20+
* Request message for ApproveChangeRequest.
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 Dataplex 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 GoogleCloudDataplexV1ApproveChangeRequestRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The etag of the ChangeRequest.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String etag;
38+
39+
/**
40+
* Optional. The etag of the ChangeRequest.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getEtag() {
44+
return etag;
45+
}
46+
47+
/**
48+
* Optional. The etag of the ChangeRequest.
49+
* @param etag etag or {@code null} for none
50+
*/
51+
public GoogleCloudDataplexV1ApproveChangeRequestRequest setEtag(java.lang.String etag) {
52+
this.etag = etag;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudDataplexV1ApproveChangeRequestRequest set(String fieldName, Object value) {
58+
return (GoogleCloudDataplexV1ApproveChangeRequestRequest) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudDataplexV1ApproveChangeRequestRequest clone() {
63+
return (GoogleCloudDataplexV1ApproveChangeRequestRequest) super.clone();
64+
}
65+
66+
}

clients/google-api-services-dataplex/v1/2.0.0/com/google/api/services/dataplex/v1/model/GoogleCloudDataplexV1ChangeRequest.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@ public final class GoogleCloudDataplexV1ChangeRequest extends com.google.api.cli
9393
@com.google.api.client.util.Key
9494
private String createTime;
9595

96+
/**
97+
* Payload for Data Product access request.
98+
* The value may be {@code null}.
99+
*/
100+
@com.google.api.client.util.Key
101+
private GoogleCloudDataplexV1DataProductAccessRequest dataProductAccessRequest;
102+
96103
/**
97104
* Payload for deleting an Entry.
98105
* The value may be {@code null}.
@@ -379,6 +386,23 @@ public GoogleCloudDataplexV1ChangeRequest setCreateTime(String createTime) {
379386
return this;
380387
}
381388

389+
/**
390+
* Payload for Data Product access request.
391+
* @return value or {@code null} for none
392+
*/
393+
public GoogleCloudDataplexV1DataProductAccessRequest getDataProductAccessRequest() {
394+
return dataProductAccessRequest;
395+
}
396+
397+
/**
398+
* Payload for Data Product access request.
399+
* @param dataProductAccessRequest dataProductAccessRequest or {@code null} for none
400+
*/
401+
public GoogleCloudDataplexV1ChangeRequest setDataProductAccessRequest(GoogleCloudDataplexV1DataProductAccessRequest dataProductAccessRequest) {
402+
this.dataProductAccessRequest = dataProductAccessRequest;
403+
return this;
404+
}
405+
382406
/**
383407
* Payload for deleting an Entry.
384408
* @return value or {@code null} for none

clients/google-api-services-dataplex/v1/2.0.0/com/google/api/services/dataplex/v1/model/GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions.java

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

32-
/**
33-
* Optional. Deprecated: Use semantic_inference_enabled instead. Specifies whether deeper entity
34-
* inference over the objects' contents using GenAI is enabled.
35-
* The value may be {@code null}.
36-
*/
37-
@com.google.api.client.util.Key
38-
private java.lang.Boolean entityInferenceEnabled;
39-
4032
/**
4133
* Optional. Specifies whether deeper semantic inference over the objects' contents using GenAI is
4234
* enabled.
@@ -45,25 +37,6 @@ public final class GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructur
4537
@com.google.api.client.util.Key
4638
private java.lang.Boolean semanticInferenceEnabled;
4739

48-
/**
49-
* Optional. Deprecated: Use semantic_inference_enabled instead. Specifies whether deeper entity
50-
* inference over the objects' contents using GenAI is enabled.
51-
* @return value or {@code null} for none
52-
*/
53-
public java.lang.Boolean getEntityInferenceEnabled() {
54-
return entityInferenceEnabled;
55-
}
56-
57-
/**
58-
* Optional. Deprecated: Use semantic_inference_enabled instead. Specifies whether deeper entity
59-
* inference over the objects' contents using GenAI is enabled.
60-
* @param entityInferenceEnabled entityInferenceEnabled or {@code null} for none
61-
*/
62-
public GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions setEntityInferenceEnabled(java.lang.Boolean entityInferenceEnabled) {
63-
this.entityInferenceEnabled = entityInferenceEnabled;
64-
return this;
65-
}
66-
6740
/**
6841
* Optional. Specifies whether deeper semantic inference over the objects' contents using GenAI is
6942
* enabled.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
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.dataplex.v1.model;
18+
19+
/**
20+
* Message for requesting access to a Data Product. This will be used to create a ChangeRequest of
21+
* type REQUEST_DATA_PRODUCT_ACCESS.
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 Cloud Dataplex 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 GoogleCloudDataplexV1DataProductAccessRequest extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. The display name of the access group defined in the Data Product for which access
35+
* is being requested.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String accessGroupDisplayName;
40+
41+
/**
42+
* Required. The ID of the access group for which access is being requested. This corresponds to
43+
* the unique identifier of the AccessGroup defined in the Data Product.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String accessGroupId;
48+
49+
/**
50+
* Required. The resource name of the data product. Format:
51+
* projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id}
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.lang.String parent;
56+
57+
/**
58+
* Optional. The principal for which access is being requested in IAM format. If not specified,
59+
* the requestor's principal will be used. Example: serviceAccount:my-sa@my-
60+
* project.iam.gserviceaccount.com. Only service account principals are currently supported.
61+
* https://cloud.google.com/iam/docs/principal-identifiers
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.lang.String requestedPrincipal;
66+
67+
/**
68+
* Output only. The display name of the access group defined in the Data Product for which access
69+
* is being requested.
70+
* @return value or {@code null} for none
71+
*/
72+
public java.lang.String getAccessGroupDisplayName() {
73+
return accessGroupDisplayName;
74+
}
75+
76+
/**
77+
* Output only. The display name of the access group defined in the Data Product for which access
78+
* is being requested.
79+
* @param accessGroupDisplayName accessGroupDisplayName or {@code null} for none
80+
*/
81+
public GoogleCloudDataplexV1DataProductAccessRequest setAccessGroupDisplayName(java.lang.String accessGroupDisplayName) {
82+
this.accessGroupDisplayName = accessGroupDisplayName;
83+
return this;
84+
}
85+
86+
/**
87+
* Required. The ID of the access group for which access is being requested. This corresponds to
88+
* the unique identifier of the AccessGroup defined in the Data Product.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.String getAccessGroupId() {
92+
return accessGroupId;
93+
}
94+
95+
/**
96+
* Required. The ID of the access group for which access is being requested. This corresponds to
97+
* the unique identifier of the AccessGroup defined in the Data Product.
98+
* @param accessGroupId accessGroupId or {@code null} for none
99+
*/
100+
public GoogleCloudDataplexV1DataProductAccessRequest setAccessGroupId(java.lang.String accessGroupId) {
101+
this.accessGroupId = accessGroupId;
102+
return this;
103+
}
104+
105+
/**
106+
* Required. The resource name of the data product. Format:
107+
* projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id}
108+
* @return value or {@code null} for none
109+
*/
110+
public java.lang.String getParent() {
111+
return parent;
112+
}
113+
114+
/**
115+
* Required. The resource name of the data product. Format:
116+
* projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id}
117+
* @param parent parent or {@code null} for none
118+
*/
119+
public GoogleCloudDataplexV1DataProductAccessRequest setParent(java.lang.String parent) {
120+
this.parent = parent;
121+
return this;
122+
}
123+
124+
/**
125+
* Optional. The principal for which access is being requested in IAM format. If not specified,
126+
* the requestor's principal will be used. Example: serviceAccount:my-sa@my-
127+
* project.iam.gserviceaccount.com. Only service account principals are currently supported.
128+
* https://cloud.google.com/iam/docs/principal-identifiers
129+
* @return value or {@code null} for none
130+
*/
131+
public java.lang.String getRequestedPrincipal() {
132+
return requestedPrincipal;
133+
}
134+
135+
/**
136+
* Optional. The principal for which access is being requested in IAM format. If not specified,
137+
* the requestor's principal will be used. Example: serviceAccount:my-sa@my-
138+
* project.iam.gserviceaccount.com. Only service account principals are currently supported.
139+
* https://cloud.google.com/iam/docs/principal-identifiers
140+
* @param requestedPrincipal requestedPrincipal or {@code null} for none
141+
*/
142+
public GoogleCloudDataplexV1DataProductAccessRequest setRequestedPrincipal(java.lang.String requestedPrincipal) {
143+
this.requestedPrincipal = requestedPrincipal;
144+
return this;
145+
}
146+
147+
@Override
148+
public GoogleCloudDataplexV1DataProductAccessRequest set(String fieldName, Object value) {
149+
return (GoogleCloudDataplexV1DataProductAccessRequest) super.set(fieldName, value);
150+
}
151+
152+
@Override
153+
public GoogleCloudDataplexV1DataProductAccessRequest clone() {
154+
return (GoogleCloudDataplexV1DataProductAccessRequest) super.clone();
155+
}
156+
157+
}

0 commit comments

Comments
 (0)