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.



847
848
849
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 847

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

Instance Attribute Details

#endpointGoogle::Apis::ChecksV1alpha::GoogleChecksReportV1alphaEndpoint

Information about an endpoint. Corresponds to the JSON property endpoint



835
836
837
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 835

def endpoint
  @endpoint
end

#hit_countFixnum

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

Returns:

  • (Fixnum)


840
841
842
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 840

def hit_count
  @hit_count
end

#metadataGoogle::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringResultMetadata

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



845
846
847
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 845

def 
  @metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



852
853
854
855
856
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 852

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