class Google::Apis::ServicenetworkingV1beta::Route
Represents a route that was created or discovered by a private access management service.
Attributes
Destination CIDR range that this route applies to. Corresponds to the JSON property `destRange` @return [String]
Route
name. See cloud.google.com/vpc/docs/routes Corresponds to the JSON property `name` @return [String]
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]
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
# File lib/google/apis/servicenetworking_v1beta/classes.rb, line 2951 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/servicenetworking_v1beta/classes.rb, line 2956 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