Skip to content

Commit

Permalink
feat: [batch] Adds named reservation to InstancePolicy (#8822)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

---
docs:Remove "not yet implemented" for Accelerator & Refine Volume API docs

---
docs: update the job id format requirement

PiperOrigin-RevId: 489502315

Source-Link: https://togithub.com/googleapis/googleapis/commit/db1cc1139fe0def1e87ead1fffbc5bedbeccb887

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/fcc564ef064c7dff31d7970e12318ad084703ac6
Copy-Tag: eyJwIjoiamF2YS1iYXRjaC8uT3dsQm90LnlhbWwiLCJoIjoiZmNjNTY0ZWYwNjRjN2RmZjMxZDc5NzBlMTIzMThhZDA4NDcwM2FjNiJ9

BEGIN_NESTED_COMMIT
feat: [batch] Adds named reservation to InstancePolicy
---
docs:Remove "not yet implemented" for Accelerator & Refine Volume API docs

---
docs: update the job id format requirement

PiperOrigin-RevId: 489501779

Source-Link: https://togithub.com/googleapis/googleapis/commit/488a4bdeebf9c7f505f48bed23f0b95fcbbec0bb

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/5b3d3a550015e9367ad13ee5f9febe0c3f84cf33
Copy-Tag: eyJwIjoiamF2YS1iYXRjaC8uT3dsQm90LnlhbWwiLCJoIjoiNWIzZDNhNTUwMDE1ZTkzNjdhZDEzZWU1ZjlmZWJlMGMzZjg0Y2YzMyJ9
END_NESTED_COMMIT
  • Loading branch information
gcf-owl-bot[bot] authored and alicejli committed Nov 28, 2022
1 parent b69c13b commit 6653aca
Show file tree
Hide file tree
Showing 35 changed files with 1,199 additions and 869 deletions.
32 changes: 16 additions & 16 deletions java-batch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-batch</artifactId>
<version>0.5.0</version>
<version>0.6.0</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-batch:0.5.0'
implementation 'com.google.cloud:google-cloud-batch:0.6.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.5.0"
libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.6.0"
```

## Authentication
Expand Down Expand Up @@ -165,16 +165,16 @@ Java is a registered trademark of Oracle and/or its affiliates.

[product-docs]: https://cloud.google.com/
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-batch/latest/overview
[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-batch/java7.svg
[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-batch/java7.html
[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-batch/java8.svg
[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-batch/java8.html
[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-batch/java8-osx.svg
[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-batch/java8-osx.html
[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-batch/java8-win.svg
[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-batch/java8-win.html
[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-batch/java11.svg
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-batch/java11.html
[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java7.svg
[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java7.html
[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8.svg
[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8.html
[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-osx.svg
[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-osx.html
[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-win.svg
[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-win.html
[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.svg
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-batch.svg
[maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-batch&core=gav
Expand All @@ -186,9 +186,9 @@ Java is a registered trademark of Oracle and/or its affiliates.
[create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects
[cloud-sdk]: https://cloud.google.com/sdk/
[troubleshooting]: https://github.com/googleapis/google-cloud-common/blob/main/troubleshooting/readme.md#troubleshooting
[contributing]: https://github.com/googleapis/java-batch/blob/main/CONTRIBUTING.md
[code-of-conduct]: https://github.com/googleapis/java-batch/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
[license]: https://github.com/googleapis/java-batch/blob/main/LICENSE
[contributing]: https://github.com/googleapis/google-cloud-java/blob/main/CONTRIBUTING.md
[code-of-conduct]: https://github.com/googleapis/google-cloud-java/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
[license]: https://github.com/googleapis/google-cloud-java/blob/main/LICENSE
[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=batch.googleapis.com
[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@ public final OperationsClient getHttpJsonOperationsClient() {
* "projects/{project}/locations/{location}"
* @param job Required. The Job to create.
* @param jobId ID used to uniquely identify the Job within its parent scope. This field should
* contain at most 63 characters. Only alphanumeric characters or '-' are accepted. The '-'
* character cannot be the first or the last one. A system generated ID will be used if the
* field is not set.
* contain at most 63 characters and must start with lowercase characters. Only lowercase
* characters, numbers and '-' are accepted. The '-' character cannot be the first or the last
* one. A system generated ID will be used if the field is not set.
* <p>The job.name field in the request will be ignored and the created resource name of the
* Job will be "{parent}/jobs/{job_id}".
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down Expand Up @@ -277,9 +277,9 @@ public final Job createJob(LocationName parent, Job job, String jobId) {
* "projects/{project}/locations/{location}"
* @param job Required. The Job to create.
* @param jobId ID used to uniquely identify the Job within its parent scope. This field should
* contain at most 63 characters. Only alphanumeric characters or '-' are accepted. The '-'
* character cannot be the first or the last one. A system generated ID will be used if the
* field is not set.
* contain at most 63 characters and must start with lowercase characters. Only lowercase
* characters, numbers and '-' are accepted. The '-' character cannot be the first or the last
* one. A system generated ID will be used if the field is not set.
* <p>The job.name field in the request will be ignored and the created resource name of the
* Job will be "{parent}/jobs/{job_id}".
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ public final OperationsClient getHttpJsonOperationsClient() {
* "projects/{project}/locations/{location}"
* @param job Required. The Job to create.
* @param jobId ID used to uniquely identify the Job within its parent scope. This field should
* contain at most 63 characters. Only alphanumeric characters or '-' are accepted. The '-'
* character cannot be the first or the last one. A system generated ID will be used if the
* field is not set.
* contain at most 63 characters and must start with lowercase characters. Only lowercase
* characters, numbers and '-' are accepted. The '-' character cannot be the first or the last
* one. A system generated ID will be used if the field is not set.
* <p>The job.name field in the request will be ignored and the created resource name of the
* Job will be "{parent}/jobs/{job_id}".
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down Expand Up @@ -278,9 +278,9 @@ public final Job createJob(LocationName parent, Job job, String jobId) {
* "projects/{project}/locations/{location}"
* @param job Required. The Job to create.
* @param jobId ID used to uniquely identify the Job within its parent scope. This field should
* contain at most 63 characters. Only alphanumeric characters or '-' are accepted. The '-'
* character cannot be the first or the last one. A system generated ID will be used if the
* field is not set.
* contain at most 63 characters and must start with lowercase characters. Only lowercase
* characters, numbers and '-' are accepted. The '-' character cannot be the first or the last
* one. A system generated ID will be used if the field is not set.
* <p>The job.name field in the request will be ignored and the created resource name of the
* Job will be "{parent}/jobs/{job_id}".
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down
Loading

0 comments on commit 6653aca

Please sign in to comment.