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

Commit

Permalink
chore: release gapic-generator-java v1.0.17 (#46)
Browse files Browse the repository at this point in the history
Committer: @miraleung
PiperOrigin-RevId: 388499329

Source-Link: googleapis/googleapis@bb0a090

Source-Link: googleapis/googleapis-gen@d196f38
  • Loading branch information
gcf-owl-bot[bot] committed Aug 4, 2021
1 parent d058f79 commit 29895f3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
Expand Up @@ -352,7 +352,13 @@ public UnaryCallable<DeleteAttestorRequest, Empty> deleteAttestorCallable() {

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down
Expand Up @@ -230,7 +230,7 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe
*
*
* <pre>
* Enables global policy evaluation.
* Enables system policy evaluation.
* </pre>
*
* <code>ENABLE = 1;</code>
Expand All @@ -240,7 +240,7 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe
*
*
* <pre>
* Disables global policy evaluation.
* Disables system policy evaluation.
* </pre>
*
* <code>DISABLE = 2;</code>
Expand All @@ -263,7 +263,7 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe
*
*
* <pre>
* Enables global policy evaluation.
* Enables system policy evaluation.
* </pre>
*
* <code>ENABLE = 1;</code>
Expand All @@ -273,7 +273,7 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe
*
*
* <pre>
* Disables global policy evaluation.
* Disables system policy evaluation.
* </pre>
*
* <code>DISABLE = 2;</code>
Expand Down
Expand Up @@ -43,10 +43,10 @@ message Policy {
// Not specified: DISABLE is assumed.
GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED = 0;

// Enables global policy evaluation.
// Enables system policy evaluation.
ENABLE = 1;

// Disables global policy evaluation.
// Disables system policy evaluation.
DISABLE = 2;
}

Expand Down

0 comments on commit 29895f3

Please sign in to comment.