def __init__(self):
     RpcRequest.__init__(self, 'imagerecog', '2019-09-30',
                         'EvaluateCertificateQuality', 'imagerecog')
     self.set_method('POST')
     if hasattr(self, "endpoint_map"):
         setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
     if hasattr(self, "endpoint_regional"):
         setattr(self, "endpoint_regional",
                 endpoint_data.getEndpointRegional())
コード例 #2
0
 def __init__(self):
     RpcRequest.__init__(self, 'imagerecog', '2019-09-30', 'RecognizeScene',
                         'imagerecog')
     self.set_method('POST')
     if hasattr(self, "endpoint_map"):
         setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
     if hasattr(self, "endpoint_regional"):
         setattr(self, "endpoint_regional",
                 endpoint_data.getEndpointRegional())
コード例 #3
0
 def __init__(self):
     RpcRequest.__init__(self, 'imagerecog', '2019-09-30',
                         'GetAsyncJobResult', 'imagerecog')
     self.set_method('GET')
     if hasattr(self, "endpoint_map"):
         setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
     if hasattr(self, "endpoint_regional"):
         setattr(self, "endpoint_regional",
                 endpoint_data.getEndpointRegional())