Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Add gcpApiConfigPath to client default options #2231

Merged
merged 5 commits into from
Aug 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
@end
'clientConfig' => __DIR__ . '{@xapiClass.clientConfigPath}',
'descriptorsConfigPath' => __DIR__ . '/../resources/{@xapiClass.clientConfigName}_descriptor_config.php',
'gcpApiConfigPath' => __DIR__ . '/../resources/{@xapiClass.clientConfigName}_grpc_config.json',
'credentialsConfig' => [
@if xapiClass.hasDefaultServiceScopes
'scopes' => self::$serviceScopes,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ class LibraryServiceGapicClient
'serviceAddress' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
'clientConfig' => __DIR__ . '/../resources/library_service_client_config.json',
'descriptorsConfigPath' => __DIR__ . '/../resources/library_service_descriptor_config.php',
'gcpApiConfigPath' => __DIR__ . '/../resources/library_service_grpc_config.json',
'credentialsConfig' => [
'scopes' => self::$serviceScopes,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ class OperationsGapicClient
'serviceName' => self::SERVICE_NAME,
'clientConfig' => __DIR__ . '/../resources/operations_client_config.json',
'descriptorsConfigPath' => __DIR__ . '/../resources/operations_descriptor_config.php',
'gcpApiConfigPath' => __DIR__ . '/../resources/operations_grpc_config.json',
'credentialsConfig' => [
],
'transportConfig' => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ class NoTemplatesApiServiceGapicClient
'serviceName' => self::SERVICE_NAME,
'clientConfig' => __DIR__ . '/../resources/no_templates_api_service_client_config.json',
'descriptorsConfigPath' => __DIR__ . '/../resources/no_templates_api_service_descriptor_config.php',
'gcpApiConfigPath' => __DIR__ . '/../resources/no_templates_api_service_grpc_config.json',
'credentialsConfig' => [
],
'transportConfig' => [
Expand Down