Class: Google::Apis::ConnectorsV1::ConnectorVersion
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::ConnectorVersion
- 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
-
#auth_config_templates ⇒ Array<Google::Apis::ConnectorsV1::AuthConfigTemplate>
Output only.
-
#auth_override_enabled ⇒ Boolean
(also: #auth_override_enabled?)
Output only.
-
#config_variable_templates ⇒ Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>
Output only.
-
#connector_infra_config ⇒ Google::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
. -
#create_time ⇒ String
Output only.
-
#destination_config_templates ⇒ Array<Google::Apis::ConnectorsV1::DestinationConfigTemplate>
Output only.
-
#display_name ⇒ String
Output only.
-
#egress_control_config ⇒ Google::Apis::ConnectorsV1::EgressControlConfig
Egress control config for connector runtime.
-
#eventing_config_template ⇒ Google::Apis::ConnectorsV1::EventingConfigTemplate
Eventing Config details of a connector version.
-
#labels ⇒ Hash<String,String>
Output only.
-
#launch_stage ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#release_version ⇒ String
Output only.
-
#role_grant ⇒ Google::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.
-
#role_grants ⇒ Array<Google::Apis::ConnectorsV1::RoleGrant>
Output only.
-
#schema_refresh_config ⇒ Google::Apis::ConnectorsV1::SchemaRefreshConfig
Config for connection schema refresh Corresponds to the JSON property
schemaRefreshConfig
. -
#ssl_config_template ⇒ Google::Apis::ConnectorsV1::SslConfigTemplate
Ssl config details of a connector version Corresponds to the JSON property
sslConfigTemplate
. -
#supported_runtime_features ⇒ Google::Apis::ConnectorsV1::SupportedRuntimeFeatures
Supported runtime features of a connector version.
-
#unsupported_connection_types ⇒ Array<String>
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectorVersion
constructor
A new instance of ConnectorVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectorVersion
Returns a new instance of ConnectorVersion.
1136 1137 1138 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1136 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auth_config_templates ⇒ Array<Google::Apis::ConnectorsV1::AuthConfigTemplate>
Output only. List of auth configs supported by the Connector Version.
Corresponds to the JSON property authConfigTemplates
1026 1027 1028 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1026 def auth_config_templates @auth_config_templates end |
#auth_override_enabled ⇒ Boolean Also known as: auth_override_enabled?
Output only. Flag to mark the dynamic auth override.
Corresponds to the JSON property authOverrideEnabled
1031 1032 1033 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1031 def auth_override_enabled @auth_override_enabled end |
#config_variable_templates ⇒ Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>
Output only. List of config variables needed to create a connection.
Corresponds to the JSON property configVariableTemplates
1037 1038 1039 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1037 def config_variable_templates @config_variable_templates end |
#connector_infra_config ⇒ Google::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
1043 1044 1045 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1043 def connector_infra_config @connector_infra_config end |
#create_time ⇒ String
Output only. Created time.
Corresponds to the JSON property createTime
1048 1049 1050 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1048 def create_time @create_time end |
#destination_config_templates ⇒ Array<Google::Apis::ConnectorsV1::DestinationConfigTemplate>
Output only. List of destination configs needed to create a connection.
Corresponds to the JSON property destinationConfigTemplates
1053 1054 1055 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1053 def destination_config_templates @destination_config_templates end |
#display_name ⇒ String
Output only. Display name.
Corresponds to the JSON property displayName
1058 1059 1060 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1058 def display_name @display_name end |
#egress_control_config ⇒ Google::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
1066 1067 1068 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1066 def egress_control_config @egress_control_config end |
#eventing_config_template ⇒ Google::Apis::ConnectorsV1::EventingConfigTemplate
Eventing Config details of a connector version.
Corresponds to the JSON property eventingConfigTemplate
1071 1072 1073 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1071 def eventing_config_template @eventing_config_template end |
#labels ⇒ Hash<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
1078 1079 1080 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1078 def labels @labels end |
#launch_stage ⇒ String
Output only. Flag to mark the version indicating the launch stage.
Corresponds to the JSON property launchStage
1083 1084 1085 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1083 def launch_stage @launch_stage end |
#name ⇒ String
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
1090 1091 1092 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1090 def name @name end |
#release_version ⇒ String
Output only. ReleaseVersion of the connector, for example: "1.0.1-alpha".
Corresponds to the JSON property releaseVersion
1095 1096 1097 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1095 def release_version @release_version end |
#role_grant ⇒ Google::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
1104 1105 1106 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1104 def role_grant @role_grant end |
#role_grants ⇒ Array<Google::Apis::ConnectorsV1::RoleGrant>
Output only. Role grant configurations for this connector version.
Corresponds to the JSON property roleGrants
1109 1110 1111 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1109 def role_grants @role_grants end |
#schema_refresh_config ⇒ Google::Apis::ConnectorsV1::SchemaRefreshConfig
Config for connection schema refresh
Corresponds to the JSON property schemaRefreshConfig
1114 1115 1116 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1114 def schema_refresh_config @schema_refresh_config end |
#ssl_config_template ⇒ Google::Apis::ConnectorsV1::SslConfigTemplate
Ssl config details of a connector version
Corresponds to the JSON property sslConfigTemplate
1119 1120 1121 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1119 def ssl_config_template @ssl_config_template end |
#supported_runtime_features ⇒ Google::Apis::ConnectorsV1::SupportedRuntimeFeatures
Supported runtime features of a connector version.
Corresponds to the JSON property supportedRuntimeFeatures
1124 1125 1126 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1124 def supported_runtime_features @supported_runtime_features end |
#unsupported_connection_types ⇒ Array<String>
Output only. Unsupported connection types.
Corresponds to the JSON property unsupportedConnectionTypes
1129 1130 1131 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1129 def unsupported_connection_types @unsupported_connection_types end |
#update_time ⇒ String
Output only. Updated time.
Corresponds to the JSON property updateTime
1134 1135 1136 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1134 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1141 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) @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) @unsupported_connection_types = args[:unsupported_connection_types] if args.key?(:unsupported_connection_types) @update_time = args[:update_time] if args.key?(:update_time) end |