Class: Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringResultMetadata

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 a data monitoring result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChecksReportV1alphaDataMonitoringResultMetadata

Returns a new instance of GoogleChecksReportV1alphaDataMonitoringResultMetadata.



779
780
781
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 779

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

Instance Attribute Details

#badges ⇒ Array<String>

Badges that apply to this result. Corresponds to the JSON property badges

Returns:

  • (Array<String>)


759
760
761
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 759

def badges
  @badges
end

#first_detected_time ⇒ String

The timestamp when this result was first detected within the last 8 weeks. If not set, it wasn't detected within the last 8 weeks. Corresponds to the JSON property firstDetectedTime

Returns:

  • (String)


765
766
767
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 765

def first_detected_time
  @first_detected_time
end

#last_detected_app_version ⇒ String

Your app's version name when this result was last detected within the last 8 weeks. If not set, it wasn't detected within the last 8 weeks. Corresponds to the JSON property lastDetectedAppVersion

Returns:

  • (String)


771
772
773
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 771

def last_detected_app_version
  @last_detected_app_version
end

#last_detected_time ⇒ String

The timestamp when this result was last detected within the last 8 weeks. If not set, it wasn't detected within the last 8 weeks. Corresponds to the JSON property lastDetectedTime

Returns:

  • (String)


777
778
779
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 777

def last_detected_time
  @last_detected_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



784
785
786
787
788
789
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 784

def update!(**args)
  @badges = args[:badges] if args.key?(:badges)
  @first_detected_time = args[:first_detected_time] if args.key?(:first_detected_time)
  @last_detected_app_version = args[:last_detected_app_version] if args.key?(:last_detected_app_version)
  @last_detected_time = args[:last_detected_time] if args.key?(:last_detected_time)
end