Class: Google::Apis::FirebaserulesV1::UpdateReleaseRequest

Inherits:
Object
  • Object
show all
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

The request for FirebaseRulesService.UpdateRelease.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateReleaseRequest

Returns a new instance of UpdateReleaseRequest.



752
753
754
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 752

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#releaseGoogle::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



745
746
747
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 745

def release
  @release
end

#update_maskString

Specifies which fields to update. Corresponds to the JSON property updateMask

Returns:

  • (String)


750
751
752
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 750

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



757
758
759
760
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 757

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