Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

samples: add long timeout sample#27

Merged
Neenu1995 merged 5 commits into
googleapis:mainfrom
changsongd:long_timeout
Apr 11, 2022
Merged

samples: add long timeout sample#27
Neenu1995 merged 5 commits into
googleapis:mainfrom
changsongd:long_timeout

Conversation

@changsongd

Copy link
Copy Markdown
Contributor

This code snippet is very similar to the SyncAPI sample here: https://github.com/googleapis/java-optimization/blob/main/samples/snippets/src/main/java/com/example/optimizationai/SyncApi.java
The purpose of this sample is to explain how to use the keep-alive setting to send a sync request with long timeout.

@product-auto-label product-auto-label Bot added the size: m Pull request size is medium. label Apr 8, 2022
@snippet-bot

snippet-bot Bot commented Apr 8, 2022

Copy link
Copy Markdown

Here is the summary of possible violations 😱

Details

There is a possible violation for not having product prefix.

The end of the violation section. All the stuff below is FYI purposes only.


Here is the summary of changes.

You are about to add 1 region tag.

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

@product-auto-label product-auto-label Bot added api: cloudoptimization Issues related to the googleapis/java-optimization API. samples Issues that are directly related to samples. labels Apr 8, 2022
@changsongd

Copy link
Copy Markdown
Contributor Author

Here is the summary of possible violations 😱

There is a possible violation for not having product prefix.
The end of the violation section. All the stuff below is FYI purposes only.

Here is the summary of changes.

You are about to add 1 region tag.
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

@kolea2 Optimization AI is in restricted GA (GA with allowlist). The region tag prefix can be found here: https://devrel.corp.google.com/admin/products/463?t=snippets

@Neenu1995 Neenu1995 changed the title docs: add long timeout sample samples: add long timeout sample Apr 11, 2022
@Neenu1995 Neenu1995 added the owlbot:run Add this label to trigger the Owlbot post processor. label Apr 11, 2022
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Apr 11, 2022
@changsongd changsongd requested review from a team April 11, 2022 21:00
@Neenu1995 Neenu1995 merged commit bf07a2f into googleapis:main Apr 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: cloudoptimization Issues related to the googleapis/java-optimization API. samples Issues that are directly related to samples. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants