diff --git a/packages/google-cloud-containeranalysis/.github/.OwlBot.lock.yaml b/packages/google-cloud-containeranalysis/.github/.OwlBot.lock.yaml index dd98abbdeebe..a934f1e06d85 100644 --- a/packages/google-cloud-containeranalysis/.github/.OwlBot.lock.yaml +++ b/packages/google-cloud-containeranalysis/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:08e34975760f002746b1d8c86fdc90660be45945ee6d9db914d1508acdf9a547 + digest: sha256:4f9b3b106ad0beafc2c8a415e3f62c1a0cc23cabea115dbe841b848f581cfe99 # created: 2023-10-09T14:06:13.397766266Z diff --git a/packages/google-cloud-containeranalysis/.kokoro/requirements.txt b/packages/google-cloud-containeranalysis/.kokoro/requirements.txt index 0332d3267e15..16170d0ca7b8 100644 --- a/packages/google-cloud-containeranalysis/.kokoro/requirements.txt +++ b/packages/google-cloud-containeranalysis/.kokoro/requirements.txt @@ -467,9 +467,9 @@ typing-extensions==4.4.0 \ --hash=sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa \ --hash=sha256:16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e # via -r requirements.in -urllib3==1.26.17 \ - --hash=sha256:24d6a242c28d29af46c3fae832c36db3bbebcc533dd1bb549172cd739c82df21 \ - --hash=sha256:94a757d178c9be92ef5539b8840d48dc9cf1b2709c9d6b588232a055c524458b +urllib3==1.26.18 \ + --hash=sha256:34b97092d7e0a3a8cf7cd10e386f401b3737364026c45e622aa02903dffe0f07 \ + --hash=sha256:f8ecc1bba5667413457c529ab955bf8c67b45db799d159066261719e328580a0 # via # requests # twine diff --git a/packages/google-cloud-containeranalysis/docs/containeranalysis_v1/services.rst b/packages/google-cloud-containeranalysis/docs/containeranalysis_v1/services_.rst similarity index 100% rename from packages/google-cloud-containeranalysis/docs/containeranalysis_v1/services.rst rename to packages/google-cloud-containeranalysis/docs/containeranalysis_v1/services_.rst diff --git a/packages/google-cloud-containeranalysis/docs/containeranalysis_v1/types.rst b/packages/google-cloud-containeranalysis/docs/containeranalysis_v1/types_.rst similarity index 100% rename from packages/google-cloud-containeranalysis/docs/containeranalysis_v1/types.rst rename to packages/google-cloud-containeranalysis/docs/containeranalysis_v1/types_.rst diff --git a/packages/google-cloud-containeranalysis/docs/index.rst b/packages/google-cloud-containeranalysis/docs/index.rst index c84fd2e8ce98..130e939bbf9e 100644 --- a/packages/google-cloud-containeranalysis/docs/index.rst +++ b/packages/google-cloud-containeranalysis/docs/index.rst @@ -8,8 +8,8 @@ API Reference .. toctree:: :maxdepth: 2 - containeranalysis_v1/services - containeranalysis_v1/types + containeranalysis_v1/services_ + containeranalysis_v1/types_ Migration Guide diff --git a/packages/google-cloud-containeranalysis/tests/unit/gapic/containeranalysis_v1/test_container_analysis.py b/packages/google-cloud-containeranalysis/tests/unit/gapic/containeranalysis_v1/test_container_analysis.py index 02242d8b97b0..0455aad2f282 100644 --- a/packages/google-cloud-containeranalysis/tests/unit/gapic/containeranalysis_v1/test_container_analysis.py +++ b/packages/google-cloud-containeranalysis/tests/unit/gapic/containeranalysis_v1/test_container_analysis.py @@ -1793,8 +1793,7 @@ def test_set_iam_policy_rest(request_type): # Wrap the value into a proper Response obj response_value = Response() response_value.status_code = 200 - pb_return_value = return_value - json_return_value = json_format.MessageToJson(pb_return_value) + json_return_value = json_format.MessageToJson(return_value) response_value._content = json_return_value.encode("UTF-8") req.return_value = response_value @@ -1871,8 +1870,7 @@ def test_set_iam_policy_rest_required_fields( response_value = Response() response_value.status_code = 200 - pb_return_value = return_value - json_return_value = json_format.MessageToJson(pb_return_value) + json_return_value = json_format.MessageToJson(return_value) response_value._content = json_return_value.encode("UTF-8") req.return_value = response_value @@ -2001,8 +1999,7 @@ def test_set_iam_policy_rest_flattened(): # Wrap the value into a proper Response obj response_value = Response() response_value.status_code = 200 - pb_return_value = return_value - json_return_value = json_format.MessageToJson(pb_return_value) + json_return_value = json_format.MessageToJson(return_value) response_value._content = json_return_value.encode("UTF-8") req.return_value = response_value @@ -2067,8 +2064,7 @@ def test_get_iam_policy_rest(request_type): # Wrap the value into a proper Response obj response_value = Response() response_value.status_code = 200 - pb_return_value = return_value - json_return_value = json_format.MessageToJson(pb_return_value) + json_return_value = json_format.MessageToJson(return_value) response_value._content = json_return_value.encode("UTF-8") req.return_value = response_value @@ -2145,8 +2141,7 @@ def test_get_iam_policy_rest_required_fields( response_value = Response() response_value.status_code = 200 - pb_return_value = return_value - json_return_value = json_format.MessageToJson(pb_return_value) + json_return_value = json_format.MessageToJson(return_value) response_value._content = json_return_value.encode("UTF-8") req.return_value = response_value @@ -2267,8 +2262,7 @@ def test_get_iam_policy_rest_flattened(): # Wrap the value into a proper Response obj response_value = Response() response_value.status_code = 200 - pb_return_value = return_value - json_return_value = json_format.MessageToJson(pb_return_value) + json_return_value = json_format.MessageToJson(return_value) response_value._content = json_return_value.encode("UTF-8") req.return_value = response_value @@ -2332,8 +2326,7 @@ def test_test_iam_permissions_rest(request_type): # Wrap the value into a proper Response obj response_value = Response() response_value.status_code = 200 - pb_return_value = return_value - json_return_value = json_format.MessageToJson(pb_return_value) + json_return_value = json_format.MessageToJson(return_value) response_value._content = json_return_value.encode("UTF-8") req.return_value = response_value @@ -2413,8 +2406,7 @@ def test_test_iam_permissions_rest_required_fields( response_value = Response() response_value.status_code = 200 - pb_return_value = return_value - json_return_value = json_format.MessageToJson(pb_return_value) + json_return_value = json_format.MessageToJson(return_value) response_value._content = json_return_value.encode("UTF-8") req.return_value = response_value @@ -2546,8 +2538,7 @@ def test_test_iam_permissions_rest_flattened(): # Wrap the value into a proper Response obj response_value = Response() response_value.status_code = 200 - pb_return_value = return_value - json_return_value = json_format.MessageToJson(pb_return_value) + json_return_value = json_format.MessageToJson(return_value) response_value._content = json_return_value.encode("UTF-8") req.return_value = response_value @@ -2611,10 +2602,11 @@ def test_get_vulnerability_occurrences_summary_rest(request_type): # Wrap the value into a proper Response obj response_value = Response() response_value.status_code = 200 - pb_return_value = containeranalysis.VulnerabilityOccurrencesSummary.pb( + # Convert return value to protobuf type + return_value = containeranalysis.VulnerabilityOccurrencesSummary.pb( return_value ) - json_return_value = json_format.MessageToJson(pb_return_value) + json_return_value = json_format.MessageToJson(return_value) response_value._content = json_return_value.encode("UTF-8") req.return_value = response_value @@ -2694,10 +2686,11 @@ def test_get_vulnerability_occurrences_summary_rest_required_fields( response_value = Response() response_value.status_code = 200 - pb_return_value = containeranalysis.VulnerabilityOccurrencesSummary.pb( + # Convert return value to protobuf type + return_value = containeranalysis.VulnerabilityOccurrencesSummary.pb( return_value ) - json_return_value = json_format.MessageToJson(pb_return_value) + json_return_value = json_format.MessageToJson(return_value) response_value._content = json_return_value.encode("UTF-8") req.return_value = response_value @@ -2830,10 +2823,11 @@ def test_get_vulnerability_occurrences_summary_rest_flattened(): # Wrap the value into a proper Response obj response_value = Response() response_value.status_code = 200 - pb_return_value = containeranalysis.VulnerabilityOccurrencesSummary.pb( + # Convert return value to protobuf type + return_value = containeranalysis.VulnerabilityOccurrencesSummary.pb( return_value ) - json_return_value = json_format.MessageToJson(pb_return_value) + json_return_value = json_format.MessageToJson(return_value) response_value._content = json_return_value.encode("UTF-8") req.return_value = response_value