Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
Compute resources associated with the analyze interactive workloads.
Instance Attribute Summary collapse
-
#disk_size_gb ⇒ Fixnum
Optional.
-
#max_node_count ⇒ Fixnum
Optional.
-
#node_count ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources
constructor
A new instance of GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources
Returns a new instance of GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources.
4836 4837 4838 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4836 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disk_size_gb ⇒ Fixnum
Optional. Size in GB of the disk. Default is 100 GB.
Corresponds to the JSON property diskSizeGb
4823 4824 4825 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4823 def disk_size_gb @disk_size_gb end |
#max_node_count ⇒ Fixnum
Optional. Max configurable nodes. If max_node_count > node_count, then auto-
scaling is enabled.
Corresponds to the JSON property maxNodeCount
4829 4830 4831 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4829 def max_node_count @max_node_count end |
#node_count ⇒ Fixnum
Optional. Total number of nodes in the sessions created for this environment.
Corresponds to the JSON property nodeCount
4834 4835 4836 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4834 def node_count @node_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4841 4842 4843 4844 4845 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4841 def update!(**args) @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) @max_node_count = args[:max_node_count] if args.key?(:max_node_count) @node_count = args[:node_count] if args.key?(:node_count) end |