Class: Google::Apis::AlertcenterV1beta1::ApnsCertificateExpirationInfo
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::ApnsCertificateExpirationInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alertcenter_v1beta1/classes.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb
Overview
The explanation message associated with ApnsCertificationExpiring and ApnsCertificationExpired alerts.
Instance Attribute Summary collapse
-
#apple_id ⇒ String
The Apple ID used for the certificate may be blank if admins didn't enter it.
-
#expiration_time ⇒ String
The expiration date of the APNS Certificate.
-
#uid ⇒ String
The UID for the certificate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApnsCertificateExpirationInfo
constructor
A new instance of ApnsCertificateExpirationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApnsCertificateExpirationInfo
Returns a new instance of ApnsCertificateExpirationInfo.
515 516 517 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 515 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apple_id ⇒ String
The Apple ID used for the certificate may be blank if admins didn't enter it.
Corresponds to the JSON property appleId
503 504 505 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 503 def apple_id @apple_id end |
#expiration_time ⇒ String
The expiration date of the APNS Certificate.
Corresponds to the JSON property expirationTime
508 509 510 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 508 def expiration_time @expiration_time end |
#uid ⇒ String
The UID for the certificate.
Corresponds to the JSON property uid
513 514 515 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 513 def uid @uid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
520 521 522 523 524 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 520 def update!(**args) @apple_id = args[:apple_id] if args.key?(:apple_id) @expiration_time = args[:expiration_time] if args.key?(:expiration_time) @uid = args[:uid] if args.key?(:uid) end |