Compare commits

..

2 Commits

Author SHA1 Message Date
sdk-team
4552a4ad69 Generated 2019-11-20 for Ga. 2021-06-21 03:45:40 +00:00
sdk-team
99ad81bc82 Generated 2019-11-20 for Ga. 2021-06-21 03:35:11 +00:00
3 changed files with 10 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
2021-06-21 Version: 1.36.794
- Generated 2019-11-20 for `Ga`.
2021-06-21 Version: 1.36.793
- Generated 2019-11-20 for `Ga`.
2021-06-21 Version: 1.36.792
- Generated 2016-04-28 for `Vpc`.

View File

@@ -1 +1 @@
1.36.792
1.36.794

View File

@@ -31,21 +31,21 @@ GaClient::GaClient(const Credentials &credentials, const ClientConfiguration &co
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ga");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "gaplus");
}
GaClient::GaClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ga");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "gaplus");
}
GaClient::GaClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ga");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "gaplus");
}
GaClient::~GaClient()