'Process cloud metadata and store in the client.'

@flow.StateHandler()
def CloudMetadata(self, responses):

    if (not responses.success):
        self.Log(('Failed    to    collect    cloud    metadata:    %s' % responses.status))
        return
    metadata_responses = responses.First()
    if (not metadata_responses):
        return
    with self._CreateClient() as client:
        client.Set(client.Schema.CLOUD_INSTANCE(cloud.ConvertCloudMetadataResponsesToCloudInstance(metadata_responses)))
