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

Commit 6f42d60

Browse files
docs: Fix NOT_STARTED state documentation in MigrationJob resource (#123)
* docs: Fix NOT_STARTED state documentation in MigrationJob resource PiperOrigin-RevId: 402280922 Source-Link: googleapis/googleapis@ae3a4a2 Source-Link: https://github.com/googleapis/googleapis-gen/commit/68fcedeeb5295906adb40947abc46eb87948f503 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjhmY2VkZWViNTI5NTkwNmFkYjQwOTQ3YWJjNDZlYjg3OTQ4ZjUwMyJ9 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent aaf7d80 commit 6f42d60

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/stub/DataMigrationServiceStubSettings.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,9 @@ public static List<String> getDefaultServiceScopes() {
507507

508508
/** Returns a builder for the default credentials for this service. */
509509
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
510-
return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES);
510+
return GoogleCredentialsProvider.newBuilder()
511+
.setScopesToApply(DEFAULT_SERVICE_SCOPES)
512+
.setUseJwtAccessWithScope(true);
511513
}
512514

513515
/** Returns a builder for the default ChannelProvider for this service. */

proto-google-cloud-dms-v1/src/main/java/com/google/cloud/clouddms/v1/MigrationJob.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
411411
*
412412
*
413413
* <pre>
414-
* The migration job is created, not started and is fully editable.
414+
* The migration job is created and not started.
415415
* </pre>
416416
*
417417
* <code>NOT_STARTED = 4;</code>
@@ -574,7 +574,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
574574
*
575575
*
576576
* <pre>
577-
* The migration job is created, not started and is fully editable.
577+
* The migration job is created and not started.
578578
* </pre>
579579
*
580580
* <code>NOT_STARTED = 4;</code>

proto-google-cloud-dms-v1/src/main/proto/google/cloud/clouddms/v1/clouddms_resources.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ message MigrationJob {
390390
// The migration job is being created.
391391
CREATING = 3;
392392

393-
// The migration job is created, not started and is fully editable.
393+
// The migration job is created and not started.
394394
NOT_STARTED = 4;
395395

396396
// The migration job is running.

0 commit comments

Comments
 (0)