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