Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: added required annotations #12001

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ async def sample_create_key():
# Initialize request argument(s)
key = recaptchaenterprise_v1.Key()
key.web_settings.integration_type = "INVISIBLE"
key.display_name = "display_name_value"

request = recaptchaenterprise_v1.CreateKeyRequest(
parent="parent_value",
Expand Down Expand Up @@ -959,6 +960,7 @@ async def sample_update_key():
# Initialize request argument(s)
key = recaptchaenterprise_v1.Key()
key.web_settings.integration_type = "INVISIBLE"
key.display_name = "display_name_value"

request = recaptchaenterprise_v1.UpdateKeyRequest(
key=key,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,7 @@ def sample_create_key():
# Initialize request argument(s)
key = recaptchaenterprise_v1.Key()
key.web_settings.integration_type = "INVISIBLE"
key.display_name = "display_name_value"

request = recaptchaenterprise_v1.CreateKeyRequest(
parent="parent_value",
Expand Down Expand Up @@ -1248,6 +1249,7 @@ def sample_update_key():
# Initialize request argument(s)
key = recaptchaenterprise_v1.Key()
key.web_settings.integration_type = "INVISIBLE"
key.display_name = "display_name_value"

request = recaptchaenterprise_v1.UpdateKeyRequest(
key=key,
Expand Down

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions packages/google-cloud-recaptcha-enterprise/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

BLACK_VERSION = "black[jupyter]==23.7.0"
ISORT_VERSION = "isort==5.11.0"

LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]

DEFAULT_PYTHON_VERSION = "3.10"
Expand Down Expand Up @@ -89,6 +90,7 @@ def lint(session):
"--check",
*LINT_PATHS,
)

session.run("flake8", "google", "tests")


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ async def sample_create_key():
# Initialize request argument(s)
key = recaptchaenterprise_v1.Key()
key.web_settings.integration_type = "INVISIBLE"
key.display_name = "display_name_value"

request = recaptchaenterprise_v1.CreateKeyRequest(
parent="parent_value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def sample_create_key():
# Initialize request argument(s)
key = recaptchaenterprise_v1.Key()
key.web_settings.integration_type = "INVISIBLE"
key.display_name = "display_name_value"

request = recaptchaenterprise_v1.CreateKeyRequest(
parent="parent_value",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ async def sample_update_key():
# Initialize request argument(s)
key = recaptchaenterprise_v1.Key()
key.web_settings.integration_type = "INVISIBLE"
key.display_name = "display_name_value"

request = recaptchaenterprise_v1.UpdateKeyRequest(
key=key,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def sample_update_key():
# Initialize request argument(s)
key = recaptchaenterprise_v1.Key()
key.web_settings.integration_type = "INVISIBLE"
key.display_name = "display_name_value"

request = recaptchaenterprise_v1.UpdateKeyRequest(
key=key,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -571,12 +571,12 @@
"regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_CreateKey_async",
"segments": [
{
"end": 55,
"end": 56,
"start": 27,
"type": "FULL"
},
{
"end": 55,
"end": 56,
"start": 27,
"type": "SHORT"
},
Expand All @@ -586,18 +586,18 @@
"type": "CLIENT_INITIALIZATION"
},
{
"end": 49,
"end": 50,
"start": 41,
"type": "REQUEST_INITIALIZATION"
},
{
"end": 52,
"start": 50,
"end": 53,
"start": 51,
"type": "REQUEST_EXECUTION"
},
{
"end": 56,
"start": 53,
"end": 57,
"start": 54,
"type": "RESPONSE_HANDLING"
}
],
Expand Down Expand Up @@ -655,12 +655,12 @@
"regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_CreateKey_sync",
"segments": [
{
"end": 55,
"end": 56,
"start": 27,
"type": "FULL"
},
{
"end": 55,
"end": 56,
"start": 27,
"type": "SHORT"
},
Expand All @@ -670,18 +670,18 @@
"type": "CLIENT_INITIALIZATION"
},
{
"end": 49,
"end": 50,
"start": 41,
"type": "REQUEST_INITIALIZATION"
},
{
"end": 52,
"start": 50,
"end": 53,
"start": 51,
"type": "REQUEST_EXECUTION"
},
{
"end": 56,
"start": 53,
"end": 57,
"start": 54,
"type": "RESPONSE_HANDLING"
}
],
Expand Down Expand Up @@ -2829,12 +2829,12 @@
"regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_UpdateKey_async",
"segments": [
{
"end": 54,
"end": 55,
"start": 27,
"type": "FULL"
},
{
"end": 54,
"end": 55,
"start": 27,
"type": "SHORT"
},
Expand All @@ -2844,18 +2844,18 @@
"type": "CLIENT_INITIALIZATION"
},
{
"end": 48,
"end": 49,
"start": 41,
"type": "REQUEST_INITIALIZATION"
},
{
"end": 51,
"start": 49,
"end": 52,
"start": 50,
"type": "REQUEST_EXECUTION"
},
{
"end": 55,
"start": 52,
"end": 56,
"start": 53,
"type": "RESPONSE_HANDLING"
}
],
Expand Down Expand Up @@ -2913,12 +2913,12 @@
"regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_UpdateKey_sync",
"segments": [
{
"end": 54,
"end": 55,
"start": 27,
"type": "FULL"
},
{
"end": 54,
"end": 55,
"start": 27,
"type": "SHORT"
},
Expand All @@ -2928,18 +2928,18 @@
"type": "CLIENT_INITIALIZATION"
},
{
"end": 48,
"end": 49,
"start": 41,
"type": "REQUEST_INITIALIZATION"
},
{
"end": 51,
"start": 49,
"end": 52,
"start": 50,
"type": "REQUEST_EXECUTION"
},
{
"end": 55,
"start": 52,
"end": 56,
"start": 53,
"type": "RESPONSE_HANDLING"
}
],
Expand Down
Loading