|  View source on GitHub | 
-
cirq_google.cloud.quantum.QuantumEngineServiceAsyncClient(
    *,
    credentials: Optional[ga_credentials.Credentials] = None,
    transport: Optional[str | QuantumEngineServiceTransport | Callable[...,
        QuantumEngineServiceTransport]] = 'grpc_asyncio',
    client_options: Optional[ClientOptions] = None,
    client_info: gapic_v1.client_info.ClientInfo = DEFAULT_CLIENT_INFO
) -> None
| Raises | |
|---|---|
| google.auth.exceptions.MutualTlsChannelError | If mutual TLS transport creation failed for any reason. | 
Methods
cancel_quantum_job
cancel_quantum_job(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_cancel_quantum_job():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.CancelQuantumJobRequest(
    )
    # Make the request
    await client.cancel_quantum_job(request=request)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.CancelQuantumJobRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
cancel_quantum_reservation
cancel_quantum_reservation(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_cancel_quantum_reservation():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.CancelQuantumReservationRequest(
    )
    # Make the request
    response = await client.cancel_quantum_reservation(request=request)
    # Handle the response
    print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.CancelQuantumReservationRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.types.QuantumReservation | - | 
common_billing_account_path
@staticmethodcommon_billing_account_path( billing_account: str ) -> str
Returns a fully-qualified billing_account string.
common_folder_path
@staticmethodcommon_folder_path( folder: str ) -> str
Returns a fully-qualified folder string.
common_location_path
@staticmethodcommon_location_path( project: str, location: str ) -> str
Returns a fully-qualified location string.
common_organization_path
@staticmethodcommon_organization_path( organization: str ) -> str
Returns a fully-qualified organization string.
common_project_path
@staticmethodcommon_project_path( project: str ) -> str
Returns a fully-qualified project string.
create_quantum_job
create_quantum_job(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_create_quantum_job():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.CreateQuantumJobRequest(
    )
    # Make the request
    response = await client.create_quantum_job(request=request)
    # Handle the response
    print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.CreateQuantumJobRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.types.QuantumJob | - | 
create_quantum_program
create_quantum_program(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_create_quantum_program():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.CreateQuantumProgramRequest(
    )
    # Make the request
    response = await client.create_quantum_program(request=request)
    # Handle the response
    print(response)
| Args | |
|---|---|
| request ( Optional[ cirq_google.cloud.quantum_v1alpha1.types.CreateQuantumProgramRequest | dict ] ): The request object. - | |
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type
     | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.types.QuantumProgram | - | 
create_quantum_reservation
create_quantum_reservation(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_create_quantum_reservation():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.CreateQuantumReservationRequest(
    )
    # Make the request
    response = await client.create_quantum_reservation(request=request)
    # Handle the response
    print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.CreateQuantumReservationRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.types.QuantumReservation | - | 
delete_quantum_job
delete_quantum_job(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_delete_quantum_job():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.DeleteQuantumJobRequest(
    )
    # Make the request
    await client.delete_quantum_job(request=request)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.DeleteQuantumJobRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
delete_quantum_program
delete_quantum_program(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_delete_quantum_program():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.DeleteQuantumProgramRequest(
    )
    # Make the request
    await client.delete_quantum_program(request=request)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.DeleteQuantumProgramRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
delete_quantum_reservation
delete_quantum_reservation(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_delete_quantum_reservation():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.DeleteQuantumReservationRequest(
    )
    # Make the request
    await client.delete_quantum_reservation(request=request)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.DeleteQuantumReservationRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
from_service_account_file
@classmethodfrom_service_account_file( filename: str, *args, **kwargs )
Creates an instance of this client using the provided credentials file.
| Args | |
|---|---|
| filename | strThe path to the service account private key json file. | 
| args | Additional arguments to pass to the constructor. | 
| kwargs | Additional arguments to pass to the constructor. | 
| Returns | |
|---|---|
| QuantumEngineServiceAsyncClient | The constructed client. | 
from_service_account_info
@classmethodfrom_service_account_info( info: dict, *args, **kwargs )
Creates an instance of this client using the provided credentials info.
| Args | |
|---|---|
| info | dictThe service account private key info. | 
| args | Additional arguments to pass to the constructor. | 
| kwargs | Additional arguments to pass to the constructor. | 
| Returns | |
|---|---|
| QuantumEngineServiceAsyncClient | The constructed client. | 
from_service_account_json
@classmethodfrom_service_account_json( filename: str, *args, **kwargs )
Creates an instance of this client using the provided credentials file.
| Args | |
|---|---|
| filename | strThe path to the service account private key json file. | 
| args | Additional arguments to pass to the constructor. | 
| kwargs | Additional arguments to pass to the constructor. | 
| Returns | |
|---|---|
| QuantumEngineServiceAsyncClient | The constructed client. | 
get_mtls_endpoint_and_cert_source
@classmethodget_mtls_endpoint_and_cert_source( client_options: Optional[ClientOptions] = None )
Return the API endpoint and client cert source for mutual TLS.
The client cert source is determined in the following order:
(1) if GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is not "true", the
client cert source is None.
(2) if client_options.client_cert_source is provided, use the provided one; if the
default client cert source exists, use the default one; otherwise the client cert
source is None.
The API endpoint is determined in the following order:
(1) if client_options.api_endpoint if provided, use the provided one.
(2) if GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is "always", use the
default mTLS endpoint; if the environment variable is "never", use the default API
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
use the default API endpoint.
More details can be found at https://google.aip.dev/auth/4114
| Args | |
|---|---|
| client_options | google.api_core.client_options.ClientOptionsCustom options for the
    client. Only the  | 
| Returns | |
|---|---|
| Tuple[str, Callable[[], Tuple[bytes, bytes]]]: returns the API endpoint and the client cert source to use. | 
| Raises | |
|---|---|
| google.auth.exceptions.MutualTLSChannelError | If any errors happen. | 
get_quantum_calibration
get_quantum_calibration(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_get_quantum_calibration():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.GetQuantumCalibrationRequest(
    )
    # Make the request
    response = await client.get_quantum_calibration(request=request)
    # Handle the response
    print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.GetQuantumCalibrationRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.types.QuantumCalibration | - | 
get_quantum_job
get_quantum_job(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_get_quantum_job():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.GetQuantumJobRequest(
    )
    # Make the request
    response = await client.get_quantum_job(request=request)
    # Handle the response
    print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.GetQuantumJobRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.types.QuantumJob | - | 
get_quantum_processor
get_quantum_processor(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_get_quantum_processor():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.GetQuantumProcessorRequest(
    )
    # Make the request
    response = await client.get_quantum_processor(request=request)
    # Handle the response
    print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.GetQuantumProcessorRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.types.QuantumProcessor | - | 
get_quantum_processor_config
get_quantum_processor_config(
    request=None,
    *,
    name=None,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_get_quantum_processor_config():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.GetQuantumProcessorConfigRequest(
        name="name_value",
    )
    # Make the request
    response = await client.get_quantum_processor_config(request=request)
    # Handle the response
    print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.GetQuantumProcessorConfigRequest, dict]]name (:class: | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.types.QuantumProcessorConfig | - | 
get_quantum_program
get_quantum_program(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_get_quantum_program():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.GetQuantumProgramRequest(
    )
    # Make the request
    response = await client.get_quantum_program(request=request)
    # Handle the response
    print(response)
| Args | |
|---|---|
| request (Optional[cirq_google.cloud.quantum_v1alpha1.types.GetQuantumProgramRequest | dict]): The request object. - | |
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.types.QuantumProgram | - | 
get_quantum_reservation
get_quantum_reservation(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_get_quantum_reservation():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.GetQuantumReservationRequest(
    )
    # Make the request
    response = await client.get_quantum_reservation(request=request)
    # Handle the response
    print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.GetQuantumReservationRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.types.QuantumReservation | - | 
get_quantum_result
get_quantum_result(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_get_quantum_result():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.GetQuantumResultRequest(
    )
    # Make the request
    response = await client.get_quantum_result(request=request)
    # Handle the response
    print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.GetQuantumResultRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.types.QuantumResult | - | 
get_transport_class
get_transport_class() -> type[QuantumEngineServiceTransport]
Returns an appropriate transport class.
| Args | |
|---|---|
| label | The name of the desired transport. If none is provided, then the first transport in the registry is used. | 
| Returns | |
|---|---|
| The transport class to use. | 
list_quantum_calibrations
list_quantum_calibrations(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_list_quantum_calibrations():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.ListQuantumCalibrationsRequest(
    )
    # Make the request
    page_result = client.list_quantum_calibrations(request=request)
    # Handle the response
    async for response in page_result:
        print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.ListQuantumCalibrationsRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.services.quantum_engine_service.pagers.ListQuantumCalibrationsAsyncPager | - Iterating over this object will yield results and resolve additional pages automatically. | 
list_quantum_job_events
list_quantum_job_events(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_list_quantum_job_events():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.ListQuantumJobEventsRequest(
    )
    # Make the request
    page_result = client.list_quantum_job_events(request=request)
    # Handle the response
    async for response in page_result:
        print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.ListQuantumJobEventsRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.services.quantum_engine_service.pagers.ListQuantumJobEventsAsyncPager | - Iterating over this object will yield results and resolve additional pages automatically. | 
list_quantum_jobs
list_quantum_jobs(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_list_quantum_jobs():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.ListQuantumJobsRequest(
    )
    # Make the request
    page_result = client.list_quantum_jobs(request=request)
    # Handle the response
    async for response in page_result:
        print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.ListQuantumJobsRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.services.quantum_engine_service.pagers.ListQuantumJobsAsyncPager | - Iterating over this object will yield results and resolve additional pages automatically. | 
list_quantum_processors
list_quantum_processors(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_list_quantum_processors():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.ListQuantumProcessorsRequest(
    )
    # Make the request
    page_result = client.list_quantum_processors(request=request)
    # Handle the response
    async for response in page_result:
        print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.ListQuantumProcessorsRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.services.quantum_engine_service.pagers.ListQuantumProcessorsAsyncPager | - Iterating over this object will yield results and resolve additional pages automatically. | 
list_quantum_programs
list_quantum_programs(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_list_quantum_programs():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.ListQuantumProgramsRequest(
    )
    # Make the request
    page_result = client.list_quantum_programs(request=request)
    # Handle the response
    async for response in page_result:
        print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.ListQuantumProgramsRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.services.quantum_engine_service.pagers.ListQuantumProgramsAsyncPager | - Iterating over this object will yield results and resolve additional pages automatically. | 
list_quantum_reservation_budgets
list_quantum_reservation_budgets(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_list_quantum_reservation_budgets():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.ListQuantumReservationBudgetsRequest(
    )
    # Make the request
    page_result = client.list_quantum_reservation_budgets(request=request)
    # Handle the response
    async for response in page_result:
        print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.ListQuantumReservationBudgetsRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.services.quantum_engine_service.pagers.ListQuantumReservationBudgetsAsyncPager | - Iterating over this object will yield results and resolve additional pages automatically. | 
list_quantum_reservation_grants
list_quantum_reservation_grants(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_list_quantum_reservation_grants():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.ListQuantumReservationGrantsRequest(
    )
    # Make the request
    page_result = client.list_quantum_reservation_grants(request=request)
    # Handle the response
    async for response in page_result:
        print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.ListQuantumReservationGrantsRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.services.quantum_engine_service.pagers.ListQuantumReservationGrantsAsyncPager | - Iterating over this object will yield results and resolve additional pages automatically. | 
list_quantum_reservations
list_quantum_reservations(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_list_quantum_reservations():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.ListQuantumReservationsRequest(
    )
    # Make the request
    page_result = client.list_quantum_reservations(request=request)
    # Handle the response
    async for response in page_result:
        print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.ListQuantumReservationsRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.services.quantum_engine_service.pagers.ListQuantumReservationsAsyncPager | - Iterating over this object will yield results and resolve additional pages automatically. | 
list_quantum_time_slots
list_quantum_time_slots(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_list_quantum_time_slots():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.ListQuantumTimeSlotsRequest(
    )
    # Make the request
    page_result = client.list_quantum_time_slots(request=request)
    # Handle the response
    async for response in page_result:
        print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.ListQuantumTimeSlotsRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.services.quantum_engine_service.pagers.ListQuantumTimeSlotsAsyncPager | - Iterating over this object will yield results and resolve additional pages automatically. | 
parse_common_billing_account_path
@staticmethodparse_common_billing_account_path( path: str ) -> dict[str, str]
Parse a billing_account path into its component segments.
parse_common_folder_path
@staticmethodparse_common_folder_path( path: str ) -> dict[str, str]
Parse a folder path into its component segments.
parse_common_location_path
@staticmethodparse_common_location_path( path: str ) -> dict[str, str]
Parse a location path into its component segments.
parse_common_organization_path
@staticmethodparse_common_organization_path( path: str ) -> dict[str, str]
Parse a organization path into its component segments.
parse_common_project_path
@staticmethodparse_common_project_path( path: str ) -> dict[str, str]
Parse a project path into its component segments.
parse_quantum_job_path
@staticmethodparse_quantum_job_path( path: str ) -> dict[str, str]
Parses a quantum_job path into its component segments.
parse_quantum_processor_config_path
@staticmethodparse_quantum_processor_config_path( path: str ) -> dict[str, str]
Parses a quantum_processor_config path into its component segments.
parse_quantum_processor_path
@staticmethodparse_quantum_processor_path( path: str ) -> dict[str, str]
Parses a quantum_processor path into its component segments.
parse_quantum_program_path
@staticmethodparse_quantum_program_path( path: str ) -> dict[str, str]
Parses a quantum_program path into its component segments.
parse_quantum_reservation_path
@staticmethodparse_quantum_reservation_path( path: str ) -> dict[str, str]
Parses a quantum_reservation path into its component segments.
quantum_job_path
@staticmethodquantum_job_path( project: str, program: str, job: str ) -> str
Returns a fully-qualified quantum_job string.
quantum_processor_config_path
@staticmethodquantum_processor_config_path( project: str, processor: str, snapshot_id: str, quantum_processor_config: str ) -> str
Returns a fully-qualified quantum_processor_config string.
quantum_processor_path
@staticmethodquantum_processor_path( project_id: str, processor_id: str ) -> str
Returns a fully-qualified quantum_processor string.
quantum_program_path
@staticmethodquantum_program_path( project: str, program: str ) -> str
Returns a fully-qualified quantum_program string.
quantum_reservation_path
@staticmethodquantum_reservation_path( project_id: str, processor_id: str, reservation_id: str ) -> str
Returns a fully-qualified quantum_reservation string.
quantum_run_stream
quantum_run_stream(
    requests: Optional[AsyncIterator[engine.QuantumRunStreamRequest]] = None,
    *,
    retry: OptionalRetry = gapic_v1.method.DEFAULT,
    timeout: (float | object) = gapic_v1.method.DEFAULT,
    metadata: Sequence[tuple[str, str | bytes]] = ()
) -> Awaitable[AsyncIterable[engine.QuantumRunStreamResponse]]
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_quantum_run_stream():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.QuantumRunStreamRequest(
    )
    # This method expects an iterator which contains
    # 'quantum_v1alpha1.QuantumRunStreamRequest' objects
    # Here we create a generator that yields a single `request` for
    # demonstrative purposes.
    requests = [request]
    def request_generator():
        for request in requests:
            yield request
    # Make the request
    stream = await client.quantum_run_stream(requests=request_generator())
    # Handle the response
    async for response in stream:
        print(response)
| Args | |
|---|---|
| requests (AsyncIterator[ cirq_google.cloud.quantum_v1alpha1.types.QuantumRunStreamRequest]):
The request object AsyncIterator. - | |
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| AsyncIterable[cirq_google.cloud.quantum_v1alpha1.types.QuantumRunStreamResponse]: | 
reallocate_quantum_reservation_grant
reallocate_quantum_reservation_grant(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_reallocate_quantum_reservation_grant():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.ReallocateQuantumReservationGrantRequest(
    )
    # Make the request
    response = await client.reallocate_quantum_reservation_grant(request=request)
    # Handle the response
    print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.ReallocateQuantumReservationGrantRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.types.QuantumReservationGrant | - | 
update_quantum_job
update_quantum_job(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_update_quantum_job():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.UpdateQuantumJobRequest(
    )
    # Make the request
    response = await client.update_quantum_job(request=request)
    # Handle the response
    print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.UpdateQuantumJobRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.types.QuantumJob | - | 
update_quantum_program
update_quantum_program(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_update_quantum_program():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.UpdateQuantumProgramRequest(
    )
    # Make the request
    response = await client.update_quantum_program(request=request)
    # Handle the response
    print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.UpdateQuantumProgramRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.types.QuantumProgram | - | 
update_quantum_reservation
update_quantum_reservation(
    request=None,
    *,
    retry=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    timeout=<_MethodDefault._DEFAULT_VALUE: <object object>>,
    metadata=()
)
-
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   <a href="https://googleapis.dev/python/google-api-core/latest/client_options.html">https://googleapis.dev/python/google-api-core/latest/client_options.html</a>
from google.cloud import quantum_v1alpha1
async def sample_update_quantum_reservation():
    # Create a client
    client = quantum_v1alpha1.QuantumEngineServiceAsyncClient()
    # Initialize request argument(s)
    request = quantum_v1alpha1.UpdateQuantumReservationRequest(
    )
    # Make the request
    response = await client.update_quantum_reservation(request=request)
    # Handle the response
    print(response)
| Args | |
|---|---|
| request | Optional[Union[cirq_google.cloud.quantum_v1alpha1.types.UpdateQuantumReservationRequest, dict]]The request object. - | 
| retry | google.api_core.retry_async.AsyncRetryDesignation of what errors, if any, should be retried. | 
| timeout | floatThe timeout for this request.
metadata (Sequence[Tuple[str, str | bytes]]): Key/value pairs which should be
    sent along with the request as metadata. Normally, each value must be of type  | 
| Returns | |
|---|---|
| cirq_google.cloud.quantum_v1alpha1.types.QuantumReservation | - | 
| Class Variables | |
|---|---|
| DEFAULT_ENDPOINT | 'quantum.googleapis.com' | 
| DEFAULT_MTLS_ENDPOINT | 'quantum.mtls.googleapis.com' |