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

[compose][samplecode][1/2]Implement sample code of set credentials in Service Client Class header comment #489

Conversation

summer-ji-eng
Copy link
Contributor

Implement composing the sample code of setting credentials in service client class header comment.
Example in logging, pubsub

FoobarSettings foobarSettings =
     FoobarSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 FoobarClient echoClient =
     FoobarClient.create(echoSettings);

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 13, 2020
@summer-ji-eng summer-ji-eng changed the title [compose][samplecode]Implement sample code of set credentials in Service Client Class header comment [compose][samplecode][1/2]Implement sample code of set credentials in Service Client Class header comment Nov 13, 2020
@summer-ji-eng summer-ji-eng reopened this Nov 14, 2020
@miraleung miraleung deleted the service_client_sample_code_class_1 branch April 7, 2021 05:00
suztomo pushed a commit that referenced this pull request Dec 16, 2022
🤖 I have created a release *beep* *boop*
---


## [1.6.6](https://togithub.com/googleapis/java-iam/compare/v1.6.5...v1.6.6) (2022-10-25)


### Dependencies

* Update dependency com.google.cloud:google-iam-policy to v1.6.5 ([#489](https://togithub.com/googleapis/java-iam/issues/489)) ([558cafc](https://togithub.com/googleapis/java-iam/commit/558cafcfc10c7465465499e6df28c66afd57f6bf))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
suztomo pushed a commit that referenced this pull request Mar 21, 2023
🤖 I have created a release \*beep\* \*boop\*
---
## [2.4.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.3.0...v2.4.0) (2021-10-18)


### Dependencies

* update dependency com.fasterxml.jackson:jackson-bom to v2.13.0 ([a3b75ff](https://www.github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21))
* update dependency com.google.api-client:google-api-client-bom to v1.32.2 ([a3b75ff](https://www.github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21))
* update dependency com.google.api:api-common to v2.0.5 ([a3b75ff](https://www.github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21))
* update dependency com.google.auth:google-auth-library-bom to v1.2.1 ([a3b75ff](https://www.github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21))
* update dependency com.google.guava:guava-bom to v31 ([#498](https://www.github.com/googleapis/java-shared-dependencies/issues/498)) ([a3b75ff](https://www.github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21))
* update dependency com.google.http-client:google-http-client-bom to v1.40.1 ([a3b75ff](https://www.github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21))
* update dependency com.google.protobuf:protobuf-bom to v3.18.1 ([#494](https://www.github.com/googleapis/java-shared-dependencies/issues/494)) ([6285c4e](https://www.github.com/googleapis/java-shared-dependencies/commit/6285c4e5f54ed37682aeada9df9988afe87dfed4))
* update dependency io.grpc:grpc-bom to v1.41.0 ([#482](https://www.github.com/googleapis/java-shared-dependencies/issues/482)) ([58d4a82](https://www.github.com/googleapis/java-shared-dependencies/commit/58d4a828f18e2c582ab1c438a12b9e3c2512814d))
* update gax.version to v2.6.1 ([a3b75ff](https://www.github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21))
* update iam.version to v1.1.6 ([#485](https://www.github.com/googleapis/java-shared-dependencies/issues/485)) ([a4ddcb4](https://www.github.com/googleapis/java-shared-dependencies/commit/a4ddcb42310471a6c4495770e3bc8fdbc75fbb0c))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
suztomo pushed a commit that referenced this pull request Mar 21, 2023
🤖 I have created a release \*beep\* \*boop\*
---
## [2.0.0](https://www.github.com/googleapis/java-core/compare/v1.95.4...v2.0.0) (2021-07-29)


### Features

* promote to 2.0.0 ([#504](https://www.github.com/googleapis/java-core/issues/504)) ([47d5cee](https://www.github.com/googleapis/java-core/commit/47d5ceeddfa4c19152f3b122a70300726e74b570))


### Bug Fixes

* Add shopt -s nullglob to dependencies script ([6fe4d95](https://www.github.com/googleapis/java-core/commit/6fe4d9588fc2c4d4916c213bd9a139a1f8a824c0))
* Update dependencies.sh to not break on mac ([#484](https://www.github.com/googleapis/java-core/issues/484)) ([6fe4d95](https://www.github.com/googleapis/java-core/commit/6fe4d9588fc2c4d4916c213bd9a139a1f8a824c0))


### Dependencies

* update dependency com.google.api:api-common to v1.10.6 ([#494](https://www.github.com/googleapis/java-core/issues/494)) ([ae5d2ec](https://www.github.com/googleapis/java-core/commit/ae5d2eccac31188a34be9de8a5912c507ad22e05))
* update dependency com.google.api:api-common to v2 ([#497](https://www.github.com/googleapis/java-core/issues/497)) ([a03e80a](https://www.github.com/googleapis/java-core/commit/a03e80a69ad529b632ef861a4446d5bf0b953ef7))
* update dependency com.google.api:gax-bom to v1.66.0 ([#483](https://www.github.com/googleapis/java-core/issues/483)) ([967a368](https://www.github.com/googleapis/java-core/commit/967a3686e120a8405af79d443a0a7c88b4cbe684))
* update dependency com.google.api:gax-bom to v1.67.0 ([#491](https://www.github.com/googleapis/java-core/issues/491)) ([8600920](https://www.github.com/googleapis/java-core/commit/86009206adf55d0d58679e88a7b4d3323f459e65))
* update dependency com.google.auth:google-auth-library-bom to v0.27.0 ([#489](https://www.github.com/googleapis/java-core/issues/489)) ([069ea35](https://www.github.com/googleapis/java-core/commit/069ea35fee88f6463215dd36dd623f11f8db7cec))
* update dependency com.google.auth:google-auth-library-bom to v1 ([#496](https://www.github.com/googleapis/java-core/issues/496)) ([6ebf939](https://www.github.com/googleapis/java-core/commit/6ebf939c9821e7cbc002af0aa794e9ae24c13b2c))
* update dependency com.google.errorprone:error_prone_annotations to v2.8.0 ([#492](https://www.github.com/googleapis/java-core/issues/492)) ([97499e4](https://www.github.com/googleapis/java-core/commit/97499e4768f6611298beda79afeb84e45a877c1e))
* update dependency io.grpc:grpc-bom to v1.39.0 ([#482](https://www.github.com/googleapis/java-core/issues/482)) ([d124545](https://www.github.com/googleapis/java-core/commit/d124545f65267c646ae21cfb3b4855722e0c795c))
* update guava 30.1.1-jre ([#503](https://www.github.com/googleapis/java-core/issues/503)) ([6f4e88c](https://www.github.com/googleapis/java-core/commit/6f4e88c38390a7509b302baf21200cd253fa6913))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant