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.



6710
6711
6712
# File 'lib/google/apis/apigee_v1/classes.rb', line 6710

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

Instance Attribute Details

#hostString

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

Returns:

  • (String)


6687
6688
6689
# File 'lib/google/apis/apigee_v1/classes.rb', line 6687

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)


6693
6694
6695
# File 'lib/google/apis/apigee_v1/classes.rb', line 6693

def name
  @name
end

#portFixnum

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

Returns:

  • (Fixnum)


6698
6699
6700
# File 'lib/google/apis/apigee_v1/classes.rb', line 6698

def port
  @port
end

#protocolString

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

Returns:

  • (String)


6703
6704
6705
# File 'lib/google/apis/apigee_v1/classes.rb', line 6703

def protocol
  @protocol
end

#tls_infoGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoConfig

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



6708
6709
6710
# File 'lib/google/apis/apigee_v1/classes.rb', line 6708

def tls_info
  @tls_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6715
6716
6717
6718
6719
6720
6721
# File 'lib/google/apis/apigee_v1/classes.rb', line 6715

def update!(**args)
  @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