Skip to content

Commit f7cd4e6

Browse files
1 parent 53ea35f commit f7cd4e6

File tree

5 files changed

+243
-12
lines changed

5 files changed

+243
-12
lines changed

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-rev20260213-2.0.0</version>
25+
<version>v1-rev20260227-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-rev20260213-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dataplex:v1-rev20260227-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: 195 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17385,6 +17385,201 @@ public Get set(String parameterName, Object value) {
1738517385
return (Get) super.set(parameterName, value);
1738617386
}
1738717387
}
17388+
/**
17389+
* Updates an Entry Link.
17390+
*
17391+
* Create a request for the method "entryLinks.patch".
17392+
*
17393+
* This request holds the parameters needed by the dataplex server. After setting any optional
17394+
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
17395+
*
17396+
* @param name Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: proje
17397+
* cts/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks
17398+
* /{entry_link_id}
17399+
* @param content the {@link com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1EntryLink}
17400+
* @return the request
17401+
*/
17402+
public Patch patch(java.lang.String name, com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1EntryLink content) throws java.io.IOException {
17403+
Patch result = new Patch(name, content);
17404+
initialize(result);
17405+
return result;
17406+
}
17407+
17408+
public class Patch extends CloudDataplexRequest<com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1EntryLink> {
17409+
17410+
private static final String REST_PATH = "v1/{+name}";
17411+
17412+
private final java.util.regex.Pattern NAME_PATTERN =
17413+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entryLinks/.*$");
17414+
17415+
/**
17416+
* Updates an Entry Link.
17417+
*
17418+
* Create a request for the method "entryLinks.patch".
17419+
*
17420+
* This request holds the parameters needed by the the dataplex server. After setting any
17421+
* optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
17422+
* <p> {@link
17423+
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
17424+
* be called to initialize this instance immediately after invoking the constructor. </p>
17425+
*
17426+
* @param name Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: proje
17427+
* cts/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks
17428+
* /{entry_link_id}
17429+
* @param content the {@link com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1EntryLink}
17430+
* @since 1.13
17431+
*/
17432+
protected Patch(java.lang.String name, com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1EntryLink content) {
17433+
super(CloudDataplex.this, "PATCH", REST_PATH, content, com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1EntryLink.class);
17434+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
17435+
if (!getSuppressPatternChecks()) {
17436+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
17437+
"Parameter name must conform to the pattern " +
17438+
"^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entryLinks/.*$");
17439+
}
17440+
}
17441+
17442+
@Override
17443+
public Patch set$Xgafv(java.lang.String $Xgafv) {
17444+
return (Patch) super.set$Xgafv($Xgafv);
17445+
}
17446+
17447+
@Override
17448+
public Patch setAccessToken(java.lang.String accessToken) {
17449+
return (Patch) super.setAccessToken(accessToken);
17450+
}
17451+
17452+
@Override
17453+
public Patch setAlt(java.lang.String alt) {
17454+
return (Patch) super.setAlt(alt);
17455+
}
17456+
17457+
@Override
17458+
public Patch setCallback(java.lang.String callback) {
17459+
return (Patch) super.setCallback(callback);
17460+
}
17461+
17462+
@Override
17463+
public Patch setFields(java.lang.String fields) {
17464+
return (Patch) super.setFields(fields);
17465+
}
17466+
17467+
@Override
17468+
public Patch setKey(java.lang.String key) {
17469+
return (Patch) super.setKey(key);
17470+
}
17471+
17472+
@Override
17473+
public Patch setOauthToken(java.lang.String oauthToken) {
17474+
return (Patch) super.setOauthToken(oauthToken);
17475+
}
17476+
17477+
@Override
17478+
public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
17479+
return (Patch) super.setPrettyPrint(prettyPrint);
17480+
}
17481+
17482+
@Override
17483+
public Patch setQuotaUser(java.lang.String quotaUser) {
17484+
return (Patch) super.setQuotaUser(quotaUser);
17485+
}
17486+
17487+
@Override
17488+
public Patch setUploadType(java.lang.String uploadType) {
17489+
return (Patch) super.setUploadType(uploadType);
17490+
}
17491+
17492+
@Override
17493+
public Patch setUploadProtocol(java.lang.String uploadProtocol) {
17494+
return (Patch) super.setUploadProtocol(uploadProtocol);
17495+
}
17496+
17497+
/**
17498+
* Output only. Immutable. Identifier. The relative resource name of the Entry Link, of
17499+
* the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_
17500+
* group_id}/entryLinks/{entry_link_id}
17501+
*/
17502+
@com.google.api.client.util.Key
17503+
private java.lang.String name;
17504+
17505+
/** Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: proj
17506+
ects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_
17507+
link_id}
17508+
*/
17509+
public java.lang.String getName() {
17510+
return name;
17511+
}
17512+
17513+
/**
17514+
* Output only. Immutable. Identifier. The relative resource name of the Entry Link, of
17515+
* the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_
17516+
* group_id}/entryLinks/{entry_link_id}
17517+
*/
17518+
public Patch setName(java.lang.String name) {
17519+
if (!getSuppressPatternChecks()) {
17520+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
17521+
"Parameter name must conform to the pattern " +
17522+
"^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entryLinks/.*$");
17523+
}
17524+
this.name = name;
17525+
return this;
17526+
}
17527+
17528+
/**
17529+
* Optional. If set to true and the entry link doesn't exist, the service will create
17530+
* it.
17531+
*/
17532+
@com.google.api.client.util.Key
17533+
private java.lang.Boolean allowMissing;
17534+
17535+
/** Optional. If set to true and the entry link doesn't exist, the service will create it.
17536+
*/
17537+
public java.lang.Boolean getAllowMissing() {
17538+
return allowMissing;
17539+
}
17540+
17541+
/**
17542+
* Optional. If set to true and the entry link doesn't exist, the service will create
17543+
* it.
17544+
*/
17545+
public Patch setAllowMissing(java.lang.Boolean allowMissing) {
17546+
this.allowMissing = allowMissing;
17547+
return this;
17548+
}
17549+
17550+
/**
17551+
* Optional. The map keys of the Aspects which the service should modify. It should be
17552+
* the aspect type reference in the format
17553+
* {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left empty,
17554+
* the service treats it as specifying exactly those Aspects present in the request.
17555+
*/
17556+
@com.google.api.client.util.Key
17557+
private java.util.List<java.lang.String> aspectKeys;
17558+
17559+
/** Optional. The map keys of the Aspects which the service should modify. It should be the aspect type
17560+
reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left
17561+
empty, the service treats it as specifying exactly those Aspects present in the request.
17562+
*/
17563+
public java.util.List<java.lang.String> getAspectKeys() {
17564+
return aspectKeys;
17565+
}
17566+
17567+
/**
17568+
* Optional. The map keys of the Aspects which the service should modify. It should be
17569+
* the aspect type reference in the format
17570+
* {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left empty,
17571+
* the service treats it as specifying exactly those Aspects present in the request.
17572+
*/
17573+
public Patch setAspectKeys(java.util.List<java.lang.String> aspectKeys) {
17574+
this.aspectKeys = aspectKeys;
17575+
return this;
17576+
}
17577+
17578+
@Override
17579+
public Patch set(String parameterName, Object value) {
17580+
return (Patch) super.set(parameterName, value);
17581+
}
17582+
}
1738817583

