Class: Google::Apis::CloudsearchV1::JobsettedServerSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ JobsettedServerSpec

Returns a new instance of JobsettedServerSpec.



12674
12675
12676
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12674

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

Instance Attribute Details

#port_nameString

E.g. "gateway", "stubby" etc. Leave unset to use the default unnamed port. Corresponds to the JSON property portName

Returns:

  • (String)


12667
12668
12669
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12667

def port_name
  @port_name
end

#server_nameString

E.g. "satellite-server", "bigtop-sync", etc. Corresponds to the JSON property serverName

Returns:

  • (String)


12672
12673
12674
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12672

def server_name
  @server_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12679
12680
12681
12682
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12679

def update!(**args)
  @port_name = args[:port_name] if args.key?(:port_name)
  @server_name = args[:server_name] if args.key?(:server_name)
end