Class: Google::Apis::FirebaserulesV1::Source

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

Source is one or more File messages comprising a logical set of rules.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Source

Returns a new instance of Source.



478
479
480
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 478

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

Instance Attribute Details

#filesArray<Google::Apis::FirebaserulesV1::File>

Required. File set constituting the Source bundle. Corresponds to the JSON property files



476
477
478
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 476

def files
  @files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



483
484
485
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 483

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