Class: Google::Apis::FirebaserulesV1::ListReleasesResponse

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

Overview

The response for FirebaseRulesService.ListReleases.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListReleasesResponse

Returns a new instance of ListReleasesResponse.



297
298
299
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 297

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

Instance Attribute Details

#next_page_tokenString

The pagination token to retrieve the next page of results. If the value is empty, no further results remain. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


290
291
292
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 290

def next_page_token
  @next_page_token
end

#releasesArray<Google::Apis::FirebaserulesV1::Release>

List of Release instances. Corresponds to the JSON property releases



295
296
297
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 295

def releases
  @releases
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



302
303
304
305
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 302

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