Class: Google::Cloud::Connectors::V1::ExtractionRule
- Inherits:
-
Object
- Object
- Google::Cloud::Connectors::V1::ExtractionRule
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/connectors/v1/connector_version.rb
Overview
Extraction Rule.
Defined Under Namespace
Modules: SourceType Classes: Source
Instance Attribute Summary collapse
-
#extraction_regex ⇒ ::String
Regex used to extract backend details from source.
-
#source ⇒ ::Google::Cloud::Connectors::V1::ExtractionRule::Source
Source on which the rule is applied.
Instance Attribute Details
#extraction_regex ⇒ ::String
Returns Regex used to extract backend details from source. If empty, whole source value will be used.
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 |
# File 'proto_docs/google/cloud/connectors/v1/connector_version.rb', line 194 class ExtractionRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Source to extract the backend from. # @!attribute [rw] source_type # @return [::Google::Cloud::Connectors::V1::ExtractionRule::SourceType] # Type of the source. # @!attribute [rw] field_id # @return [::String] # Field identifier. For example config vaiable name. class Source include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Supported Source types for extraction. module SourceType # Default SOURCE. SOURCE_TYPE_UNSPECIFIED = 0 # Config Variable source type. CONFIG_VARIABLE = 1 end end |
#source ⇒ ::Google::Cloud::Connectors::V1::ExtractionRule::Source
Returns Source on which the rule is applied.
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 |
# File 'proto_docs/google/cloud/connectors/v1/connector_version.rb', line 194 class ExtractionRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Source to extract the backend from. # @!attribute [rw] source_type # @return [::Google::Cloud::Connectors::V1::ExtractionRule::SourceType] # Type of the source. # @!attribute [rw] field_id # @return [::String] # Field identifier. For example config vaiable name. class Source include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Supported Source types for extraction. module SourceType # Default SOURCE. SOURCE_TYPE_UNSPECIFIED = 0 # Config Variable source type. CONFIG_VARIABLE = 1 end end |