'Replaces SslCertificates for TargetHttpsProxy.
Scopes needed - one of the following:
* https://www.googleapis.com/auth/cloud-platform
* https://www.googleapis.com/auth/compute
:param  targethttpsproxy:  Name of the TargetHttpsProxy resource to
set an SslCertificates resource for.
:type   targethttpsproxy: ``str``
:param  sslcertificates:  sslcertificates to set.
:type   sslcertificates: ``list`` of :class:`GCESslCertificates`
:return:  True
:rtype: ``bool``'

def ex_targethttpsproxy_set_sslcertificates(self, targethttpsproxy, sslcertificates):

    request = ('/targetHttpsProxies/%s/setSslCertificates' % targethttpsproxy.name)
    request_data = {'sslCertificates': [x.extra['selfLink'] for x in sslcertificates]}
    self.connection.async_request(request, method='POST', data=request_data)
    return True
