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

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

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

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) ⇒ Source

Returns a new instance of Source.



504
505
506
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 504

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

Instance Attribute Details

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

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



502
503
504
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 502

def files
  @files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



509
510
511
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 509

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