Class: Google::Apis::ApihubV1::GoogleCloudApihubV1OperationConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1OperationConfig
- 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
API hub Operation config.
Instance Attribute Summary collapse
-
#http_operation ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperationConfig
Identifies a single API Hub operation by spec resource name + HTTP path + HTTP method.
-
#operation ⇒ String
Full API Hub operation resource name:
projects/project/locations/location/ apis/api/versions/version/operations/operation`Corresponds to the JSON propertyoperation`.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1OperationConfig
constructor
A new instance of GoogleCloudApihubV1OperationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1OperationConfig
Returns a new instance of GoogleCloudApihubV1OperationConfig.
3791 3792 3793 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3791 def initialize(**args) update!(**args) end |
Instance Attribute Details
#http_operation ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperationConfig
Identifies a single API Hub operation by spec resource name + HTTP path + HTTP
method.
Corresponds to the JSON property httpOperation
3783 3784 3785 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3783 def http_operation @http_operation end |
#operation ⇒ String
Full API Hub operation resource name: projects/project/locations/location/
apis/api/versions/version/operations/operation`
Corresponds to the JSON propertyoperation`
3789 3790 3791 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3789 def operation @operation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3796 3797 3798 3799 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3796 def update!(**args) @http_operation = args[:http_operation] if args.key?(:http_operation) @operation = args[:operation] if args.key?(:operation) end |