Class: Google::Cloud::Connectors::V1::RuntimeEntitySchema
- Inherits:
-
Object
- Object
- Google::Cloud::Connectors::V1::RuntimeEntitySchema
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/connectors/v1/connection.rb
Overview
Schema of a runtime entity.
Defined Under Namespace
Classes: Field
Instance Attribute Summary collapse
-
#entity ⇒ ::String
readonly
Output only.
-
#fields ⇒ ::Array<::Google::Cloud::Connectors::V1::RuntimeEntitySchema::Field>
readonly
Output only.
Instance Attribute Details
#entity ⇒ ::String (readonly)
Returns Output only. Name of the entity.
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 |
# File 'proto_docs/google/cloud/connectors/v1/connection.rb', line 168 class RuntimeEntitySchema include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata of an entity field. # @!attribute [rw] field # @return [::String] # Name of the Field. # @!attribute [rw] description # @return [::String] # A brief description of the Field. # @!attribute [rw] data_type # @return [::Google::Cloud::Connectors::V1::DataType] # The data type of the Field. # @!attribute [rw] key # @return [::Boolean] # The following boolean field specifies if the current Field acts # as a primary key or id if the parent is of type entity. # @!attribute [rw] readonly # @return [::Boolean] # Specifies if the Field is readonly. # @!attribute [rw] nullable # @return [::Boolean] # Specifies whether a null value is allowed. # @!attribute [rw] default_value # @return [::Google::Protobuf::Value] # The following field specifies the default value of the Field provided # by the external system if a value is not provided. # @!attribute [rw] additional_details # @return [::Google::Protobuf::Struct] # The following map contains fields that are not explicitly mentioned # above,this give connectors the flexibility to add new metadata # fields. class Field include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#fields ⇒ ::Array<::Google::Cloud::Connectors::V1::RuntimeEntitySchema::Field> (readonly)
Returns Output only. List of fields in the entity.
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 |
# File 'proto_docs/google/cloud/connectors/v1/connection.rb', line 168 class RuntimeEntitySchema include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata of an entity field. # @!attribute [rw] field # @return [::String] # Name of the Field. # @!attribute [rw] description # @return [::String] # A brief description of the Field. # @!attribute [rw] data_type # @return [::Google::Cloud::Connectors::V1::DataType] # The data type of the Field. # @!attribute [rw] key # @return [::Boolean] # The following boolean field specifies if the current Field acts # as a primary key or id if the parent is of type entity. # @!attribute [rw] readonly # @return [::Boolean] # Specifies if the Field is readonly. # @!attribute [rw] nullable # @return [::Boolean] # Specifies whether a null value is allowed. # @!attribute [rw] default_value # @return [::Google::Protobuf::Value] # The following field specifies the default value of the Field provided # by the external system if a value is not provided. # @!attribute [rw] additional_details # @return [::Google::Protobuf::Struct] # The following map contains fields that are not explicitly mentioned # above,this give connectors the flexibility to add new metadata # fields. class Field include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |