Class: Google::Apis::DatafusionV1::Instance

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datafusion_v1/classes.rb,
lib/google/apis/datafusion_v1/representations.rb,
lib/google/apis/datafusion_v1/representations.rb

Overview

Represents a Data Fusion instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Instance

Returns a new instance of Instance.



749
750
751
# File 'lib/google/apis/datafusion_v1/classes.rb', line 749

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#acceleratorsArray<Google::Apis::DatafusionV1::Accelerator>

Output only. List of accelerators enabled for this CDF instance. Corresponds to the JSON property accelerators



549
550
551
# File 'lib/google/apis/datafusion_v1/classes.rb', line 549

def accelerators
  @accelerators
end

#api_endpointString

Output only. Endpoint on which the REST APIs is accessible. Corresponds to the JSON property apiEndpoint

Returns:

  • (String)


554
555
556
# File 'lib/google/apis/datafusion_v1/classes.rb', line 554

def api_endpoint
  @api_endpoint
end

#available_versionArray<Google::Apis::DatafusionV1::Version>

Output only. Available versions that the instance can be upgraded to using UpdateInstanceRequest. Corresponds to the JSON property availableVersion



560
561
562
# File 'lib/google/apis/datafusion_v1/classes.rb', line 560

def available_version
  @available_version
end

#create_timeString

Output only. The time the instance was created. Corresponds to the JSON property createTime

Returns:

  • (String)


565
566
567
# File 'lib/google/apis/datafusion_v1/classes.rb', line 565

def create_time
  @create_time
end

#crypto_key_configGoogle::Apis::DatafusionV1::CryptoKeyConfig

The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. Corresponds to the JSON property cryptoKeyConfig



571
572
573
# File 'lib/google/apis/datafusion_v1/classes.rb', line 571

def crypto_key_config
  @crypto_key_config
end

#dataplex_data_lineage_integration_enabledBoolean Also known as: dataplex_data_lineage_integration_enabled?

Optional. Option to enable the Dataplex Lineage Integration feature. Corresponds to the JSON property dataplexDataLineageIntegrationEnabled

Returns:

  • (Boolean)


576
577
578
# File 'lib/google/apis/datafusion_v1/classes.rb', line 576

def dataplex_data_lineage_integration_enabled
  @dataplex_data_lineage_integration_enabled
end

#dataproc_service_accountString

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

Returns:

  • (String)


584
585
586
# File 'lib/google/apis/datafusion_v1/classes.rb', line 584

def 
  @dataproc_service_account
end

#descriptionString

A description of this instance. Corresponds to the JSON property description

Returns:

  • (String)


589
590
591
# File 'lib/google/apis/datafusion_v1/classes.rb', line 589

def description
  @description
end

#disabled_reasonArray<String>

Output only. If the instance state is DISABLED, the reason for disabling the instance. Corresponds to the JSON property disabledReason

Returns:

  • (Array<String>)


595
596
597
# File 'lib/google/apis/datafusion_v1/classes.rb', line 595

def disabled_reason
  @disabled_reason
end

#display_nameString

Display name for an instance. Corresponds to the JSON property displayName

Returns:

  • (String)


600
601
602
# File 'lib/google/apis/datafusion_v1/classes.rb', line 600

def display_name
  @display_name
end

#enable_rbacBoolean Also known as: enable_rbac?

Option to enable granular role-based access control. Corresponds to the JSON property enableRbac

Returns:

  • (Boolean)


605
606
607
# File 'lib/google/apis/datafusion_v1/classes.rb', line 605

def enable_rbac
  @enable_rbac
end

#enable_stackdriver_loggingBoolean Also known as: enable_stackdriver_logging?

Option to enable Stackdriver Logging. Corresponds to the JSON property enableStackdriverLogging

Returns:

  • (Boolean)


611
612
613
# File 'lib/google/apis/datafusion_v1/classes.rb', line 611

def enable_stackdriver_logging
  @enable_stackdriver_logging
end

#enable_stackdriver_monitoringBoolean Also known as: enable_stackdriver_monitoring?

Option to enable Stackdriver Monitoring. Corresponds to the JSON property enableStackdriverMonitoring

Returns:

  • (Boolean)


617
618
619
# File 'lib/google/apis/datafusion_v1/classes.rb', line 617

def enable_stackdriver_monitoring
  @enable_stackdriver_monitoring
end

#enable_zone_separationBoolean Also known as: enable_zone_separation?

Option to enable granular zone separation. Corresponds to the JSON property enableZoneSeparation

Returns:

  • (Boolean)


623
624
625
# File 'lib/google/apis/datafusion_v1/classes.rb', line 623

def enable_zone_separation
  @enable_zone_separation
end

#event_publish_configGoogle::Apis::DatafusionV1::EventPublishConfig

Confirguration of PubSubEventWriter. Corresponds to the JSON property eventPublishConfig



629
630
631
# File 'lib/google/apis/datafusion_v1/classes.rb', line 629

def event_publish_config
  @event_publish_config
end

#gcs_bucketString

Output only. Cloud Storage bucket generated by Data Fusion in the customer project. Corresponds to the JSON property gcsBucket

Returns:

  • (String)


635
636
637
# File 'lib/google/apis/datafusion_v1/classes.rb', line 635

def gcs_bucket
  @gcs_bucket
end

#labelsHash<String,String>

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

Returns:

  • (Hash<String,String>)


642
643
644
# File 'lib/google/apis/datafusion_v1/classes.rb', line 642

def labels
  @labels
end

#maintenance_policyGoogle::Apis::DatafusionV1::MaintenancePolicy

Maintenance policy of the instance. Corresponds to the JSON property maintenancePolicy



