Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1UrlVisitsSummary
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1UrlVisitsSummary
- 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 URL visits for a given metric.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
The count of the URL visits metric.
-
#metric ⇒ String
The type of URL visits metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementVersionsV1UrlVisitsSummary
constructor
A new instance of GoogleChromeManagementVersionsV1UrlVisitsSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementVersionsV1UrlVisitsSummary
Returns a new instance of GoogleChromeManagementVersionsV1UrlVisitsSummary.
6540 6541 6542 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 6540 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
The count of the URL visits metric.
Corresponds to the JSON property count
6533 6534 6535 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 6533 def count @count end |
#metric ⇒ String
The type of URL visits metric.
Corresponds to the JSON property metric
6538 6539 6540 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 6538 def metric @metric end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6545 6546 6547 6548 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 6545 def update!(**args) @count = args[:count] if args.key?(:count) @metric = args[:metric] if args.key?(:metric) end |