Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Operation
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1Operation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
Operation represents the pairing of REST resource path and the actions (verbs) allowed on the resource path.
Instance Attribute Summary collapse
-
#methods_prop ⇒ Array<String>
methods refers to the REST verbs as in https://www.w3.org/Protocols/rfc2616/ rfc2616-sec9.html.
-
#resource ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1Operation
constructor
A new instance of GoogleCloudApigeeV1Operation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1Operation
Returns a new instance of GoogleCloudApigeeV1Operation.
4062 4063 4064 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4062 def initialize(**args) update!(**args) end |
Instance Attribute Details
#methods_prop ⇒ Array<String>
methods refers to the REST verbs as in https://www.w3.org/Protocols/rfc2616/
rfc2616-sec9.html. When none specified, all verb types are allowed.
Corresponds to the JSON property methods
4054 4055 4056 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4054 def methods_prop @methods_prop end |
#resource ⇒ String
Required. resource represents REST resource path associated with the proxy/
remote service.
Corresponds to the JSON property resource
4060 4061 4062 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4060 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4067 4068 4069 4070 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4067 def update!(**args) @methods_prop = args[:methods_prop] if args.key?(:methods_prop) @resource = args[:resource] if args.key?(:resource) end |