class Google::Apis::ServicenetworkingV1::Route

Represents a route that was created or discovered by a private access management service.

Attributes

dest_range[RW]

Destination CIDR range that this route applies to. Corresponds to the JSON property `destRange` @return [String]

name[RW]

Route name. See cloud.google.com/vpc/docs/routes Corresponds to the JSON property `name` @return [String]

network[RW]

Fully-qualified URL of the VPC network in the producer host tenant project that this route applies to. For example: `projects/123456/global/networks/host- network` Corresponds to the JSON property `network` @return [String]

next_hop_gateway[RW]

Fully-qualified URL of the gateway that should handle matching packets that this route applies to. For example: `projects/123456/global/gateways/default- internet-gateway` Corresponds to the JSON property `nextHopGateway` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/servicenetworking_v1/classes.rb, line 3357
def update!(**args)
  @dest_range = args[:dest_range] if args.key?(:dest_range)
  @name = args[:name] if args.key?(:name)
  @network = args[:network] if args.key?(:network)
  @next_hop_gateway = args[:next_hop_gateway] if args.key?(:next_hop_gateway)
end