Class: Google::Apis::ConnectorsV1::CustomConnectorVersion
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::CustomConnectorVersion
- 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
CustomConnectorVersion indicates a specific version of a connector.
Instance Attribute Summary collapse
-
#auth_config ⇒ Google::Apis::ConnectorsV1::AuthConfig
AuthConfig defines details of a authentication type.
-
#backend_variable_templates ⇒ Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>
Optional.
-
#create_time ⇒ String
Output only.
-
#destination_configs ⇒ Array<Google::Apis::ConnectorsV1::DestinationConfig>
Optional.
-
#enable_backend_destination_config ⇒ Boolean
(also: #enable_backend_destination_config?)
Optional.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Output only.
-
#service_account ⇒ String
Optional.
-
#spec_location ⇒ String
Optional.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomConnectorVersion
constructor
A new instance of CustomConnectorVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomConnectorVersion
Returns a new instance of CustomConnectorVersion.
1289 1290 1291 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1289 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auth_config ⇒ Google::Apis::ConnectorsV1::AuthConfig
AuthConfig defines details of a authentication type.
Corresponds to the JSON property authConfig
1229 1230 1231 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1229 def auth_config @auth_config end |
#backend_variable_templates ⇒ Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>
Optional. Backend variables config templates. This translates to additional
variable templates in connection.
Corresponds to the JSON property backendVariableTemplates
1235 1236 1237 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1235 def backend_variable_templates @backend_variable_templates end |
#create_time ⇒ String
Output only. Created time.
Corresponds to the JSON property createTime
1240 1241 1242 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1240 def create_time @create_time end |
#destination_configs ⇒ Array<Google::Apis::ConnectorsV1::DestinationConfig>
Optional. Destination config(s) for accessing connector facade/ proxy. This is
used only when enable_backend_destination_config is true.
Corresponds to the JSON property destinationConfigs
1246 1247 1248 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1246 def destination_configs @destination_configs end |
#enable_backend_destination_config ⇒ Boolean Also known as: enable_backend_destination_config?
Optional. When enabled, the connector will be a facade/ proxy, and connects to
the destination provided during connection creation.
Corresponds to the JSON property enableBackendDestinationConfig
1252 1253 1254 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1252 def enable_backend_destination_config @enable_backend_destination_config end |
#labels ⇒ Hash<String,String>
Optional. Resource labels to represent user-provided metadata. Refer to cloud
documentation on labels for more details. https://cloud.google.com/compute/
docs/labeling-resources
Corresponds to the JSON property labels
1260 1261 1262 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1260 def labels @labels end |
#name ⇒ String
Output only. Identifier. Resource name of the Version. Format: projects/
project/locations/location/customConnectors/custom_connector/
customConnectorVersions/custom_connector_version
Corresponds to the JSON property name
1267 1268 1269 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1267 def name @name end |
#service_account ⇒ String
Optional. Service account used by runtime plane to access auth config secrets.
Corresponds to the JSON property serviceAccount
1272 1273 1274 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1272 def service_account @service_account end |
#spec_location ⇒ String
Optional. Location of the custom connector spec.
Corresponds to the JSON property specLocation
1277 1278 1279 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1277 def spec_location @spec_location end |
#state ⇒ String
Output only. State of the custom connector version.
Corresponds to the JSON property state
1282 1283 1284 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1282 def state @state end |
#update_time ⇒ String
Output only. Updated time.
Corresponds to the JSON property updateTime
1287 1288 1289 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1287 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1294 def update!(**args) @auth_config = args[:auth_config] if args.key?(:auth_config) @backend_variable_templates = args[:backend_variable_templates] if args.key?(:backend_variable_templates) @create_time = args[:create_time] if args.key?(:create_time) @destination_configs = args[:destination_configs] if args.key?(:destination_configs) @enable_backend_destination_config = args[:enable_backend_destination_config] if args.key?(:enable_backend_destination_config) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @service_account = args[:service_account] if args.key?(:service_account) @spec_location = args[:spec_location] if args.key?(:spec_location) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |