diff --git a/generation_config.yaml b/generation_config.yaml index e2815f67eb0d..e10b29e95df0 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -793,11 +793,12 @@ libraries: - proto_path: google/cloud/datalabeling/v1beta1 - api_shortname: datalineage name_pretty: Data Lineage - product_documentation: https://cloud.google.com/data-catalog/docs/data-lineage/ + product_documentation: https://cloud.google.com/dataplex/docs/about-data-lineage api_description: Lineage is used to track data flows between assets over time. release_level: stable GAPICs: - proto_path: google/cloud/datacatalog/lineage/v1 + - proto_path: google/cloud/datacatalog/lineage/configmanagement/v1 - api_shortname: datamanager name_pretty: Data Manager API product_documentation: https://developers.google.com/data-manager diff --git a/java-datalineage/.OwlBot-hermetic.yaml b/java-datalineage/.OwlBot-hermetic.yaml index 48b9cf573b95..1d8c3d360b88 100644 --- a/java-datalineage/.OwlBot-hermetic.yaml +++ b/java-datalineage/.OwlBot-hermetic.yaml @@ -31,5 +31,14 @@ deep-copy-regex: dest: "/owl-bot-staging/java-datalineage/$1/google-cloud-datalineage/src" - source: "/google/cloud/datacatalog/lineage/(v.*)/.*-java/samples/snippets/generated" dest: "/owl-bot-staging/java-datalineage/$1/samples/snippets/generated" +# configmanagement +- source: "/google/cloud/datacatalog/lineage/configmanagement/(v.*)/.*-java/proto-google-.*/src" + dest: "/owl-bot-staging/java-datalineage/$1/proto-google-cloud-datalineage-$1/src" +- source: "/google/cloud/datacatalog/lineage/configmanagement/(v.*)/.*-java/grpc-google-.*/src" + dest: "/owl-bot-staging/java-datalineage/$1/grpc-google-cloud-datalineage-$1/src" +- source: "/google/cloud/datacatalog/lineage/configmanagement/(v.*)/.*-java/gapic-google-.*/src" + dest: "/owl-bot-staging/java-datalineage/$1/google-cloud-datalineage/src" +- source: "/google/cloud/datacatalog/lineage/configmanagement/(v.*)/.*-java/samples/snippets/generated" + dest: "/owl-bot-staging/java-datalineage/$1/samples/snippets/generated" api-name: datalineage \ No newline at end of file diff --git a/java-datalineage/.repo-metadata.json b/java-datalineage/.repo-metadata.json index c908497f2f26..bd34aaa12710 100644 --- a/java-datalineage/.repo-metadata.json +++ b/java-datalineage/.repo-metadata.json @@ -1,7 +1,7 @@ { "api_shortname": "datalineage", "name_pretty": "Data Lineage", - "product_documentation": "https://cloud.google.com/data-catalog/docs/data-lineage/", + "product_documentation": "https://cloud.google.com/dataplex/docs/about-data-lineage", "api_description": "Lineage is used to track data flows between assets over time.", "client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-datalineage/latest/overview", "release_level": "stable", diff --git a/java-datalineage/README.md b/java-datalineage/README.md index 3dffc65f14d5..343dd84dc83e 100644 --- a/java-datalineage/README.md +++ b/java-datalineage/README.md @@ -171,7 +171,7 @@ Apache 2.0 - See [LICENSE][license] for more information. Java is a registered trademark of Oracle and/or its affiliates. -[product-docs]: https://cloud.google.com/data-catalog/docs/data-lineage/ +[product-docs]: https://cloud.google.com/dataplex/docs/about-data-lineage [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-datalineage/latest/overview [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-datalineage.svg diff --git a/java-datalineage/google-cloud-datalineage/src/main/java/com/google/cloud/datacatalog/lineage/configmanagement/v1/ConfigManagementServiceClient.java b/java-datalineage/google-cloud-datalineage/src/main/java/com/google/cloud/datacatalog/lineage/configmanagement/v1/ConfigManagementServiceClient.java new file mode 100644 index 000000000000..cb4755f1b6ab --- /dev/null +++ b/java-datalineage/google-cloud-datalineage/src/main/java/com/google/cloud/datacatalog/lineage/configmanagement/v1/ConfigManagementServiceClient.java @@ -0,0 +1,438 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.datacatalog.lineage.configmanagement.v1; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.datacatalog.lineage.configmanagement.v1.stub.ConfigManagementServiceStub; +import com.google.cloud.datacatalog.lineage.configmanagement.v1.stub.ConfigManagementServiceStubSettings; +import java.io.IOException; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: Lineage Config Management service. Config Management service is used to + * manage the configuration for Data Lineage. These Configs define different configuration options + * for Lineage customers to control behaviour of lineage systems. + * + *
This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ConfigManagementServiceClient configManagementServiceClient =
+ * ConfigManagementServiceClient.create()) {
+ * ConfigName name = ConfigName.ofProjectLocationName("[PROJECT]", "[LOCATION]");
+ * Config response = configManagementServiceClient.getConfig(name);
+ * }
+ * }
+ *
+ * Note: close() needs to be called on the ConfigManagementServiceClient object to clean up + * resources such as threads. In the example above, try-with-resources is used, which automatically + * calls close(). + * + *
| Method | + *Description | + *Method Variants | + *
|---|---|---|
GetConfig |
+ * Get the Config for a given resource. |
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call. + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. + *
|
+ *
UpdateConfig |
+ * Update the Config for a given resource. |
+ *
+ * Request object method variants only take one parameter, a request object, which must be constructed before the call. + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. + *
|
+ *
See the individual methods for example code. + * + *
Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *
This class can be customized by passing in a custom instance of + * ConfigManagementServiceSettings to create(). For example: + * + *
To customize credentials: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * ConfigManagementServiceSettings configManagementServiceSettings =
+ * ConfigManagementServiceSettings.newBuilder()
+ * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ * .build();
+ * ConfigManagementServiceClient configManagementServiceClient =
+ * ConfigManagementServiceClient.create(configManagementServiceSettings);
+ * }
+ *
+ * To customize the endpoint: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * ConfigManagementServiceSettings configManagementServiceSettings =
+ * ConfigManagementServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * ConfigManagementServiceClient configManagementServiceClient =
+ * ConfigManagementServiceClient.create(configManagementServiceSettings);
+ * }
+ *
+ * To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * ConfigManagementServiceSettings configManagementServiceSettings =
+ * ConfigManagementServiceSettings.newHttpJsonBuilder().build();
+ * ConfigManagementServiceClient configManagementServiceClient =
+ * ConfigManagementServiceClient.create(configManagementServiceSettings);
+ * }
+ *
+ * Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class ConfigManagementServiceClient implements BackgroundResource { + private final ConfigManagementServiceSettings settings; + private final ConfigManagementServiceStub stub; + + /** Constructs an instance of ConfigManagementServiceClient with default settings. */ + public static final ConfigManagementServiceClient create() throws IOException { + return create(ConfigManagementServiceSettings.newBuilder().build()); + } + + /** + * Constructs an instance of ConfigManagementServiceClient, using the given settings. The channels + * are created based on the settings passed in, or defaults for any settings that are not set. + */ + public static final ConfigManagementServiceClient create(ConfigManagementServiceSettings settings) + throws IOException { + return new ConfigManagementServiceClient(settings); + } + + /** + * Constructs an instance of ConfigManagementServiceClient, using the given stub for making calls. + * This is for advanced usage - prefer using create(ConfigManagementServiceSettings). + */ + public static final ConfigManagementServiceClient create(ConfigManagementServiceStub stub) { + return new ConfigManagementServiceClient(stub); + } + + /** + * Constructs an instance of ConfigManagementServiceClient, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected ConfigManagementServiceClient(ConfigManagementServiceSettings settings) + throws IOException { + this.settings = settings; + this.stub = ((ConfigManagementServiceStubSettings) settings.getStubSettings()).createStub(); + } + + protected ConfigManagementServiceClient(ConfigManagementServiceStub stub) { + this.settings = null; + this.stub = stub; + } + + public final ConfigManagementServiceSettings getSettings() { + return settings; + } + + public ConfigManagementServiceStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Get the Config for a given resource. + * + *
Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ConfigManagementServiceClient configManagementServiceClient =
+ * ConfigManagementServiceClient.create()) {
+ * ConfigName name = ConfigName.ofProjectLocationName("[PROJECT]", "[LOCATION]");
+ * Config response = configManagementServiceClient.getConfig(name);
+ * }
+ * }
+ *
+ * @param name Required. REQUIRED: The resource name of the config to be fetched. Format:
+ * `organizations/{organization_id}/locations/global/config`
+ * `folders/{folder_id}/locations/global/config`
+ * `projects/{project_id}/locations/global/config`
+ * `projects/{project_number}/locations/global/config`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Config getConfig(ConfigName name) {
+ GetConfigRequest request =
+ GetConfigRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return getConfig(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Get the Config for a given resource.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ConfigManagementServiceClient configManagementServiceClient =
+ * ConfigManagementServiceClient.create()) {
+ * String name = ConfigName.ofProjectLocationName("[PROJECT]", "[LOCATION]").toString();
+ * Config response = configManagementServiceClient.getConfig(name);
+ * }
+ * }
+ *
+ * @param name Required. REQUIRED: The resource name of the config to be fetched. Format:
+ * `organizations/{organization_id}/locations/global/config`
+ * `folders/{folder_id}/locations/global/config`
+ * `projects/{project_id}/locations/global/config`
+ * `projects/{project_number}/locations/global/config`
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Config getConfig(String name) {
+ GetConfigRequest request = GetConfigRequest.newBuilder().setName(name).build();
+ return getConfig(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Get the Config for a given resource.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ConfigManagementServiceClient configManagementServiceClient =
+ * ConfigManagementServiceClient.create()) {
+ * GetConfigRequest request =
+ * GetConfigRequest.newBuilder()
+ * .setName(ConfigName.ofProjectLocationName("[PROJECT]", "[LOCATION]").toString())
+ * .build();
+ * Config response = configManagementServiceClient.getConfig(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Config getConfig(GetConfigRequest request) {
+ return getConfigCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Get the Config for a given resource.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ConfigManagementServiceClient configManagementServiceClient =
+ * ConfigManagementServiceClient.create()) {
+ * GetConfigRequest request =
+ * GetConfigRequest.newBuilder()
+ * .setName(ConfigName.ofProjectLocationName("[PROJECT]", "[LOCATION]").toString())
+ * .build();
+ * ApiFuture future =
+ * configManagementServiceClient.getConfigCallable().futureCall(request);
+ * // Do something.
+ * Config response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ConfigManagementServiceClient configManagementServiceClient =
+ * ConfigManagementServiceClient.create()) {
+ * Config config = Config.newBuilder().build();
+ * Config response = configManagementServiceClient.updateConfig(config);
+ * }
+ * }
+ *
+ * @param config Required. REQUIRED: The config to be applied to the resource and all its
+ * descendants.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Config updateConfig(Config config) {
+ UpdateConfigRequest request = UpdateConfigRequest.newBuilder().setConfig(config).build();
+ return updateConfig(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Update the Config for a given resource.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ConfigManagementServiceClient configManagementServiceClient =
+ * ConfigManagementServiceClient.create()) {
+ * UpdateConfigRequest request =
+ * UpdateConfigRequest.newBuilder().setConfig(Config.newBuilder().build()).build();
+ * Config response = configManagementServiceClient.updateConfig(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final Config updateConfig(UpdateConfigRequest request) {
+ return updateConfigCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Update the Config for a given resource.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ConfigManagementServiceClient configManagementServiceClient =
+ * ConfigManagementServiceClient.create()) {
+ * UpdateConfigRequest request =
+ * UpdateConfigRequest.newBuilder().setConfig(Config.newBuilder().build()).build();
+ * ApiFuture future =
+ * configManagementServiceClient.updateConfigCallable().futureCall(request);
+ * // Do something.
+ * Config response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableThe default instance has everything set to sensible defaults: + * + *
The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *
For example, to set the + * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) + * of getConfig: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * ConfigManagementServiceSettings.Builder configManagementServiceSettingsBuilder =
+ * ConfigManagementServiceSettings.newBuilder();
+ * configManagementServiceSettingsBuilder
+ * .getConfigSettings()
+ * .setRetrySettings(
+ * configManagementServiceSettingsBuilder
+ * .getConfigSettings()
+ * .getRetrySettings()
+ * .toBuilder()
+ * .setInitialRetryDelayDuration(Duration.ofSeconds(1))
+ * .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
+ * .setMaxAttempts(5)
+ * .setMaxRetryDelayDuration(Duration.ofSeconds(30))
+ * .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
+ * .setRetryDelayMultiplier(1.3)
+ * .setRpcTimeoutMultiplier(1.5)
+ * .setTotalTimeoutDuration(Duration.ofSeconds(300))
+ * .build());
+ * ConfigManagementServiceSettings configManagementServiceSettings =
+ * configManagementServiceSettingsBuilder.build();
+ * }
+ *
+ * Please refer to the [Client Side Retry
+ * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
+ * retries.
+ */
+@Generated("by gapic-generator-java")
+public class ConfigManagementServiceSettings
+ extends ClientSettingsNote: This method does not support applying settings to streaming methods.
+ */
+ public Builder applyToAllUnaryMethods(
+ ApiFunction The interfaces provided are listed below, along with usage samples.
+ *
+ * ======================= ConfigManagementServiceClient =======================
+ *
+ * Service Description: Lineage Config Management service. Config Management service is used to
+ * manage the configuration for Data Lineage. These Configs define different configuration options
+ * for Lineage customers to control behaviour of lineage systems.
+ *
+ * Sample for ConfigManagementServiceClient:
+ *
+ * This class is for advanced usage and reflects the underlying API directly.
+ */
+@Generated("by gapic-generator-java")
+public abstract class ConfigManagementServiceStub implements BackgroundResource {
+
+ public UnaryCallable The default instance has everything set to sensible defaults:
+ *
+ * The builder of this class is recursive, so contained classes are themselves builders. When
+ * build() is called, the tree of builders is called to create the complete settings object.
+ *
+ * For example, to set the
+ * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings)
+ * of getConfig:
+ *
+ * Note: This method does not support applying settings to streaming methods.
+ */
+ public Builder applyToAllUnaryMethods(
+ ApiFunction This class is for advanced usage.
+ */
+@Generated("by gapic-generator-java")
+public class GrpcConfigManagementServiceCallableFactory implements GrpcStubCallableFactory {
+
+ @Override
+ public This class is for advanced usage and reflects the underlying API directly.
+ */
+@Generated("by gapic-generator-java")
+public class GrpcConfigManagementServiceStub extends ConfigManagementServiceStub {
+ private static final MethodDescriptor This class is for advanced usage.
+ */
+@Generated("by gapic-generator-java")
+public class HttpJsonConfigManagementServiceCallableFactory
+ implements HttpJsonStubCallableFactory This class is for advanced usage and reflects the underlying API directly.
+ */
+@Generated("by gapic-generator-java")
+public class HttpJsonConfigManagementServiceStub extends ConfigManagementServiceStub {
+ private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build();
+
+ private static final ApiMethodDescriptor{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ConfigManagementServiceClient configManagementServiceClient =
+ * ConfigManagementServiceClient.create()) {
+ * ConfigName name = ConfigName.ofProjectLocationName("[PROJECT]", "[LOCATION]");
+ * Config response = configManagementServiceClient.getConfig(name);
+ * }
+ * }
+ */
+@Generated("by gapic-generator-java")
+package com.google.cloud.datacatalog.lineage.configmanagement.v1;
+
+import javax.annotation.Generated;
diff --git a/java-datalineage/google-cloud-datalineage/src/main/java/com/google/cloud/datacatalog/lineage/configmanagement/v1/stub/ConfigManagementServiceStub.java b/java-datalineage/google-cloud-datalineage/src/main/java/com/google/cloud/datacatalog/lineage/configmanagement/v1/stub/ConfigManagementServiceStub.java
new file mode 100644
index 000000000000..6b429d7be236
--- /dev/null
+++ b/java-datalineage/google-cloud-datalineage/src/main/java/com/google/cloud/datacatalog/lineage/configmanagement/v1/stub/ConfigManagementServiceStub.java
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.cloud.datacatalog.lineage.configmanagement.v1.stub;
+
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.rpc.UnaryCallable;
+import com.google.cloud.datacatalog.lineage.configmanagement.v1.Config;
+import com.google.cloud.datacatalog.lineage.configmanagement.v1.GetConfigRequest;
+import com.google.cloud.datacatalog.lineage.configmanagement.v1.UpdateConfigRequest;
+import javax.annotation.Generated;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS.
+/**
+ * Base stub class for the ConfigManagementService service API.
+ *
+ *
+ *
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * ConfigManagementServiceStubSettings.Builder configManagementServiceSettingsBuilder =
+ * ConfigManagementServiceStubSettings.newBuilder();
+ * configManagementServiceSettingsBuilder
+ * .getConfigSettings()
+ * .setRetrySettings(
+ * configManagementServiceSettingsBuilder
+ * .getConfigSettings()
+ * .getRetrySettings()
+ * .toBuilder()
+ * .setInitialRetryDelayDuration(Duration.ofSeconds(1))
+ * .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
+ * .setMaxAttempts(5)
+ * .setMaxRetryDelayDuration(Duration.ofSeconds(30))
+ * .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
+ * .setRetryDelayMultiplier(1.3)
+ * .setRpcTimeoutMultiplier(1.5)
+ * .setTotalTimeoutDuration(Duration.ofSeconds(300))
+ * .build());
+ * ConfigManagementServiceStubSettings configManagementServiceSettings =
+ * configManagementServiceSettingsBuilder.build();
+ * }
+ *
+ * Please refer to the [Client Side Retry
+ * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
+ * retries.
+ */
+@Generated("by gapic-generator-java")
+@SuppressWarnings("CanonicalDuration")
+public class ConfigManagementServiceStubSettings
+ extends StubSettings