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.
2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2465 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.
169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 169 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.
743 744 745 746 747 748 749 750 751 752 753 754 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 743 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.
927 928 929 930 931 932 933 934 935 936 937 938 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 927 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.
1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1176 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.
1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1360 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.
1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1554 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.
1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1775 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.
1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1996 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.
2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2207 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.
2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2614 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.
2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2795 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.
2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2974 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.
3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3158 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.
3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3342 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.
3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3530 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.
215 216 217 218 219 220 221 222 223 224 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 215 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.
777 778 779 780 781 782 783 784 785 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 777 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.
961 962 963 964 965 966 967 968 969 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 961 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.
1210 1211 1212 1213 1214 1215 1216 1217 1218 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1210 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.
1394 1395 1396 1397 1398 1399 1400 1401 1402 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1394 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.
1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1600 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.
1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1821 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.
2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2042 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.
2241 2242 2243 2244 2245 2246 2247 2248 2249 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2241 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.
2500 2501 2502 2503 2504 2505 2506 2507 2508 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2500 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.
2648 2649 2650 2651 2652 2653 2654 2655 2656 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2648 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.
2829 2830 2831 2832 2833 2834 2835 2836 2837 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2829 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.
3008 3009 3010 3011 3012 3013 3014 3015 3016 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3008 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.
3192 3193 3194 3195 3196 3197 3198 3199 3200 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3192 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.
3376 3377 3378 3379 3380 3381 3382 3383 3384 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3376 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.
3565 3566 3567 3568 3569 3570 3571 3572 3573 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3565 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.
248 249 250 251 252 253 254 255 256 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 248 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.
389 390 391 392 393 394 395 396 397 398 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 389 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.
510 511 512 513 514 515 516 517 518 519 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 510 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.
631 632 633 634 635 636 637 638 639 640 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 631 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.
808 809 810 811 812 813 814 815 816 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 808 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.
992 993 994 995 996 997 998 999 1000 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 992 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.
1103 1104 1105 1106 1107 1108 1109 1110 1111 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1103 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.
1241 1242 1243 1244 1245 1246 1247 1248 1249 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1241 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.
1425 1426 1427 1428 1429 1430 1431 1432 1433 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1425 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.
1633 1634 1635 1636 1637 1638 1639 1640 1641 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1633 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.
1854 1855 1856 1857 1858 1859 1860 1861 1862 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1854 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.
2075 2076 2077 2078 2079 2080 2081 2082 2083 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2075 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.
2272 2273 2274 2275 2276 2277 2278 2279 2280 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2272 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.
2388 2389 2390 2391 2392 2393 2394 2395 2396 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2388 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.
2531 2532 2533 2534 2535 2536 2537 2538 2539 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2531 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.
2679 2680 2681 2682 2683 2684 2685 2686 2687 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2679 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.
2860 2861 2862 2863 2864 2865 2866 2867 2868 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2860 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.
3039 3040 3041 3042 3043 3044 3045 3046 3047 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3039 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.
3223 3224 3225 3226 3227 3228 3229 3230 3231 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3223 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.
3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3410 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.
3597 3598 3599 3600 3601 3602 3603 3604 3605 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3597 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.
289 290 291 292 293 294 295 296 297 298 299 300 301 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 289 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.
849 850 851 852 853 854 855 856 857 858 859 860 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 849 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
1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1140 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.
1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1029 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.
1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1282 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.
1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1466 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.
1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1674 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.
1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1895 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.
2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2116 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
2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2425 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.
2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2313 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.
2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2576 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.
2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2716 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.
2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2897 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.
3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3080 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.
3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3264 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.
3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3637 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.
3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3451 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. This method
can be called in two ways: * List all public locations: Use the path GET /
v1/locations. * List project-visible locations: Use the path GET /v1/
projects/project_id/locations. This may include public locations as well as
private or other locations specifically visible to the project.
121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 121 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.
341 342 343 344 345 346 347 348 349 350 351 352 353 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 341 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.
890 891 892 893 894 895 896 897 898 899 900 901 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 890 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.
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1069 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.
1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1323 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.
1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1507 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.
1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1727 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.
1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 1948 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.
2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2169 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.
2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2354 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.
2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2756 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.
2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 2937 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.
3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3121 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.
3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3305 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.
3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 3493 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.
425 426 427 428 429 430 431 432 433 434 435 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 425 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.
546 547 548 549 550 551 552 553 554 555 556 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 546 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.
667 668 669 670 671 672 673 674 675 676 677 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 667 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.
464 465 466 467 468 469 470 471 472 473 474 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 464 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.
585 586 587 588 589 590 591 592 593 594 595 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 585 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.
706 707 708 709 710 711 712 713 714 715 716 |
# File 'lib/google/apis/networkservices_v1/service.rb', line 706 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 |