Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1LlmOperation
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1LlmOperation
- 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
Represents the pairing of REST resource path, model and the actions (verbs) allowed on the resource path.
Instance Attribute Summary collapse
-
#methods_prop ⇒ Array<String>
Optional.
-
#model ⇒ String
Required.
-
#resource ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1LlmOperation
constructor
A new instance of GoogleCloudApigeeV1LlmOperation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1LlmOperation
Returns a new instance of GoogleCloudApigeeV1LlmOperation.
7573 7574 7575 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7573 def initialize(**args) update!(**args) end |
Instance Attribute Details
#methods_prop ⇒ Array<String>
Optional. methods refers to the REST verbs as in https://httpwg.org/specs/
rfc9110.html For example: GET, POST, PUT, DELETE, etc. They need to be in
uppercase. When none specified, all verb types are allowed.
Corresponds to the JSON property methods
7561 7562 7563 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7561 def methods_prop @methods_prop end |
#model ⇒ String
Required. LLM model name associated with the API proxy
Corresponds to the JSON property model
7566 7567 7568 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7566 def model @model end |
#resource ⇒ String
Required. REST resource path associated with the API proxy or remote service.
Corresponds to the JSON property resource
7571 7572 7573 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7571 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7578 7579 7580 7581 7582 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7578 def update!(**args) @methods_prop = args[:methods_prop] if args.key?(:methods_prop) @model = args[:model] if args.key?(:model) @resource = args[:resource] if args.key?(:resource) end |