Class: Google::Apis::ConnectorsV1::ConnectionSchemaMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::ConnectionSchemaMetadata
- 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
ConnectionSchemaMetadata is the singleton resource of each connection. It includes the entity and action names of runtime resources exposed by a connection backend.
Instance Attribute Summary collapse
-
#actions ⇒ Array<String>
Output only.
-
#entities ⇒ Array<String>
Output only.
-
#error_message ⇒ String
Error message for users.
-
#name ⇒ String
Output only.
-
#refresh_time ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectionSchemaMetadata
constructor
A new instance of ConnectionSchemaMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectionSchemaMetadata
Returns a new instance of ConnectionSchemaMetadata.
1010 1011 1012 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1010 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actions ⇒ Array<String>
Output only. List of actions.
Corresponds to the JSON property actions
976 977 978 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 976 def actions @actions end |
#entities ⇒ Array<String>
Output only. List of entity names.
Corresponds to the JSON property entities
981 982 983 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 981 def entities @entities end |
#error_message ⇒ String
Error message for users.
Corresponds to the JSON property errorMessage
986 987 988 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 986 def @error_message end |
#name ⇒ String
Output only. Resource name. Format: projects/project
/locations/location
/
connections/connection
/connectionSchemaMetadata
Corresponds to the JSON property name
992 993 994 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 992 def name @name end |
#refresh_time ⇒ String
Output only. Timestamp when the connection runtime schema refresh was
triggered.
Corresponds to the JSON property refreshTime
998 999 1000 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 998 def refresh_time @refresh_time end |
#state ⇒ String
Output only. The current state of runtime schema.
Corresponds to the JSON property state
1003 1004 1005 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1003 def state @state end |
#update_time ⇒ String
Output only. Timestamp when the connection runtime schema was updated.
Corresponds to the JSON property updateTime
1008 1009 1010 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1008 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1015 1016 1017 1018 1019 1020 1021 1022 1023 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1015 def update!(**args) @actions = args[:actions] if args.key?(:actions) @entities = args[:entities] if args.key?(:entities) @error_message = args[:error_message] if args.key?(:error_message) @name = args[:name] if args.key?(:name) @refresh_time = args[:refresh_time] if args.key?(:refresh_time) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |