class Google::Apis::ResourceviewsV1beta2::ServiceEndpoint
The service endpoint that may be started in a VM.
Attributes
name[RW]
The name of the service endpoint. Corresponds to the JSON property `name` @return [String]
port[RW]
The port of the service endpoint. Corresponds to the JSON property `port` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/resourceviews_v1beta2/classes.rb, line 484 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/resourceviews_v1beta2/classes.rb, line 489 def update!(**args) @name = args[:name] if args.key?(:name) @port = args[:port] if args.key?(:port) end