647
648
649
# File 'lib/google/apis/datafusion_v1/classes.rb', line 647

def maintenance_policy
  @maintenance_policy
end

#nameString

Output only. The name of this instance is in the form of projects/project/ locations/location/instances/instance. Corresponds to the JSON property name

Returns:

  • (String)


653
654
655
# File 'lib/google/apis/datafusion_v1/classes.rb', line 653

def name
  @name
end

#network_configGoogle::Apis::DatafusionV1::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. Corresponds to the JSON property networkConfig



663
664
665
# File 'lib/google/apis/datafusion_v1/classes.rb', line 663

def network_config
  @network_config
end

#optionsHash<String,String>

Map of additional options used to configure the behavior of Data Fusion instance. Corresponds to the JSON property options

Returns:

  • (Hash<String,String>)


669
670
671
# File 'lib/google/apis/datafusion_v1/classes.rb', line 669

def options
  @options
end

#p4_service_accountString

Output only. Service agent for the customer project. Corresponds to the JSON property p4ServiceAccount

Returns:

  • (String)


674
675
676
# File 'lib/google/apis/datafusion_v1/classes.rb', line 674

def 
  @p4_service_account
end

#patch_revisionString

Optional. Current patch revision of the Data Fusion. Corresponds to the JSON property patchRevision

Returns:

  • (String)


679
680
681
# File 'lib/google/apis/datafusion_v1/classes.rb', line 679

def patch_revision
  @patch_revision
end

#private_instanceBoolean Also known as: 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. Corresponds to the JSON property privateInstance

Returns:

  • (Boolean)


686
687
688
# File 'lib/google/apis/datafusion_v1/classes.rb', line 686

def private_instance
  @private_instance
end

#satisfies_pzsBoolean Also known as: satisfies_pzs?

Output only. Reserved for future use. Corresponds to the JSON property satisfiesPzs

Returns:

  • (Boolean)


692
693
694
# File 'lib/google/apis/datafusion_v1/classes.rb', line 692

def satisfies_pzs
  @satisfies_pzs
end

#service_accountString

Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID. Corresponds to the JSON property serviceAccount

Returns:

  • (String)


699
700
701
# File 'lib/google/apis/datafusion_v1/classes.rb', line 699

def 
  @service_account
end

#service_endpointString

Output only. Endpoint on which the Data Fusion UI is accessible. Corresponds to the JSON property serviceEndpoint

Returns:

  • (String)


704
705
706
# File 'lib/google/apis/datafusion_v1/classes.rb', line 704

def service_endpoint
  @service_endpoint
end

#stateString

Output only. The current state of this Data Fusion instance. Corresponds to the JSON property state

Returns:

  • (String)


709
710
711
# File 'lib/google/apis/datafusion_v1/classes.rb', line 709

def state
  @state
end

#state_messageString

Output only. Additional information about the current state of this Data Fusion instance if available. Corresponds to the JSON property stateMessage

Returns:

  • (String)


715
716
717
# File 'lib/google/apis/datafusion_v1/classes.rb', line 715

def state_message
  @state_message
end

#tenant_project_idString

Output only. The name of the tenant project. Corresponds to the JSON property tenantProjectId

Returns:

  • (String)


720
721
722
# File 'lib/google/apis/datafusion_v1/classes.rb', line 720

def tenant_project_id
  @tenant_project_id
end

#typeString

Required. Instance type. Corresponds to the JSON property type

Returns:

  • (String)


725
726
727
# File 'lib/google/apis/datafusion_v1/classes.rb', line 725

def type
  @type
end

#update_timeString

Output only. The time the instance was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


730
731
732
# File 'lib/google/apis/datafusion_v1/classes.rb', line 730

def update_time
  @update_time
end

#versionString

Current version of the Data Fusion. Only specifiable in Update. Corresponds to the JSON property version

Returns:

  • (String)


735
736
737
# File 'lib/google/apis/datafusion_v1/classes.rb', line 735

def version
  @version
end

#workforce_identity_service_endpointString

Output only. Endpoint on which the Data Fusion UI is accessible to third-party users Corresponds to the JSON property workforceIdentityServiceEndpoint

Returns:

  • (String)


741
742
743
# File 'lib/google/apis/datafusion_v1/classes.rb', line 741

def workforce_identity_service_endpoint
  @workforce_identity_service_endpoint
end

#zoneString

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

Returns:

  • (String)


747
748
749
# File 'lib/google/apis/datafusion_v1/classes.rb', line 747

def zone
  @zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
# File 'lib/google/apis/datafusion_v1/classes.rb', line 754

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)
  @dataplex_data_lineage_integration_enabled = args[:dataplex_data_lineage_integration_enabled] if args.key?(:dataplex_data_lineage_integration_enabled)
  @dataproc_service_account = args[:dataproc_service_account] if args.key?(:dataproc_service_account)
  @description = args[:description] if args.key?(:description)
  @disabled_reason = args[:disabled_reason] if args.key?(:disabled_reason)
  @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)
  @enable_zone_separation = args[:enable_zone_separation] if args.key?(:enable_zone_separation)
  @event_publish_config = args[:event_publish_config] if args.key?(:event_publish_config)
  @gcs_bucket = args[:gcs_bucket] if args.key?(:gcs_bucket)
  @labels = args[:labels] if args.key?(:labels)
  @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
  @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)
  @patch_revision = args[:patch_revision] if args.key?(:patch_revision)
  @private_instance = args[:private_instance] if args.key?(:private_instance)
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
  @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)
  @workforce_identity_service_endpoint = args[:workforce_identity_service_endpoint] if args.key?(:workforce_identity_service_endpoint)
  @zone = args[:zone] if args.key?(:zone)
end