Generated 2019-11-20 for Ga.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
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`.
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user