Class: Google::Apis::FirebaserulesV1::UpdateReleaseRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebaserulesV1::UpdateReleaseRequest
- 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 request for FirebaseRulesService.UpdateReleasePatch.
Instance Attribute Summary collapse
-
#release ⇒ Google::Apis::FirebaserulesV1::Release
Release
is a named reference to aRuleset
. -
#update_mask ⇒ String
Specifies which fields to update.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateReleaseRequest
constructor
A new instance of UpdateReleaseRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateReleaseRequest
Returns a new instance of UpdateReleaseRequest.
761 762 763 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 761 def initialize(**args) update!(**args) end |
Instance Attribute Details
#release ⇒ Google::Apis::FirebaserulesV1::Release
Release
is a named reference to a Ruleset
. Once a Release
refers to a
Ruleset
, rules-enabled services will be able to enforce the Ruleset
.
Corresponds to the JSON property release
754 755 756 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 754 def release @release end |
#update_mask ⇒ String
Specifies which fields to update.
Corresponds to the JSON property updateMask
759 760 761 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 759 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
766 767 768 769 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 766 def update!(**args) @release = args[:release] if args.key?(:release) @update_mask = args[:update_mask] if args.key?(:update_mask) end |