Skip to content

Commit

Permalink
chore: upgrade gapic-generator-python to 0.42.2 (#97)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 361662015

Source-Author: Google APIs <[email protected]>
Source-Date: Mon Mar 8 14:47:18 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 28a591963253d52ce3a25a918cafbdd9928de8cf
Source-Link: googleapis/googleapis@28a5919
  • Loading branch information
yoshi-automation authored Mar 22, 2021
1 parent 3d9ddc9 commit 0d8dac0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -466,12 +466,12 @@ def set_iam_policy(
"the individual field arguments should be set."
)

# The request isn't a proto-plus wrapped type,
# so it must be constructed via keyword expansion.
if isinstance(request, dict):
# The request isn't a proto-plus wrapped type,
# so it must be constructed via keyword expansion.
request = iam_policy.SetIamPolicyRequest(**request)

elif not request:
# Null request, just make one.
request = iam_policy.SetIamPolicyRequest()

if resource is not None:
Expand Down Expand Up @@ -601,12 +601,12 @@ def get_iam_policy(
"the individual field arguments should be set."
)

# The request isn't a proto-plus wrapped type,
# so it must be constructed via keyword expansion.
if isinstance(request, dict):
# The request isn't a proto-plus wrapped type,
# so it must be constructed via keyword expansion.
request = iam_policy.GetIamPolicyRequest(**request)

elif not request:
# Null request, just make one.
request = iam_policy.GetIamPolicyRequest()

if resource is not None:
Expand Down Expand Up @@ -690,12 +690,12 @@ def test_iam_permissions(
"the individual field arguments should be set."
)

# The request isn't a proto-plus wrapped type,
# so it must be constructed via keyword expansion.
if isinstance(request, dict):
# The request isn't a proto-plus wrapped type,
# so it must be constructed via keyword expansion.
request = iam_policy.TestIamPermissionsRequest(**request)

elif not request:
# Null request, just make one.
request = iam_policy.TestIamPermissionsRequest()

if resource is not None:
Expand Down
6 changes: 3 additions & 3 deletions packages/google-cloud-containeranalysis/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/python-containeranalysis.git",
"sha": "31724e7879635bbf7c506a253f63a075a422a312"
"sha": "42b59f6d79ad662ac3fb0b0c0bb24f80f029a99c"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "07932bb995e7dc91b43620ea8402c6668c7d102c",
"internalRef": "359562873"
"sha": "28a591963253d52ce3a25a918cafbdd9928de8cf",
"internalRef": "361662015"
}
},
{
Expand Down

0 comments on commit 0d8dac0

Please sign in to comment.