Service Client: Google::Cloud::Datafusion::V1::Datafusion::DataFusionClient
Client stub representing the remote DataFusion gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to datafusion.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Datafusion::V1::Datafusion - Compiled Protocol Buffers messages for google/cloud/datafusion/v1/datafusion.proto
SYNOPSIS
use Google::Cloud::Datafusion::V1::Datafusion;
my $msg = Google::Cloud::Datafusion::V1::Datafusion::NetworkConfig->new({
network => $network,
ip_allocation => $ip_allocation,
});
# Read or update a field
my $val = $msg->network();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Datafusion::V1::Datafusion::NetworkConfig->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/datafusion/v1/datafusion.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Datafusion::V1::Datafusion::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.
Inherits from Protobuf::Message.
Accessors
$msg->network()/$msg->network($value)Type:
StringName of the network in the customer project with which the Tenant Project will be peered for executing pipelines. In case of shared VPC where the network resides in another host project the network should specified in the form of projects/{host-project-id}/global/networks/{network}
$msg->ip_allocation()/$msg->ip_allocation($value)Type:
StringThe IP range in CIDR notation to use for the managed Data Fusion instance nodes. This range must not overlap with any other ranges used in the customer network.
Google::Cloud::Datafusion::V1::Datafusion::Version
The Data Fusion version. This proto message stores information about certain Data Fusion version, which is used for Data Fusion version upgrade.
Inherits from Protobuf::Message.
Accessors
$msg->version_number()/$msg->version_number($value)Type:
StringThe version number of the Data Fusion instance, such as '6.0.1.0'.
$msg->default_version()/$msg->default_version($value)Type:
BoolWhether this is currently the default version for Cloud Data Fusion
$msg->available_features()/$msg->available_features($value)Type:
StringRepresents a list of available feature names for a given version.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Datafusion::V1::Version::Type)Type represents the release availability of the version
Enum: Version::Type
TYPE_UNSPECIFIED=>0TYPE_PREVIEW=>1TYPE_GENERAL_AVAILABILITY=>2
Google::Cloud::Datafusion::V1::Datafusion::Accelerator
Identifies Data Fusion accelerators for an instance.
Inherits from Protobuf::Message.
Accessors
$msg->accelerator_type()/$msg->accelerator_type($value)Type:
Enum(Google::Cloud::Datafusion::V1::Accelerator::AcceleratorType)The type of an accelator for a CDF instance.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Datafusion::V1::Accelerator::State)The state of the accelerator
Enum: Accelerator::AcceleratorType
ACCELERATOR_TYPE_UNSPECIFIED=>0CDC=>1HEALTHCARE=>2CCAI_INSIGHTS=>3
Enum: Accelerator::State
STATE_UNSPECIFIED=>0ENABLED=>1DISABLED=>2UNKNOWN=>3
Google::Cloud::Datafusion::V1::Datafusion::CryptoKeyConfig
The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature.
Inherits from Protobuf::Message.
Accessors
$msg->key_reference()/$msg->key_reference($value)Type:
StringThe name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
Google::Cloud::Datafusion::V1::Datafusion::Instance
Represents a Data Fusion instance.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.
$msg->description()/$msg->description($value)Type:
StringA description of this instance.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Datafusion::V1::Instance::Type)Required. Instance type.
$msg->enable_stackdriver_logging()/$msg->enable_stackdriver_logging($value)Type:
BoolOption to enable Stackdriver Logging.
$msg->enable_stackdriver_monitoring()/$msg->enable_stackdriver_monitoring($value)Type:
BoolOption to enable Stackdriver Monitoring.
$msg->private_instance()/$msg->private_instance($value)Type:
BoolSpecifies whether the Data Fusion instance should be private. If set to true, all Data Fusion nodes will have private IP addresses and will not be able to access the public internet.
$msg->network_config()/$msg->network_config($value)Type:
Message(Google::Cloud::Datafusion::V1::Datafusion::NetworkConfig)Network configuration options. These are required when a private Data Fusion instance is to be created.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Datafusion::V1::Datafusion::Instance::LabelsEntry)The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs. The character '=' is not allowed to be used within the labels.
$msg->options()/$msg->options($value)Type:
Message(Google::Cloud::Datafusion::V1::Datafusion::Instance::OptionsEntry)Map of additional options used to configure the behavior of Data Fusion instance.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the instance was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the instance was last updated.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Datafusion::V1::Instance::State)Output only. The current state of this Data Fusion instance.
$msg->state_message()/$msg->state_message($value)Type:
StringOutput only. Additional information about the current state of this Data Fusion instance if available.
$msg->service_endpoint()/$msg->service_endpoint($value)Type:
StringOutput only. Endpoint on which the Data Fusion UI is accessible.
$msg->zone()/$msg->zone($value)Type:
StringName of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field.
$msg->version()/$msg->version($value)Type:
StringCurrent version of the Data Fusion. Only specifiable in Update.
$msg->service_account()/$msg->service_account($value)Type:
StringOutput only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
$msg->display_name()/$msg->display_name($value)Type:
StringDisplay name for an instance.
$msg->available_version()/$msg->available_version($value)Type:
Message(Google::Cloud::Datafusion::V1::Datafusion::Version)Available versions that the instance can be upgraded to using UpdateInstanceRequest.
$msg->api_endpoint()/$msg->api_endpoint($value)Type:
StringOutput only. Endpoint on which the REST APIs is accessible.
$msg->gcs_bucket()/$msg->gcs_bucket($value)Type:
StringOutput only. Cloud Storage bucket generated by Data Fusion in the customer project.
$msg->accelerators()/$msg->accelerators($value)Type:
Message(Google::Cloud::Datafusion::V1::Datafusion::Accelerator)List of accelerators enabled for this CDF instance.
$msg->p4_service_account()/$msg->p4_service_account($value)Type:
StringOutput only. P4 service account for the customer project.
$msg->tenant_project_id()/$msg->tenant_project_id($value)Type:
StringOutput only. The name of the tenant project.
$msg->dataproc_service_account()/$msg->dataproc_service_account($value)Type:
StringUser-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines.
This allows users to have fine-grained access control on Dataproc's accesses to cloud resources.
$msg->enable_rbac()/$msg->enable_rbac($value)Type:
BoolOption to enable granular role-based access control.
$msg->crypto_key_config()/$msg->crypto_key_config($value)Type:
Message(Google::Cloud::Datafusion::V1::Datafusion::CryptoKeyConfig)The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
$msg->disabled_reason()/$msg->disabled_reason($value)Type:
Enum(Google::Cloud::Datafusion::V1::Instance::DisabledReason)Output only. If the instance state is DISABLED, the reason for disabling the instance.
Enum: Instance::Type
TYPE_UNSPECIFIED=>0BASIC=>1ENTERPRISE=>2DEVELOPER=>3
Enum: Instance::State
STATE_UNSPECIFIED=>0CREATING=>1ACTIVE=>2FAILED=>3DELETING=>4UPGRADING=>5RESTARTING=>6UPDATING=>7AUTO_UPDATING=>8AUTO_UPGRADING=>9DISABLED=>10
Enum: Instance::DisabledReason
DISABLED_REASON_UNSPECIFIED=>0KMS_KEY_ISSUE=>1
Google::Cloud::Datafusion::V1::Datafusion::ListInstancesRequest
Request message for listing Data Fusion instances.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project and location for which to retrieve instance information in the format projects/{project}/locations/{location}. If the location is specified as '-' (wildcard), then all regions available to the project are queried, and the results are aggregated.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of items to return.
$msg->page_token()/$msg->page_token($value)Type:
StringThe next_page_token value to use if there are additional results to retrieve for this list request.
$msg->filter()/$msg->filter($value)Type:
StringList filter.
$msg->order_by()/$msg->order_by($value)Type:
StringSort results. Supported values are "name", "name desc", or "" (unsorted).
Google::Cloud::Datafusion::V1::Datafusion::ListInstancesResponse
Response message for the list instance request.
Inherits from Protobuf::Message.
Accessors
$msg->instances()/$msg->instances($value)Type:
Message(Google::Cloud::Datafusion::V1::Datafusion::Instance)Represents a list of Data Fusion instances.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Datafusion::V1::Datafusion::ListAvailableVersionsRequest
Request message for the list available versions request.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project and location for which to retrieve instance information in the format projects/{project}/locations/{location}.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of items to return.
$msg->page_token()/$msg->page_token($value)Type:
StringThe next_page_token value to use if there are additional results to retrieve for this list request.
$msg->latest_patch_only()/$msg->latest_patch_only($value)Type:
BoolWhether or not to return the latest patch of every available minor version. If true, only the latest patch will be returned. Ex. if allowed versions is [6.1.1, 6.1.2, 6.2.0] then response will be [6.1.2, 6.2.0]
Google::Cloud::Datafusion::V1::Datafusion::ListAvailableVersionsResponse
Response message for the list available versions request.
Inherits from Protobuf::Message.
Accessors
$msg->available_versions()/$msg->available_versions($value)Type:
Message(Google::Cloud::Datafusion::V1::Datafusion::Version)Represents a list of versions that are supported.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results or empty if there are no more results in the list.
Google::Cloud::Datafusion::V1::Datafusion::GetInstanceRequest
Request message for getting details about a Data Fusion instance.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The instance resource name in the format projects/{project}/locations/{location}/instances/{instance}.
Google::Cloud::Datafusion::V1::Datafusion::CreateInstanceRequest
Request message for creating a Data Fusion instance.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The instance's project and location in the format projects/{project}/locations/{location}.
$msg->instance_id()/$msg->instance_id($value)Type:
StringRequired. The name of the instance to create.
$msg->instance()/$msg->instance($value)Type:
Message(Google::Cloud::Datafusion::V1::Datafusion::Instance)An instance resource.
Google::Cloud::Datafusion::V1::Datafusion::DeleteInstanceRequest
Request message for deleting a Data Fusion instance.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The instance resource name in the format projects/{project}/locations/{location}/instances/{instance}
Google::Cloud::Datafusion::V1::Datafusion::UpdateInstanceRequest
Request message for updating a Data Fusion instance. Data Fusion allows updating the labels, options, and stack driver settings. This is also used for CDF version upgrade.
Inherits from Protobuf::Message.
Accessors
$msg->instance()/$msg->instance($value)Type:
Message(Google::Cloud::Datafusion::V1::Datafusion::Instance)Required. The instance resource that replaces the resource on the server. Currently, Data Fusion only allows replacing labels, options, and stack driver settings. All other fields will be ignored.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Field mask is used to specify the fields that the update will overwrite in an instance resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, all the supported fields (labels, options, and version currently) will be overwritten.
Google::Cloud::Datafusion::V1::Datafusion::RestartInstanceRequest
Request message for restarting a Data Fusion instance.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the Data Fusion instance which need to be restarted in the form of projects/{project}/locations/{location}/instances/{instance}
Google::Cloud::Datafusion::V1::Datafusion::OperationMetadata
Represents the metadata of a long-running operation.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time the operation finished running.
$msg->target()/$msg->target($value)Type:
StringServer-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringName of the verb executed by the operation.
$msg->status_detail()/$msg->status_detail($value)Type:
StringHuman-readable status of the operation if any.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolIdentifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
$msg->api_version()/$msg->api_version($value)Type:
StringAPI version used to start the operation.
$msg->additional_status()/$msg->additional_status($value)Type:
Message(Google::Cloud::Datafusion::V1::Datafusion::OperationMetadata::AdditionalStatusEntry)Map to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Datafusion::V1::Datafusion::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.