Class: Google::Apis::NetworkservicesV1::NetworkServicesService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::NetworkservicesV1::NetworkServicesService
- Defined in:
- lib/google/apis/networkservices_v1/service.rb
Overview
Network Services API
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://networkservices.$UNIVERSE_DOMAIN$/"
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Empty
Starts asynchronous cancellation on a long-running operation.
-
#create_project_location_endpoint_policy(parent, endpoint_policy_object = nil, endpoint_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new EndpointPolicy in a given project and location.
-
#create_project_location_gateway(parent, gateway_object = nil, gateway_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new Gateway in a given project and location.
-
#create_project_location_grpc_route(parent, grpc_route_object = nil, grpc_route_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new GrpcRoute in a given project and location.
-
#create_project_location_http_route(parent, http_route_object = nil, http_route_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new HttpRoute in a given project and location.
-
#create_project_location_lb_route_extension(parent, lb_route_extension_object = nil, lb_route_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new
LbRouteExtension
resource in a given project and location. -
#create_project_location_lb_traffic_extension(parent, lb_traffic_extension_object = nil, lb_traffic_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new
LbTrafficExtension
resource in a given project and location. -
#create_project_location_mesh(parent, mesh_object = nil, mesh_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new Mesh in a given project and location.
-
#create_project_location_service_binding(parent, service_binding_object = nil, service_binding_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new ServiceBinding in a given project and location.
-
#create_project_location_service_lb_policy(parent, service_lb_policy_object = nil, service_lb_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new ServiceLbPolicy in a given project and location.
-
#create_project_location_tcp_route(parent, tcp_route_object = nil, tcp_route_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new TcpRoute in a given project and location.
-
#create_project_location_tls_route(parent, tls_route_object = nil, tls_route_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new TlsRoute in a given project and location.
-
#delete_project_location_endpoint_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single EndpointPolicy.
-
#delete_project_location_gateway(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single Gateway.
-
#delete_project_location_grpc_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single GrpcRoute.
-
#delete_project_location_http_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single HttpRoute.
-
#delete_project_location_lb_route_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes the specified
LbRouteExtension
resource. -
#delete_project_location_lb_traffic_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes the specified
LbTrafficExtension
resource. -
#delete_project_location_mesh(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single Mesh.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Empty
Deletes a long-running operation.
-
#delete_project_location_service_binding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single ServiceBinding.
-
#delete_project_location_service_lb_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single ServiceLbPolicy.
-
#delete_project_location_tcp_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single TcpRoute.
-
#delete_project_location_tls_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single TlsRoute.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Location
Gets information about a location.
-
#get_project_location_edge_cache_keyset_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_edge_cache_origin_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_edge_cache_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_endpoint_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::EndpointPolicy
Gets details of a single EndpointPolicy.
-
#get_project_location_gateway(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Gateway
Gets details of a single Gateway.
-
#get_project_location_grpc_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::GrpcRoute
Gets details of a single GrpcRoute.
-
#get_project_location_http_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::HttpRoute
Gets details of a single HttpRoute.
-
#get_project_location_lb_route_extension(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::LbRouteExtension
Gets details of the specified
LbRouteExtension
resource. -
#get_project_location_lb_traffic_extension(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::LbTrafficExtension
Gets details of the specified
LbTrafficExtension
resource. -
#get_project_location_mesh(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Mesh
Gets details of a single Mesh.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Gets the latest state of a long-running operation.
-
#get_project_location_service_binding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ServiceBinding
Gets details of a single ServiceBinding.
-
#get_project_location_service_lb_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ServiceLbPolicy
Gets details of a single ServiceLbPolicy.
-
#get_project_location_tcp_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::TcpRoute
Gets details of a single TcpRoute.
-
#get_project_location_tls_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::TlsRoute
Gets details of a single TlsRoute.
-
#initialize ⇒ NetworkServicesService
constructor
A new instance of NetworkServicesService.
-
#list_project_location_endpoint_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListEndpointPoliciesResponse
Lists EndpointPolicies in a given project and location.
-
#list_project_location_gateways(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListGatewaysResponse
Lists Gateways in a given project and location.
-
#list_project_location_grpc_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListGrpcRoutesResponse
Lists GrpcRoutes in a given project and location.
-
#list_project_location_http_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListHttpRoutesResponse
Lists HttpRoute in a given project and location.
-
#list_project_location_lb_route_extensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListLbRouteExtensionsResponse
Lists
LbRouteExtension
resources in a given project and location. -
#list_project_location_lb_traffic_extensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListLbTrafficExtensionsResponse
Lists
LbTrafficExtension
resources in a given project and location. -
#list_project_location_meshes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListMeshesResponse
Lists Meshes in a given project and location.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_location_service_bindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListServiceBindingsResponse
Lists ServiceBinding in a given project and location.
-
#list_project_location_service_lb_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListServiceLbPoliciesResponse
Lists ServiceLbPolicies in a given project and location.
-
#list_project_location_tcp_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListTcpRoutesResponse
Lists TcpRoute in a given project and location.
-
#list_project_location_tls_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListTlsRoutesResponse
Lists TlsRoute in a given project and location.
-
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListLocationsResponse
Lists information about the supported locations for this service.
-
#patch_project_location_endpoint_policy(name, endpoint_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single EndpointPolicy.
-
#patch_project_location_gateway(name, gateway_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single Gateway.
-
#patch_project_location_grpc_route(name, grpc_route_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single GrpcRoute.
-
#patch_project_location_http_route(name, http_route_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single HttpRoute.
-
#patch_project_location_lb_route_extension(name, lb_route_extension_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of the specified
LbRouteExtension
resource. -
#patch_project_location_lb_traffic_extension(name, lb_traffic_extension_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of the specified
LbTrafficExtension
resource. -
#patch_project_location_mesh(name, mesh_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single Mesh.
-
#patch_project_location_service_lb_policy(name, service_lb_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single ServiceLbPolicy.
-
#patch_project_location_tcp_route(name, tcp_route_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single TcpRoute.
-
#patch_project_location_tls_route(name, tls_route_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single TlsRoute.
-
#set_edge_cache_keyset_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Policy
Sets the access control policy on the specified resource.
-
#set_edge_cache_origin_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Policy
Sets the access control policy on the specified resource.
-
#set_edge_cache_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Policy
Sets the access control policy on the specified resource.
-
#test_edge_cache_keyset_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_edge_cache_origin_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_edge_cache_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
Constructor Details
#initialize ⇒ NetworkServicesService
Returns a new instance of NetworkServicesService.
47 48 49 50 51 52 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 47 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-networkservices_v1', client_version: Google::Apis::NetworkservicesV1::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
40 41 42 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 40 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
45 46 47 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 45 def quota_user @quota_user end |
Instance Method Details
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Empty
Starts asynchronous cancellation on a long-running operation. The server makes
a best effort to cancel the operation, but success is not guaranteed. If the
server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED
.
Clients can use Operations.GetOperation or other methods to check whether the
cancellation succeeded or whether the operation completed despite cancellation.
On successful cancellation, the operation is not deleted; instead, it becomes
an operation with an Operation.error value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED
.
1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1862 def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', ) command.request_representation = Google::Apis::NetworkservicesV1::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::NetworkservicesV1::Empty::Representation command.response_class = Google::Apis::NetworkservicesV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_endpoint_policy(parent, endpoint_policy_object = nil, endpoint_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new EndpointPolicy in a given project and location.
515 516 517 518 519 520 521 522 523 524 525 526 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 515 def create_project_location_endpoint_policy(parent, endpoint_policy_object = nil, endpoint_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/endpointPolicies', ) command.request_representation = Google::Apis::NetworkservicesV1::EndpointPolicy::Representation command.request_object = endpoint_policy_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['parent'] = parent unless parent.nil? command.query['endpointPolicyId'] = endpoint_policy_id unless endpoint_policy_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_gateway(parent, gateway_object = nil, gateway_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new Gateway in a given project and location.
694 695 696 697 698 699 700 701 702 703 704 705 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 694 def create_project_location_gateway(parent, gateway_object = nil, gateway_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/gateways', ) command.request_representation = Google::Apis::NetworkservicesV1::Gateway::Representation command.request_object = gateway_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['parent'] = parent unless parent.nil? command.query['gatewayId'] = gateway_id unless gateway_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_grpc_route(parent, grpc_route_object = nil, grpc_route_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new GrpcRoute in a given project and location.
873 874 875 876 877 878 879 880 881 882 883 884 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 873 def create_project_location_grpc_route(parent, grpc_route_object = nil, grpc_route_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/grpcRoutes', ) command.request_representation = Google::Apis::NetworkservicesV1::GrpcRoute::Representation command.request_object = grpc_route_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['parent'] = parent unless parent.nil? command.query['grpcRouteId'] = grpc_route_id unless grpc_route_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_http_route(parent, http_route_object = nil, http_route_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new HttpRoute in a given project and location.
1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1052 def create_project_location_http_route(parent, http_route_object = nil, http_route_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/httpRoutes', ) command.request_representation = Google::Apis::NetworkservicesV1::HttpRoute::Representation command.request_object = http_route_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['parent'] = parent unless parent.nil? command.query['httpRouteId'] = http_route_id unless http_route_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_lb_route_extension(parent, lb_route_extension_object = nil, lb_route_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new LbRouteExtension
resource in a given project and location.
1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1242 def create_project_location_lb_route_extension(parent, lb_route_extension_object = nil, lb_route_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/lbRouteExtensions', ) command.request_representation = Google::Apis::NetworkservicesV1::LbRouteExtension::Representation command.request_object = lb_route_extension_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['parent'] = parent unless parent.nil? command.query['lbRouteExtensionId'] = lb_route_extension_id unless lb_route_extension_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_lb_traffic_extension(parent, lb_traffic_extension_object = nil, lb_traffic_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new LbTrafficExtension
resource in a given project and location.
1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1466 def create_project_location_lb_traffic_extension(parent, lb_traffic_extension_object = nil, lb_traffic_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/lbTrafficExtensions', ) command.request_representation = Google::Apis::NetworkservicesV1::LbTrafficExtension::Representation command.request_object = lb_traffic_extension_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['parent'] = parent unless parent.nil? command.query['lbTrafficExtensionId'] = lb_traffic_extension_id unless lb_traffic_extension_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_mesh(parent, mesh_object = nil, mesh_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new Mesh in a given project and location.
1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1679 def create_project_location_mesh(parent, mesh_object = nil, mesh_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/meshes', ) command.request_representation = Google::Apis::NetworkservicesV1::Mesh::Representation command.request_object = mesh_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['parent'] = parent unless parent.nil? command.query['meshId'] = mesh_id unless mesh_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_service_binding(parent, service_binding_object = nil, service_binding_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new ServiceBinding in a given project and location.
2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2002 def create_project_location_service_binding(parent, service_binding_object = nil, service_binding_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/serviceBindings', ) command.request_representation = Google::Apis::NetworkservicesV1::ServiceBinding::Representation command.request_object = service_binding_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['parent'] = parent unless parent.nil? command.query['serviceBindingId'] = service_binding_id unless service_binding_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_service_lb_policy(parent, service_lb_policy_object = nil, service_lb_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new ServiceLbPolicy in a given project and location.
2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2142 def create_project_location_service_lb_policy(parent, service_lb_policy_object = nil, service_lb_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/serviceLbPolicies', ) command.request_representation = Google::Apis::NetworkservicesV1::ServiceLbPolicy::Representation command.request_object = service_lb_policy_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['parent'] = parent unless parent.nil? command.query['serviceLbPolicyId'] = service_lb_policy_id unless service_lb_policy_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_tcp_route(parent, tcp_route_object = nil, tcp_route_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new TcpRoute in a given project and location.
2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2321 def create_project_location_tcp_route(parent, tcp_route_object = nil, tcp_route_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/tcpRoutes', ) command.request_representation = Google::Apis::NetworkservicesV1::TcpRoute::Representation command.request_object = tcp_route_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['parent'] = parent unless parent.nil? command.query['tcpRouteId'] = tcp_route_id unless tcp_route_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_tls_route(parent, tls_route_object = nil, tls_route_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new TlsRoute in a given project and location.
2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2500 def create_project_location_tls_route(parent, tls_route_object = nil, tls_route_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/tlsRoutes', ) command.request_representation = Google::Apis::NetworkservicesV1::TlsRoute::Representation command.request_object = tls_route_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['parent'] = parent unless parent.nil? command.query['tlsRouteId'] = tls_route_id unless tls_route_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_endpoint_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single EndpointPolicy.
549 550 551 552 553 554 555 556 557 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 549 def delete_project_location_endpoint_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_gateway(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single Gateway.
728 729 730 731 732 733 734 735 736 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 728 def delete_project_location_gateway(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_grpc_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single GrpcRoute.
907 908 909 910 911 912 913 914 915 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 907 def delete_project_location_grpc_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_http_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single HttpRoute.
1086 1087 1088 1089 1090 1091 1092 1093 1094 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1086 def delete_project_location_http_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_lb_route_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes the specified LbRouteExtension
resource.
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1289 def delete_project_location_lb_route_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_lb_traffic_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes the specified LbTrafficExtension
resource.
1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1513 def delete_project_location_lb_traffic_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_mesh(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single Mesh.
1713 1714 1715 1716 1717 1718 1719 1720 1721 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1713 def delete_project_location_mesh(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Empty
Deletes a long-running operation. This method indicates that the client is no
longer interested in the operation result. It does not cancel the operation.
If the server doesn't support this method, it returns google.rpc.Code.
UNIMPLEMENTED
.
1897 1898 1899 1900 1901 1902 1903 1904 1905 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1897 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::Empty::Representation command.response_class = Google::Apis::NetworkservicesV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_service_binding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single ServiceBinding.
2036 2037 2038 2039 2040 2041 2042 2043 2044 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2036 def delete_project_location_service_binding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_service_lb_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single ServiceLbPolicy.
2176 2177 2178 2179 2180 2181 2182 2183 2184 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2176 def delete_project_location_service_lb_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_tcp_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single TcpRoute.
2355 2356 2357 2358 2359 2360 2361 2362 2363 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2355 def delete_project_location_tcp_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_tls_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single TlsRoute.
2534 2535 2536 2537 2538 2539 2540 2541 2542 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2534 def delete_project_location_tls_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Location
Gets information about a location.
74 75 76 77 78 79 80 81 82 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 74 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::Location::Representation command.response_class = Google::Apis::NetworkservicesV1::Location command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_edge_cache_keyset_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
161 162 163 164 165 166 167 168 169 170 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 161 def get_project_location_edge_cache_keyset_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworkservicesV1::Policy::Representation command.response_class = Google::Apis::NetworkservicesV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_edge_cache_origin_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
282 283 284 285 286 287 288 289 290 291 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 282 def get_project_location_edge_cache_origin_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworkservicesV1::Policy::Representation command.response_class = Google::Apis::NetworkservicesV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_edge_cache_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
403 404 405 406 407 408 409 410 411 412 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 403 def get_project_location_edge_cache_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworkservicesV1::Policy::Representation command.response_class = Google::Apis::NetworkservicesV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_endpoint_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::EndpointPolicy
Gets details of a single EndpointPolicy.
580 581 582 583 584 585 586 587 588 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 580 def get_project_location_endpoint_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::EndpointPolicy::Representation command.response_class = Google::Apis::NetworkservicesV1::EndpointPolicy command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_gateway(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Gateway
Gets details of a single Gateway.
759 760 761 762 763 764 765 766 767 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 759 def get_project_location_gateway(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::Gateway::Representation command.response_class = Google::Apis::NetworkservicesV1::Gateway command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_grpc_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::GrpcRoute
Gets details of a single GrpcRoute.
938 939 940 941 942 943 944 945 946 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 938 def get_project_location_grpc_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::GrpcRoute::Representation command.response_class = Google::Apis::NetworkservicesV1::GrpcRoute command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_http_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::HttpRoute
Gets details of a single HttpRoute.
1117 1118 1119 1120 1121 1122 1123 1124 1125 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1117 def get_project_location_http_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::HttpRoute::Representation command.response_class = Google::Apis::NetworkservicesV1::HttpRoute command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_lb_route_extension(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::LbRouteExtension
Gets details of the specified LbRouteExtension
resource.
1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1322 def get_project_location_lb_route_extension(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::LbRouteExtension::Representation command.response_class = Google::Apis::NetworkservicesV1::LbRouteExtension command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_lb_traffic_extension(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::LbTrafficExtension
Gets details of the specified LbTrafficExtension
resource.
1546 1547 1548 1549 1550 1551 1552 1553 1554 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1546 def get_project_location_lb_traffic_extension(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::LbTrafficExtension::Representation command.response_class = Google::Apis::NetworkservicesV1::LbTrafficExtension command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_mesh(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Mesh
Gets details of a single Mesh.
1744 1745 1746 1747 1748 1749 1750 1751 1752 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1744 def get_project_location_mesh(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::Mesh::Representation command.response_class = Google::Apis::NetworkservicesV1::Mesh command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
1928 1929 1930 1931 1932 1933 1934 1935 1936 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1928 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_service_binding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ServiceBinding
Gets details of a single ServiceBinding.
2067 2068 2069 2070 2071 2072 2073 2074 2075 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2067 def get_project_location_service_binding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::ServiceBinding::Representation command.response_class = Google::Apis::NetworkservicesV1::ServiceBinding command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_service_lb_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ServiceLbPolicy
Gets details of a single ServiceLbPolicy.
2207 2208 2209 2210 2211 2212 2213 2214 2215 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2207 def get_project_location_service_lb_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::ServiceLbPolicy::Representation command.response_class = Google::Apis::NetworkservicesV1::ServiceLbPolicy command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_tcp_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::TcpRoute
Gets details of a single TcpRoute.
2386 2387 2388 2389 2390 2391 2392 2393 2394 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2386 def get_project_location_tcp_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::TcpRoute::Representation command.response_class = Google::Apis::NetworkservicesV1::TcpRoute command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_tls_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::TlsRoute
Gets details of a single TlsRoute.
2565 2566 2567 2568 2569 2570 2571 2572 2573 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2565 def get_project_location_tls_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::TlsRoute::Representation command.response_class = Google::Apis::NetworkservicesV1::TlsRoute command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_endpoint_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListEndpointPoliciesResponse
Lists EndpointPolicies in a given project and location.
617 618 619 620 621 622 623 624 625 626 627 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 617 def list_project_location_endpoint_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/endpointPolicies', ) command.response_representation = Google::Apis::NetworkservicesV1::ListEndpointPoliciesResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListEndpointPoliciesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_gateways(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListGatewaysResponse
Lists Gateways in a given project and location.
796 797 798 799 800 801 802 803 804 805 806 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 796 def list_project_location_gateways(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/gateways', ) command.response_representation = Google::Apis::NetworkservicesV1::ListGatewaysResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListGatewaysResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_grpc_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListGrpcRoutesResponse
Lists GrpcRoutes in a given project and location.
975 976 977 978 979 980 981 982 983 984 985 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 975 def list_project_location_grpc_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/grpcRoutes', ) command.response_representation = Google::Apis::NetworkservicesV1::ListGrpcRoutesResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListGrpcRoutesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_http_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListHttpRoutesResponse
Lists HttpRoute in a given project and location.
1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1154 def list_project_location_http_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/httpRoutes', ) command.response_representation = Google::Apis::NetworkservicesV1::ListHttpRoutesResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListHttpRoutesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_lb_route_extensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListLbRouteExtensionsResponse
Lists LbRouteExtension
resources in a given project and location.
1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1363 def list_project_location_lb_route_extensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/lbRouteExtensions', ) command.response_representation = Google::Apis::NetworkservicesV1::ListLbRouteExtensionsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListLbRouteExtensionsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_lb_traffic_extensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListLbTrafficExtensionsResponse
Lists LbTrafficExtension
resources in a given project and location.
1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1587 def list_project_location_lb_traffic_extensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/lbTrafficExtensions', ) command.response_representation = Google::Apis::NetworkservicesV1::ListLbTrafficExtensionsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListLbTrafficExtensionsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_meshes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListMeshesResponse
Lists Meshes in a given project and location.
1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1781 def list_project_location_meshes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/meshes', ) command.response_representation = Google::Apis::NetworkservicesV1::ListMeshesResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListMeshesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED
.
1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1965 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', ) command.response_representation = Google::Apis::NetworkservicesV1::ListOperationsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_service_bindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListServiceBindingsResponse
Lists ServiceBinding in a given project and location.
2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2104 def list_project_location_service_bindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/serviceBindings', ) command.response_representation = Google::Apis::NetworkservicesV1::ListServiceBindingsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListServiceBindingsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_service_lb_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListServiceLbPoliciesResponse
Lists ServiceLbPolicies in a given project and location.
2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2244 def list_project_location_service_lb_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/serviceLbPolicies', ) command.response_representation = Google::Apis::NetworkservicesV1::ListServiceLbPoliciesResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListServiceLbPoliciesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_tcp_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListTcpRoutesResponse
Lists TcpRoute in a given project and location.
2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2423 def list_project_location_tcp_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/tcpRoutes', ) command.response_representation = Google::Apis::NetworkservicesV1::ListTcpRoutesResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListTcpRoutesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_tls_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListTlsRoutesResponse
Lists TlsRoute in a given project and location.
2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2602 def list_project_location_tls_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/tlsRoutes', ) command.response_representation = Google::Apis::NetworkservicesV1::ListTlsRoutesResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListTlsRoutesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListLocationsResponse
Lists information about the supported locations for this service.
114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 114 def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/locations', ) command.response_representation = Google::Apis::NetworkservicesV1::ListLocationsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_endpoint_policy(name, endpoint_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single EndpointPolicy.
657 658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 657 def patch_project_location_endpoint_policy(name, endpoint_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1::EndpointPolicy::Representation command.request_object = endpoint_policy_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_gateway(name, gateway_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single Gateway.
836 837 838 839 840 841 842 843 844 845 846 847 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 836 def patch_project_location_gateway(name, gateway_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1::Gateway::Representation command.request_object = gateway_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_grpc_route(name, grpc_route_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single GrpcRoute.
1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1015 def patch_project_location_grpc_route(name, grpc_route_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1::GrpcRoute::Representation command.request_object = grpc_route_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_http_route(name, http_route_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single HttpRoute.
1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1194 def patch_project_location_http_route(name, http_route_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1::HttpRoute::Representation command.request_object = http_route_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_lb_route_extension(name, lb_route_extension_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of the specified LbRouteExtension
resource.
1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1417 def patch_project_location_lb_route_extension(name, lb_route_extension_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1::LbRouteExtension::Representation command.request_object = lb_route_extension_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_lb_traffic_extension(name, lb_traffic_extension_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of the specified LbTrafficExtension
resource.
1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1641 def patch_project_location_lb_traffic_extension(name, lb_traffic_extension_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1::LbTrafficExtension::Representation command.request_object = lb_traffic_extension_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_mesh(name, mesh_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single Mesh.
1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1821 def patch_project_location_mesh(name, mesh_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1::Mesh::Representation command.request_object = mesh_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_service_lb_policy(name, service_lb_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single ServiceLbPolicy.
2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2284 def patch_project_location_service_lb_policy(name, service_lb_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1::ServiceLbPolicy::Representation command.request_object = service_lb_policy_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_tcp_route(name, tcp_route_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single TcpRoute.
2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2463 def patch_project_location_tcp_route(name, tcp_route_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1::TcpRoute::Representation command.request_object = tcp_route_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_tls_route(name, tls_route_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single TlsRoute.
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2642 def patch_project_location_tls_route(name, tls_route_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1::TlsRoute::Representation command.request_object = tls_route_object command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_edge_cache_keyset_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
197 198 199 200 201 202 203 204 205 206 207 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 197 def set_edge_cache_keyset_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworkservicesV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::NetworkservicesV1::Policy::Representation command.response_class = Google::Apis::NetworkservicesV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_edge_cache_origin_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
318 319 320 321 322 323 324 325 326 327 328 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 318 def set_edge_cache_origin_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworkservicesV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::NetworkservicesV1::Policy::Representation command.response_class = Google::Apis::NetworkservicesV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_edge_cache_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
439 440 441 442 443 444 445 446 447 448 449 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 439 def set_edge_cache_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworkservicesV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::NetworkservicesV1::Policy::Representation command.response_class = Google::Apis::NetworkservicesV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_edge_cache_keyset_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
236 237 238 239 240 241 242 243 244 245 246 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 236 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworkservicesV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworkservicesV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_edge_cache_origin_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
357 358 359 360 361 362 363 364 365 366 367 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 357 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworkservicesV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworkservicesV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_edge_cache_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
478 479 480 481 482 483 484 485 486 487 488 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 478 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworkservicesV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworkservicesV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |