Class: Google::Apis::ConnectorsV1::ConnectorVersion

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

ConnectorVersion indicates a specific version of a connector.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConnectorVersion

Returns a new instance of ConnectorVersion.



1412
1413
1414
# File 'lib/google/apis/connectors_v1/classes.rb', line 1412

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#auth_config_templatesArray<Google::Apis::ConnectorsV1::AuthConfigTemplate>

Output only. List of auth configs supported by the Connector Version. Corresponds to the JSON property authConfigTemplates



1274
1275
1276
# File 'lib/google/apis/connectors_v1/classes.rb', line 1274

def auth_config_templates
  @auth_config_templates
end

#auth_override_enabledBoolean Also known as: auth_override_enabled?

Output only. Flag to mark the dynamic auth override. Corresponds to the JSON property authOverrideEnabled

Returns:

  • (Boolean)


1279
1280
1281
# File 'lib/google/apis/connectors_v1/classes.rb', line 1279

def auth_override_enabled
  @auth_override_enabled
end

#config_variable_templatesArray<Google::Apis::ConnectorsV1::ConfigVariableTemplate>

Output only. List of config variables needed to create a connection. Corresponds to the JSON property configVariableTemplates



1285
1286
1287
# File 'lib/google/apis/connectors_v1/classes.rb', line 1285

def config_variable_templates
  @config_variable_templates
end

#connector_infra_configGoogle::Apis::ConnectorsV1::ConnectorInfraConfig

This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version Corresponds to the JSON property connectorInfraConfig



1291
1292
1293
# File 'lib/google/apis/connectors_v1/classes.rb', line 1291

def connector_infra_config
  @connector_infra_config
end

#create_timeString

Output only. Created time. Corresponds to the JSON property createTime

Returns:

  • (String)


1296
1297
1298
# File 'lib/google/apis/connectors_v1/classes.rb', line 1296

def create_time
  @create_time
end

#destination_config_templatesArray<Google::Apis::ConnectorsV1::DestinationConfigTemplate>

Output only. List of destination configs needed to create a connection. Corresponds to the JSON property destinationConfigTemplates



1301
1302
1303
# File 'lib/google/apis/connectors_v1/classes.rb', line 1301

def destination_config_templates
  @destination_config_templates
end

#display_nameString

Output only. Display name. Corresponds to the JSON property displayName

Returns:

  • (String)


1306
1307
1308
# File 'lib/google/apis/connectors_v1/classes.rb', line 1306

def display_name
  @display_name
end

#egress_control_configGoogle::Apis::ConnectorsV1::EgressControlConfig

Egress control config for connector runtime. These configurations define the rules to identify which outbound domains/hosts needs to be whitelisted. It may be a static information for a particular connector version or it is derived from the configurations provided by the customer in Connection resource. Corresponds to the JSON property egressControlConfig



1314
1315
1316
# File 'lib/google/apis/connectors_v1/classes.rb', line 1314

def egress_control_config
  @egress_control_config
end

#eventing_config_templateGoogle::Apis::ConnectorsV1::EventingConfigTemplate

Eventing Config details of a connector version. Corresponds to the JSON property eventingConfigTemplate



1319
1320
1321
# File 'lib/google/apis/connectors_v1/classes.rb', line 1319

def eventing_config_template
  @eventing_config_template
end

#is_async_operations_supportedBoolean Also known as: is_async_operations_supported?

Output only. Is async operations supported. Corresponds to the JSON property isAsyncOperationsSupported

Returns:

  • (Boolean)


1324
1325
1326
# File 'lib/google/apis/connectors_v1/classes.rb', line 1324

def is_async_operations_supported
  @is_async_operations_supported
end

#is_custom_actions_supportedBoolean Also known as: is_custom_actions_supported?

Output only. Is custom actions supported. Corresponds to the JSON property isCustomActionsSupported

Returns:

  • (Boolean)


1330
1331
1332
# File 'lib/google/apis/connectors_v1/classes.rb', line 1330

def is_custom_actions_supported
  @is_custom_actions_supported
end

#is_custom_entities_supportedBoolean Also known as: is_custom_entities_supported?

Output only. Is custom entities supported. Corresponds to the JSON property isCustomEntitiesSupported

Returns:

  • (Boolean)


1336
1337
1338
# File 'lib/google/apis/connectors_v1/classes.rb', line 1336

def is_custom_entities_supported
  @is_custom_entities_supported
end

#labelsHash<String,String>

Output only. 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

Returns:

  • (Hash<String,String>)


1344
1345
1346
# File 'lib/google/apis/connectors_v1/classes.rb', line 1344

def labels
  @labels
end

#launch_stageString

Output only. Flag to mark the version indicating the launch stage. Corresponds to the JSON property launchStage

Returns:

  • (String)


1349
1350
1351
# File 'lib/google/apis/connectors_v1/classes.rb', line 1349

def launch_stage
  @launch_stage
end

#nameString

Output only. Resource name of the Version. Format: projects/project/ locations/location/providers/provider/connectors/connector/versions/ version Only global location is supported for Connector resource. Corresponds to the JSON property name

Returns:

  • (String)


1356
1357
1358
# File 'lib/google/apis/connectors_v1/classes.rb', line 1356

def name
  @name
end

#release_versionString

Output only. ReleaseVersion of the connector, for example: "1.0.1-alpha". Corresponds to the JSON property releaseVersion

