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.



3918
3919
3920
# File 'lib/google/apis/apihub_v1/classes.rb', line 3918

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


3916
3917
3918
# File 'lib/google/apis/apihub_v1/classes.rb', line 3916

def json_schema
  @json_schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3923
3924
3925
# File 'lib/google/apis/apihub_v1/classes.rb', line 3923

def update!(**args)
  @json_schema = args[:json_schema] if args.key?(:json_schema)
end