Class: Google::Apis::FirebaserulesV1::Result
- Inherits:
-
Object
- Object
- Google::Apis::FirebaserulesV1::Result
- 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
Possible result values from the function mock invocation.
Instance Attribute Summary collapse
-
#undefined ⇒ Google::Apis::FirebaserulesV1::Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
-
#value ⇒ Object
The result is an actual value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Result
constructor
A new instance of Result.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Result
Returns a new instance of Result.
411 412 413 |
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 411 def initialize(**args) update!(**args) end |
Instance Attribute Details
#undefined ⇒ Google::Apis::FirebaserulesV1::Empty
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);
Corresponds to the JSON property undefined
403 404 405 |
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 403 def undefined @undefined end |
#value ⇒ Object
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
409 410 411 |
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 409 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
416 417 418 419 |
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 416 def update!(**args) @undefined = args[:undefined] if args.key?(:undefined) @value = args[:value] if args.key?(:value) end |