Class: Google::Apis::ApihubV1::GoogleCloudApihubV1OperationSchema

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_schemaHash<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

Returns:

  • (Hash<String,Object>)


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