class Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServer
TargetServer configuration. TargetServers are used to decouple a proxy's TargetEndpoint HTTPTargetConnections from concrete URLs for backend services.
Attributes
Optional. A human-readable description of this TargetServer. Corresponds to the JSON property `description` @return [String]
Required. The host name this target connects to. Value must be a valid hostname as described by RFC-1123. Corresponds to the JSON property `host` @return [String]
Optional. Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. Defaults to true. Corresponds to the JSON property `isEnabled` @return [Boolean]
Optional. Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. Defaults to true. Corresponds to the JSON property `isEnabled` @return [Boolean]
Required. The resource id of this target server. Values must match the regular expression Corresponds to the JSON property `name` @return [String]
Required. The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive. Corresponds to the JSON property `port` @return [Fixnum]
Immutable. The protocol used by this TargetServer. Corresponds to the JSON property `protocol` @return [String]
TLS configuration information for VirtualHosts and TargetServers. Corresponds to the JSON property `sSLInfo` @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfo]
Public Class Methods
# File lib/google/apis/apigee_v1/classes.rb, line 6924 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/apigee_v1/classes.rb, line 6929 def update!(**args) @description = args[:description] if args.key?(:description) @host = args[:host] if args.key?(:host) @is_enabled = args[:is_enabled] if args.key?(:is_enabled) @name = args[:name] if args.key?(:name) @port = args[:port] if args.key?(:port) @protocol = args[:protocol] if args.key?(:protocol) @s_sl_info = args[:s_sl_info] if args.key?(:s_sl_info) end