Class: Google::Apis::DatafusionV1beta1::Instance
- Inherits:
-
Object
- Object
- Google::Apis::DatafusionV1beta1::Instance
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datafusion_v1beta1/classes.rb,
lib/google/apis/datafusion_v1beta1/representations.rb,
lib/google/apis/datafusion_v1beta1/representations.rb
Overview
Represents a Data Fusion instance.
Instance Attribute Summary collapse
-
#accelerators ⇒ Array<Google::Apis::DatafusionV1beta1::Accelerator>
List of accelerators enabled for this CDF instance.
-
#api_endpoint ⇒ String
Output only.
-
#available_version ⇒ Array<Google::Apis::DatafusionV1beta1::Version>
Available versions that the instance can be upgraded to using UpdateInstanceRequest.
-
#create_time ⇒ String
Output only.
-
#dataproc_service_account ⇒ String
User-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines.
-
#description ⇒ String
A description of this instance.
-
#display_name ⇒ String
Display name for an instance.
-
#enable_stackdriver_logging ⇒ Boolean
(also: #enable_stackdriver_logging?)
Option to enable Stackdriver Logging.
-
#enable_stackdriver_monitoring ⇒ Boolean
(also: #enable_stackdriver_monitoring?)
Option to enable Stackdriver Monitoring.
-
#gcs_bucket ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs.
-
#name ⇒ String
Output only.
-
#network_config ⇒ Google::Apis::DatafusionV1beta1::NetworkConfig
Network configuration for a Data Fusion instance.
-
#options ⇒ Hash<String,String>
Map of additional options used to configure the behavior of Data Fusion instance.
-
#p4_service_account ⇒ String
Output only.
-
#private_instance ⇒ Boolean
(also: #private_instance?)
Specifies whether the Data Fusion instance should be private.
-
#service_account ⇒ String
Output only.
-
#service_endpoint ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#state_message ⇒ String
Output only.
-
#tenant_project_id ⇒ String
Output only.
-
#type ⇒ String
Required.
-
#update_time ⇒ String
Output only.
-
#version ⇒ String
Current version of Data Fusion.
-
#zone ⇒ String
Name of the zone in which the Data Fusion instance will be created.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Instance
constructor
A new instance of Instance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Instance
Returns a new instance of Instance.
420 421 422 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 420 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accelerators ⇒ Array<Google::Apis::DatafusionV1beta1::Accelerator>
List of accelerators enabled for this CDF instance.
Corresponds to the JSON property accelerators
277 278 279 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 277 def accelerators @accelerators end |
#api_endpoint ⇒ String
Output only. Endpoint on which the REST APIs is accessible.
Corresponds to the JSON property apiEndpoint
282 283 284 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 282 def api_endpoint @api_endpoint end |
#available_version ⇒ Array<Google::Apis::DatafusionV1beta1::Version>
Available versions that the instance can be upgraded to using
UpdateInstanceRequest.
Corresponds to the JSON property availableVersion
288 289 290 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 288 def available_version @available_version end |
#create_time ⇒ String
Output only. The time the instance was created.
Corresponds to the JSON property createTime
293 294 295 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 293 def create_time @create_time end |
#dataproc_service_account ⇒ String
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
300 301 302 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 300 def dataproc_service_account @dataproc_service_account end |
#description ⇒ String
A description of this instance.
Corresponds to the JSON property description
305 306 307 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 305 def description @description end |
#display_name ⇒ String
Display name for an instance.
Corresponds to the JSON property displayName
310 311 312 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 310 def display_name @display_name end |
#enable_stackdriver_logging ⇒ Boolean Also known as: enable_stackdriver_logging?
Option to enable Stackdriver Logging.
Corresponds to the JSON property enableStackdriverLogging
315 316 317 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 315 def enable_stackdriver_logging @enable_stackdriver_logging end |
#enable_stackdriver_monitoring ⇒ Boolean Also known as: enable_stackdriver_monitoring?
Option to enable Stackdriver Monitoring.
Corresponds to the JSON property enableStackdriverMonitoring
321 322 323 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 321 def enable_stackdriver_monitoring @enable_stackdriver_monitoring end |
#gcs_bucket ⇒ String
Output only. Cloud Storage bucket generated by Data Fusion in the customer
project.
Corresponds to the JSON property gcsBucket
328 329 330 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 328 def gcs_bucket @gcs_bucket end |
#labels ⇒ Hash<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
335 336 337 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 335 def labels @labels end |
#name ⇒ String
Output only. The name of this instance is in the form of projects/project/
locations/location/instances/instance.
Corresponds to the JSON property name
341 342 343 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 341 def name @name end |
#network_config ⇒ Google::Apis::DatafusionV1beta1::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
351 352 353 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 351 def network_config @network_config end |
#options ⇒ Hash<String,String>
Map of additional options used to configure the behavior of Data Fusion
instance.
Corresponds to the JSON property options
357 358 359 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 357 def @options end |
#p4_service_account ⇒ String
Output only. P4 service account for the customer project.
Corresponds to the JSON property p4ServiceAccount
362 363 364 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 362 def p4_service_account @p4_service_account end |
#private_instance ⇒ Boolean 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
369 370 371 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 369 def private_instance @private_instance end |
#service_account ⇒ String
Output only. Deprecated. Use tenant_project_id instead to extract the tenant
project ID.
Corresponds to the JSON property serviceAccount
376 377 378 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 376 def service_account @service_account end |
#service_endpoint ⇒ String
Output only. Endpoint on which the Data Fusion UI is accessible.
Corresponds to the JSON property serviceEndpoint
381 382 383 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 381 def service_endpoint @service_endpoint end |
#state ⇒ String
Output only. The current state of this Data Fusion instance.
Corresponds to the JSON property state
386 387 388 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 386 def state @state end |
#state_message ⇒ String
Output only. Additional information about the current state of this Data
Fusion instance if available.
Corresponds to the JSON property stateMessage
392 393 394 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 392 def @state_message end |
#tenant_project_id ⇒ String
Output only. The name of the tenant project.
Corresponds to the JSON property tenantProjectId
397 398 399 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 397 def tenant_project_id @tenant_project_id end |
#type ⇒ String
Required. Instance type.
Corresponds to the JSON property type
402 403 404 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 402 def type @type end |
#update_time ⇒ String
Output only. The time the instance was last updated.
Corresponds to the JSON property updateTime
407 408 409 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 407 def update_time @update_time end |
#version ⇒ String
Current version of Data Fusion.
Corresponds to the JSON property version
412 413 414 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 412 def version @version end |
#zone ⇒ String
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
418 419 420 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 418 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 425 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) @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_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 |