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.



553
554
555
# File 'lib/google/apis/connectors_v1/classes.rb', line 553

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


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

def actions
  @actions
end

#entitiesArray<String>

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

Returns:

  • (Array<String>)


551
552
553
# File 'lib/google/apis/connectors_v1/classes.rb', line 551

def entities
  @entities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



558
559
560
561
# File 'lib/google/apis/connectors_v1/classes.rb', line 558

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