Class: Google::Apis::ApihubV1::GoogleCloudApihubV1OperationSchema
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1OperationSchema
- 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 schema needed for an operation.
Instance Attribute Summary collapse
-
#json_schema ⇒ Hash<String,Object>
The JSON schema.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1OperationSchema
constructor
A new instance of GoogleCloudApihubV1OperationSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1OperationSchema
Returns a new instance of GoogleCloudApihubV1OperationSchema.
3700 3701 3702 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3700 def initialize(**args) update!(**args) end |
Instance Attribute Details
#json_schema ⇒ Hash<String,Object>
The JSON schema. Only valid JSON is accepted but semantic validation of schema
is not supported right now.
Corresponds to the JSON property jsonSchema
3698 3699 3700 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3698 def json_schema @json_schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3705 3706 3707 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3705 def update!(**args) @json_schema = args[:json_schema] if args.key?(:json_schema) end |