Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1UrlVisitsSummary

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 URL visits for a given metric.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#countFixnum

The count of the URL visits metric. Corresponds to the JSON property count

Returns:

  • (Fixnum)


6533
6534
6535
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 6533

def count
  @count
end

#metricString

The type of URL visits metric. Corresponds to the JSON property metric

Returns:

  • (String)


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