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_authz_extension(parent, authz_extension_object = nil, authz_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new
AuthzExtensionresource in a given project and location. -
#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
LbRouteExtensionresource 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
LbTrafficExtensionresource 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.
-
#create_project_location_wasm_plugin(parent, wasm_plugin_object = nil, wasm_plugin_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new
WasmPluginresource in a given project and location. -
#create_project_location_wasm_plugin_version(parent, wasm_plugin_version_object = nil, wasm_plugin_version_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new
WasmPluginVersionresource in a given project and location. -
#delete_project_location_authz_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes the specified
AuthzExtensionresource. -
#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
LbRouteExtensionresource. -
#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
LbTrafficExtensionresource. -
#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.
-
#delete_project_location_wasm_plugin(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes the specified
WasmPluginresource. -
#delete_project_location_wasm_plugin_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes the specified
WasmPluginVersionresource. -
#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_authz_extension(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::AuthzExtension
Gets details of the specified
AuthzExtensionresource. -
#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_gateway_route_view(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::GatewayRouteView
Get a single RouteView of a 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
LbRouteExtensionresource. -
#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
LbTrafficExtensionresource. -
#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_mesh_route_view(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::MeshRouteView
Get a single RouteView of a 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.
-
#get_project_location_wasm_plugin(name, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::WasmPlugin
Gets details of the specified
WasmPluginresource. -
#get_project_location_wasm_plugin_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::WasmPluginVersion
Gets details of the specified
WasmPluginVersionresource. -
#initialize ⇒ NetworkServicesService
constructor
A new instance of NetworkServicesService.
-
#list_project_location_authz_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::ListAuthzExtensionsResponse
Lists
AuthzExtensionresources in a given project and location. -
#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_gateway_route_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListGatewayRouteViewsResponse
Lists RouteViews.
-
#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
LbRouteExtensionresources 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
LbTrafficExtensionresources in a given project and location. -
#list_project_location_mesh_route_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListMeshRouteViewsResponse
Lists RouteViews.
-
#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_location_wasm_plugin_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListWasmPluginVersionsResponse
Lists
WasmPluginVersionresources in a given project and location. -
#list_project_location_wasm_plugins(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListWasmPluginsResponse
Lists
WasmPluginresources 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_authz_extension(name, authz_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
AuthzExtensionresource. -
#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
LbRouteExtensionresource. -
#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
LbTrafficExtensionresource. -
#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.
-
#patch_project_location_wasm_plugin(name, wasm_plugin_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of the specified
WasmPluginresource. -
#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.
2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2226 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_authz_extension(parent, authz_extension_object = nil, authz_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new AuthzExtension resource in a given project and location.
162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 162 def create_project_location_authz_extension(parent, authz_extension_object = nil, authz_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/authzExtensions', ) command.request_representation = Google::Apis::NetworkservicesV1::AuthzExtension::Representation command.request_object = authz_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['authzExtensionId'] = authz_extension_id unless authz_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_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.
738 739 740 741 742 743 744 745 746 747 748 749 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 738 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.
917 918 919 920 921 922 923 924 925 926 927 928 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 917 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.
1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1167 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.
1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1346 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.
1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1536 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.
1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1760 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.
1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1973 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.
2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2366 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.
2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2506 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.
2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2685 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.
2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2864 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 |
#create_project_location_wasm_plugin(parent, wasm_plugin_object = nil, wasm_plugin_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new WasmPlugin resource in a given project and location.
3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3043 def create_project_location_wasm_plugin(parent, wasm_plugin_object = nil, wasm_plugin_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/wasmPlugins', ) command.request_representation = Google::Apis::NetworkservicesV1::WasmPlugin::Representation command.request_object = wasm_plugin_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['wasmPluginId'] = wasm_plugin_id unless wasm_plugin_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_wasm_plugin_version(parent, wasm_plugin_version_object = nil, wasm_plugin_version_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new WasmPluginVersion resource in a given project and location.
3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3231 def create_project_location_wasm_plugin_version(parent, wasm_plugin_version_object = nil, wasm_plugin_version_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/versions', ) command.request_representation = Google::Apis::NetworkservicesV1::WasmPluginVersion::Representation command.request_object = wasm_plugin_version_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['wasmPluginVersionId'] = wasm_plugin_version_id unless wasm_plugin_version_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_authz_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes the specified AuthzExtension resource.
209 210 211 212 213 214 215 216 217 218 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 209 def delete_project_location_authz_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_endpoint_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes a single EndpointPolicy.
772 773 774 775 776 777 778 779 780 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 772 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.
951 952 953 954 955 956 957 958 959 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 951 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.
1201 1202 1203 1204 1205 1206 1207 1208 1209 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1201 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.
1380 1381 1382 1383 1384 1385 1386 1387 1388 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1380 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.
1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1583 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.
1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1807 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.
2007 2008 2009 2010 2011 2012 2013 2014 2015 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2007 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.
2261 2262 2263 2264 2265 2266 2267 2268 2269 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2261 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.
2400 2401 2402 2403 2404 2405 2406 2407 2408 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2400 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.
2540 2541 2542 2543 2544 2545 2546 2547 2548 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2540 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.
2719 2720 2721 2722 2723 2724 2725 2726 2727 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2719 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.
2898 2899 2900 2901 2902 2903 2904 2905 2906 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2898 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 |
#delete_project_location_wasm_plugin(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes the specified WasmPlugin resource.
3077 3078 3079 3080 3081 3082 3083 3084 3085 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3077 def delete_project_location_wasm_plugin(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_wasm_plugin_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes the specified WasmPluginVersion resource.
3266 3267 3268 3269 3270 3271 3272 3273 3274 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3266 def delete_project_location_wasm_plugin_version(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_authz_extension(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::AuthzExtension
Gets details of the specified AuthzExtension resource.
242 243 244 245 246 247 248 249 250 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 242 def get_project_location_authz_extension(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::AuthzExtension::Representation command.response_class = Google::Apis::NetworkservicesV1::AuthzExtension 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.
384 385 386 387 388 389 390 391 392 393 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 384 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.
505 506 507 508 509 510 511 512 513 514 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 505 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.
626 627 628 629 630 631 632 633 634 635 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 626 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.
803 804 805 806 807 808 809 810 811 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 803 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.
982 983 984 985 986 987 988 989 990 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 982 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_gateway_route_view(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::GatewayRouteView
Get a single RouteView of a Gateway.
1094 1095 1096 1097 1098 1099 1100 1101 1102 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1094 def get_project_location_gateway_route_view(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::GatewayRouteView::Representation command.response_class = Google::Apis::NetworkservicesV1::GatewayRouteView 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.
1232 1233 1234 1235 1236 1237 1238 1239 1240 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1232 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.
1411 1412 1413 1414 1415 1416 1417 1418 1419 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1411 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.
1616 1617 1618 1619 1620 1621 1622 1623 1624 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1616 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.
1840 1841 1842 1843 1844 1845 1846 1847 1848 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1840 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.
2038 2039 2040 2041 2042 2043 2044 2045 2046 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2038 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_mesh_route_view(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::MeshRouteView
Get a single RouteView of a Mesh.
2149 2150 2151 2152 2153 2154 2155 2156 2157 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2149 def get_project_location_mesh_route_view(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::MeshRouteView::Representation command.response_class = Google::Apis::NetworkservicesV1::MeshRouteView 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.
2292 2293 2294 2295 2296 2297 2298 2299 2300 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2292 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.
2431 2432 2433 2434 2435 2436 2437 2438 2439 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2431 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.
2571 2572 2573 2574 2575 2576 2577 2578 2579 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2571 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.
2750 2751 2752 2753 2754 2755 2756 2757 2758 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2750 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.
2929 2930 2931 2932 2933 2934 2935 2936 2937 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2929 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 |
#get_project_location_wasm_plugin(name, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::WasmPlugin
Gets details of the specified WasmPlugin resource.
3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3111 def get_project_location_wasm_plugin(name, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::WasmPlugin::Representation command.response_class = Google::Apis::NetworkservicesV1::WasmPlugin command.params['name'] = name unless name.nil? command.query['view'] = view unless view.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_wasm_plugin_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::WasmPluginVersion
Gets details of the specified WasmPluginVersion resource.
3298 3299 3300 3301 3302 3303 3304 3305 3306 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3298 def get_project_location_wasm_plugin_version(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::WasmPluginVersion::Representation command.response_class = Google::Apis::NetworkservicesV1::WasmPluginVersion 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_authz_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::ListAuthzExtensionsResponse
Lists AuthzExtension resources in a given project and location.
283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 283 def list_project_location_authz_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}/authzExtensions', ) command.response_representation = Google::Apis::NetworkservicesV1::ListAuthzExtensionsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListAuthzExtensionsResponse 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_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.
840 841 842 843 844 845 846 847 848 849 850 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 840 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_gateway_route_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListGatewayRouteViewsResponse
Lists RouteViews
1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1131 def list_project_location_gateway_route_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/routeViews', ) command.response_representation = Google::Apis::NetworkservicesV1::ListGatewayRouteViewsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListGatewayRouteViewsResponse 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.
1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1019 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.
1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1269 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.
1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1448 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.
1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1657 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.
1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1881 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_mesh_route_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListMeshRouteViewsResponse
Lists RouteViews
2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2186 def list_project_location_mesh_route_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/routeViews', ) command.response_representation = Google::Apis::NetworkservicesV1::ListMeshRouteViewsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListMeshRouteViewsResponse 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_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.
2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2075 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.
2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2329 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.
2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2468 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.
2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2608 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.
2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2787 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.
2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2966 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_location_wasm_plugin_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListWasmPluginVersionsResponse
Lists WasmPluginVersion resources in a given project and location.
3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3338 def list_project_location_wasm_plugin_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/versions', ) command.response_representation = Google::Apis::NetworkservicesV1::ListWasmPluginVersionsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListWasmPluginVersionsResponse 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_wasm_plugins(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListWasmPluginsResponse
Lists WasmPlugin resources in a given project and location.
3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3152 def list_project_location_wasm_plugins(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/wasmPlugins', ) command.response_representation = Google::Apis::NetworkservicesV1::ListWasmPluginsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListWasmPluginsResponse 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_authz_extension(name, authz_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 AuthzExtension resource.
336 337 338 339 340 341 342 343 344 345 346 347 348 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 336 def patch_project_location_authz_extension(name, authz_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::AuthzExtension::Representation command.request_object = authz_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_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.
880 881 882 883 884 885 886 887 888 889 890 891 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 880 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.
1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1059 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.
1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1309 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.
1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1488 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.
1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1711 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.
1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1935 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.
2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2115 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.
2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2648 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.
2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2827 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.
3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3006 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 |
#patch_project_location_wasm_plugin(name, wasm_plugin_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of the specified WasmPlugin resource.
3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3194 def patch_project_location_wasm_plugin(name, wasm_plugin_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::WasmPlugin::Representation command.request_object = wasm_plugin_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.
420 421 422 423 424 425 426 427 428 429 430 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 420 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.
541 542 543 544 545 546 547 548 549 550 551 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 541 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.
662 663 664 665 666 667 668 669 670 671 672 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 662 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.
459 460 461 462 463 464 465 466 467 468 469 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 459 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.
580 581 582 583 584 585 586 587 588 589 590 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 580 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.
701 702 703 704 705 706 707 708 709 710 711 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 701 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 |