Class: Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringEndpointResult

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/checks_v1alpha/classes.rb,
lib/google/apis/checks_v1alpha/representations.rb,
lib/google/apis/checks_v1alpha/representations.rb

Overview

Information about an endpoint that was contacted by your app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChecksReportV1alphaDataMonitoringEndpointResult

Returns a new instance of GoogleChecksReportV1alphaDataMonitoringEndpointResult.



722
723
724
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 722

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#endpoint ⇒ Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaEndpoint

Information about an endpoint. Corresponds to the JSON property endpoint



710
711
712
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 710

def endpoint
  @endpoint
end

#hit_count ⇒ Fixnum

The number of times this endpoint was contacted by your app. Corresponds to the JSON property hitCount

Returns:

  • (Fixnum)


715
716
717
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 715

def hit_count
  @hit_count
end

#metadata ⇒ Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringResultMetadata

Information about a data monitoring result. Corresponds to the JSON property metadata



720
721
722
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 720

def 
  @metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



727
728
729
730
731
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 727

def update!(**args)
  @endpoint = args[:endpoint] if args.key?(:endpoint)
  @hit_count = args[:hit_count] if args.key?(:hit_count)
  @metadata = args[:metadata] if args.key?(:metadata)
end