Class: Google::Apis::NetworkservicesV1beta1::NetworkServicesService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::NetworkservicesV1beta1::NetworkServicesService
- Defined in:
- lib/google/apis/networkservices_v1beta1/service.rb
Overview
Network Services API
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::NetworkservicesV1beta1::Empty
Starts asynchronous cancellation on a long-running operation.
-
#create_project_location_endpoint_policy(parent, endpoint_policy_object = nil, endpoint_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::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::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Creates a new HttpRoute in a given project and location.
-
#create_project_location_lb_route_extension(parent, lb_route_extension_object = nil, lb_route_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::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::NetworkservicesV1beta1::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::NetworkservicesV1beta1::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::NetworkservicesV1beta1::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::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Creates a new TlsRoute in a given project and location.
-
#delete_project_location_endpoint_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Operation
Deletes a single EndpointPolicy.
-
#delete_project_location_gateway(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Operation
Deletes a single Gateway.
-
#delete_project_location_grpc_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Operation
Deletes a single GrpcRoute.
-
#delete_project_location_http_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Operation
Deletes a single HttpRoute.
-
#delete_project_location_lb_route_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Deletes the specified
LbTrafficExtensionresource. -
#delete_project_location_mesh(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Operation
Deletes a single Mesh.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Empty
Deletes a long-running operation.
-
#delete_project_location_service_binding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Operation
Deletes a single ServiceBinding.
-
#delete_project_location_service_lb_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Operation
Deletes a single ServiceLbPolicy.
-
#delete_project_location_tcp_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Operation
Deletes a single TcpRoute.
-
#delete_project_location_tls_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Operation
Deletes a single TlsRoute.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Location
Gets information about a location.
-
#get_project_location_endpoint_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::EndpointPolicy
Gets details of a single EndpointPolicy.
-
#get_project_location_endpoint_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Gets the access control policy for a resource.
-
#get_project_location_gateway(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Gateway
Gets details of a single Gateway.
-
#get_project_location_gateway_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Gets the access control policy for a resource.
-
#get_project_location_grpc_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::GrpcRoute
Gets details of a single GrpcRoute.
-
#get_project_location_http_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::HttpRoute
Gets details of a single HttpRoute.
-
#get_project_location_lb_route_extension(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::LbTrafficExtension
Gets details of the specified
LbTrafficExtensionresource. -
#get_project_location_mesh(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Mesh
Gets details of a single Mesh.
-
#get_project_location_mesh_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Gets the access control policy for a resource.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::ServiceBinding
Gets details of a single ServiceBinding.
-
#get_project_location_service_binding_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Gets the access control policy for a resource.
-
#get_project_location_service_lb_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ServiceLbPolicy
Gets details of a single ServiceLbPolicy.
-
#get_project_location_service_lb_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Gets the access control policy for a resource.
-
#get_project_location_tcp_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::TcpRoute
Gets details of a single TcpRoute.
-
#get_project_location_tls_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::TlsRoute
Gets details of a single TlsRoute.
-
#initialize ⇒ NetworkServicesService
constructor
A new instance of NetworkServicesService.
-
#list_project_location_endpoint_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListEndpointPoliciesResponse
Lists EndpointPolicies in a given project and location.
-
#list_project_location_gateways(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListGatewaysResponse
Lists Gateways in a given project and location.
-
#list_project_location_grpc_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListGrpcRoutesResponse
Lists GrpcRoutes in a given project and location.
-
#list_project_location_http_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListHttpRoutesResponse
Lists HttpRoute in a given project and location.
-
#list_project_location_lb_route_extensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::ListLbTrafficExtensionsResponse
Lists
LbTrafficExtensionresources in a given project and location. -
#list_project_location_meshes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListMeshesResponse
Lists Meshes in a given project and location.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::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::NetworkservicesV1beta1::ListServiceLbPoliciesResponse
Lists ServiceLbPolicies in a given project and location.
-
#list_project_location_tcp_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListTcpRoutesResponse
Lists TcpRoute in a given project and location.
-
#list_project_location_tls_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListTlsRoutesResponse
Lists TlsRoute in a given project and location.
-
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListLocationsResponse
Lists information about the supported locations for this service.
-
#patch_project_location_endpoint_policy(name, endpoint_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::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::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Updates the parameters of a single HttpRoute.
-
#patch_project_location_lb_route_extension(name, lb_route_extension_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Updates the parameters of a single Mesh.
-
#patch_project_location_service_lb_policy(name, service_lb_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Updates the parameters of a single TlsRoute.
-
#set_endpoint_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Sets the access control policy on the specified resource.
-
#set_gateway_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Sets the access control policy on the specified resource.
-
#set_mesh_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Sets the access control policy on the specified resource.
-
#set_service_binding_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Sets the access control policy on the specified resource.
-
#set_service_lb_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Sets the access control policy on the specified resource.
-
#test_endpoint_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_gateway_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_mesh_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_service_binding_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_service_lb_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
Constructor Details
#initialize ⇒ NetworkServicesService
Returns a new instance of NetworkServicesService.
45 46 47 48 49 50 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 45 def initialize super('https://networkservices.googleapis.com/', '', client_name: 'google-apis-networkservices_v1beta1', client_version: Google::Apis::NetworkservicesV1beta1::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.
38 39 40 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 38 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.
43 44 45 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 43 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::NetworkservicesV1beta1::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.
1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1860 def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:cancel', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Empty::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_endpoint_policy(parent, endpoint_policy_object = nil, endpoint_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Operation
Creates a new EndpointPolicy in a given project and location.
150 151 152 153 154 155 156 157 158 159 160 161 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 150 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, 'v1beta1/{+parent}/endpointPolicies', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::EndpointPolicy::Representation command.request_object = endpoint_policy_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Creates a new Gateway in a given project and location.
450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 450 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, 'v1beta1/{+parent}/gateways', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::Gateway::Representation command.request_object = gateway_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Creates a new GrpcRoute in a given project and location.
750 751 752 753 754 755 756 757 758 759 760 761 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 750 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, 'v1beta1/{+parent}/grpcRoutes', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::GrpcRoute::Representation command.request_object = grpc_route_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Creates a new HttpRoute in a given project and location.
929 930 931 932 933 934 935 936 937 938 939 940 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 929 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, 'v1beta1/{+parent}/httpRoutes', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::HttpRoute::Representation command.request_object = http_route_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::Operation command.params['parent'] = parent unless parent.nil? command.query['httpRouteId'] = http_route_id unless http_route_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_lb_route_extension(parent, lb_route_extension_object = nil, lb_route_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Operation
Creates a new LbRouteExtension resource in a given project and location.
1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1119 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, 'v1beta1/{+parent}/lbRouteExtensions', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::LbRouteExtension::Representation command.request_object = lb_route_extension_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Creates a new LbTrafficExtension resource in a given project and location.
1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1343 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, 'v1beta1/{+parent}/lbTrafficExtensions', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::LbTrafficExtension::Representation command.request_object = lb_traffic_extension_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Creates a new Mesh in a given project and location.
1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1556 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, 'v1beta1/{+parent}/meshes', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::Mesh::Representation command.request_object = mesh_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Creates a new ServiceBinding in a given project and location.
2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2000 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, 'v1beta1/{+parent}/serviceBindings', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::ServiceBinding::Representation command.request_object = service_binding_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Creates a new ServiceLbPolicy in a given project and location.
2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2261 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, 'v1beta1/{+parent}/serviceLbPolicies', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::ServiceLbPolicy::Representation command.request_object = service_lb_policy_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Creates a new TcpRoute in a given project and location.
2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2561 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, 'v1beta1/{+parent}/tcpRoutes', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::TcpRoute::Representation command.request_object = tcp_route_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Creates a new TlsRoute in a given project and location.
2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2740 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, 'v1beta1/{+parent}/tlsRoutes', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::TlsRoute::Representation command.request_object = tls_route_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::Operation command.params['parent'] = parent unless parent.nil? command.query['tlsRouteId'] = tls_route_id unless tls_route_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_endpoint_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Operation
Deletes a single EndpointPolicy.
184 185 186 187 188 189 190 191 192 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 184 def delete_project_location_endpoint_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Deletes a single Gateway.
484 485 486 487 488 489 490 491 492 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 484 def delete_project_location_gateway(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Deletes a single GrpcRoute.
784 785 786 787 788 789 790 791 792 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 784 def delete_project_location_grpc_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Deletes a single HttpRoute.
963 964 965 966 967 968 969 970 971 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 963 def delete_project_location_http_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_lb_route_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Operation
Deletes the specified LbRouteExtension resource.
1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1166 def delete_project_location_lb_route_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Deletes the specified LbTrafficExtension resource.
1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1390 def delete_project_location_lb_traffic_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Deletes a single Mesh.
1590 1591 1592 1593 1594 1595 1596 1597 1598 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1590 def delete_project_location_mesh(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::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.
1895 1896 1897 1898 1899 1900 1901 1902 1903 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1895 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Empty::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Deletes a single ServiceBinding.
2034 2035 2036 2037 2038 2039 2040 2041 2042 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2034 def delete_project_location_service_binding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Deletes a single ServiceLbPolicy.
2295 2296 2297 2298 2299 2300 2301 2302 2303 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2295 def delete_project_location_service_lb_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Deletes a single TcpRoute.
2595 2596 2597 2598 2599 2600 2601 2602 2603 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2595 def delete_project_location_tcp_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Deletes a single TlsRoute.
2774 2775 2776 2777 2778 2779 2780 2781 2782 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2774 def delete_project_location_tls_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Location
Gets information about a location.
72 73 74 75 76 77 78 79 80 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 72 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Location::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_endpoint_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::EndpointPolicy
Gets details of a single EndpointPolicy.
215 216 217 218 219 220 221 222 223 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 215 def get_project_location_endpoint_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::EndpointPolicy::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_endpoint_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
259 260 261 262 263 264 265 266 267 268 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 259 def get_project_location_endpoint_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_gateway(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Gateway
Gets details of a single Gateway.
515 516 517 518 519 520 521 522 523 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 515 def get_project_location_gateway(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Gateway::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
559 560 561 562 563 564 565 566 567 568 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 559 def get_project_location_gateway_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_grpc_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::GrpcRoute
Gets details of a single GrpcRoute.
815 816 817 818 819 820 821 822 823 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 815 def get_project_location_grpc_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::GrpcRoute::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::HttpRoute
Gets details of a single HttpRoute.
994 995 996 997 998 999 1000 1001 1002 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 994 def get_project_location_http_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::HttpRoute::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::HttpRoute command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_lb_route_extension(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::LbRouteExtension
Gets details of the specified LbRouteExtension resource.
1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1199 def get_project_location_lb_route_extension(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::LbRouteExtension::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::LbTrafficExtension
Gets details of the specified LbTrafficExtension resource.
1423 1424 1425 1426 1427 1428 1429 1430 1431 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1423 def get_project_location_lb_traffic_extension(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::LbTrafficExtension::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Mesh
Gets details of a single Mesh.
1621 1622 1623 1624 1625 1626 1627 1628 1629 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1621 def get_project_location_mesh(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Mesh::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1665 def get_project_location_mesh_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::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.
1926 1927 1928 1929 1930 1931 1932 1933 1934 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1926 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::ServiceBinding
Gets details of a single ServiceBinding.
2065 2066 2067 2068 2069 2070 2071 2072 2073 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2065 def get_project_location_service_binding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::ServiceBinding::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_binding_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2109 def get_project_location_service_binding_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_service_lb_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ServiceLbPolicy
Gets details of a single ServiceLbPolicy.
2326 2327 2328 2329 2330 2331 2332 2333 2334 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2326 def get_project_location_service_lb_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::ServiceLbPolicy::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_service_lb_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2370 def get_project_location_service_lb_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_tcp_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::TcpRoute
Gets details of a single TcpRoute.
2626 2627 2628 2629 2630 2631 2632 2633 2634 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2626 def get_project_location_tcp_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::TcpRoute::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::TlsRoute
Gets details of a single TlsRoute.
2805 2806 2807 2808 2809 2810 2811 2812 2813 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2805 def get_project_location_tls_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::TlsRoute::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::TlsRoute command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_endpoint_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListEndpointPoliciesResponse
Lists EndpointPolicies in a given project and location.
297 298 299 300 301 302 303 304 305 306 307 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 297 def list_project_location_endpoint_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/endpointPolicies', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::ListEndpointPoliciesResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::ListEndpointPoliciesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_gateways(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListGatewaysResponse
Lists Gateways in a given project and location.
597 598 599 600 601 602 603 604 605 606 607 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 597 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, 'v1beta1/{+parent}/gateways', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::ListGatewaysResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::ListGatewaysResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_grpc_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListGrpcRoutesResponse
Lists GrpcRoutes in a given project and location.
852 853 854 855 856 857 858 859 860 861 862 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 852 def list_project_location_grpc_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/grpcRoutes', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::ListGrpcRoutesResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::ListGrpcRoutesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_http_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListHttpRoutesResponse
Lists HttpRoute in a given project and location.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1031 def list_project_location_http_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/httpRoutes', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::ListHttpRoutesResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::ListHttpRoutesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_lb_route_extensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListLbRouteExtensionsResponse
Lists LbRouteExtension resources in a given project and location.
1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1240 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, 'v1beta1/{+parent}/lbRouteExtensions', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::ListLbRouteExtensionsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::ListLbTrafficExtensionsResponse
Lists LbTrafficExtension resources in a given project and location.
1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1464 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, 'v1beta1/{+parent}/lbTrafficExtensions', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::ListLbTrafficExtensionsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::ListLbTrafficExtensionsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_meshes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListMeshesResponse
Lists Meshes in a given project and location.
1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1703 def list_project_location_meshes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/meshes', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::ListMeshesResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::ListMeshesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED.
1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1963 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/operations', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::ListOperationsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_service_bindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListServiceBindingsResponse
Lists ServiceBinding in a given project and location.
2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2147 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, 'v1beta1/{+parent}/serviceBindings', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::ListServiceBindingsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::ListServiceLbPoliciesResponse
Lists ServiceLbPolicies in a given project and location.
2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2408 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, 'v1beta1/{+parent}/serviceLbPolicies', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::ListServiceLbPoliciesResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::ListServiceLbPoliciesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_tcp_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListTcpRoutesResponse
Lists TcpRoute in a given project and location.
2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2663 def list_project_location_tcp_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/tcpRoutes', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::ListTcpRoutesResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::ListTcpRoutesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_tls_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListTlsRoutesResponse
Lists TlsRoute in a given project and location.
2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2842 def list_project_location_tls_routes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/tlsRoutes', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::ListTlsRoutesResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::ListTlsRoutesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::ListLocationsResponse
Lists information about the supported locations for this service.
112 113 114 115 116 117 118 119 120 121 122 123 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 112 def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/locations', ) command.response_representation = Google::Apis::NetworkservicesV1beta1::ListLocationsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_endpoint_policy(name, endpoint_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Operation
Updates the parameters of a single EndpointPolicy.
337 338 339 340 341 342 343 344 345 346 347 348 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 337 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::EndpointPolicy::Representation command.request_object = endpoint_policy_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Updates the parameters of a single Gateway.
637 638 639 640 641 642 643 644 645 646 647 648 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 637 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::Gateway::Representation command.request_object = gateway_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Updates the parameters of a single GrpcRoute.
892 893 894 895 896 897 898 899 900 901 902 903 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 892 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::GrpcRoute::Representation command.request_object = grpc_route_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Updates the parameters of a single HttpRoute.
1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1071 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::HttpRoute::Representation command.request_object = http_route_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_lb_route_extension(name, lb_route_extension_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Operation
Updates the parameters of the specified LbRouteExtension resource.
1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1294 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::LbRouteExtension::Representation command.request_object = lb_route_extension_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Updates the parameters of the specified LbTrafficExtension resource.
1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1518 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::LbTrafficExtension::Representation command.request_object = lb_traffic_extension_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Updates the parameters of a single Mesh.
1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1743 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::Mesh::Representation command.request_object = mesh_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Updates the parameters of a single ServiceLbPolicy.
2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2448 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::ServiceLbPolicy::Representation command.request_object = service_lb_policy_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Updates the parameters of a single TcpRoute.
2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2703 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::TcpRoute::Representation command.request_object = tcp_route_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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::NetworkservicesV1beta1::Operation
Updates the parameters of a single TlsRoute.
2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2882 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::TlsRoute::Representation command.request_object = tls_route_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_endpoint_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
375 376 377 378 379 380 381 382 383 384 385 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 375 def set_endpoint_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_gateway_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
675 676 677 678 679 680 681 682 683 684 685 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 675 def set_gateway_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_mesh_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1781 def set_mesh_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_service_binding_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2184 def set_service_binding_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_service_lb_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2486 def set_service_lb_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_endpoint_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::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.
414 415 416 417 418 419 420 421 422 423 424 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 414 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_gateway_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::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.
714 715 716 717 718 719 720 721 722 723 724 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 714 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_mesh_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::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.
1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 1820 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_service_binding_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::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.
2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2223 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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_service_lb_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworkservicesV1beta1::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.
2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 |
# File 'lib/google/apis/networkservices_v1beta1/service.rb', line 2525 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworkservicesV1beta1::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 |