Home
last modified time | relevance | path

Searched refs:operation_scope (Results 1 – 2 of 2) sorted by relevance

/tools/acloud/internal/lib/
Dgcompute_client.py140 def _GetOperationStatus(self, operation, operation_scope, scope_name=None): argument
157 if operation_scope == OperationScope.GLOBAL:
161 elif operation_scope == OperationScope.ZONE:
167 elif operation_scope == OperationScope.REGION:
180 def WaitOnOperation(self, operation, operation_scope, scope_name=None): argument
200 operation_scope=operation_scope,
349 operation_scope=OperationScope.ZONE,
371 operation_scope=OperationScope.ZONE,
473 operation=operation, operation_scope=OperationScope.GLOBAL)
571 operation=operation, operation_scope=OperationScope.GLOBAL)
[all …]
Dgcompute_client_test.py89 def _SetupMocksForGetOperationStatus(self, mock_result, operation_scope): argument
101 if operation_scope == gcompute_client.OperationScope.GLOBAL:
104 elif operation_scope == gcompute_client.OperationScope.ZONE:
107 elif operation_scope == gcompute_client.OperationScope.REGION:
168 operation_scope=gcompute_client.OperationScope.REGION,
177 operation_scope=gcompute_client.OperationScope.REGION,
229 operation_scope=gcompute_client.OperationScope.GLOBAL)
254 operation_scope=gcompute_client.OperationScope.GLOBAL)
280 operation_scope=gcompute_client.OperationScope.GLOBAL)
355 operation_scope=gcompute_client.OperationScope.GLOBAL)
[all …]