Class: Google::Apis::ApihubV1::GoogleCloudApihubV1OperationDetails
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1OperationDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apihub_v1/classes.rb,
lib/google/apis/apihub_v1/representations.rb,
lib/google/apis/apihub_v1/representations.rb
Overview
The operation details parsed from the spec.
Instance Attribute Summary collapse
-
#deprecated ⇒ Boolean
(also: #deprecated?)
Optional.
-
#description ⇒ String
Optional.
-
#documentation ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1Documentation
Documentation details.
-
#http_operation ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperation
The HTTP Operation.
-
#mcp_tool ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1McpTool
Details describing an MCP Tool.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1OperationDetails
constructor
A new instance of GoogleCloudApihubV1OperationDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1OperationDetails
Returns a new instance of GoogleCloudApihubV1OperationDetails.
3617 3618 3619 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3617 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deprecated ⇒ Boolean Also known as: deprecated?
Optional. For OpenAPI spec, this will be set if operation.deprecatedis
marked as true in the spec.
Corresponds to the JSON property deprecated
3592 3593 3594 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3592 def deprecated @deprecated end |
#description ⇒ String
Optional. Description of the operation behavior. For OpenAPI spec, this will
map to operation.description in the spec, in case description is empty,
operation.summary will be used.
Corresponds to the JSON property description
3600 3601 3602 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3600 def description @description end |
#documentation ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1Documentation
Documentation details.
Corresponds to the JSON property documentation
3605 3606 3607 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3605 def documentation @documentation end |
#http_operation ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperation
The HTTP Operation.
Corresponds to the JSON property httpOperation
3610 3611 3612 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3610 def http_operation @http_operation end |
#mcp_tool ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1McpTool
Details describing an MCP Tool.
Corresponds to the JSON property mcpTool
3615 3616 3617 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3615 def mcp_tool @mcp_tool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3622 3623 3624 3625 3626 3627 3628 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3622 def update!(**args) @deprecated = args[:deprecated] if args.key?(:deprecated) @description = args[:description] if args.key?(:description) @documentation = args[:documentation] if args.key?(:documentation) @http_operation = args[:http_operation] if args.key?(:http_operation) @mcp_tool = args[:mcp_tool] if args.key?(:mcp_tool) end |