Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1TargetServerConfig

Returns a new instance of GoogleCloudApigeeV1TargetServerConfig.



11021
11022
11023
# File 'lib/google/apis/apigee_v1/classes.rb', line 11021

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Whether the target server is enabled. An empty/omitted value for this field should be interpreted as true. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


10992
10993
10994
# File 'lib/google/apis/apigee_v1/classes.rb', line 10992

def enabled
  @enabled
end

#hostString

Host name of the target server. Corresponds to the JSON property host

Returns:

  • (String)


10998
10999
11000
# File 'lib/google/apis/apigee_v1/classes.rb', line 10998

def host
  @host
end

#nameString

Target server revision name in the following format: organizations/org/ environments/env/targetservers/targetserver/revisions/rev` Corresponds to the JSON propertyname`

Returns:

  • (String)


11004
11005
11006
# File 'lib/google/apis/apigee_v1/classes.rb', line 11004

def name
  @name
end

#portFixnum

Port number for the target server. Corresponds to the JSON property port

Returns:

  • (Fixnum)


11009
11010
11011
# File 'lib/google/apis/apigee_v1/classes.rb', line 11009

def port
  @port
end

#protocolString

The protocol used by this target server. Corresponds to the JSON property protocol

Returns:

  • (String)


11014
11015
11016
# File 'lib/google/apis/apigee_v1/classes.rb', line 11014

def protocol
  @protocol
end

#tls_infoGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoConfig

TLS settings for the target server. Corresponds to the JSON property tlsInfo



11019
11020
11021
# File 'lib/google/apis/apigee_v1/classes.rb', line 11019

def tls_info
  @tls_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11026
11027
11028
11029
11030
11031
11032
11033
# File 'lib/google/apis/apigee_v1/classes.rb', line 11026

def update!(**args)
  @enabled = args[:enabled] if args.key?(:enabled)
  @host = args[:host] if args.key?(:host)
  @name = args[:name] if args.key?(:name)
  @port = args[:port] if args.key?(:port)
  @protocol = args[:protocol] if args.key?(:protocol)
  @tls_info = args[:tls_info] if args.key?(:tls_info)
end