Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::CreateTcpRouteRequest.
Request used by the TcpRoute method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The parent resource of the TcpRoute. Must be in the
format
projects/*/locations/global
.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The parent resource of the TcpRoute. Must be in the
format
projects/*/locations/global
.
Returns
-
(::String) — Required. The parent resource of the TcpRoute. Must be in the
format
projects/*/locations/global
.
#tcp_route
def tcp_route() -> ::Google::Cloud::NetworkServices::V1::TcpRoute
Returns
- (::Google::Cloud::NetworkServices::V1::TcpRoute) — Required. TcpRoute resource to be created.
#tcp_route=
def tcp_route=(value) -> ::Google::Cloud::NetworkServices::V1::TcpRoute
Parameter
- value (::Google::Cloud::NetworkServices::V1::TcpRoute) — Required. TcpRoute resource to be created.
Returns
- (::Google::Cloud::NetworkServices::V1::TcpRoute) — Required. TcpRoute resource to be created.
#tcp_route_id
def tcp_route_id() -> ::String
Returns
- (::String) — Required. Short name of the TcpRoute resource to be created.
#tcp_route_id=
def tcp_route_id=(value) -> ::String
Parameter
- value (::String) — Required. Short name of the TcpRoute resource to be created.
Returns
- (::String) — Required. Short name of the TcpRoute resource to be created.