class Google::Apis::FirebaserulesV1::Result
Possible result values from the function mock invocation.
Attributes
undefined[RW]
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo ` rpc Bar(google. protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for `Empty` is empty JSON object ““. Corresponds to the JSON property `undefined` @return [Google::Apis::FirebaserulesV1::Empty]
value[RW]
The result is an actual value. The type of the value must match that of the type declared by the service. Corresponds to the JSON property `value` @return [Object]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firebaserules_v1/classes.rb, line 414 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 419 def update!(**args) @undefined = args[:undefined] if args.key?(:undefined) @value = args[:value] if args.key?(:value) end