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.



12751
12752
12753
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12751

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)


12744
12745
12746
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12744

def port_name
  @port_name
end

#server_nameString

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

Returns:

  • (String)


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