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.



1324
1325
1326
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1324

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


1304
1305
1306
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1304

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)


1310
1311
1312
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1310

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)


1316
1317
1318
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1316

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)


1322
1323
1324
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1322

def last_detected_time
  @last_detected_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1329
1330
1331
1332
1333
1334
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1329

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