class Google::Apis::FirebaserulesV1::File
`File` containing source content.
Attributes
content[RW]
Textual Content. Corresponds to the JSON property `content` @return [String]
fingerprint[RW]
Fingerprint (e.g. github sha) associated with the `File`. Corresponds to the JSON property `fingerprint` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
name[RW]
File
name. Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firebaserules_v1/classes.rb, line 124 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/firebaserules_v1/classes.rb, line 129 def update!(**args) @content = args[:content] if args.key?(:content) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @name = args[:name] if args.key?(:name) end