class Google::Apis::FirebaserulesV1::Ruleset

`Ruleset` is an immutable copy of `Source` with a globally unique identifier and a creation time.

Attributes

create_time[RW]

Output only. Time the `Ruleset` was created. Corresponds to the JSON property `createTime` @return [String]

metadata[RW]

Metadata for a Ruleset. Corresponds to the JSON property `metadata` @return [Google::Apis::FirebaserulesV1::Metadata]

name[RW]

Output only. Name of the `Ruleset`. The ruleset_id is auto generated by the service. Format: `projects/`project_id`/rulesets/`ruleset_id“ Corresponds to the JSON property `name` @return [String]

source[RW]

`Source` is one or more `File` messages comprising a logical set of rules. Corresponds to the JSON property `source` @return [Google::Apis::FirebaserulesV1::Source]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firebaserules_v1/classes.rb, line 451
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 456
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @metadata = args[:metadata] if args.key?(:metadata)
  @name = args[:name] if args.key?(:name)
  @source = args[:source] if args.key?(:source)
end