Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion generation_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions java-datalineage/.OwlBot-hermetic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion java-datalineage/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion java-datalineage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,228 @@
/*
* 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.core.ApiFunction;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider;
import com.google.api.gax.rpc.ApiClientHeaderProvider;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.datacatalog.lineage.configmanagement.v1.stub.ConfigManagementServiceStubSettings;
import java.io.IOException;
import java.util.List;
import javax.annotation.Generated;

// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
* Settings class to configure an instance of {@link ConfigManagementServiceClient}.
*
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (datalineage.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>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.
*
* <p>For example, to set the
* [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings)
* of getConfig:
*
* <pre>{@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();
* }</pre>
*
* 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 ClientSettings<ConfigManagementServiceSettings> {

/** Returns the object with the settings used for calls to getConfig. */
public UnaryCallSettings<GetConfigRequest, Config> getConfigSettings() {
return ((ConfigManagementServiceStubSettings) getStubSettings()).getConfigSettings();
}

/** Returns the object with the settings used for calls to updateConfig. */
public UnaryCallSettings<UpdateConfigRequest, Config> updateConfigSettings() {
return ((ConfigManagementServiceStubSettings) getStubSettings()).updateConfigSettings();
}

public static final ConfigManagementServiceSettings create(
ConfigManagementServiceStubSettings stub) throws IOException {
return new ConfigManagementServiceSettings.Builder(stub.toBuilder()).build();
}

/** Returns a builder for the default ExecutorProvider for this service. */
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() {
return ConfigManagementServiceStubSettings.defaultExecutorProviderBuilder();
}

/** Returns the default service endpoint. */
public static String getDefaultEndpoint() {
return ConfigManagementServiceStubSettings.getDefaultEndpoint();
}

/** Returns the default service scopes. */
public static List<String> getDefaultServiceScopes() {
return ConfigManagementServiceStubSettings.getDefaultServiceScopes();
}

/** Returns a builder for the default credentials for this service. */
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
return ConfigManagementServiceStubSettings.defaultCredentialsProviderBuilder();
}

/** Returns a builder for the default gRPC ChannelProvider for this service. */
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
return ConfigManagementServiceStubSettings.defaultGrpcTransportProviderBuilder();
}

/** Returns a builder for the default REST ChannelProvider for this service. */
@BetaApi
public static InstantiatingHttpJsonChannelProvider.Builder
defaultHttpJsonTransportProviderBuilder() {
return ConfigManagementServiceStubSettings.defaultHttpJsonTransportProviderBuilder();
}

public static TransportChannelProvider defaultTransportChannelProvider() {
return ConfigManagementServiceStubSettings.defaultTransportChannelProvider();
}

public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
return ConfigManagementServiceStubSettings.defaultApiClientHeaderProviderBuilder();
}

/** Returns a new gRPC builder for this class. */
public static Builder newBuilder() {
return Builder.createDefault();
}

/** Returns a new REST builder for this class. */
public static Builder newHttpJsonBuilder() {
return Builder.createHttpJsonDefault();
}

/** Returns a new builder for this class. */
public static Builder newBuilder(ClientContext clientContext) {
return new Builder(clientContext);
}

/** Returns a builder containing all the values of this settings class. */
public Builder toBuilder() {
return new Builder(this);
}

protected ConfigManagementServiceSettings(Builder settingsBuilder) throws IOException {
super(settingsBuilder);
}

/** Builder for ConfigManagementServiceSettings. */
public static class Builder
extends ClientSettings.Builder<ConfigManagementServiceSettings, Builder> {

protected Builder() throws IOException {
this(((ClientContext) null));
}

protected Builder(ClientContext clientContext) {
super(ConfigManagementServiceStubSettings.newBuilder(clientContext));
}

protected Builder(ConfigManagementServiceSettings settings) {
super(settings.getStubSettings().toBuilder());
}

protected Builder(ConfigManagementServiceStubSettings.Builder stubSettings) {
super(stubSettings);
}

private static Builder createDefault() {
return new Builder(ConfigManagementServiceStubSettings.newBuilder());
}

private static Builder createHttpJsonDefault() {
return new Builder(ConfigManagementServiceStubSettings.newHttpJsonBuilder());
}

public ConfigManagementServiceStubSettings.Builder getStubSettingsBuilder() {
return ((ConfigManagementServiceStubSettings.Builder) getStubSettings());
}

/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
* <p>Note: This method does not support applying settings to streaming methods.
*/
public Builder applyToAllUnaryMethods(
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
super.applyToAllUnaryMethods(
getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
return this;
}

/** Returns the builder for the settings used for calls to getConfig. */
public UnaryCallSettings.Builder<GetConfigRequest, Config> getConfigSettings() {
return getStubSettingsBuilder().getConfigSettings();
}

/** Returns the builder for the settings used for calls to updateConfig. */
public UnaryCallSettings.Builder<UpdateConfigRequest, Config> updateConfigSettings() {
return getStubSettingsBuilder().updateConfigSettings();
}

@Override
public ConfigManagementServiceSettings build() throws IOException {
return new ConfigManagementServiceSettings(this);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "java",
"protoPackage": "google.cloud.datacatalog.lineage.configmanagement.v1",
"libraryPackage": "com.google.cloud.datacatalog.lineage.configmanagement.v1",
"services": {
"ConfigManagementService": {
"clients": {
"grpc": {
"libraryClient": "ConfigManagementServiceClient",
"rpcs": {
"GetConfig": {
"methods": ["getConfig", "getConfig", "getConfig", "getConfigCallable"]
},
"UpdateConfig": {
"methods": ["updateConfig", "updateConfig", "updateConfigCallable"]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/*
* 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.
*/

/**
* A client to Data Lineage API
*
* <p>The interfaces provided are listed below, along with usage samples.
*
* <p>======================= ConfigManagementServiceClient =======================
*
* <p>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.
*
* <p>Sample for ConfigManagementServiceClient:
*
* <pre>{@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);
* }
* }</pre>
*/
@Generated("by gapic-generator-java")
package com.google.cloud.datacatalog.lineage.configmanagement.v1;

import javax.annotation.Generated;
Original file line number Diff line number Diff line change
@@ -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.
*
* <p>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<GetConfigRequest, Config> getConfigCallable() {
throw new UnsupportedOperationException("Not implemented: getConfigCallable()");
}

public UnaryCallable<UpdateConfigRequest, Config> updateConfigCallable() {
throw new UnsupportedOperationException("Not implemented: updateConfigCallable()");
}

@Override
public abstract void close();
}
Loading
Loading