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.



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

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>)


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

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)


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

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)


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

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)


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

def last_detected_time
  @last_detected_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



791
792
793
794
795
796
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 791

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