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.



539
540
541
# File 'lib/google/apis/connectors_v1/classes.rb', line 539

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


532
533
534
# File 'lib/google/apis/connectors_v1/classes.rb', line 532

def actions
  @actions
end

#entitiesArray<String>

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

Returns:

  • (Array<String>)


537
538
539
# File 'lib/google/apis/connectors_v1/classes.rb', line 537

def entities
  @entities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



544
545
546
547
# File 'lib/google/apis/connectors_v1/classes.rb', line 544

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