Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ContentTransfersSummary
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ContentTransfersSummary
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb
Overview
Summary of content transfers for a given metric.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
The count of the content transfers metric.
-
#metric ⇒ String
The type of content transfers metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementVersionsV1ContentTransfersSummary
constructor
A new instance of GoogleChromeManagementVersionsV1ContentTransfersSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementVersionsV1ContentTransfersSummary
Returns a new instance of GoogleChromeManagementVersionsV1ContentTransfersSummary.
5240 5241 5242 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5240 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
The count of the content transfers metric.
Corresponds to the JSON property count
5233 5234 5235 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5233 def count @count end |
#metric ⇒ String
The type of content transfers metric.
Corresponds to the JSON property metric
5238 5239 5240 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5238 def metric @metric end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5245 5246 5247 5248 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5245 def update!(**args) @count = args[:count] if args.key?(:count) @metric = args[:metric] if args.key?(:metric) end |