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.
-
#config_variable_templates ⇒ Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>
Output only.
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Output only.
-
#egress_control_config ⇒ Google::Apis::ConnectorsV1::EgressControlConfig
Egress control config for connector runtime.
-
#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 GCP resource for the selected prinicpal like service account.
-
#role_grants ⇒ Array<Google::Apis::ConnectorsV1::RoleGrant>
Output only.
-
#supported_runtime_features ⇒ Google::Apis::ConnectorsV1::SupportedRuntimeFeatures
Supported runtime features of a connector version.
-
#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.
740 741 742 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 740 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
664 665 666 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 664 def auth_config_templates @auth_config_templates 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
669 670 671 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 669 def config_variable_templates @config_variable_templates end |
#create_time ⇒ String
Output only. Created time.
Corresponds to the JSON property createTime
674 675 676 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 674 def create_time @create_time end |
#display_name ⇒ String
Output only. Display name.
Corresponds to the JSON property displayName
679 680 681 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 679 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
687 688 689 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 687 def egress_control_config @egress_control_config 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
694 695 696 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 694 def labels @labels end |
#launch_stage ⇒ String
Output only. Flag to mark the version indicating the launch stage.
Corresponds to the JSON property launchStage
699 700 701 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 699 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
Corresponds to the JSON property name
706 707 708 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 706 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
711 712 713 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 711 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 GCP resource for the selected prinicpal 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
720 721 722 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 720 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
725 726 727 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 725 def role_grants @role_grants end |
#supported_runtime_features ⇒ Google::Apis::ConnectorsV1::SupportedRuntimeFeatures
Supported runtime features of a connector version. This is passed to the
management layer to add a new connector version by the connector developer.
Details about how this proto is passed to the management layer is covered in
this doc - go/runtime-manifest.
Corresponds to the JSON property supportedRuntimeFeatures
733 734 735 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 733 def supported_runtime_features @supported_runtime_features end |
#update_time ⇒ String
Output only. Updated time.
Corresponds to the JSON property updateTime
738 739 740 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 738 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 745 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) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @egress_control_config = args[:egress_control_config] if args.key?(:egress_control_config) @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) @supported_runtime_features = args[:supported_runtime_features] if args.key?(:supported_runtime_features) @update_time = args[:update_time] if args.key?(:update_time) end |