Class: Google::Apis::NetappV1::ExecuteOntapPostRequest
- Inherits:
-
Object
- Object
- Google::Apis::NetappV1::ExecuteOntapPostRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/netapp_v1/classes.rb,
lib/google/apis/netapp_v1/representations.rb,
lib/google/apis/netapp_v1/representations.rb
Overview
Request message for ExecuteOntapPost API.
Instance Attribute Summary collapse
-
#body ⇒ Hash<String,Object>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExecuteOntapPostRequest
constructor
A new instance of ExecuteOntapPostRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExecuteOntapPostRequest
Returns a new instance of ExecuteOntapPostRequest.
1106 1107 1108 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1106 def initialize(**args) update!(**args) end |
Instance Attribute Details
#body ⇒ Hash<String,Object>
Required. The raw JSON body of the request. The body should be in the format
of the ONTAP resource. For example: ` "body": ` "field1": "value1", "
field2": "value2", ` `
Corresponds to the JSON property body
1104 1105 1106 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1104 def body @body end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1111 1112 1113 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1111 def update!(**args) @body = args[:body] if args.key?(:body) end |