Class: Google::Apis::ConnectorsV1::DestinationConfigTemplate

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

DestinationConfigTemplate defines required destinations supported by the Connector.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DestinationConfigTemplate

Returns a new instance of DestinationConfigTemplate.



2017
2018
2019
# File 'lib/google/apis/connectors_v1/classes.rb', line 2017

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

Instance Attribute Details

#autocomplete_suggestionsArray<String>

Autocomplete suggestions for destination URL field. Corresponds to the JSON property autocompleteSuggestions

Returns:

  • (Array<String>)


1969
1970
1971
# File 'lib/google/apis/connectors_v1/classes.rb', line 1969

def autocomplete_suggestions
  @autocomplete_suggestions
end

#default_portFixnum

The default port. Corresponds to the JSON property defaultPort

Returns:

  • (Fixnum)


1974
1975
1976
# File 'lib/google/apis/connectors_v1/classes.rb', line 1974

def default_port
  @default_port
end

#descriptionString

Description. Corresponds to the JSON property description

Returns:

  • (String)


1979
1980
1981
# File 'lib/google/apis/connectors_v1/classes.rb', line 1979

def description
  @description
end

#display_nameString

Display name of the parameter. Corresponds to the JSON property displayName

Returns:

  • (String)


1984
1985
1986
# File 'lib/google/apis/connectors_v1/classes.rb', line 1984

def display_name
  @display_name
end

#is_advancedBoolean Also known as: is_advanced?

Whether the current destination tempalate is part of Advanced settings Corresponds to the JSON property isAdvanced

Returns:

  • (Boolean)


1989
1990
1991
# File 'lib/google/apis/connectors_v1/classes.rb', line 1989

def is_advanced
  @is_advanced
end

#keyString

Key of the destination. Corresponds to the JSON property key

Returns:

  • (String)


1995
1996
1997
# File 'lib/google/apis/connectors_v1/classes.rb', line 1995

def key
  @key
end

#maxFixnum

The maximum number of destinations supported for this key. Corresponds to the JSON property max

Returns:

  • (Fixnum)


2000
2001
2002
# File 'lib/google/apis/connectors_v1/classes.rb', line 2000

def max
  @max
end

#minFixnum

The minimum number of destinations supported for this key. Corresponds to the JSON property min

Returns:

  • (Fixnum)


2005
2006
2007
# File 'lib/google/apis/connectors_v1/classes.rb', line 2005

def min
  @min
end

#port_field_typeString

Whether port number should be provided by customers. Corresponds to the JSON property portFieldType

Returns:

  • (String)


2010
2011
2012
# File 'lib/google/apis/connectors_v1/classes.rb', line 2010

def port_field_type
  @port_field_type
end

#regex_patternString

Regex pattern for host. Corresponds to the JSON property regexPattern

Returns:

  • (String)


2015
2016
2017
# File 'lib/google/apis/connectors_v1/classes.rb', line 2015

def regex_pattern
  @regex_pattern
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
# File 'lib/google/apis/connectors_v1/classes.rb', line 2022

def update!(**args)
  @autocomplete_suggestions = args[:autocomplete_suggestions] if args.key?(:autocomplete_suggestions)
  @default_port = args[:default_port] if args.key?(:default_port)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @is_advanced = args[:is_advanced] if args.key?(:is_advanced)
  @key = args[:key] if args.key?(:key)
  @max = args[:max] if args.key?(:max)
  @min = args[:min] if args.key?(:min)
  @port_field_type = args[:port_field_type] if args.key?(:port_field_type)
  @regex_pattern = args[:regex_pattern] if args.key?(:regex_pattern)
end