Skip to content

chore: update googleapis and regenerate#17313

Merged
parthea merged 1 commit into
googleapis:mainfrom
suztomo:librarianops-generateall-20260529T151322Z
May 29, 2026
Merged

chore: update googleapis and regenerate#17313
parthea merged 1 commit into
googleapis:mainfrom
suztomo:librarianops-generateall-20260529T151322Z

Conversation

@suztomo
Copy link
Copy Markdown
Member

@suztomo suztomo commented May 29, 2026

Update googleapis to the latest commit and regenerate all client libraries.

@suztomo suztomo requested review from a team as code owners May 29, 2026 15:17
@snippet-bot
Copy link
Copy Markdown

snippet-bot Bot commented May 29, 2026

Here is the summary of changes.

You are about to add 62 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@suztomo suztomo requested a review from parthea May 29, 2026 15:19
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several Google Cloud client libraries, introducing new types, services, and configuration options across packages like google-ads-datamanager, google-cloud-container, google-cloud-dataplex, google-cloud-dlp, google-cloud-geminidataanalytics, and google-cloud-network-security. Key additions include new entry modification and access request APIs in Dataplex, conversation-related types in DLP, and new security services in Network Security. The review feedback highlights multiple instances of broad, empty exception handling blocks in the generated REST transports that silently assign None on serialization failures, recommending that these exceptions be logged to prevent masking underlying issues.

Comment on lines +6970 to +6973
try:
request_payload = type(request).to_json(request)
except:
request_payload = None
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Avoid broad except Exception: blocks that silently assign None. Instead, log the exception (e.g., using logger.warning) to aid in debugging and prevent masking underlying issues.

                try:
                    request_payload = type(request).to_json(request)
                except Exception as e:
                    logger.warning("Failed to serialize request to JSON: %s", e)
                    request_payload = None
References
  1. Avoid broad except Exception: blocks that silently return None. Instead, log the exception (e.g., using logger.warning) to aid in debugging and prevent masking underlying issues.

Comment on lines +7020 to +7023
try:
response_payload = catalog.Entry.to_json(response)
except:
response_payload = None
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Avoid broad except Exception: blocks that silently assign None. Instead, log the exception (e.g., using logger.warning) to aid in debugging and prevent masking underlying issues.

                try:
                    response_payload = catalog.Entry.to_json(response)
                except Exception as e:
                    logger.warning("Failed to serialize response to JSON: %s", e)
                    response_payload = None
References
  1. Avoid broad except Exception: blocks that silently return None. Instead, log the exception (e.g., using logger.warning) to aid in debugging and prevent masking underlying issues.

Comment on lines +2374 to +2377
request_url = "{host}{uri}".format(
host=self._host, uri=transcoded_request["uri"]
)
method = transcoded_request["method"]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Avoid broad except Exception: blocks that silently assign None. Instead, log the exception (e.g., using logger.warning) to aid in debugging and prevent masking underlying issues.

Suggested change
request_url = "{host}{uri}".format(
host=self._host, uri=transcoded_request["uri"]
)
method = transcoded_request["method"]
try:
request_payload = type(request).to_json(request)
except Exception as e:
logger.warning("Failed to serialize request to JSON: %s", e)
request_payload = None
References
  1. Avoid broad except Exception: blocks that silently return None. Instead, log the exception (e.g., using logger.warning) to aid in debugging and prevent masking underlying issues.

Comment on lines +2430 to +2435
try:
response_payload = (
data_products.RequestDataProductAccessResponse.to_json(response)
)
except:
response_payload = None
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Avoid broad except Exception: blocks that silently assign None. Instead, log the exception (e.g., using logger.warning) to aid in debugging and prevent masking underlying issues.

                try:
                    response_payload = (
                        data_products.RequestDataProductAccessResponse.to_json(response)
                    )
                except Exception as e:
                    logger.warning("Failed to serialize response to JSON: %s", e)
                    response_payload = None
References
  1. Avoid broad except Exception: blocks that silently return None. Instead, log the exception (e.g., using logger.warning) to aid in debugging and prevent masking underlying issues.

Comment on lines +1116 to +1119
try:
request_payload = type(request).to_json(request)
except:
request_payload = None
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Avoid broad except Exception: blocks that silently assign None. Instead, log the exception (e.g., using logger.warning) to aid in debugging and prevent masking underlying issues.

                try:
                    request_payload = type(request).to_json(request)
                except Exception as e:
                    logger.warning("Failed to serialize request to JSON: %s", e)
                    request_payload = None
References
  1. Avoid broad except Exception: blocks that silently return None. Instead, log the exception (e.g., using logger.warning) to aid in debugging and prevent masking underlying issues.

Comment on lines +1166 to +1171
try:
response_payload = datascans.CancelDataScanJobResponse.to_json(
response
)
except:
response_payload = None
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Avoid broad except Exception: blocks that silently assign None. Instead, log the exception (e.g., using logger.warning) to aid in debugging and prevent masking underlying issues.

                try:
                    response_payload = datascans.CancelDataScanJobResponse.to_json(
                        response
                    )
                except Exception as e:
                    logger.warning("Failed to serialize response to JSON: %s", e)
                    response_payload = None
References
  1. Avoid broad except Exception: blocks that silently return None. Instead, log the exception (e.g., using logger.warning) to aid in debugging and prevent masking underlying issues.

@parthea parthea merged commit c04f892 into googleapis:main May 29, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants