Class: Google::Apis::NetworkservicesV1::MeshRouteView
- Inherits:
-
Object
- Object
- Google::Apis::NetworkservicesV1::MeshRouteView
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkservices_v1/classes.rb,
lib/google/apis/networkservices_v1/representations.rb,
lib/google/apis/networkservices_v1/representations.rb
Overview
MeshRouteView defines view-only resource for Routes to a Mesh
Instance Attribute Summary collapse
-
#name ⇒ String
Output only.
-
#route_id ⇒ String
Output only.
-
#route_location ⇒ String
Output only.
-
#route_project_number ⇒ Fixnum
Output only.
-
#route_type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MeshRouteView
constructor
A new instance of MeshRouteView.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MeshRouteView
Returns a new instance of MeshRouteView.
3454 3455 3456 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 3454 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Output only. Identifier. Full path name of the MeshRouteView resource. Format:
projects/project_number/locations/location/meshes/mesh/routeViews/
route_view
Corresponds to the JSON property name
3432 3433 3434 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 3432 def name @name end |
#route_id ⇒ String
Output only. The resource id for the route.
Corresponds to the JSON property routeId
3437 3438 3439 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 3437 def route_id @route_id end |
#route_location ⇒ String
Output only. Location where the route exists.
Corresponds to the JSON property routeLocation
3442 3443 3444 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 3442 def route_location @route_location end |
#route_project_number ⇒ Fixnum
Output only. Project number where the route exists.
Corresponds to the JSON property routeProjectNumber
3447 3448 3449 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 3447 def route_project_number @route_project_number end |
#route_type ⇒ String
Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute
Corresponds to the JSON property routeType
3452 3453 3454 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 3452 def route_type @route_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3459 3460 3461 3462 3463 3464 3465 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 3459 def update!(**args) @name = args[:name] if args.key?(:name) @route_id = args[:route_id] if args.key?(:route_id) @route_location = args[:route_location] if args.key?(:route_location) @route_project_number = args[:route_project_number] if args.key?(:route_project_number) @route_type = args[:route_type] if args.key?(:route_type) end |