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.



1260
1261
1262
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1260

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

Instance Attribute Details

#endpointGoogle::Apis::ChecksV1alpha::GoogleChecksReportV1alphaEndpoint

Information about an endpoint. Corresponds to the JSON property endpoint



1248
1249
1250
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1248

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)


1253
1254
1255
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1253

def hit_count
  @hit_count
end

#metadataGoogle::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringResultMetadata

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



1258
1259
1260
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1258

def 
  
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1265
1266
1267
1268
1269
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1265

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