Class: Google::Apis::FirebaserulesV1::Metadata
- Inherits:
-
Object
- Object
- Google::Apis::FirebaserulesV1::Metadata
- 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
Metadata for a Ruleset.
Instance Attribute Summary collapse
-
#services ⇒ Array<String>
Services that this ruleset has declarations for (e.g., "cloud.firestore").
Instance Method Summary collapse
-
#initialize(**args) ⇒ Metadata
constructor
A new instance of Metadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Metadata
Returns a new instance of Metadata.
344 345 346 |
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 344 def initialize(**args) update!(**args) end |
Instance Attribute Details
#services ⇒ Array<String>
Services that this ruleset has declarations for (e.g., "cloud.firestore").
There may be 0+ of these.
Corresponds to the JSON property services
342 343 344 |
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 342 def services @services end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
349 350 351 |
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 349 def update!(**args) @services = args[:services] if args.key?(:services) end |