class Google::Apis::ComputeBeta::InstanceGroupsSetNamedPortsRequest
Attributes
fingerprint[RW]
The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. Corresponds to the JSON property `fingerprint` @return [String]
named_ports[RW]
The list of named ports to set for this instance group. Corresponds to the JSON property `namedPorts` @return [Array<Google::Apis::ComputeBeta::NamedPort>]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/compute_beta/classes.rb, line 4415 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/compute_beta/classes.rb, line 4420 def update!(**args) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @named_ports = args[:named_ports] if args.key?(:named_ports) end