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.



911
912
913
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 911

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

Instance Attribute Details

#badgesArray<String>

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

Returns:

  • (Array<String>)


891
892
893
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 891

def badges
  @badges
end

#first_detected_timeString

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)


897
898
899
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 897

def first_detected_time
  @first_detected_time
end

#last_detected_app_versionString

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)


903
904
905
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 903

def last_detected_app_version
  @last_detected_app_version
end

#last_detected_timeString

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)


909
910
911
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 909

def last_detected_time
  @last_detected_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



916
917
918
919
920
921
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 916

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