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

create_time[RW]

Output only. The create time of the resource. Corresponds to the JSON property ‘createTime` @return [String]

destination_address[RW]

Required. Destination address for connection Corresponds to the JSON property ‘destinationAddress` @return [String]

destination_port[RW]

Destination port for connection Corresponds to the JSON property ‘destinationPort` @return [Fixnum]

display_name[RW]

Required. Display name. Corresponds to the JSON property ‘displayName` @return [String]

labels[RW]

Labels. Corresponds to the JSON property ‘labels` @return [Hash<String,String>]

name[RW]

Output only. The resource’s name. Corresponds to the JSON property ‘name` @return [String]

update_time[RW]

Output only. The update time of the resource. Corresponds to the JSON property ‘updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datastream_v1/classes.rb, line 1594
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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