Class: Google::Apis::ConnectorsV1::ConnectionSchemaMetadata

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb

Overview

Metadata of connection schema.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConnectionSchemaMetadata

Returns a new instance of ConnectionSchemaMetadata.



499
500
501
# File 'lib/google/apis/connectors_v1/classes.rb', line 499

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#actionsArray<String>

Output only. List of actions. Corresponds to the JSON property actions

Returns:

  • (Array<String>)


492
493
494
# File 'lib/google/apis/connectors_v1/classes.rb', line 492

def actions
  @actions
end

#entitiesArray<String>

Output only. List of entity names. Corresponds to the JSON property entities

Returns:

  • (Array<String>)


497
498
499
# File 'lib/google/apis/connectors_v1/classes.rb', line 497

def entities
  @entities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



504
505
506
507
# File 'lib/google/apis/connectors_v1/classes.rb', line 504

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