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.
3835 3836 3837 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3835 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
3810 3811 3812 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3810 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
3818 3819 3820 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3818 def description @description end |
#documentation ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1Documentation
Documentation details.
Corresponds to the JSON property documentation
3823 3824 3825 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3823 def documentation @documentation end |
#http_operation ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperation
The HTTP Operation.
Corresponds to the JSON property httpOperation
3828 3829 3830 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3828 def http_operation @http_operation end |
#mcp_tool ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1McpTool
Details describing an MCP Tool.
Corresponds to the JSON property mcpTool
3833 3834 3835 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3833 def mcp_tool @mcp_tool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3840 3841 3842 3843 3844 3845 3846 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3840 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 |