Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Operation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1Operation

Returns a new instance of GoogleCloudApigeeV1Operation.



4004
4005
4006
# File 'generated/google/apis/apigee_v1/classes.rb', line 4004

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

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

Returns:

  • (Array<String>)


3996
3997
3998
# File 'generated/google/apis/apigee_v1/classes.rb', line 3996

def methods_prop
  @methods_prop
end

#resourceString

Required. resource represents REST resource path associated with the proxy/ remote service. Corresponds to the JSON property resource

Returns:

  • (String)


4002
4003
4004
# File 'generated/google/apis/apigee_v1/classes.rb', line 4002

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4009
4010
4011
4012
# File 'generated/google/apis/apigee_v1/classes.rb', line 4009

def update!(**args)
  @methods_prop = args[:methods_prop] if args.key?(:methods_prop)
  @resource = args[:resource] if args.key?(:resource)
end