Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ContentTransfersSummary

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#countFixnum

The count of the content transfers metric. Corresponds to the JSON property count

Returns:

  • (Fixnum)


5233
5234
5235
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5233

def count
  @count
end

#metricString

The type of content transfers metric. Corresponds to the JSON property metric

Returns:

  • (String)


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