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

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1TargetServerConfig

Returns a new instance of GoogleCloudApigeeV1TargetServerConfig.



5907
5908
5909
# File 'generated/google/apis/apigee_v1/classes.rb', line 5907

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

Instance Attribute Details

#hostString

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

Returns:

  • (String)


5889
5890
5891
# File 'generated/google/apis/apigee_v1/classes.rb', line 5889

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)


5895
5896
5897
# File 'generated/google/apis/apigee_v1/classes.rb', line 5895

def name
  @name
end

#portFixnum

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

Returns:

  • (Fixnum)


5900
5901
5902
# File 'generated/google/apis/apigee_v1/classes.rb', line 5900

def port
  @port
end

#tls_infoGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoConfig

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



5905
5906
5907
# File 'generated/google/apis/apigee_v1/classes.rb', line 5905

def tls_info
  @tls_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5912
5913
5914
5915
5916
5917
# File 'generated/google/apis/apigee_v1/classes.rb', line 5912

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