Class: Google::Apis::WorkspaceeventsV1::ListTaskPushNotificationConfigResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/workspaceevents_v1/classes.rb,
lib/google/apis/workspaceevents_v1/representations.rb,
lib/google/apis/workspaceevents_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListTaskPushNotificationConfigResponse

Returns a new instance of ListTaskPushNotificationConfigResponse.



239
240
241
# File 'lib/google/apis/workspaceevents_v1/classes.rb', line 239

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#configsArray<Google::Apis::WorkspaceeventsV1::TaskPushNotificationConfig>

The list of push notification configurations. Corresponds to the JSON property configs



231
232
233
# File 'lib/google/apis/workspaceevents_v1/classes.rb', line 231

def configs
  @configs
end

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


237
238
239
# File 'lib/google/apis/workspaceevents_v1/classes.rb', line 237

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



244
245
246
247
# File 'lib/google/apis/workspaceevents_v1/classes.rb', line 244

def update!(**args)
  @configs = args[:configs] if args.key?(:configs)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end