Class: Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringEndpointResult
- Inherits:
-
Object
- Object
- Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringEndpointResult
- 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
-
#endpoint ⇒ Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaEndpoint
Information about an endpoint.
-
#hit_count ⇒ Fixnum
The number of times this endpoint was contacted by your app.
-
#metadata ⇒ Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringResultMetadata
Information about a data monitoring result.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChecksReportV1alphaDataMonitoringEndpointResult
constructor
A new instance of GoogleChecksReportV1alphaDataMonitoringEndpointResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#endpoint ⇒ Google::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_count ⇒ Fixnum
The number of times this endpoint was contacted by your app.
Corresponds to the JSON property hitCount
1253 1254 1255 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1253 def hit_count @hit_count end |
#metadata ⇒ Google::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 |