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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1TargetServerConfig

Returns a new instance of GoogleCloudApigeeV1TargetServerConfig.



4021
4022
4023
# File 'generated/google/apis/apigee_v1/classes.rb', line 4021

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

Instance Attribute Details

#hostString

Target host name. Corresponds to the JSON property host

Returns:

  • (String)


4003
4004
4005
# File 'generated/google/apis/apigee_v1/classes.rb', line 4003

def host
  @host
end

#nameString

The target server revision name. Must be of the form 'organizations/org/environments/env/targetservers/ts_id/revisions/rev'. Corresponds to the JSON property name

Returns:

  • (String)


4009
4010
4011
# File 'generated/google/apis/apigee_v1/classes.rb', line 4009

def name
  @name
end

#portFixnum

Target port. Corresponds to the JSON property port

Returns:

  • (Fixnum)


4014
4015
4016
# File 'generated/google/apis/apigee_v1/classes.rb', line 4014

def port
  @port
end

#tls_infoGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoConfig

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



4019
4020
4021
# File 'generated/google/apis/apigee_v1/classes.rb', line 4019

def tls_info
  @tls_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4026
4027
4028
4029
4030
4031
# File 'generated/google/apis/apigee_v1/classes.rb', line 4026

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