class Google::Apis::ProximitybeaconV1beta1::Diagnostics

Diagnostics for a single beacon.

Attributes

alerts[RW]

An unordered list of Alerts that the beacon has. Corresponds to the JSON property `alerts` @return [Array<String>]

beacon_name[RW]

Resource name of the beacon. Corresponds to the JSON property `beaconName` @return [String]

estimated_low_battery_date[RW]

Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][] and `google. protobuf.Timestamp`. Corresponds to the JSON property `estimatedLowBatteryDate` @return [Google::Apis::ProximitybeaconV1beta1::Date]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/proximitybeacon_v1beta1/classes.rb, line 436
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/proximitybeacon_v1beta1/classes.rb, line 441
def update!(**args)
  @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)
  @alerts = args[:alerts] if args.key?(:alerts)
end