Class: Google::Apis::BeyondcorpV1::BeyondCorpService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::BeyondcorpV1::BeyondCorpService
- Defined in:
- lib/google/apis/beyondcorp_v1/service.rb
Overview
BeyondCorp API
Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity solutions.
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_project_location_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::Empty
Starts asynchronous cancellation on a long-running operation.
-
#create_project_location_app_connection(parent, google_cloud_beyondcorp_appconnections_v1_app_connection_object = nil, app_connection_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Creates a new AppConnection in a given project and location.
-
#create_project_location_app_connector(parent, google_cloud_beyondcorp_appconnectors_v1_app_connector_object = nil, app_connector_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Creates a new AppConnector in a given project and location.
-
#create_project_location_app_gateway(parent, app_gateway_object = nil, app_gateway_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Creates a new AppGateway in a given project and location.
-
#create_project_location_client_connector_service(parent, client_connector_service_object = nil, client_connector_service_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Creates a new ClientConnectorService in a given project and location.
-
#create_project_location_client_gateway(parent, client_gateway_object = nil, client_gateway_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Creates a new ClientGateway in a given project and location.
-
#delete_project_location_app_connection(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Deletes a single AppConnection.
-
#delete_project_location_app_connector(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Deletes a single AppConnector.
-
#delete_project_location_app_gateway(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Deletes a single AppGateway.
-
#delete_project_location_client_connector_service(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Deletes a single ClientConnectorService.
-
#delete_project_location_client_gateway(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Deletes a single ClientGateway.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::Empty
Deletes a long-running operation.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleCloudLocationLocation
Gets information about a location.
-
#get_project_location_app_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1AppConnection
Gets details of a single AppConnection.
-
#get_project_location_app_connection_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Gets the access control policy for a resource.
-
#get_project_location_app_connector(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1AppConnector
Gets details of a single AppConnector.
-
#get_project_location_app_connector_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Gets the access control policy for a resource.
-
#get_project_location_app_gateway(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::AppGateway
Gets details of a single AppGateway.
-
#get_project_location_app_gateway_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Gets the access control policy for a resource.
-
#get_project_location_client_connector_service(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::ClientConnectorService
Gets details of a single ClientConnectorService.
-
#get_project_location_client_connector_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Gets the access control policy for a resource.
-
#get_project_location_client_gateway(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::ClientGateway
Gets details of a single ClientGateway.
-
#get_project_location_client_gateway_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Gets the access control policy for a resource.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Gets the latest state of a long-running operation.
-
#initialize ⇒ BeyondCorpService
constructor
A new instance of BeyondCorpService.
-
#list_project_location_app_connections(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse
Lists AppConnections in a given project and location.
-
#list_project_location_app_connectors(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1ListAppConnectorsResponse
Lists AppConnectors in a given project and location.
-
#list_project_location_app_gateways(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::ListAppGatewaysResponse
Lists AppGateways in a given project and location.
-
#list_project_location_client_connector_services(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::ListClientConnectorServicesResponse
Lists ClientConnectorServices in a given project and location.
-
#list_project_location_client_gateways(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::ListClientGatewaysResponse
Lists ClientGateways 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::BeyondcorpV1::GoogleLongrunningListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleCloudLocationListLocationsResponse
Lists information about the supported locations for this service.
-
#patch_project_location_app_connection(name, google_cloud_beyondcorp_appconnections_v1_app_connection_object = nil, allow_missing: nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Updates the parameters of a single AppConnection.
-
#patch_project_location_app_connector(name, google_cloud_beyondcorp_appconnectors_v1_app_connector_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Updates the parameters of a single AppConnector.
-
#patch_project_location_client_connector_service(name, client_connector_service_object = nil, allow_missing: nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Updates the parameters of a single ClientConnectorService.
-
#report_project_location_app_connector_status(app_connector, google_cloud_beyondcorp_appconnectors_v1_report_status_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Report status for a given connector.
-
#resolve_project_location_app_connection(parent, app_connector_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse
Resolves AppConnections details for a given AppConnector.
-
#resolve_project_location_app_connector_instance_config(app_connector, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1ResolveInstanceConfigResponse
Gets instance configuration for a given AppConnector.
-
#set_project_location_app_connection_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Sets the access control policy on the specified resource.
-
#set_project_location_app_connector_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Sets the access control policy on the specified resource.
-
#set_project_location_app_gateway_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Sets the access control policy on the specified resource.
-
#set_project_location_client_connector_service_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Sets the access control policy on the specified resource.
-
#set_project_location_client_gateway_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Sets the access control policy on the specified resource.
-
#test_project_location_app_connection_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_project_location_app_connector_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_project_location_app_gateway_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_project_location_client_connector_service_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_project_location_client_gateway_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
Constructor Details
#initialize ⇒ BeyondCorpService
Returns a new instance of BeyondCorpService.
48 49 50 51 52 53 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 48 def initialize super('https://beyondcorp.googleapis.com/', '', client_name: 'google-apis-beyondcorp_v1', client_version: Google::Apis::BeyondcorpV1::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.
41 42 43 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 41 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.
46 47 48 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 46 def quota_user @quota_user end |
Instance Method Details
#cancel_project_location_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::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
.
1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1942 def cancel_project_location_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', ) command.request_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningCancelOperationRequest::Representation command.request_object = google_longrunning_cancel_operation_request_object command.response_representation = Google::Apis::BeyondcorpV1::Empty::Representation command.response_class = Google::Apis::BeyondcorpV1::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_app_connection(parent, google_cloud_beyondcorp_appconnections_v1_app_connection_object = nil, app_connection_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Creates a new AppConnection in a given project and location.
168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 168 def create_project_location_app_connection(parent, google_cloud_beyondcorp_appconnections_v1_app_connection_object = nil, app_connection_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/appConnections', ) command.request_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1AppConnection::Representation command.request_object = google_cloud_beyondcorp_appconnections_v1_app_connection_object command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation command.params['parent'] = parent unless parent.nil? command.query['appConnectionId'] = app_connection_id unless app_connection_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.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_app_connector(parent, google_cloud_beyondcorp_appconnectors_v1_app_connector_object = nil, app_connector_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Creates a new AppConnector in a given project and location.
578 579 580 581 582 583 584 585 586 587 588 589 590 591 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 578 def create_project_location_app_connector(parent, google_cloud_beyondcorp_appconnectors_v1_app_connector_object = nil, app_connector_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/appConnectors', ) command.request_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1AppConnector::Representation command.request_object = google_cloud_beyondcorp_appconnectors_v1_app_connector_object command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation command.params['parent'] = parent unless parent.nil? command.query['appConnectorId'] = app_connector_id unless app_connector_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.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_app_gateway(parent, app_gateway_object = nil, app_gateway_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Creates a new AppGateway in a given project and location.
1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1002 def create_project_location_app_gateway(parent, app_gateway_object = nil, app_gateway_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/appGateways', ) command.request_representation = Google::Apis::BeyondcorpV1::AppGateway::Representation command.request_object = app_gateway_object command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation command.params['parent'] = parent unless parent.nil? command.query['appGatewayId'] = app_gateway_id unless app_gateway_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.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_client_connector_service(parent, client_connector_service_object = nil, client_connector_service_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Creates a new ClientConnectorService in a given project and location.
1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1305 def create_project_location_client_connector_service(parent, client_connector_service_object = nil, client_connector_service_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/clientConnectorServices', ) command.request_representation = Google::Apis::BeyondcorpV1::ClientConnectorService::Representation command.request_object = client_connector_service_object command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation command.params['parent'] = parent unless parent.nil? command.query['clientConnectorServiceId'] = client_connector_service_id unless client_connector_service_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.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_client_gateway(parent, client_gateway_object = nil, client_gateway_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Creates a new ClientGateway in a given project and location.
1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1659 def create_project_location_client_gateway(parent, client_gateway_object = nil, client_gateway_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/clientGateways', ) command.request_representation = Google::Apis::BeyondcorpV1::ClientGateway::Representation command.request_object = client_gateway_object command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation command.params['parent'] = parent unless parent.nil? command.query['clientGatewayId'] = client_gateway_id unless client_gateway_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.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_app_connection(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Deletes a single AppConnection.
218 219 220 221 222 223 224 225 226 227 228 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 218 def delete_project_location_app_connection(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.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_app_connector(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Deletes a single AppConnector.
628 629 630 631 632 633 634 635 636 637 638 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 628 def delete_project_location_app_connector(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.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_app_gateway(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Deletes a single AppGateway.
1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1052 def delete_project_location_app_gateway(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.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_client_connector_service(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Deletes a single ClientConnectorService.
1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1354 def delete_project_location_client_connector_service(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.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_client_gateway(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Deletes a single ClientGateway.
1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1708 def delete_project_location_client_gateway(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.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::BeyondcorpV1::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
.
1977 1978 1979 1980 1981 1982 1983 1984 1985 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1977 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::BeyondcorpV1::Empty::Representation command.response_class = Google::Apis::BeyondcorpV1::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 |
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleCloudLocationLocation
Gets information about a location.
75 76 77 78 79 80 81 82 83 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 75 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleCloudLocationLocation::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleCloudLocationLocation 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_app_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1AppConnection
Gets details of a single AppConnection.
251 252 253 254 255 256 257 258 259 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 251 def get_project_location_app_connection(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1AppConnection::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1AppConnection 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_app_connection_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
295 296 297 298 299 300 301 302 303 304 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 295 def get_project_location_app_connection_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy 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_app_connector(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1AppConnector
Gets details of a single AppConnector.
661 662 663 664 665 666 667 668 669 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 661 def get_project_location_app_connector(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1AppConnector::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1AppConnector 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_app_connector_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
705 706 707 708 709 710 711 712 713 714 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 705 def get_project_location_app_connector_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy 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_app_gateway(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::AppGateway
Gets details of a single AppGateway.
1085 1086 1087 1088 1089 1090 1091 1092 1093 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1085 def get_project_location_app_gateway(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::BeyondcorpV1::AppGateway::Representation command.response_class = Google::Apis::BeyondcorpV1::AppGateway 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_app_gateway_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1129 def get_project_location_app_gateway_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy 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_client_connector_service(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::ClientConnectorService
Gets details of a single ClientConnectorService.
1386 1387 1388 1389 1390 1391 1392 1393 1394 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1386 def get_project_location_client_connector_service(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::BeyondcorpV1::ClientConnectorService::Representation command.response_class = Google::Apis::BeyondcorpV1::ClientConnectorService 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_client_connector_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1430 def get_project_location_client_connector_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy 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_client_gateway(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::ClientGateway
Gets details of a single ClientGateway.
1740 1741 1742 1743 1744 1745 1746 1747 1748 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1740 def get_project_location_client_gateway(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::BeyondcorpV1::ClientGateway::Representation command.response_class = Google::Apis::BeyondcorpV1::ClientGateway 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_client_gateway_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1784 def get_project_location_client_gateway_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy 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::BeyondcorpV1::GoogleLongrunningOperation
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.
2008 2009 2010 2011 2012 2013 2014 2015 2016 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 2008 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation 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_app_connections(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse
Lists AppConnections in a given project and location.
341 342 343 344 345 346 347 348 349 350 351 352 353 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 341 def list_project_location_app_connections(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/appConnections', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse 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_app_connectors(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1ListAppConnectorsResponse
Lists AppConnectors in a given project and location.
751 752 753 754 755 756 757 758 759 760 761 762 763 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 751 def list_project_location_app_connectors(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/appConnectors', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1ListAppConnectorsResponse::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1ListAppConnectorsResponse 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_app_gateways(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::ListAppGatewaysResponse
Lists AppGateways in a given project and location.
1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1175 def list_project_location_app_gateways(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/appGateways', ) command.response_representation = Google::Apis::BeyondcorpV1::ListAppGatewaysResponse::Representation command.response_class = Google::Apis::BeyondcorpV1::ListAppGatewaysResponse 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_client_connector_services(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::ListClientConnectorServicesResponse
Lists ClientConnectorServices in a given project and location.
1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1470 def list_project_location_client_connector_services(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/clientConnectorServices', ) command.response_representation = Google::Apis::BeyondcorpV1::ListClientConnectorServicesResponse::Representation command.response_class = Google::Apis::BeyondcorpV1::ListClientConnectorServicesResponse 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_client_gateways(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::ListClientGatewaysResponse
Lists ClientGateways in a given project and location.
1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1824 def list_project_location_client_gateways(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/clientGateways', ) command.response_representation = Google::Apis::BeyondcorpV1::ListClientGatewaysResponse::Representation command.response_class = Google::Apis::BeyondcorpV1::ListClientGatewaysResponse 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_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED
. NOTE: the name
binding allows API services to override the binding to use different resource
name schemes, such as users/*/operations
. To override the binding, API
services can add a binding such as "/v1/
name=users/*/operations"
to their
service configuration. For backwards compatibility, the default name includes
the operations collection id, however overriding users must ensure the name
binding is the parent resource, without the operations collection id.
2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 2051 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningListOperationsResponse::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningListOperationsResponse 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_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleCloudLocationListLocationsResponse
Lists information about the supported locations for this service.
115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 115 def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/locations', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleCloudLocationListLocationsResponse::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleCloudLocationListLocationsResponse 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_app_connection(name, google_cloud_beyondcorp_appconnections_v1_app_connection_object = nil, allow_missing: nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Updates the parameters of a single AppConnection.
398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 398 def patch_project_location_app_connection(name, google_cloud_beyondcorp_appconnections_v1_app_connection_object = nil, allow_missing: nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1AppConnection::Representation command.request_object = google_cloud_beyondcorp_appconnections_v1_app_connection_object command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.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_app_connector(name, google_cloud_beyondcorp_appconnectors_v1_app_connector_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Updates the parameters of a single AppConnector.
805 806 807 808 809 810 811 812 813 814 815 816 817 818 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 805 def patch_project_location_app_connector(name, google_cloud_beyondcorp_appconnectors_v1_app_connector_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1AppConnector::Representation command.request_object = google_cloud_beyondcorp_appconnectors_v1_app_connector_object command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation 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['validateOnly'] = validate_only unless validate_only.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_client_connector_service(name, client_connector_service_object = nil, allow_missing: nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Updates the parameters of a single ClientConnectorService.
1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1528 def patch_project_location_client_connector_service(name, client_connector_service_object = nil, allow_missing: nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::BeyondcorpV1::ClientConnectorService::Representation command.request_object = client_connector_service_object command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#report_project_location_app_connector_status(app_connector, google_cloud_beyondcorp_appconnectors_v1_report_status_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
Report status for a given connector.
842 843 844 845 846 847 848 849 850 851 852 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 842 def report_project_location_app_connector_status(app_connector, google_cloud_beyondcorp_appconnectors_v1_report_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+appConnector}:reportStatus', ) command.request_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1ReportStatusRequest::Representation command.request_object = google_cloud_beyondcorp_appconnectors_v1_report_status_request_object command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation command.params['appConnector'] = app_connector unless app_connector.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#resolve_project_location_app_connection(parent, app_connector_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse
Resolves AppConnections details for a given AppConnector. An internal method called by a connector to find AppConnections to connect to.
449 450 451 452 453 454 455 456 457 458 459 460 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 449 def resolve_project_location_app_connection(parent, app_connector_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/appConnections:resolve', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse command.params['parent'] = parent unless parent.nil? command.query['appConnectorId'] = app_connector_id unless app_connector_id.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 |
#resolve_project_location_app_connector_instance_config(app_connector, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1ResolveInstanceConfigResponse
Gets instance configuration for a given AppConnector. An internal method called by a AppConnector to get its container config.
876 877 878 879 880 881 882 883 884 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 876 def resolve_project_location_app_connector_instance_config(app_connector, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+appConnector}:resolveInstanceConfig', ) command.response_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1ResolveInstanceConfigResponse::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1ResolveInstanceConfigResponse command.params['appConnector'] = app_connector unless app_connector.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_project_location_app_connection_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
487 488 489 490 491 492 493 494 495 496 497 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 487 def set_project_location_app_connection_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation command.request_object = google_iam_v1_set_iam_policy_request_object command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy 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_project_location_app_connector_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
911 912 913 914 915 916 917 918 919 920 921 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 911 def set_project_location_app_connector_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation command.request_object = google_iam_v1_set_iam_policy_request_object command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy 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_project_location_app_gateway_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1214 def set_project_location_app_gateway_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation command.request_object = google_iam_v1_set_iam_policy_request_object command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy 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_project_location_client_connector_service_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1569 def set_project_location_client_connector_service_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation command.request_object = google_iam_v1_set_iam_policy_request_object command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy 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_project_location_client_gateway_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1863 def set_project_location_client_gateway_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation command.request_object = google_iam_v1_set_iam_policy_request_object command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy 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_project_location_app_connection_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
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.
526 527 528 529 530 531 532 533 534 535 536 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 526 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse 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_project_location_app_connector_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
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.
950 951 952 953 954 955 956 957 958 959 960 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 950 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse 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_project_location_app_gateway_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
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.
1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1253 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse 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_project_location_client_connector_service_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
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.
1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1608 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse 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_project_location_client_gateway_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
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.
1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 |
# File 'lib/google/apis/beyondcorp_v1/service.rb', line 1902 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse 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 |