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_edge_extension(parent, lb_edge_extension_object = nil, lb_edge_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new
LbEdgeExtensionresource 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_edge_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes the specified
LbEdgeExtensionresource. -
#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_edge_extension(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::LbEdgeExtension
Gets details of the specified
LbEdgeExtensionresource. -
#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, return_partial_success: 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, return_partial_success: 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, return_partial_success: 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_edge_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::ListLbEdgeExtensionsResponse
Lists
LbEdgeExtensionresources 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, return_partial_success: 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, return_partial_success: 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, return_partial_success: 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, return_partial_success: 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, extra_location_types: nil, 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_edge_extension(name, lb_edge_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
LbEdgeExtensionresource. -
#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_binding(name, service_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single ServiceBinding.
-
#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.
2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2461 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.
165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 165 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.
739 740 741 742 743 744 745 746 747 748 749 750 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 739 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.
923 924 925 926 927 928 929 930 931 932 933 934 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 923 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.
1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1172 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.
1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1356 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_edge_extension(parent, lb_edge_extension_object = nil, lb_edge_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Creates a new LbEdgeExtension resource in a given project and location.
1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1550 def create_project_location_lb_edge_extension(parent, lb_edge_extension_object = nil, lb_edge_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/lbEdgeExtensions', ) command.request_representation = Google::Apis::NetworkservicesV1::LbEdgeExtension::Representation command.request_object = lb_edge_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['lbEdgeExtensionId'] = lb_edge_extension_id unless lb_edge_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_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.
1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1771 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.
1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1992 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.
2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2203 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.
2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2610 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.
2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2791 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.
2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2970 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.
3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3154 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.
3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3338 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.
3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3526 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.
211 212 213 214 215 216 217 218 219 220 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 211 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.
773 774 775 776 777 778 779 780 781 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 773 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.
957 958 959 960 961 962 963 964 965 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 957 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.
1206 1207 1208 1209 1210 1211 1212 1213 1214 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1206 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.
1390 1391 1392 1393 1394 1395 1396 1397 1398 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1390 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_edge_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes the specified LbEdgeExtension resource.
1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1596 def delete_project_location_lb_edge_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_route_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Deletes the specified LbRouteExtension resource.
1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1817 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.
2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2038 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.
2237 2238 2239 2240 2241 2242 2243 2244 2245 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2237 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.
2496 2497 2498 2499 2500 2501 2502 2503 2504 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2496 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.
2644 2645 2646 2647 2648 2649 2650 2651 2652 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2644 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.
2825 2826 2827 2828 2829 2830 2831 2832 2833 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2825 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.
3004 3005 3006 3007 3008 3009 3010 3011 3012 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3004 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.
3188 3189 3190 3191 3192 3193 3194 3195 3196 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3188 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.
3372 3373 3374 3375 3376 3377 3378 3379 3380 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3372 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.
3561 3562 3563 3564 3565 3566 3567 3568 3569 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3561 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.
244 245 246 247 248 249 250 251 252 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 244 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.
385 386 387 388 389 390 391 392 393 394 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 385 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.
506 507 508 509 510 511 512 513 514 515 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 506 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.
627 628 629 630 631 632 633 634 635 636 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 627 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.
804 805 806 807 808 809 810 811 812 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 804 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.
988 989 990 991 992 993 994 995 996 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 988 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.
1099 1100 1101 1102 1103 1104 1105 1106 1107 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1099 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.
1237 1238 1239 1240 1241 1242 1243 1244 1245 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1237 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.
1421 1422 1423 1424 1425 1426 1427 1428 1429 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1421 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_edge_extension(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::LbEdgeExtension
Gets details of the specified LbEdgeExtension resource.
1629 1630 1631 1632 1633 1634 1635 1636 1637 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1629 def get_project_location_lb_edge_extension(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1::LbEdgeExtension::Representation command.response_class = Google::Apis::NetworkservicesV1::LbEdgeExtension 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.
1850 1851 1852 1853 1854 1855 1856 1857 1858 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1850 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.
2071 2072 2073 2074 2075 2076 2077 2078 2079 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2071 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.
2268 2269 2270 2271 2272 2273 2274 2275 2276 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2268 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.
2384 2385 2386 2387 2388 2389 2390 2391 2392 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2384 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.
2527 2528 2529 2530 2531 2532 2533 2534 2535 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2527 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.
2675 2676 2677 2678 2679 2680 2681 2682 2683 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2675 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.
2856 2857 2858 2859 2860 2861 2862 2863 2864 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2856 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.
3035 3036 3037 3038 3039 3040 3041 3042 3043 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3035 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.
3219 3220 3221 3222 3223 3224 3225 3226 3227 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3219 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.
3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3406 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.
3593 3594 3595 3596 3597 3598 3599 3600 3601 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3593 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.
285 286 287 288 289 290 291 292 293 294 295 296 297 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 285 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, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListEndpointPoliciesResponse
Lists EndpointPolicies in a given project and location.
845 846 847 848 849 850 851 852 853 854 855 856 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 845 def list_project_location_endpoint_policies(parent, page_size: nil, page_token: nil, return_partial_success: 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.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
1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1136 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.
1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1025 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, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListGrpcRoutesResponse
Lists GrpcRoutes in a given project and location.
1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1278 def list_project_location_grpc_routes(parent, page_size: nil, page_token: nil, return_partial_success: 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.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, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListHttpRoutesResponse
Lists HttpRoute in a given project and location.
1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1462 def list_project_location_http_routes(parent, page_size: nil, page_token: nil, return_partial_success: 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.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_edge_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::ListLbEdgeExtensionsResponse
Lists LbEdgeExtension resources in a given project and location.
1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1670 def list_project_location_lb_edge_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}/lbEdgeExtensions', ) command.response_representation = Google::Apis::NetworkservicesV1::ListLbEdgeExtensionsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1::ListLbEdgeExtensionsResponse 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_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.
1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1891 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.
2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2112 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
2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2421 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, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListMeshesResponse
Lists Meshes in a given project and location.
2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2309 def list_project_location_meshes(parent, page_size: nil, page_token: nil, return_partial_success: 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.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, return_partial_success: 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.
2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2572 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.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.
2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2712 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.
2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2893 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, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListTcpRoutesResponse
Lists TcpRoute in a given project and location.
3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3076 def list_project_location_tcp_routes(parent, page_size: nil, page_token: nil, return_partial_success: 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.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, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::ListTlsRoutesResponse
Lists TlsRoute in a given project and location.
3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3260 def list_project_location_tls_routes(parent, page_size: nil, page_token: nil, return_partial_success: 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.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.
3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3633 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.
3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3447 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, extra_location_types: nil, 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.
117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 117 def list_project_locations(name, extra_location_types: nil, 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['extraLocationTypes'] = extra_location_types unless extra_location_types.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.
337 338 339 340 341 342 343 344 345 346 347 348 349 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 337 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.
886 887 888 889 890 891 892 893 894 895 896 897 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 886 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.
1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1065 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.
1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1319 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.
1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1503 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_edge_extension(name, lb_edge_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 LbEdgeExtension resource.
1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1723 def patch_project_location_lb_edge_extension(name, lb_edge_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::LbEdgeExtension::Representation command.request_object = lb_edge_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_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.
1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1944 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.
2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2165 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.
2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2350 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_binding(name, service_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1::Operation
Updates the parameters of a single ServiceBinding.
2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2752 def patch_project_location_service_binding(name, service_binding_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::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['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.
2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2933 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.
3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3117 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.
3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3301 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.
3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3489 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.
421 422 423 424 425 426 427 428 429 430 431 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 421 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.
542 543 544 545 546 547 548 549 550 551 552 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 542 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.
663 664 665 666 667 668 669 670 671 672 673 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 663 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.
460 461 462 463 464 465 466 467 468 469 470 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 460 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.
581 582 583 584 585 586 587 588 589 590 591 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 581 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.
702 703 704 705 706 707 708 709 710 711 712 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 702 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 |