class Google::Apis::DataprocV1beta2::InstanceReference
A reference to a Compute Engine instance.
Attributes
instance_id[RW]
The unique identifier of the Compute Engine instance. Corresponds to the JSON property `instanceId` @return [String]
instance_name[RW]
The user-friendly name of the Compute Engine instance. Corresponds to the JSON property `instanceName` @return [String]
public_key[RW]
The public key used for sharing data with this instance. Corresponds to the JSON property `publicKey` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 1448 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 1453 def update!(**args) @instance_id = args[:instance_id] if args.key?(:instance_id) @instance_name = args[:instance_name] if args.key?(:instance_name) @public_key = args[:public_key] if args.key?(:public_key) end