class Google::Apis::DatafusionV1beta1::Instance

Represents a Data Fusion instance.

Attributes

accelerators[RW]

List of accelerators enabled for this CDF instance. Corresponds to the JSON property `accelerators` @return [Array<Google::Apis::DatafusionV1beta1::Accelerator>]

api_endpoint[RW]

Output only. Endpoint on which the REST APIs is accessible. Corresponds to the JSON property `apiEndpoint` @return [String]

available_version[RW]

Available versions that the instance can be upgraded to using UpdateInstanceRequest. Corresponds to the JSON property `availableVersion` @return [Array<Google::Apis::DatafusionV1beta1::Version>]

create_time[RW]

Output only. The time the instance was created. Corresponds to the JSON property `createTime` @return [String]

crypto_key_config[RW]

The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. Corresponds to the JSON property `cryptoKeyConfig` @return [Google::Apis::DatafusionV1beta1::CryptoKeyConfig]

dataproc_service_account[RW]

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. Corresponds to the JSON property `dataprocServiceAccount` @return [String]

description[RW]

A description of this instance. Corresponds to the JSON property `description` @return [String]

display_name[RW]

Display name for an instance. Corresponds to the JSON property `displayName` @return [String]

enable_rbac[RW]

Option to enable granular role-based access control. Corresponds to the JSON property `enableRbac` @return [Boolean]

enable_rbac?[RW]

Option to enable granular role-based access control. Corresponds to the JSON property `enableRbac` @return [Boolean]

enable_stackdriver_logging[RW]

Option to enable Stackdriver Logging. Corresponds to the JSON property `enableStackdriverLogging` @return [Boolean]

enable_stackdriver_logging?[RW]

Option to enable Stackdriver Logging. Corresponds to the JSON property `enableStackdriverLogging` @return [Boolean]

enable_stackdriver_monitoring[RW]

Option to enable Stackdriver Monitoring. Corresponds to the JSON property `enableStackdriverMonitoring` @return [Boolean]

enable_stackdriver_monitoring?[RW]

Option to enable Stackdriver Monitoring. Corresponds to the JSON property `enableStackdriverMonitoring` @return [Boolean]

gcs_bucket[RW]

Output only. Cloud Storage bucket generated by Data Fusion in the customer project. Corresponds to the JSON property `gcsBucket` @return [String]

labels[RW]

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. Corresponds to the JSON property `labels` @return [Hash<String,String>]

name[RW]

Output only. The name of this instance is in the form of projects/`project`/ locations/`location`/instances/`instance`. Corresponds to the JSON property `name` @return [String]

network_config[RW]

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. Corresponds to the JSON property `networkConfig` @return [Google::Apis::DatafusionV1beta1::NetworkConfig]

options[RW]

Map of additional options used to configure the behavior of Data Fusion instance. Corresponds to the JSON property `options` @return [Hash<String,String>]

p4_service_account[RW]

Output only. P4 service account for the customer project. Corresponds to the JSON property `p4ServiceAccount` @return [String]

private_instance[RW]

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. Corresponds to the JSON property `privateInstance` @return [Boolean]

private_instance?[RW]

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. Corresponds to the JSON property `privateInstance` @return [Boolean]

service_account[RW]

Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID. Corresponds to the JSON property `serviceAccount` @return [String]

service_endpoint[RW]

Output only. Endpoint on which the Data Fusion UI is accessible. Corresponds to the JSON property `serviceEndpoint` @return [String]

state[RW]

Output only. The current state of this Data Fusion instance. Corresponds to the JSON property `state` @return [String]

state_message[RW]

Output only. Additional information about the current state of this Data Fusion instance if available. Corresponds to the JSON property `stateMessage` @return [String]

tenant_project_id[RW]

Output only. The name of the tenant project. Corresponds to the JSON property `tenantProjectId` @return [String]

type[RW]

Required. Instance type. Corresponds to the JSON property `type` @return [String]

update_time[RW]

Output only. The time the instance was last updated. Corresponds to the JSON property `updateTime` @return [String]

version[RW]

Current version of Data Fusion. Corresponds to the JSON property `version` @return [String]

zone[RW]

Name of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field. Corresponds to the JSON property `zone` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datafusion_v1beta1/classes.rb, line 588
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datafusion_v1beta1/classes.rb, line 593
def update!(**args)
  @accelerators = args[:accelerators] if args.key?(:accelerators)
  @api_endpoint = args[:api_endpoint] if args.key?(:api_endpoint)
  @available_version = args[:available_version] if args.key?(:available_version)
  @create_time = args[:create_time] if args.key?(:create_time)
  @crypto_key_config = args[:crypto_key_config] if args.key?(:crypto_key_config)
  @dataproc_service_account = args[:dataproc_service_account] if args.key?(:dataproc_service_account)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @enable_rbac = args[:enable_rbac] if args.key?(:enable_rbac)
  @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
  @enable_stackdriver_monitoring = args[:enable_stackdriver_monitoring] if args.key?(:enable_stackdriver_monitoring)
  @gcs_bucket = args[:gcs_bucket] if args.key?(:gcs_bucket)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @network_config = args[:network_config] if args.key?(:network_config)
  @options = args[:options] if args.key?(:options)
  @p4_service_account = args[:p4_service_account] if args.key?(:p4_service_account)
  @private_instance = args[:private_instance] if args.key?(:private_instance)
  @service_account = args[:service_account] if args.key?(:service_account)
  @service_endpoint = args[:service_endpoint] if args.key?(:service_endpoint)
  @state = args[:state] if args.key?(:state)
  @state_message = args[:state_message] if args.key?(:state_message)
  @tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
  @type = args[:type] if args.key?(:type)
  @update_time = args[:update_time] if args.key?(:update_time)
  @version = args[:version] if args.key?(:version)
  @zone = args[:zone] if args.key?(:zone)
end