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.



1004
1005
1006
# File 'lib/google/apis/connectors_v1/classes.rb', line 1004

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



910
911
912
# File 'lib/google/apis/connectors_v1/classes.rb', line 910

def auth_config_templates
  @auth_config_templates
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



915
916
917
# File 'lib/google/apis/connectors_v1/classes.rb', line 915

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



921
922
923
# File 'lib/google/apis/connectors_v1/classes.rb', line 921

def connector_infra_config
  @connector_infra_config
end

#create_timeString

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

Returns:

  • (String)


926
927
928
# File 'lib/google/apis/connectors_v1/classes.rb', line 926

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



931
932
933
# File 'lib/google/apis/connectors_v1/classes.rb', line 931

def destination_config_templates
  @destination_config_templates
end

#display_nameString

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

Returns:

  • (String)


936
937
938
# File 'lib/google/apis/connectors_v1/classes.rb', line 936

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



944
945
946
# File 'lib/google/apis/connectors_v1/classes.rb', line 944

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



949
950
951
# File 'lib/google/apis/connectors_v1/classes.rb', line 949

def eventing_config_template
  @eventing_config_template
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>)


956
957
958
# File 'lib/google/apis/connectors_v1/classes.rb', line 956

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)


961
962
963
# File 'lib/google/apis/connectors_v1/classes.rb', line 961

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)


968
969
970
# File 'lib/google/apis/connectors_v1/classes.rb', line 968

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)


973
974
975
# File 'lib/google/apis/connectors_v1/classes.rb', line 973

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



982
983
984
# File 'lib/google/apis/connectors_v1/classes.rb', line 982

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



987
988
989
# File 'lib/google/apis/connectors_v1/classes.rb', line 987

def role_grants
  @role_grants
end

#ssl_config_templateGoogle::Apis::ConnectorsV1::SslConfigTemplate

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



992
993
994
# File 'lib/google/apis/connectors_v1/classes.rb', line 992

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



997
998
999
# File 'lib/google/apis/connectors_v1/classes.rb', line 997

def supported_runtime_features
  @supported_runtime_features
end

#update_timeString

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

Returns:

  • (String)


1002
1003
1004
# File 'lib/google/apis/connectors_v1/classes.rb', line 1002

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
# File 'lib/google/apis/connectors_v1/classes.rb', line 1009

def update!(**args)
  @auth_config_templates = args[:auth_config_templates] if args.key?(:auth_config_templates)
  @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)
  @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)
  @update_time = args[:update_time] if args.key?(:update_time)
end