Types for Google Cloud Data Fusion v1 API¶
- class google.cloud.data_fusion_v1.types.Accelerator(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Identifies Data Fusion accelerators for an instance.
- accelerator_type¶
The type of an accelator for a CDF instance.
- state¶
The state of the accelerator
- class AcceleratorType(value)[source]¶
Bases:
proto.enums.Enum
Each type represents an Accelerator (Add-On) supported by Cloud Data Fusion service.
- Values:
- ACCELERATOR_TYPE_UNSPECIFIED (0):
Default value, if unspecified.
- CDC (1):
Change Data Capture accelerator for CDF.
- HEALTHCARE (2):
Cloud Healthcare accelerator for CDF. This accelerator is to enable Cloud Healthcare specific CDF plugins developed by Healthcare team.
- CCAI_INSIGHTS (3):
Contact Center AI Insights This accelerator is used to enable import and export pipelines custom built to streamline CCAI Insights processing.
- class State(value)[source]¶
Bases:
proto.enums.Enum
Different values possible for the state of an accelerator
- Values:
- STATE_UNSPECIFIED (0):
Default value, do not use
- ENABLED (1):
Indicates that the accelerator is enabled and available to use
- DISABLED (2):
Indicates that the accelerator is disabled and not available to use
- UNKNOWN (3):
Indicates that accelerator state is currently unknown. Requests for enable, disable could be retried while in this state
- class google.cloud.data_fusion_v1.types.CreateInstanceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for creating a Data Fusion instance.
- parent¶
Required. The instance’s project and location in the format projects/{project}/locations/{location}.
- Type
- instance¶
An instance resource.
- class google.cloud.data_fusion_v1.types.CryptoKeyConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature.
- class google.cloud.data_fusion_v1.types.DeleteInstanceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for deleting a Data Fusion instance.
- class google.cloud.data_fusion_v1.types.GetInstanceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for getting details about a Data Fusion instance.
- class google.cloud.data_fusion_v1.types.Instance(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Represents a Data Fusion instance.
- name¶
Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.
- Type
- type_¶
Required. Instance type.
- private_instance¶
Specifies 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.
- Type
- network_config¶
Network configuration options. These are required when a private Data Fusion instance is to be created.
- labels¶
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.
- options¶
Map of additional options used to configure the behavior of Data Fusion instance.
- create_time¶
Output only. The time the instance was created.
- update_time¶
Output only. The time the instance was last updated.
- state¶
Output only. The current state of this Data Fusion instance.
- state_message¶
Output only. Additional information about the current state of this Data Fusion instance if available.
- Type
- zone¶
Name of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field.
- Type
- service_account¶
Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
- Type
- available_version¶
Available versions that the instance can be upgraded to using UpdateInstanceRequest.
- Type
MutableSequence[google.cloud.data_fusion_v1.types.Version]
- gcs_bucket¶
Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
- Type
- accelerators¶
List of accelerators enabled for this CDF instance.
- Type
MutableSequence[google.cloud.data_fusion_v1.types.Accelerator]
- dataproc_service_account¶
User-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.
- Type
- crypto_key_config¶
The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
- disabled_reason¶
Output only. If the instance state is DISABLED, the reason for disabling the instance.
- Type
MutableSequence[google.cloud.data_fusion_v1.types.Instance.DisabledReason]
- class DisabledReason(value)[source]¶
Bases:
proto.enums.Enum
The reason for disabling the instance if the state is DISABLED.
- Values:
- DISABLED_REASON_UNSPECIFIED (0):
This is an unknown reason for disabling.
- KMS_KEY_ISSUE (1):
The KMS key used by the instance is either revoked or denied access to
- class LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)¶
Bases:
proto.message.Message
- class OptionsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)¶
Bases:
proto.message.Message
- class State(value)[source]¶
Bases:
proto.enums.Enum
Represents the state of a Data Fusion instance
- Values:
- STATE_UNSPECIFIED (0):
Instance does not have a state yet
- CREATING (1):
Instance is being created
- ACTIVE (2):
Instance is active and ready for requests. This corresponds to ‘RUNNING’ in datafusion.v1beta1.
- FAILED (3):
Instance creation failed
- DELETING (4):
Instance is being deleted
- UPGRADING (5):
Instance is being upgraded
- RESTARTING (6):
Instance is being restarted
- UPDATING (7):
Instance is being updated on customer request
- AUTO_UPDATING (8):
Instance is being auto-updated
- AUTO_UPGRADING (9):
Instance is being auto-upgraded
- DISABLED (10):
Instance is disabled
- class Type(value)[source]¶
Bases:
proto.enums.Enum
Represents the type of Data Fusion instance. Each type is configured with the default settings for processing and memory.
- Values:
- TYPE_UNSPECIFIED (0):
No type specified. The instance creation will fail.
- BASIC (1):
Basic Data Fusion instance. In Basic type, the user will be able to create data pipelines using point and click UI. However, there are certain limitations, such as fewer number of concurrent pipelines, no support for streaming pipelines, etc.
- ENTERPRISE (2):
Enterprise Data Fusion instance. In Enterprise type, the user will have all features available, such as support for streaming pipelines, higher number of concurrent pipelines, etc.
- DEVELOPER (3):
Developer Data Fusion instance. In Developer type, the user will have all features available but with restrictive capabilities. This is to help enterprises design and develop their data ingestion and integration pipelines at low cost.
- class google.cloud.data_fusion_v1.types.ListAvailableVersionsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for the list available versions request.
- parent¶
Required. The project and location for which to retrieve instance information in the format projects/{project}/locations/{location}.
- Type
- page_token¶
The next_page_token value to use if there are additional results to retrieve for this list request.
- Type
- class google.cloud.data_fusion_v1.types.ListAvailableVersionsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response message for the list available versions request.
- available_versions¶
Represents a list of versions that are supported.
- Type
MutableSequence[google.cloud.data_fusion_v1.types.Version]
- class google.cloud.data_fusion_v1.types.ListInstancesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for listing Data Fusion instances.
- parent¶
Required. 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.
- Type
- page_token¶
The next_page_token value to use if there are additional results to retrieve for this list request.
- Type
- class google.cloud.data_fusion_v1.types.ListInstancesResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response message for the list instance request.
- instances¶
Represents a list of Data Fusion instances.
- Type
MutableSequence[google.cloud.data_fusion_v1.types.Instance]
- next_page_token¶
Token to retrieve the next page of results or empty if there are no more results in the list.
- Type
- class google.cloud.data_fusion_v1.types.NetworkConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
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.
- network¶
Name 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}
- Type
- class google.cloud.data_fusion_v1.types.OperationMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Represents the metadata of a long-running operation.
- create_time¶
The time the operation was created.
- end_time¶
The time the operation finished running.
- requested_cancellation¶
Identifies 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
.- Type
- additional_status¶
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
- class AdditionalStatusEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)¶
Bases:
proto.message.Message
- class google.cloud.data_fusion_v1.types.RestartInstanceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request message for restarting a Data Fusion instance.
- class google.cloud.data_fusion_v1.types.UpdateInstanceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
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.
- 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.
- update_mask¶
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.
- class google.cloud.data_fusion_v1.types.Version(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
The Data Fusion version. This proto message stores information about certain Data Fusion version, which is used for Data Fusion version upgrade.
- available_features¶
Represents a list of available feature names for a given version.
- Type
MutableSequence[str]
- type_¶
Type represents the release availability of the version
- class Type(value)[source]¶
Bases:
proto.enums.Enum
Each type represents the release availability of a CDF version
- Values:
- TYPE_UNSPECIFIED (0):
Version does not have availability yet
- TYPE_PREVIEW (1):
Version is under development and not considered stable
- TYPE_GENERAL_AVAILABILITY (2):
Version is available for public use