Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig
- 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
-
#host ⇒ String
Host name of the target server.
-
#name ⇒ String
Target server revision name in the following format:
organizations/org/ environments/env/targetservers/targetserver/revisions/rev`Corresponds to the JSON propertyname`. -
#port ⇒ Fixnum
Port number for the target server.
-
#protocol ⇒ String
The protocol used by this target server.
-
#tls_info ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoConfig
TLS settings for the target server.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1TargetServerConfig
constructor
A new instance of GoogleCloudApigeeV1TargetServerConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1TargetServerConfig
Returns a new instance of GoogleCloudApigeeV1TargetServerConfig.
6609 6610 6611 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6609 def initialize(**args) update!(**args) end |
Instance Attribute Details
#host ⇒ String
Host name of the target server.
Corresponds to the JSON property host
6586 6587 6588 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6586 def host @host end |
#name ⇒ String
Target server revision name in the following format: organizations/org/
environments/env/targetservers/targetserver/revisions/rev`
Corresponds to the JSON propertyname`
6592 6593 6594 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6592 def name @name end |
#port ⇒ Fixnum
Port number for the target server.
Corresponds to the JSON property port
6597 6598 6599 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6597 def port @port end |
#protocol ⇒ String
The protocol used by this target server.
Corresponds to the JSON property protocol
6602 6603 6604 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6602 def protocol @protocol end |
#tls_info ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoConfig
TLS settings for the target server.
Corresponds to the JSON property tlsInfo
6607 6608 6609 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6607 def tls_info @tls_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6614 6615 6616 6617 6618 6619 6620 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6614 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 |