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

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ UpdateReleaseRequest

Returns a new instance of UpdateReleaseRequest



695
696
697
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 695

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



688
689
690
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 688

def release
  @release
end

#update_maskString

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

Returns:

  • (String)


693
694
695
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 693

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



700
701
702
703
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 700

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