Class: Google::Apis::ProximitybeaconV1beta1::Diagnostics
- Inherits:
-
Object
- Object
- Google::Apis::ProximitybeaconV1beta1::Diagnostics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/proximitybeacon_v1beta1/classes.rb,
generated/google/apis/proximitybeacon_v1beta1/representations.rb,
generated/google/apis/proximitybeacon_v1beta1/representations.rb
Overview
Diagnostics for a single beacon.
Instance Attribute Summary collapse
-
#alerts ⇒ Array<String>
An unordered list of Alerts that the beacon has.
-
#beacon_name ⇒ String
Resource name of the beacon.
-
#estimated_low_battery_date ⇒ Google::Apis::ProximitybeaconV1beta1::Date
Represents a whole or partial calendar date, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Diagnostics
constructor
A new instance of Diagnostics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Diagnostics
Returns a new instance of Diagnostics
415 416 417 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 415 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alerts ⇒ Array<String>
An unordered list of Alerts that the beacon has.
Corresponds to the JSON property alerts
395 396 397 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 395 def alerts @alerts end |
#beacon_name ⇒ String
Resource name of the beacon. For Eddystone-EID beacons, this may
be the beacon's current EID, or the beacon's "stable" Eddystone-UID.
Corresponds to the JSON property beaconName
401 402 403 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 401 def beacon_name @beacon_name end |
#estimated_low_battery_date ⇒ Google::Apis::ProximitybeaconV1beta1::Date
Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent:
- A full date, with non-zero year, month and day values
- A month and day value, with a zero year, e.g. an anniversary
- A year on its own, with zero month and day values
- A year and month value, with a zero day, e.g. a credit card expiration date
Related types are google.type.TimeOfDay and
google.protobuf.Timestamp
. Corresponds to the JSON propertyestimatedLowBatteryDate
413 414 415 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 413 def estimated_low_battery_date @estimated_low_battery_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
420 421 422 423 424 |
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 420 def update!(**args) @alerts = args[:alerts] if args.key?(:alerts) @beacon_name = args[:beacon_name] if args.key?(:beacon_name) @estimated_low_battery_date = args[:estimated_low_battery_date] if args.key?(:estimated_low_battery_date) end |