class Google::Apis::StorageV1::ServiceAccount
A subscription to receive Google
PubSub notifications.
Attributes
email_address[RW]
The ID of the notification. Corresponds to the JSON property `email_address` @return [String]
kind[RW]
The kind of item this is. For notifications, this is always storage# notification. Corresponds to the JSON property `kind` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/storage_v1/classes.rb, line 2033 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/storage_v1/classes.rb, line 2038 def update!(**args) @email_address = args[:email_address] if args.key?(:email_address) @kind = args[:kind] if args.key?(:kind) end