Class: Google::Apis::DatafusionV1beta1::Instance
- Inherits:
-
Object
- Object
- Google::Apis::DatafusionV1beta1::Instance
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datafusion_v1beta1/classes.rb,
generated/google/apis/datafusion_v1beta1/representations.rb,
generated/google/apis/datafusion_v1beta1/representations.rb
Overview
Represents a Data Fusion instance.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
An optional 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.
-
#labels ⇒ Hash<String,String>
The resource labels for instance to use to annotate any related underlying resources such as GCE 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.
-
#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.
-
#type ⇒ String
Required.
-
#update_time ⇒ String
Output only.
-
#version ⇒ String
Output only.
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Instance
Returns a new instance of Instance
536 537 538 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 536 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time the instance was created.
Corresponds to the JSON property createTime
432 433 434 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 432 def create_time @create_time end |
#description ⇒ String
An optional description of this instance.
Corresponds to the JSON property description
437 438 439 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 437 def description @description end |
#display_name ⇒ String
Display name for an instance.
Corresponds to the JSON property displayName
442 443 444 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 442 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
447 448 449 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 447 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
453 454 455 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 453 def enable_stackdriver_monitoring @enable_stackdriver_monitoring end |
#labels ⇒ Hash<String,String>
The resource labels for instance to use to annotate any related underlying
resources such as GCE VMs. The character '=' is not allowed to be used
within the labels.
Corresponds to the JSON property labels
461 462 463 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 461 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
467 468 469 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 467 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
477 478 479 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 477 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
483 484 485 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 483 def @options 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
490 491 492 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 490 def private_instance @private_instance end |
#service_account ⇒ String
Output only. Service account which will be used to access resources in
the customer project."
Corresponds to the JSON property serviceAccount
497 498 499 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 497 def service_account @service_account end |
#service_endpoint ⇒ String
Output only. Endpoint on which the Data Fusion UI and REST APIs are
accessible.
Corresponds to the JSON property serviceEndpoint
503 504 505 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 503 def service_endpoint @service_endpoint end |
#state ⇒ String
Output only. The current state of this Data Fusion instance.
Corresponds to the JSON property state
508 509 510 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 508 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
514 515 516 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 514 def @state_message end |
#type ⇒ String
Required. Instance type.
Corresponds to the JSON property type
519 520 521 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 519 def type @type end |
#update_time ⇒ String
Output only. The time the instance was last updated.
Corresponds to the JSON property updateTime
524 525 526 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 524 def update_time @update_time end |
#version ⇒ String
Output only. Current version of the Data Fusion.
Corresponds to the JSON property version
529 530 531 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 529 def version @version end |
#zone ⇒ String
Name of the zone in which the Data Fusion instance will be created.
Corresponds to the JSON property zone
534 535 536 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 534 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 541 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @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) @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) @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) @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 |