Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [datacatalog] added rpc RenameTagTemplateFieldEnumValue #9614

Merged
merged 2 commits into from
Jul 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions java-datacatalog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.16.0</version>
<version>26.18.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datacatalog.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datacatalog/1.24.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datacatalog/1.26.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,12 @@ public UnaryCallSettings<DeleteTagTemplateRequest, Empty> deleteTagTemplateSetti
return ((DataCatalogStubSettings) getStubSettings()).renameTagTemplateFieldSettings();
}

/** Returns the object with the settings used for calls to renameTagTemplateFieldEnumValue. */
public UnaryCallSettings<RenameTagTemplateFieldEnumValueRequest, TagTemplateField>
renameTagTemplateFieldEnumValueSettings() {
return ((DataCatalogStubSettings) getStubSettings()).renameTagTemplateFieldEnumValueSettings();
}

/** Returns the object with the settings used for calls to deleteTagTemplateField. */
public UnaryCallSettings<DeleteTagTemplateFieldRequest, Empty> deleteTagTemplateFieldSettings() {
return ((DataCatalogStubSettings) getStubSettings()).deleteTagTemplateFieldSettings();
Expand Down Expand Up @@ -450,6 +456,12 @@ public UnaryCallSettings.Builder<DeleteTagTemplateRequest, Empty> deleteTagTempl
return getStubSettingsBuilder().renameTagTemplateFieldSettings();
}

/** Returns the builder for the settings used for calls to renameTagTemplateFieldEnumValue. */
public UnaryCallSettings.Builder<RenameTagTemplateFieldEnumValueRequest, TagTemplateField>
renameTagTemplateFieldEnumValueSettings() {
return getStubSettingsBuilder().renameTagTemplateFieldEnumValueSettings();
}

/** Returns the builder for the settings used for calls to deleteTagTemplateField. */
public UnaryCallSettings.Builder<DeleteTagTemplateFieldRequest, Empty>
deleteTagTemplateFieldSettings() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(String parent) {
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
* .build();
* for (Taxonomy element : policyTagManagerClient.listTaxonomies(request).iterateAll()) {
* // doThingsWith(element);
Expand Down Expand Up @@ -617,6 +618,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
* .build();
* ApiFuture<Taxonomy> future =
* policyTagManagerClient.listTaxonomiesPagedCallable().futureCall(request);
Expand Down Expand Up @@ -651,6 +653,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
* .build();
* while (true) {
* ListTaxonomiesResponse response =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
"RenameTagTemplateField": {
"methods": ["renameTagTemplateField", "renameTagTemplateField", "renameTagTemplateField", "renameTagTemplateFieldCallable"]
},
"RenameTagTemplateFieldEnumValue": {
"methods": ["renameTagTemplateFieldEnumValue", "renameTagTemplateFieldEnumValue", "renameTagTemplateFieldEnumValue", "renameTagTemplateFieldEnumValueCallable"]
},
"SearchCatalog": {
"methods": ["searchCatalog", "searchCatalog", "searchCatalogPagedCallable", "searchCatalogCallable"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import com.google.cloud.datacatalog.v1beta1.ListTagsRequest;
import com.google.cloud.datacatalog.v1beta1.ListTagsResponse;
import com.google.cloud.datacatalog.v1beta1.LookupEntryRequest;
import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest;
import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest;
import com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest;
import com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse;
Expand Down Expand Up @@ -168,6 +169,12 @@ public UnaryCallable<DeleteTagTemplateRequest, Empty> deleteTagTemplateCallable(
throw new UnsupportedOperationException("Not implemented: renameTagTemplateFieldCallable()");
}

public UnaryCallable<RenameTagTemplateFieldEnumValueRequest, TagTemplateField>
renameTagTemplateFieldEnumValueCallable() {
throw new UnsupportedOperationException(
"Not implemented: renameTagTemplateFieldEnumValueCallable()");
}

public UnaryCallable<DeleteTagTemplateFieldRequest, Empty> deleteTagTemplateFieldCallable() {
throw new UnsupportedOperationException("Not implemented: deleteTagTemplateFieldCallable()");
}
Expand Down
Loading