Class: Google::Apis::AndroidenterpriseV1::SendTestPushNotificationResponse
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::SendTestPushNotificationResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidenterprise_v1/classes.rb,
generated/google/apis/androidenterprise_v1/representations.rb,
generated/google/apis/androidenterprise_v1/representations.rb
Instance Attribute Summary collapse
-
#message_id ⇒ String
The message ID of the test push notification that was sent.
-
#topic_name ⇒ String
The name of the Cloud Pub/Sub topic to which notifications for this enterprise' s enrolled account will be sent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SendTestPushNotificationResponse
constructor
A new instance of SendTestPushNotificationResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SendTestPushNotificationResponse
Returns a new instance of SendTestPushNotificationResponse
678 679 680 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 678 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message_id ⇒ String
The message ID of the test push notification that was sent.
Corresponds to the JSON property messageId
670 671 672 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 670 def @message_id end |
#topic_name ⇒ String
The name of the Cloud Pub/Sub topic to which notifications for this enterprise'
s enrolled account will be sent.
Corresponds to the JSON property topicName
676 677 678 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 676 def topic_name @topic_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
683 684 685 686 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 683 def update!(**args) @message_id = args[:message_id] if args.key?(:message_id) @topic_name = args[:topic_name] if args.key?(:topic_name) end |