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.
847 848 849 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 847 def initialize(**args) update!(**args) end |
Instance Attribute Details
#endpoint ⇒ Google::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_count ⇒ Fixnum
The number of times this endpoint was contacted by your app.
Corresponds to the JSON property hitCount
840 841 842 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 840 def hit_count @hit_count end |
#metadata ⇒ Google::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 |