File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
google-cloud-logging/src/main/java/com/google/cloud/logging/spi/v2 Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ public GrpcLoggingRpc(final LoggingOptions options) throws IOException {
122122 .setDefaultCallContext (GrpcCallContext .of (managedChannel , CallOptions .DEFAULT ))
123123 .setBackgroundResources (
124124 Collections .<BackgroundResource >singletonList (transportChannel ))
125+ .setQuotaProjectId (options .getQuotaProjectId ())
125126 .build ();
126127 } catch (Exception ex ) {
127128 throw new IOException (ex );
@@ -144,6 +145,7 @@ public GrpcLoggingRpc(final LoggingOptions options) throws IOException {
144145 .build ();
145146 HeaderProvider headerProvider = options .getMergedHeaderProvider (internalHeaderProvider );
146147 settingsBuilder .setInternalHeaderProvider (headerProvider );
148+ settingsBuilder .setQuotaProjectId (options .getQuotaProjectId ());
147149
148150 clientContext = ClientContext .create (settingsBuilder .build ());
149151 }
You can’t perform that action at this time.
0 commit comments