Class: Google::Apis::CloudsearchV1::JobsettedServerSpec
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::JobsettedServerSpec
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Identifies a jobsetted server as a target for Trigger dispatch.
Instance Attribute Summary collapse
-
#port_name ⇒ String
E.g.
-
#server_name ⇒ String
E.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobsettedServerSpec
constructor
A new instance of JobsettedServerSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JobsettedServerSpec
Returns a new instance of JobsettedServerSpec.
12751 12752 12753 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12751 def initialize(**args) update!(**args) end |
Instance Attribute Details
#port_name ⇒ String
E.g. "gateway", "stubby" etc. Leave unset to use the default unnamed port.
Corresponds to the JSON property portName
12744 12745 12746 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12744 def port_name @port_name end |
#server_name ⇒ String
E.g. "satellite-server", "bigtop-sync", etc.
Corresponds to the JSON property serverName
12749 12750 12751 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12749 def server_name @server_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12756 12757 12758 12759 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12756 def update!(**args) @port_name = args[:port_name] if args.key?(:port_name) @server_name = args[:server_name] if args.key?(:server_name) end |