1738917584
}
1739017585
}

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

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

32+
/**
33+
* Optional. The aspects that are attached to the entry link. The format of the aspect key has to
34+
* be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a
35+
* single aspect of a Dataplex-owned Aspect Type is allowed.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.util.Map<String, GoogleCloudDataplexV1Aspect> aspects;
40+
41+
static {
42+
// hack to force ProGuard to consider GoogleCloudDataplexV1Aspect used, since otherwise it would be stripped out
43+
// see https://github.com/google/google-api-java-client/issues/543
44+
com.google.api.client.util.Data.nullOf(GoogleCloudDataplexV1Aspect.class);
45+
}
46+
3247
/**
3348
* Output only. The time when the Entry Link was created.
3449
* The value may be {@code null}.
@@ -48,8 +63,8 @@ public final class GoogleCloudDataplexV1EntryLink extends com.google.api.client.
4863
private java.lang.String entryLinkType;
4964

5065
/**
51-
* Required. Specifies the Entries referenced in the Entry Link. There should be exactly two entry
52-
* references.
66+
* Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be
67+
* exactly two entry references.
5368
* The value may be {@code null}.
5469
*/
5570
@com.google.api.client.util.Key
@@ -71,6 +86,27 @@ public final class GoogleCloudDataplexV1EntryLink extends com.google.api.client.
7186
@com.google.api.client.util.Key
7287
private String updateTime;
7388

89+
/**
90+
* Optional. The aspects that are attached to the entry link. The format of the aspect key has to
91+
* be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a
92+
* single aspect of a Dataplex-owned Aspect Type is allowed.
93+
* @return value or {@code null} for none
94+
*/
95+
public java.util.Map<String, GoogleCloudDataplexV1Aspect> getAspects() {
96+
return aspects;
97+
}
98+
99+
/**
100+
* Optional. The aspects that are attached to the entry link. The format of the aspect key has to
101+
* be the following: {project_id_or_number}.{location_id}.{aspect_type_id} Currently, only a
102+
* single aspect of a Dataplex-owned Aspect Type is allowed.
103+
* @param aspects aspects or {@code null} for none
104+
*/
105+
public GoogleCloudDataplexV1EntryLink setAspects(java.util.Map<String, GoogleCloudDataplexV1Aspect> aspects) {
106+
this.aspects = aspects;
107+
return this;
108+
}
109+
74110
/**
75111
* Output only. The time when the Entry Link was created.
76112
* @return value or {@code null} for none
@@ -114,17 +150,17 @@ public GoogleCloudDataplexV1EntryLink setEntryLinkType(java.lang.String entryLin
114150
}
115151

116152
/**
117-
* Required. Specifies the Entries referenced in the Entry Link. There should be exactly two entry
118-
* references.
153+
* Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be
154+
* exactly two entry references.
119155
* @return value or {@code null} for none
120156
*/
121157
public java.util.List<GoogleCloudDataplexV1EntryLinkEntryReference> getEntryReferences() {
122158
return entryReferences;
123159
}
124160

125161
/**
126-
* Required. Specifies the Entries referenced in the Entry Link. There should be exactly two entry
127-
* references.
162+
* Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be
163+
* exactly two entry references.
128164
* @param entryReferences entryReferences or {@code null} for none
129165
*/
130166
public GoogleCloudDataplexV1EntryLink setEntryReferences(java.util.List<GoogleCloudDataplexV1EntryLinkEntryReference> entryReferences) {

clients/google-api-services-dataplex/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-dataplex</artifactId>
11-
<version>v1-rev20260213-2.0.0</version>
12-
<name>Cloud Dataplex API v1-rev20260213-2.0.0</name>
11+
<version>v1-rev20260227-2.0.0</version>
12+
<name>Cloud Dataplex API v1-rev20260227-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)