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
-
#enabled ⇒ Boolean
(also: #enabled?)
Whether the target server is enabled.
-
#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.
11010 11011 11012 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11010 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean 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
10981 10982 10983 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10981 def enabled @enabled end |
#host ⇒ String
Host name of the target server.
Corresponds to the JSON property host
10987 10988 10989 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10987 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`
10993 10994 10995 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10993 def name @name end |
#port ⇒ Fixnum
Port number for the target server.
Corresponds to the JSON property port
10998 10999 11000 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10998 def port @port end |
#protocol ⇒ String
The protocol used by this target server.
Corresponds to the JSON property protocol
11003 11004 11005 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11003 def protocol @protocol end |
#tls_info ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoConfig
TLS settings for the target server.
Corresponds to the JSON property tlsInfo
11008 11009 11010 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11008 def tls_info @tls_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11015 11016 11017 11018 11019 11020 11021 11022 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 11015 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 |