Class: Google::Apis::DiscoveryV1::RestMethod::Request
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryV1::RestMethod::Request
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/discovery_v1/classes.rb,
generated/google/apis/discovery_v1/representations.rb,
generated/google/apis/discovery_v1/representations.rb
Overview
The schema for the request.
Instance Attribute Summary collapse
-
#_ref ⇒ String
Schema ID for the request schema.
-
#parameter_name ⇒ String
parameter name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Request
constructor
A new instance of Request.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Request
Returns a new instance of Request
904 905 906 |
# File 'generated/google/apis/discovery_v1/classes.rb', line 904 def initialize(**args) update!(**args) end |
Instance Attribute Details
#_ref ⇒ String
Schema ID for the request schema.
Corresponds to the JSON property $ref
897 898 899 |
# File 'generated/google/apis/discovery_v1/classes.rb', line 897 def _ref @_ref end |
#parameter_name ⇒ String
parameter name.
Corresponds to the JSON property parameterName
902 903 904 |
# File 'generated/google/apis/discovery_v1/classes.rb', line 902 def parameter_name @parameter_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
909 910 911 912 |
# File 'generated/google/apis/discovery_v1/classes.rb', line 909 def update!(**args) @_ref = args[:_ref] if args.key?(:_ref) @parameter_name = args[:parameter_name] if args.key?(:parameter_name) end |