class Google::Apis::ConnectorsV1::ConfigVariableTemplate
ConfigVariableTemplate
provides metadata about a ‘ConfigVariable` that is used in a Connection
.
Attributes
Description. Corresponds to the JSON property ‘description` @return [String]
Display name of the parameter. Corresponds to the JSON property ‘displayName` @return [String]
Key of the config variable. Corresponds to the JSON property ‘key` @return [String]
Flag represents that this ‘ConfigVariable` must be provided for a connection. Corresponds to the JSON property `required` @return [Boolean]
Flag represents that this ‘ConfigVariable` must be provided for a connection. Corresponds to the JSON property `required` @return [Boolean]
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` @return [Google::Apis::ConnectorsV1::RoleGrant]
Regular expression in RE2 syntax used for validating the ‘value` of a ` ConfigVariable`. Corresponds to the JSON property `validationRegex` @return [String]
Type of the parameter: string, int, bool etc. consider custom type for the benefit for the validation. Corresponds to the JSON property ‘valueType` @return [String]
Public Class Methods
# File lib/google/apis/connectors_v1/classes.rb, line 343 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/connectors_v1/classes.rb, line 348 def update!(**args) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @key = args[:key] if args.key?(:key) @required = args[:required] if args.key?(:required) @role_grant = args[:role_grant] if args.key?(:role_grant) @validation_regex = args[:validation_regex] if args.key?(:validation_regex) @value_type = args[:value_type] if args.key?(:value_type) end