Class: Google::Apis::FirebaserulesV1::Source
- Inherits:
-
Object
- Object
- Google::Apis::FirebaserulesV1::Source
- 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
Source
is one or more File
messages comprising a logical set of rules.
Instance Attribute Summary collapse
-
#files ⇒ Array<Google::Apis::FirebaserulesV1::File>
File
set constituting theSource
bundle.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Source
constructor
A new instance of Source.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Source
Returns a new instance of Source
437 438 439 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 437 def initialize(**args) update!(**args) end |
Instance Attribute Details
#files ⇒ Array<Google::Apis::FirebaserulesV1::File>
File
set constituting the Source
bundle.
Corresponds to the JSON property files
435 436 437 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 435 def files @files end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
442 443 444 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 442 def update!(**args) @files = args[:files] if args.key?(:files) end |