Class: Google::Apis::FirebaserulesV1::ListRulesetsResponse

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

Overview

The response for FirebaseRulesService.ListRulesets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListRulesetsResponse

Returns a new instance of ListRulesetsResponse.



325
326
327
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 325

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)


318
319
320
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 318

def next_page_token
  @next_page_token
end

#rulesetsArray<Google::Apis::FirebaserulesV1::Ruleset>

List of Ruleset instances. Corresponds to the JSON property rulesets



323
324
325
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 323

def rulesets
  @rulesets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



330
331
332
333
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 330

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