Class: Google::Apis::FirebaserulesV1::Metadata
- Inherits:
-
Object
- Object
- Google::Apis::FirebaserulesV1::Metadata
- 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
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.
346 347 348 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 346 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
344 345 346 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 344 def services @services end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
351 352 353 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 351 def update!(**args) @services = args[:services] if args.key?(:services) end |