Class: Google::Apis::NetappV1::ExecuteOntapPatchRequest
- Inherits:
-
Object
- Object
- Google::Apis::NetappV1::ExecuteOntapPatchRequest
- 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 ExecuteOntapPatch API.
Instance Attribute Summary collapse
-
#body ⇒ Hash<String,Object>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExecuteOntapPatchRequest
constructor
A new instance of ExecuteOntapPatchRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExecuteOntapPatchRequest
Returns a new instance of ExecuteOntapPatchRequest.
1066 1067 1068 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1066 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
1064 1065 1066 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1064 def body @body end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1071 1072 1073 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1071 def update!(**args) @body = args[:body] if args.key?(:body) end |