Home
last modified time | relevance | path

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

/tools/acloud/internal/lib/
Dgcompute_client.py76 def _GetOperationStatus(self, operation, operation_scope, scope_name=None): argument
93 if operation_scope == OperationScope.GLOBAL:
97 elif operation_scope == OperationScope.ZONE:
102 elif operation_scope == OperationScope.REGION:
114 def WaitOnOperation(self, operation, operation_scope, scope_name=None): argument
134 operation_scope=operation_scope,
206 operation_scope=OperationScope.ZONE,
228 operation_scope=OperationScope.GLOBAL)
291 operation_scope=OperationScope.GLOBAL)
342 operation_scope=OperationScope.GLOBAL)
[all …]
Dgcompute_client_test.py58 def _SetupMocksForGetOperationStatus(self, mock_result, operation_scope): argument
70 if operation_scope == gcompute_client.OperationScope.GLOBAL:
73 elif operation_scope == gcompute_client.OperationScope.ZONE:
76 elif operation_scope == gcompute_client.OperationScope.REGION:
137 operation_scope=gcompute_client.OperationScope.REGION,
147 operation_scope=gcompute_client.OperationScope.REGION,
170 operation_scope=gcompute_client.OperationScope.GLOBAL)
205 operation_scope=gcompute_client.OperationScope.GLOBAL)
419 operation_scope=gcompute_client.OperationScope.ZONE,
435 operation_scope=gcompute_client.OperationScope.ZONE,
[all …]