Class: Google::Apis::NetappV1::ExecuteOntapPatchRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#bodyHash<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

Returns:

  • (Hash<String,Object>)


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