diff --git a/compute/compute/snippets/quickstart.py b/compute/compute/snippets/quickstart.py index fb67bfab0d9d..341217e62338 100644 --- a/compute/compute/snippets/quickstart.py +++ b/compute/compute/snippets/quickstart.py @@ -123,7 +123,7 @@ def create_instance( initialize_params.source_image = ( source_image # "projects/debian-cloud/global/images/family/debian-10" ) - initialize_params.disk_size_gb = "10" + initialize_params.disk_size_gb = 10 disk.initialize_params = initialize_params disk.auto_delete = True disk.boot = True diff --git a/compute/compute/snippets/test_sample_start_stop.py b/compute/compute/snippets/test_sample_start_stop.py index ea28bfa3f746..ba01dd9eec8b 100644 --- a/compute/compute/snippets/test_sample_start_stop.py +++ b/compute/compute/snippets/test_sample_start_stop.py @@ -38,7 +38,7 @@ def _make_disk(raw_key: bytes = None): initialize_params.source_image = ( "projects/debian-cloud/global/images/family/debian-10" ) - initialize_params.disk_size_gb = "10" + initialize_params.disk_size_gb = 10 disk.initialize_params = initialize_params disk.auto_delete = True disk.boot = True