Class: Google::Apis::DataflowV1b3::MemInfo
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::MemInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb
Overview
Information about the memory usage of a worker or a container within a worker.
Instance Attribute Summary collapse
-
#current_limit_bytes ⇒ Fixnum
Instantenous memory limit in bytes.
-
#current_rss_bytes ⇒ Fixnum
Instantenous memory (RSS) size in bytes.
-
#timestamp ⇒ String
Timestamp of the measurement.
-
#total_gb_ms ⇒ Fixnum
Total memory (RSS) usage since start up in GB * ms.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MemInfo
constructor
A new instance of MemInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MemInfo
Returns a new instance of MemInfo.
2901 2902 2903 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2901 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_limit_bytes ⇒ Fixnum
Instantenous memory limit in bytes.
Corresponds to the JSON property currentLimitBytes
2884 2885 2886 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2884 def current_limit_bytes @current_limit_bytes end |
#current_rss_bytes ⇒ Fixnum
Instantenous memory (RSS) size in bytes.
Corresponds to the JSON property currentRssBytes
2889 2890 2891 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2889 def current_rss_bytes @current_rss_bytes end |
#timestamp ⇒ String
Timestamp of the measurement.
Corresponds to the JSON property timestamp
2894 2895 2896 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2894 def @timestamp end |
#total_gb_ms ⇒ Fixnum
Total memory (RSS) usage since start up in GB * ms.
Corresponds to the JSON property totalGbMs
2899 2900 2901 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2899 def total_gb_ms @total_gb_ms end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2906 2907 2908 2909 2910 2911 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2906 def update!(**args) @current_limit_bytes = args[:current_limit_bytes] if args.key?(:current_limit_bytes) @current_rss_bytes = args[:current_rss_bytes] if args.key?(:current_rss_bytes) @timestamp = args[:timestamp] if args.key?(:timestamp) @total_gb_ms = args[:total_gb_ms] if args.key?(:total_gb_ms) end |