- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.1
The interfaces provided are listed below, along with usage samples.
DataFusionClient
Service Description: Service for creating and managing Data Fusion instances. Data Fusion enables ETL developers to build code-free, data integration pipelines via a point-and-click UI.
Sample for DataFusionClient:
// 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 (DataFusionClient dataFusionClient = DataFusionClient.create()) {
GetInstanceRequest request =
GetInstanceRequest.newBuilder()
.setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
.build();
Instance response = dataFusionClient.getInstance(request);
}
Classes
Accelerator
Identifies Data Fusion accelerators for an instance.
Protobuf type google.cloud.datafusion.v1beta1.Accelerator
Accelerator.Builder
Identifies Data Fusion accelerators for an instance.
Protobuf type google.cloud.datafusion.v1beta1.Accelerator
AddDnsPeeringRequest
Request message to create dns peering.
Protobuf type google.cloud.datafusion.v1beta1.AddDnsPeeringRequest
AddDnsPeeringRequest.Builder
Request message to create dns peering.
Protobuf type google.cloud.datafusion.v1beta1.AddDnsPeeringRequest
AddDnsPeeringResponse
Response message for set dns peering method.
Protobuf type google.cloud.datafusion.v1beta1.AddDnsPeeringResponse
AddDnsPeeringResponse.Builder
Response message for set dns peering method.
Protobuf type google.cloud.datafusion.v1beta1.AddDnsPeeringResponse
CreateInstanceRequest
Request message for creating a Data Fusion instance.
Protobuf type google.cloud.datafusion.v1beta1.CreateInstanceRequest
CreateInstanceRequest.Builder
Request message for creating a Data Fusion instance.
Protobuf type google.cloud.datafusion.v1beta1.CreateInstanceRequest
CryptoKeyConfig
The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature.
Protobuf type google.cloud.datafusion.v1beta1.CryptoKeyConfig
CryptoKeyConfig.Builder
The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature.
Protobuf type google.cloud.datafusion.v1beta1.CryptoKeyConfig
DataFusionClient
Service Description: Service for creating and managing Data Fusion instances. Data Fusion enables ETL developers to build code-free, data integration pipelines via a point-and-click UI.
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:
// 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 (DataFusionClient dataFusionClient = DataFusionClient.create()) {
GetInstanceRequest request =
GetInstanceRequest.newBuilder()
.setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
.build();
Instance response = dataFusionClient.getInstance(request);
}
Note: close() needs to be called on the DataFusionClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns 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 DataFusionSettings to create(). For example:
To customize credentials:
// 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
DataFusionSettings dataFusionSettings =
DataFusionSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
DataFusionClient dataFusionClient = DataFusionClient.create(dataFusionSettings);
To customize the endpoint:
// 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
DataFusionSettings dataFusionSettings =
DataFusionSettings.newBuilder().setEndpoint(myEndpoint).build();
DataFusionClient dataFusionClient = DataFusionClient.create(dataFusionSettings);
To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:
// 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
DataFusionSettings dataFusionSettings = DataFusionSettings.newHttpJsonBuilder().build();
DataFusionClient dataFusionClient = DataFusionClient.create(dataFusionSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
DataFusionClient.ListAvailableVersionsFixedSizeCollection
DataFusionClient.ListAvailableVersionsPage
DataFusionClient.ListAvailableVersionsPagedResponse
DataFusionClient.ListDnsPeeringsFixedSizeCollection
DataFusionClient.ListDnsPeeringsPage
DataFusionClient.ListDnsPeeringsPagedResponse
DataFusionClient.ListInstancesFixedSizeCollection
DataFusionClient.ListInstancesPage
DataFusionClient.ListInstancesPagedResponse
DataFusionClient.ListNamespacesFixedSizeCollection
DataFusionClient.ListNamespacesPage
DataFusionClient.ListNamespacesPagedResponse
DataFusionGrpc
Service for creating and managing Data Fusion instances. Data Fusion enables ETL developers to build code-free, data integration pipelines via a point-and-click UI.
DataFusionGrpc.DataFusionBlockingStub
Service for creating and managing Data Fusion instances. Data Fusion enables ETL developers to build code-free, data integration pipelines via a point-and-click UI.
DataFusionGrpc.DataFusionFutureStub
Service for creating and managing Data Fusion instances. Data Fusion enables ETL developers to build code-free, data integration pipelines via a point-and-click UI.
DataFusionGrpc.DataFusionImplBase
Service for creating and managing Data Fusion instances. Data Fusion enables ETL developers to build code-free, data integration pipelines via a point-and-click UI.
DataFusionGrpc.DataFusionStub
Service for creating and managing Data Fusion instances. Data Fusion enables ETL developers to build code-free, data integration pipelines via a point-and-click UI.
DataFusionSettings
Settings class to configure an instance of DataFusionClient.
The default instance has everything set to sensible defaults:
- The default service address (datafusion.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 total timeout of getInstance to 30 seconds:
// 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
DataFusionSettings.Builder dataFusionSettingsBuilder = DataFusionSettings.newBuilder();
dataFusionSettingsBuilder
.getInstanceSettings()
.setRetrySettings(
dataFusionSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
DataFusionSettings dataFusionSettings = dataFusionSettingsBuilder.build();
DataFusionSettings.Builder
Builder for DataFusionSettings.
DeleteInstanceRequest
Request message for deleting a Data Fusion instance.
Protobuf type google.cloud.datafusion.v1beta1.DeleteInstanceRequest
DeleteInstanceRequest.Builder
Request message for deleting a Data Fusion instance.
Protobuf type google.cloud.datafusion.v1beta1.DeleteInstanceRequest
DnsPeering
DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS.
Protobuf type google.cloud.datafusion.v1beta1.DnsPeering
DnsPeering.Builder
DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS.
Protobuf type google.cloud.datafusion.v1beta1.DnsPeering
GetInstanceRequest
Request message for getting details about a Data Fusion instance.
Protobuf type google.cloud.datafusion.v1beta1.GetInstanceRequest
GetInstanceRequest.Builder
Request message for getting details about a Data Fusion instance.
Protobuf type google.cloud.datafusion.v1beta1.GetInstanceRequest
IAMPolicy
IAMPolicy encapsulates the IAM policy name, definition and status of policy fetching.
Protobuf type google.cloud.datafusion.v1beta1.IAMPolicy
IAMPolicy.Builder
IAMPolicy encapsulates the IAM policy name, definition and status of policy fetching.
Protobuf type google.cloud.datafusion.v1beta1.IAMPolicy
Instance
Represents a Data Fusion instance.
Protobuf type google.cloud.datafusion.v1beta1.Instance
Instance.Builder
Represents a Data Fusion instance.
Protobuf type google.cloud.datafusion.v1beta1.Instance
InstanceName
InstanceName.Builder
Builder for projects/{project}/locations/{location}/instances/{instance}.
ListAvailableVersionsRequest
Request message for the list available versions request.
Protobuf type google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest
ListAvailableVersionsRequest.Builder
Request message for the list available versions request.
Protobuf type google.cloud.datafusion.v1beta1.ListAvailableVersionsRequest
ListAvailableVersionsResponse
Response message for the list available versions request.
Protobuf type google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse
ListAvailableVersionsResponse.Builder
Response message for the list available versions request.
Protobuf type google.cloud.datafusion.v1beta1.ListAvailableVersionsResponse
ListDnsPeeringsRequest
List dns peering request.
Protobuf type google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest
ListDnsPeeringsRequest.Builder
List dns peering request.
Protobuf type google.cloud.datafusion.v1beta1.ListDnsPeeringsRequest
ListDnsPeeringsResponse
List dns peering response.
Protobuf type google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse
ListDnsPeeringsResponse.Builder
List dns peering response.
Protobuf type google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse
ListInstancesRequest
Request message for listing Data Fusion instances.
Protobuf type google.cloud.datafusion.v1beta1.ListInstancesRequest
ListInstancesRequest.Builder
Request message for listing Data Fusion instances.
Protobuf type google.cloud.datafusion.v1beta1.ListInstancesRequest
ListInstancesResponse
Response message for the list instance request.
Protobuf type google.cloud.datafusion.v1beta1.ListInstancesResponse
ListInstancesResponse.Builder
Response message for the list instance request.
Protobuf type google.cloud.datafusion.v1beta1.ListInstancesResponse
ListNamespacesRequest
List namespaces request.
Protobuf type google.cloud.datafusion.v1beta1.ListNamespacesRequest
ListNamespacesRequest.Builder
List namespaces request.
Protobuf type google.cloud.datafusion.v1beta1.ListNamespacesRequest
ListNamespacesResponse
List namespaces response.
Protobuf type google.cloud.datafusion.v1beta1.ListNamespacesResponse
ListNamespacesResponse.Builder
List namespaces response.
Protobuf type google.cloud.datafusion.v1beta1.ListNamespacesResponse
LocationName
LocationName.Builder
Builder for projects/{project}/locations/{location}.
Namespace
Represents the information of a namespace
Protobuf type google.cloud.datafusion.v1beta1.Namespace
Namespace.Builder
Represents the information of a namespace
Protobuf type google.cloud.datafusion.v1beta1.Namespace
NetworkConfig
Network configuration for a Data Fusion instance. These configurations are used for peering with the customer network. Configurations are optional when a public Data Fusion instance is to be created. However, providing these configurations allows several benefits, such as reduced network latency while accessing the customer resources from managed Data Fusion instance nodes, as well as access to the customer on-prem resources.
Protobuf type google.cloud.datafusion.v1beta1.NetworkConfig
NetworkConfig.Builder
Network configuration for a Data Fusion instance. These configurations are used for peering with the customer network. Configurations are optional when a public Data Fusion instance is to be created. However, providing these configurations allows several benefits, such as reduced network latency while accessing the customer resources from managed Data Fusion instance nodes, as well as access to the customer on-prem resources.
Protobuf type google.cloud.datafusion.v1beta1.NetworkConfig
OperationMetadata
Represents the metadata of a long-running operation.
Protobuf type google.cloud.datafusion.v1beta1.OperationMetadata
OperationMetadata.Builder
Represents the metadata of a long-running operation.
Protobuf type google.cloud.datafusion.v1beta1.OperationMetadata
RemoveDnsPeeringRequest
Request message to remove dns peering.
Protobuf type google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest
RemoveDnsPeeringRequest.Builder
Request message to remove dns peering.
Protobuf type google.cloud.datafusion.v1beta1.RemoveDnsPeeringRequest
RemoveDnsPeeringResponse
Response message for set dns peering method.
Protobuf type google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse
RemoveDnsPeeringResponse.Builder
Response message for set dns peering method.
Protobuf type google.cloud.datafusion.v1beta1.RemoveDnsPeeringResponse
RemoveIamPolicyRequest
Request message for RemoveIamPolicy method.
Protobuf type google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest
RemoveIamPolicyRequest.Builder
Request message for RemoveIamPolicy method.
Protobuf type google.cloud.datafusion.v1beta1.RemoveIamPolicyRequest
RemoveIamPolicyResponse
Response message for RemoveIamPolicy method.
Protobuf type google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse
RemoveIamPolicyResponse.Builder
Response message for RemoveIamPolicy method.
Protobuf type google.cloud.datafusion.v1beta1.RemoveIamPolicyResponse
RestartInstanceRequest
Request message for restarting a Data Fusion instance.
Protobuf type google.cloud.datafusion.v1beta1.RestartInstanceRequest
RestartInstanceRequest.Builder
Request message for restarting a Data Fusion instance.
Protobuf type google.cloud.datafusion.v1beta1.RestartInstanceRequest
UpdateInstanceRequest
Request message for updating a Data Fusion instance. Data Fusion only allows updating the labels, options, and stack driver settings.
Protobuf type google.cloud.datafusion.v1beta1.UpdateInstanceRequest
UpdateInstanceRequest.Builder
Request message for updating a Data Fusion instance. Data Fusion only allows updating the labels, options, and stack driver settings.
Protobuf type google.cloud.datafusion.v1beta1.UpdateInstanceRequest
UpgradeInstanceRequest
Request message for upgrading a Data Fusion instance. To change the instance properties, instance update should be used.
Protobuf type google.cloud.datafusion.v1beta1.UpgradeInstanceRequest
UpgradeInstanceRequest.Builder
Request message for upgrading a Data Fusion instance. To change the instance properties, instance update should be used.
Protobuf type google.cloud.datafusion.v1beta1.UpgradeInstanceRequest
V1Beta1
Version
The Data Fusion version.
Protobuf type google.cloud.datafusion.v1beta1.Version
Version.Builder
The Data Fusion version.
Protobuf type google.cloud.datafusion.v1beta1.Version
Interfaces
AcceleratorOrBuilder
AddDnsPeeringRequestOrBuilder
AddDnsPeeringResponseOrBuilder
CreateInstanceRequestOrBuilder
CryptoKeyConfigOrBuilder
DeleteInstanceRequestOrBuilder
DnsPeeringOrBuilder
GetInstanceRequestOrBuilder
IAMPolicyOrBuilder
InstanceOrBuilder
ListAvailableVersionsRequestOrBuilder
ListAvailableVersionsResponseOrBuilder
ListDnsPeeringsRequestOrBuilder
ListDnsPeeringsResponseOrBuilder
ListInstancesRequestOrBuilder
ListInstancesResponseOrBuilder
ListNamespacesRequestOrBuilder
ListNamespacesResponseOrBuilder
NamespaceOrBuilder
NetworkConfigOrBuilder
OperationMetadataOrBuilder
RemoveDnsPeeringRequestOrBuilder
RemoveDnsPeeringResponseOrBuilder
RemoveIamPolicyRequestOrBuilder
RemoveIamPolicyResponseOrBuilder
RestartInstanceRequestOrBuilder
UpdateInstanceRequestOrBuilder
UpgradeInstanceRequestOrBuilder
VersionOrBuilder
Enums
Accelerator.AcceleratorType
Each type represents an Accelerator (Add-On) supported by Cloud Data Fusion service.
Protobuf enum google.cloud.datafusion.v1beta1.Accelerator.AcceleratorType
Instance.DisabledReason
The reason for disabling the instance if the state is DISABLED.
Protobuf enum google.cloud.datafusion.v1beta1.Instance.DisabledReason
Instance.State
Represents the state of a Data Fusion instance
Protobuf enum google.cloud.datafusion.v1beta1.Instance.State
Instance.Type
Represents the type of Data Fusion instance. Each type is configured with the default settings for processing and memory.
Protobuf enum google.cloud.datafusion.v1beta1.Instance.Type
NamespaceView
A view for Namespace
Protobuf enum google.cloud.datafusion.v1beta1.NamespaceView
Version.Type
Each type represents the release availability of a CDF version
Protobuf enum google.cloud.datafusion.v1beta1.Version.Type