class Google::Apis::DatastreamV1::Route
The route resource is the child of the private connection resource, used for defining a route for a private connection.
Attributes
Output only. The create time of the resource. Corresponds to the JSON property ‘createTime` @return [String]
Required. Destination address for connection Corresponds to the JSON property ‘destinationAddress` @return [String]
Destination port for connection Corresponds to the JSON property ‘destinationPort` @return [Fixnum]
Required. Display name. Corresponds to the JSON property ‘displayName` @return [String]
Labels. Corresponds to the JSON property ‘labels` @return [Hash<String,String>]
Output only. The resource’s name. Corresponds to the JSON property ‘name` @return [String]
Output only. The update time of the resource. Corresponds to the JSON property ‘updateTime` @return [String]
Public Class Methods
# File lib/google/apis/datastream_v1/classes.rb, line 1594 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datastream_v1/classes.rb, line 1599 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @destination_address = args[:destination_address] if args.key?(:destination_address) @destination_port = args[:destination_port] if args.key?(:destination_port) @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end