Returns:

  • (String)


1361
1362
1363
# File 'lib/google/apis/connectors_v1/classes.rb', line 1361

def release_version
  @release_version
end

#role_grantGoogle::Apis::ConnectorsV1::RoleGrant

This configuration defines all the Cloud IAM roles that needs to be granted to a particular Google Cloud resource for the selected principal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a 'grant' button to do the same on behalf of the user. Corresponds to the JSON property roleGrant



1370
1371
1372
# File 'lib/google/apis/connectors_v1/classes.rb', line 1370

def role_grant
  @role_grant
end

#role_grantsArray<Google::Apis::ConnectorsV1::RoleGrant>

Output only. Role grant configurations for this connector version. Corresponds to the JSON property roleGrants



1375
1376
1377
# File 'lib/google/apis/connectors_v1/classes.rb', line 1375

def role_grants
  @role_grants
end

#schema_refresh_configGoogle::Apis::ConnectorsV1::SchemaRefreshConfig

Config for connection schema refresh Corresponds to the JSON property schemaRefreshConfig



1380
1381
1382
# File 'lib/google/apis/connectors_v1/classes.rb', line 1380

def schema_refresh_config
  @schema_refresh_config
end

#ssl_config_templateGoogle::Apis::ConnectorsV1::SslConfigTemplate

Ssl config details of a connector version Corresponds to the JSON property sslConfigTemplate



1385
1386
1387
# File 'lib/google/apis/connectors_v1/classes.rb', line 1385

def ssl_config_template
  @ssl_config_template
end

#supported_runtime_featuresGoogle::Apis::ConnectorsV1::SupportedRuntimeFeatures

Supported runtime features of a connector version. Corresponds to the JSON property supportedRuntimeFeatures



1390
1391
1392
# File 'lib/google/apis/connectors_v1/classes.rb', line 1390

def supported_runtime_features
  @supported_runtime_features
end

#supported_standard_actionsArray<Google::Apis::ConnectorsV1::StandardAction>

Output only. Supported standard actions. Corresponds to the JSON property supportedStandardActions



1395
1396
1397
# File 'lib/google/apis/connectors_v1/classes.rb', line 1395

def supported_standard_actions
  @supported_standard_actions
end

#supported_standard_entitiesArray<Google::Apis::ConnectorsV1::StandardEntity>

Output only. Supported standard entities. Corresponds to the JSON property supportedStandardEntities



1400
1401
1402
# File 'lib/google/apis/connectors_v1/classes.rb', line 1400

def supported_standard_entities
  @supported_standard_entities
end

#unsupported_connection_typesArray<String>

Output only. Unsupported connection types. Corresponds to the JSON property unsupportedConnectionTypes

Returns:

  • (Array<String>)


1405
1406
1407
# File 'lib/google/apis/connectors_v1/classes.rb', line 1405

def unsupported_connection_types
  @unsupported_connection_types
end

#update_timeString

Output only. Updated time. Corresponds to the JSON property updateTime

Returns:

  • (String)


1410
1411
1412
# File 'lib/google/apis/connectors_v1/classes.rb', line 1410

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
# File 'lib/google/apis/connectors_v1/classes.rb', line 1417

def update!(**args)
  @auth_config_templates = args[:auth_config_templates] if args.key?(:auth_config_templates)
  @auth_override_enabled = args[:auth_override_enabled] if args.key?(:auth_override_enabled)
  @config_variable_templates = args[:config_variable_templates] if args.key?(:config_variable_templates)
  @connector_infra_config = args[:connector_infra_config] if args.key?(:connector_infra_config)
  @create_time = args[:create_time] if args.key?(:create_time)
  @destination_config_templates = args[:destination_config_templates] if args.key?(:destination_config_templates)
  @display_name = args[:display_name] if args.key?(:display_name)
  @egress_control_config = args[:egress_control_config] if args.key?(:egress_control_config)
  @eventing_config_template = args[:eventing_config_template] if args.key?(:eventing_config_template)
  @is_async_operations_supported = args[:is_async_operations_supported] if args.key?(:is_async_operations_supported)
  @is_custom_actions_supported = args[:is_custom_actions_supported] if args.key?(:is_custom_actions_supported)
  @is_custom_entities_supported = args[:is_custom_entities_supported] if args.key?(:is_custom_entities_supported)
  @labels = args[:labels] if args.key?(:labels)
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
  @name = args[:name] if args.key?(:name)
  @release_version = args[:release_version] if args.key?(:release_version)
  @role_grant = args[:role_grant] if args.key?(:role_grant)
  @role_grants = args[:role_grants] if args.key?(:role_grants)
  @schema_refresh_config = args[:schema_refresh_config] if args.key?(:schema_refresh_config)
  @ssl_config_template = args[:ssl_config_template] if args.key?(:ssl_config_template)
  @supported_runtime_features = args[:supported_runtime_features] if args.key?(:supported_runtime_features)
  @supported_standard_actions = args[:supported_standard_actions] if args.key?(:supported_standard_actions)
  @supported_standard_entities = args[:supported_standard_entities] if args.key?(:supported_standard_entities)
  @unsupported_connection_types = args[:unsupported_connection_types] if args.key?(:unsupported_connection_types)
  @update_time = args[:update_time] if args.key?(:update_time)
end